[ttssh2-commit] [9582] cygtermだけでTera TermからWSLを利用するよう修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 12月 7日 (火) 00:45:42 JST


Revision: 9582
          https://osdn.net/projects/ttssh2/scm/svn/commits/9582
Author:   zmatsuo
Date:     2021-12-07 00:45:41 +0900 (Tue, 07 Dec 2021)
Log Message:
-----------
cygtermだけでTera TermからWSLを利用するよう修正

- winptyを使用しなくてもうまくうごいた

Modified Paths:
--------------
    trunk/cygwin/cyglaunch/README.md
    trunk/cygwin/cyglaunch/cyglaunch_wsl.bat

-------------- next part --------------
Modified: trunk/cygwin/cyglaunch/README.md
===================================================================
--- trunk/cygwin/cyglaunch/README.md	2021-12-06 15:45:30 UTC (rev 9581)
+++ trunk/cygwin/cyglaunch/README.md	2021-12-06 15:45:41 UTC (rev 9582)
@@ -63,12 +63,9 @@
 ### WSL (Windows Subsystem for Linux)
 
 ```
-start "" "\path\to\cygterm.exe" -t "\path\to\ttermpro.exe %%s %%d /E /KR=UTF8 /KT=UTF8 /nossh /VTICON=TTERM" -s "/path/to/winpty.exe c:/windows/system32/bash.exe"
+start "" "\path\to\cygterm.exe" -t "\path\to\ttermpro.exe %%s %%d /E /KR=UTF8 /KT=UTF8 /nossh /VTICON=TTERM" -s "c:/windows/system32/wsl.exe"
 ```
 
-winpty は [github](https://github.com/rprichard/winpty/releases) からダウンロードすることができる。
-
-
 ## 歴史
 
 - cyglaunch は通常のexeファイル

Modified: trunk/cygwin/cyglaunch/cyglaunch_wsl.bat
===================================================================
--- trunk/cygwin/cyglaunch/cyglaunch_wsl.bat	2021-12-06 15:45:30 UTC (rev 9581)
+++ trunk/cygwin/cyglaunch/cyglaunch_wsl.bat	2021-12-06 15:45:41 UTC (rev 9582)
@@ -1,2 +1,2 @@
 set DIR=%~dp0
-start "" "%DIR%\cygterm.exe" -t "%DIR%\ttermpro.exe %%s %%d /E /KR=UTF8 /KT=UTF8 /nossh /VTICON=TTERM" -s "D:/work/home/teraterm/bin/winpty.exe c:/windows/system32/bash.exe"
+start "" "%DIR%\cygterm.exe" -t "%DIR%\ttermpro.exe %%s %%d /E /KR=UTF8 /KT=UTF8 /nossh /VTICON=TTERM" -s "c:/windows/system32/wsl.exe"


ttssh2-commit メーリングリストの案内
Back to archive index