Can I change the terminal type that PuTTY emulates?

2

According to PuTTY's docs, PuTTY emulates xterm. Is there any way to emulate another terminal program (e.g. eterm) instead?

I tried installing eterm on the remote server (Debian 6) and setting the terminal-type string to eterm in the PuTTY Configuration (Connection\Data), but I lost all color in emacs.

Begbie00

Posted 2011-06-30T13:58:14.897

Reputation: 341

Answers

3

eTerm is a VT102 emulation. You can tailor Putty using it's settings menu so that some of it's behaviour is closer to VT102.

When people talk about terminal emulation, what is being emulated is primarily 1) a set of control-code sequences that are sent by the terminal when you press keys, 2) control-code sequences that are sent to the terminal to move the cursor, change colours etc 3) a set of capabilities (e.g. double-width characters, pass-throughy printing) and behaviours (e.g. auto-wrap at line-end) and 4) a set of characteristics (e.g. fixed 24 lines of 80 or 132 characters).

The whole notion of emulating a VT102 is rather messy. A VT102 keyboard was radically different from a typical 105-key PC keyboard. A VT102 was monochrome. A VT102 could emulate a VT52 (few VT102 emulators do?) A VT102 had lots of settings that could be altered using the terminal setup menu - many of these settings could not be controlled by the host computer.

Why do you want to emulate a VT102 rather than an Xterm?

What specific features of eTerm do you wish to find in Putty?

RedGrittyBrick

Posted 2011-06-30T13:58:14.897

Reputation: 70 632

Fonts, background images, other pretty stuff. – Begbie00 – 2011-06-30T14:42:45.013

@Begbie00: In general no. If you can find a Windows Font that matches a font used in eTerm, you can use that in Putty. – RedGrittyBrick – 2011-06-30T14:46:20.530

2

You don't emulate terminal programs, you emulate terminal types. Each type has its own characteristics, and of course if you pick a terminal type that your terminal emulator doesn't support then at the very least things won't work properly.

Ignacio Vazquez-Abrams

Posted 2011-06-30T13:58:14.897

Reputation: 100 516

2

For those wondering, you can use Cygwin and X Windows Server on top of a PuTTY-enabled connection to provide the kind of functionality I was looking for.

Check this out.

Begbie00

Posted 2011-06-30T13:58:14.897

Reputation: 341