Linux Terminal Emulators: KiTTY over PuTTY

Summary

Do you work on Linux machines? Do you only have a Windows machine from which to connect? Then you’re probably already using PuTTY.

Well, step aside PuTTY, there’s a new terminal client in town.

KiTTY is a fork of the original PuTTY software, with loads of new features, including a portable version that saves all of your sessions and settings into an INI file in the same folder.

Installation

  1. Download KiTTY Portable
  2. ???
  3. PROFIT!

Just kidding. There are no other steps. The download is an exe that’s ready to go. Just double-click on it and enter your connection parameters (should be familiar if you’ve ever used PuTTY)

Portability

By default, KiTTY uses the Windows registry database to save its configuration (sessions, host keys, parameters). But, its possible to save it into a tree directories structure and to avoid writing anything into the registry.

Create a new folder for KiTTY anywhere on your disk and move the KiTTY.exe into it.

Create a file called kitty.ini in the same directory where you put KiTTY binary, and add these two lines:

[KiTTY]
savemode=dir

If you’ve already used KiTTY to connect to some machines and have some profiles saved, you can copy all the existing configurations from the registry.

You just have to run this command from a command line within the KiTTY directory

kitty.exe -convert-dir

This option will create 6 sub-directories:

  • Commands
  • Folders
  • Launcher
  • Sessions
  • Sessions_Commands
  • SshHostKeys

containing the configuration files.

Colors

The biggest reason I started using KiTTY was to get away from those horrible PuTTY colors. (Yes – you can change the colors in PuTTY – but this method is much easier)

In your KiTTY directory, there will be a directory named: Sessions. In that folder, you will find separate files for each of your saved connections.

Open one of them (I recommend using something like Notepad++, but plain old notepad should work too)

Somewhere around line 116 (Notepad++ has line numbers), you will find several color definitions (in RBG format)

You can modify each of these to change the color of the specific element. (But without knowing which element is which – it will be very difficult!)

Or you can simply copy/paste some pre-made schemes into the lines in your session file.

Copy or rename your original session file someplace safe, then copy the above lines and paste them into your session file, replacing the lines that define Colour0 through Colour21.

Close and reopen KiTTY and restart your session. Voila! Now, aren’t those colors better? No? Then try some others:

X Dotshare

Colour0\215,208,199\
Colour1\255,255,255\
Colour2\21,21,21\
Colour3\21,21,21\
Colour4\255,137,57\
Colour5\215,208,199\
Colour6\16,16,16\
Colour7\64,64,64\
Colour8\232,79,79\
Colour9\210,61,61\
Colour10\184,214,140\
Colour11\160,207,93\
Colour12\225,170,93\
Colour13\243,157,33\
Colour14\125,193,207\
Colour15\78,159,177\
Colour16\155,100,251\
Colour17\133,66,255\
Colour18\109,135,141\
Colour19\66,113,123\
Colour20\221,221,221\
Colour21\221,221,221\

Zenburn

Colour0\220,220,204\
Colour1\220,220,204\
Colour2\63,63,63\
Colour3\63,63,63\
Colour4\115,99,90\
Colour5\0,0,0\
Colour6\77,77,77\
Colour7\112,144,128\
Colour8\112,80,80\
Colour9\220,163,163\
Colour10\96,180,138\
Colour11\195,191,159\
Colour12\240,223,175\
Colour13\224,207,159\
Colour14\80,96,112\
Colour15\148,191,243\
Colour16\220,140,195\
Colour17\236,147,211\
Colour18\140,208,211\
Colour19\147,224,227\
Colour20\220,220,204\
Colour21\255,255,255\

Chalkboard

Colour0\217,230,242\
Colour1\217,111,95\
Colour2\41,38,47\
Colour3\41,38,47\
Colour4\217,230,242\
Colour5\217,230,242\
Colour6\0,0,0\
Colour7\50,50,50\
Colour8\195,115,114\
Colour9\219,170,170\
Colour10\114,195,115\
Colour11\170,219,170\
Colour12\194,195,114\
Colour13\218,219,170\
Colour14\115,114,195\
Colour15\170,170,219\
Colour16\195,114,194\
Colour17\219,170,218\
Colour18\114,194,195\
Colour19\170,218,219\
Colour20\217,217,217\
Colour21\255,255,255\

