Tagging the 0.74.3.2 release of the kitty project.

This commit is contained in:
cyd01
2020-11-30 19:33:29 +01:00
parent 3bab5a6151
commit 232c3b29fd
15 changed files with 150 additions and 48 deletions
+7
View File
@@ -1,6 +1,8 @@
<div style="text-align: center;"><iframe src="gad.html" frameborder="0" scrolling="no" style="border: 1px solid gray; padding: 0; overflow:hidden; scrolling: no; top:0; left: 0; width: 100%;" onload="this.style.height=(this.contentWindow.document.body.scrollHeight+5)+'px';"></iframe></div>
## New command-line options
<!-- CmdLineOptions_begin -->
In **KiTTY** some new command-line options are available:
* **-auto-store-sshkey**: automatically store server SSH key without prompting
@@ -14,6 +16,7 @@ In **KiTTY** some new command-line options are available:
* **-fileassoc**: associate **.ktx** files with **KiTTY**. See [Portability feature](Portability.md) to define file extention
* **-folder**: directly open a specific folder (for [savemode=dir mode](Portability.md) only). It must precede **-load** option
* **-fullscreen**: start directly in full screen mode
* **-help**: print this help message
* **-icon**: choose a specific [build-in icon](kitty_icon.md)
* **-iconfile**: choose an external icon file
* **-initdelay**: delay (in seconds) before initial configured actions (send to tray, autocommand ...). Default is 2.0
@@ -48,3 +51,7 @@ In **Klink** there is one of the **KiTTY** option:
In **Kageant** there is only one:
* **-pass**: to set the passphrase of the ssh key to add
<!-- CmdLineOptions_end -->
> All original **PuTTY** command-line options are available on [PuTTY website](https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html#using-cmdline)
+9 -19
View File
@@ -1,4 +1,3 @@
<div style="text-align: center;"><iframe src="gad.html" frameborder="0" scrolling="no" style="border: 1px solid gray; padding: 0; overflow:hidden; scrolling: no; top:0; left: 0; width: 100%;" onload="this.style.height=(this.contentWindow.document.body.scrollHeight+5)+'px';"></iframe></div>
## About cygtermd, the PuTTYCyg workaround
@@ -13,44 +12,35 @@ Download it and put it into your **/bin** Cygwin directory.
This feature is also available directly from the command-line. Once the **cygtermd.exe** is put into the **Cygwin** directory just call this command:
```
kitty.exe -localproxy "C:\cygwin64\bin\cygtermd.exe /home/%USERNAME% /bin/bash -login" localhost
kitty.exe -localproxy 'C:\cygwin64\bin\cygtermd.exe /home/cyd /bin/bash -login' localhost
```
Adapt **C:\cygwin64\bin\cygtermd.exe** if it has been installed to a different directory. You must provide a target hostname (ex: localhost) even if it is not used in this situation.
If you are running this command from PowerShell rather than a Windows shortcut, Start➡Run, or a regular command prompt, you should use single quotes instead of double quotes.
```
kitty.exe -localproxy 'C:\cygwin64\bin\cygtermd.exe /home/%USERNAME% /bin/bash -login' localhost
```
Adapt **C:\cygwin64\bin\cygtermd.exe** and **/home/cyd** with your own settings. You must provide a target hostname (ex: localhost) even if it is not used in this situation.
### Start a **CMD.EXE** into a **KiTTY** terminal
It is possible to start directly the Windows command line utility **cmd.exe**:
```
kitty.exe -localproxy "C:\cygwin64\bin\cygtermd.exe /cygdrive/c/Windows /cygdrive/c/Windows/System32/cmd.exe" localhost
kitty.exe -localproxy 'C:\cygwin64\bin\cygtermd.exe /cygdrive/c/Windows /cygdrive/c/Windows/System32/cmd.exe' localhost
```
Don't forget to choose the right codepage in translation tab or use the **-codepage** command line option.
Don't forget to choose the rigth codepage in translation tab or use the **-codepage** command line option.
It is not necessary to have the full **Cygwin** environment to do this. Just add the **cygtermd.exe** file and the corresponding **cygwin1.dll** library next the **kitty.exe** binary.
It si not necessary to have the full **Cygwin** environment to do this. Just add the **cygtermd.exe** file and the corresponding **cygwin1.dll** library next the **kitty.exe** binary.
### Use **winpty** to start **cmd.exe** or ** PowerShell** Windows utilities
It is also possible to start the Windows command line utility **cmd.exe** from the [winpty tool](https://github.com/rprichard/winpty):
It is also possible to start the Windows command line utility **cmd.exe** from de [winpty tool](https://github.com/rprichard/winpty):
Get it and unzip it into your **/usr** Cygwin directory.
Then run
```
kitty.exe -localproxy "C:\cygwin64\bin\cygtermd.exe /usr/bin/winpty.exe C:\Windows\System32\cmd.exe" localhost
kitty.exe -localproxy 'C:\cygwin64\bin\cygtermd.exe /cygdrive/c/Windows /usr/bin/winpty.exe /cygdrive/c/Windows/System32/cmd.exe' localhost
```
And now use it to run **PowerShell**:
```
kitty.exe -localproxy "C:\cygwin64\bin\cygtermd.exe /usr/bin/winpty.exe C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" localhost
```
or **PowerShell 7**:
```
kitty.exe -localproxy "C:\cygwin64\bin\cygtermd.exe /usr/bin/winpty.exe C:\Program Files\PowerShell\7\pwsh.exe" localhost
kitty.exe -localproxy 'C:\cygwin64\bin\cygtermd.exe /cygdrive/c /usr/bin/winpty.exe /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe' localhost
```
---
+1 -1
View File
@@ -1 +1 @@
0.74.3.1
0.74.3.2