Created On: 20 June 2011
Problem:
Server Express includes utilities such as Animator, sde, dfed, and mflmadm. These are full-screen character-mode graphic utilities. Sometimes they appear garbled or unreadable, and function keys or cursor keys may not work as intended. These problems can be fixed by setting up the terminal emulation.
Resolution:
1) Download the PuTTY terminal emulator from http://www.putty.org. It's free. Specifically, download the Windows installer for everything except PuTTYtel and install it on your PC.
2) Start PuTTY and configure it as follows:
Type the name of your Unix/Linux machine in Host name, and select either Telnet or SSH. Also type the name of your machine in Saved Sessions, then press Save.
Then on the left side under Category:
Then at the top left, under Category, click Session. Then click Save. This saves the configuration. Then click Open.
In the future each time you start PuTTY, click your machine name under Saved Sessions, then click Load, then click Open.
3) Edit the file named .profile in the home directory of your UNIX/Linux login, and add the following:
For AIX, Solaris, HP/UX, and SCO:
TERM=ansi
export TERM
For Linux:
TERM=linux
export TERM
This way, the TERM environment variable will be set automatically each time you log in. Now, log out and back in, so TERM will be set.
Now you can use Animator, or sde, mflmadm, dfed, or editor, the screen will look pretty good. To make the font bigger, resize the screen or maximize the screen. If some keys don't work, press /m (that is, press and release forward-slash, then press m). This will show alternative keyboard mapping. The alternative for F1 is /1 and the alternative for F2 is /2 and F3 is /3 etc.
Remember, you can try other values for the TERM environment variable in your .profile, and other settings in PuTTY. It's a matter of finding a combination of TERM value and PuTTY emulation setting that gives the best appearance and behavior.
2) Start PuTTY and configure it as follows:
Type the name of your Unix/Linux machine in Host name, and select either Telnet or SSH. Also type the name of your machine in Saved Sessions, then press Save.
Then on the left side under Category:
Under Terminal, click Keyboard, then under The Function Keys and Keypad:
If you using Linux: click Linux
If you using AIX, Solaris, HP/UX, and SCO: click SCO
Click Window, and specify Columns 80 Rows 35. Important: Columns must be 80 or the screen will be garbled. Rows can be 26 or greater; 35 is nice.
For when window is resized, select: change the size of the font. This will prevent you from accidentally changing Columns to something other than 80 if you resize the screen.
Under Window, click Appearance, and change the font to Lucida Console 12-point.
Then at the top left, under Category, click Session. Then click Save. This saves the configuration. Then click Open.
In the future each time you start PuTTY, click your machine name under Saved Sessions, then click Load, then click Open.
3) Edit the file named .profile in the home directory of your UNIX/Linux login, and add the following:
For AIX, Solaris, HP/UX, and SCO:
TERM=ansi
export TERM
For Linux:
TERM=linux
export TERM
This way, the TERM environment variable will be set automatically each time you log in. Now, log out and back in, so TERM will be set.
Now you can use Animator, or sde, mflmadm, dfed, or editor, the screen will look pretty good. To make the font bigger, resize the screen or maximize the screen. If some keys don't work, press /m (that is, press and release forward-slash, then press m). This will show alternative keyboard mapping. The alternative for F1 is /1 and the alternative for F2 is /2 and F3 is /3 etc.
Remember, you can try other values for the TERM environment variable in your .profile, and other settings in PuTTY. It's a matter of finding a combination of TERM value and PuTTY emulation setting that gives the best appearance and behavior.
Incident #2523839
Old KB# 34180