Dark Pastel

Colour0\255,255,255\
Colour1\255,94,125\
Colour2\0,0,0\
Colour3\0,0,0\
Colour4\187,187,187\
Colour5\255,255,255\
Colour6\0,0,0\
Colour7\85,85,85\
Colour8\255,85,85\
Colour9\255,85,85\
Colour10\85,255,85\
Colour11\85,255,85\
Colour12\255,255,85\
Colour13\255,255,85\
Colour14\85,85,255\
Colour15\85,85,255\
Colour16\255,85,255\
Colour17\255,85,255\
Colour18\85,255,255\
Colour19\85,255,255\
Colour20\187,187,187\
Colour21\255,255,255\

Dotshare

Colour0\215,208,199\
Colour1\255,255,255\
Colour2\21,21,21\
Colour3\21,21,21\
Colour4\255,137,57\
Colour5\215,208,199\
Colour6\16,16,16\
Colour7\64,64,64\
Colour8\232,79,79\
Colour9\210,61,61\
Colour10\184,214,140\
Colour11\160,207,93\
Colour12\225,170,93\
Colour13\243,157,33\
Colour14\125,193,207\
Colour15\78,159,177\
Colour16\155,100,251\
Colour17\133,66,255\
Colour18\109,135,141\
Colour19\66,113,123\
Colour20\221,221,221\
Colour21\221,221,221\

IC Green Ppl

Colour0\217,239,211\
Colour1\159,255,109\
Colour2\58,61,63\
Colour3\58,61,63\
Colour4\66,255,88\
Colour5\217,239,211\
Colour6\31,31,31\
Colour7\3,39,16\
Colour8\251,0,42\
Colour9\167,255,63\
Colour10\51,156,36\
Colour11\159,255,109\
Colour12\101,155,37\
Colour13\210,255,109\
Colour14\20,155,69\
Colour15\114,255,181\
Colour16\83,184,44\
Colour17\80,255,62\
Colour18\44,184,104\
Colour19\34,255,113\
Colour20\224,255,239\
Colour21\218,239,208\

Monokai Soda

Colour0\196,197,181\
Colour1\196,197,181\
Colour2\26,26,26\
Colour3\26,26,26\
Colour4\246,247,236\
Colour5\196,197,181\
Colour6\26,26,26\
Colour7\98,94,76\
Colour8\244,0,95\
Colour9\244,0,95\
Colour10\152,224,36\
Colour11\152,224,36\
Colour12\250,132,25\
Colour13\224,213,97\
Colour14\157,101,255\
Colour15\157,101,255\
Colour16\244,0,95\
Colour17\244,0,95\
Colour18\88,209,235\
Colour19\88,209,235\
Colour20\196,197,181\
Colour21\246,246,239\

Seafoam Pastel

Colour0\212,231,212\
Colour1\100,136,144\
Colour2\36,52,53\
Colour3\36,52,53\
Colour4\87,100,122\
Colour5\212,231,212\
Colour6\117,117,117\
Colour7\138,138,138\
Colour8\130,93,77\
Colour9\207,147,122\
Colour10\114,140,98\
Colour11\152,217,170\
Colour12\173,161,109\
Colour13\250,231,157\
Colour14\77,123,130\
Colour15\122,195,207\
Colour16\138,114,103\
Colour17\214,178,161\
Colour18\114,148,148\
Colour19\173,224,224\
Colour20\224,224,224\
Colour21\224,224,224\

There are more and of course, you can create your own.

There you have it. KiTTY over PuTTY for portability. Color scheme changes and a host of other features unique to KiTTY make it my terminal client software of choice when I have to use Windows.

Reference

Leave a Comment