Git Product home page Git Product logo

Comments (14)

lonnywong avatar lonnywong commented on August 25, 2024 1

如果后面改成 tncon.ctncon.h 这两个文件的方式来读取输入,Win 7 再做一些适配,好像也能支持。

跟 Ctrl + Space #5 的问题变成了同一个依赖了,可能某天可以一并解决。

from trzsz-ssh.

ruanimal avatar ruanimal commented on August 25, 2024 1

在另外一台机器,Windows 10 LTSB 2016 系统,功能正常,确实挺好用的。
也就是当前实现的情况下,版本最低是 Build 14393, 供参考

OS 名称:          Microsoft Windows 10 企业版 2016 长期服务版
OS 版本:          10.0.14393 暂缺 Build 14393

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024 1

这个性能咋样

应该没有多少区别。我是装了个虚拟机,简单测试了一下功能,没有长期使用。

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

指定路径和后缀看看?如 .\tssh.exe

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

@jackyzjk 你是怎么安装的?安装之后的路径在哪?

from trzsz-ssh.

jackyzjk avatar jackyzjk commented on August 25, 2024

直接把tssh.exe放到E盘,然后开启一个cmd去执行tssh.exe就会报错,不论我怎么输入都会报错,即使我以.\tssh.exe或者tssh.exe执行都是报同样的错误,有点区别就是我现在使用您发布的最新版v0.1.2报错内容变了。
tssh_windows7_error
还望大神给修复一下。

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

@jackyzjk 感谢回复,是下面这个函数报错了:

https://github.com/trzsz/trzsz-ssh/blob/0c85fe0b834e2e03a417a7f28df39e73175ffaa2/term_windows.go#L67C5-L93

你可以在代码中删掉,然后自己编译试试?

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

@jackyzjk 方便的话,可以加一下 README.md 最下面留的 QQ 群,一起看看怎么解决这个问题。

from trzsz-ssh.

jackyzjk avatar jackyzjk commented on August 25, 2024

已加群,排查了一下代码是设置ENABLE_VIRTUAL_TERMINAL_INPUT时报的错,即使我安装了KBKB 2533623补丁重启电脑执行也还是报错,咨询了一下chatGPT说是此功能要到windows10才支持,但我查了微软的官方文档里面提到最低受支持的客户端是Windows 2000 Professional [仅限桌面应用],也就是说window7应该是支持的,搞不定了, 还是得您亲自出手才行

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

我安装 Win7 虚拟机研究了,发现 tssh 依赖的很多基础功能都要求 Win10 以上。

在 Win7 建议用其他终端,以下两个终端都支持 trzsz ( trz / tsz ) 上传和下载,不需要安装 tssh 哈:

https://github.com/electerm/electerm

https://tabby.sh/ ( 这个要安装 trzsz 插件 )

from trzsz-ssh.

ruanimal avatar ruanimal commented on August 25, 2024

我安装 Win7 虚拟机研究了,发现 tssh 依赖的很多基础功能都要求 Win10 以上。

在 Win7 建议用其他终端,以下两个终端都支持 trzsz ( trz / tsz ) 上传和下载,不需要安装 tssh 哈:

https://github.com/electerm/electerm

https://tabby.sh/ ( 这个要安装 trzsz 插件 )

使用最新0.1.7测试,Win10也不一定好使,至少 ltsb 2015 是不行的。

似乎是对win10的build版本有要求


C:\Users\r\Desktop\tssh_0.1.7_windows_x86_64>.\tssh.exe
enable virtual terminal failed: 0x57

C:\Users\r\Desktop\tssh_0.1.7_windows_x86_64>systeminfo

主机名:           DESKTOP-C84317U
OS 名称:          Microsoft Windows 10 企业版 2015 长期服务方案
OS 版本:          10.0.10240 暂缺 Build 10240
OS 制造商:        Microsoft Corporation

另外一个版本比较新的win10就正常

OS 名称:          Microsoft Windows 10 专业版
OS 版本:          10.0.19045 暂缺 Build 19045
OS 制造商:        Microsoft Corporation

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

@ruanimal 看来是对 Windows 有最低版本要求,要适配旧版本的 Windows ,就得从 https://github.com/PowerShell/openssh-portable 这里抄,可惜它是用 C 写的,要转成 Go 有较多的工作量。

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

main 分支代码支持旧版本 Windows ( 如 Win7 等 )在 CygwinMSYS2Git Bash 内使用 tssh 了。

在下个版本发布之前,可以 go install github.com/trzsz/trzsz-ssh/cmd/tssh@main 这样先安装试用。

from trzsz-ssh.

ruanimal avatar ruanimal commented on August 25, 2024

main 分支代码支持旧版本 Windows ( 如 Win7 等 )在 CygwinMSYS2Git Bash 内使用 tssh 了。

在下个版本发布之前,可以 go install github.com/trzsz/trzsz-ssh/cmd/tssh@main 这样先安装试用。

这个性能咋样

from trzsz-ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.