NewDeal Hot Tip 1103Telecommunications
Another important thing is the terminal emulation. Make sure that the NewComm terminal type is the same as what Unix thinks you are using.
stty erase "^H"In GNU-Emacs:
Meta-X global-set-key "\C-h" 'backward-delete-char-untabifyIf you absolutely must send a delete character, try this: Create a DELETE.TXT file containing just the delete character. (You'll have to use a DOS-based text editor to do it.) To send a delete, select "Type From Text File" on the File menu. In the dialog box, choose DELETE.TXT, this will send the delete.
Communicating with a Unix-based information system, both systems using VT100, ";7m" is displayed where the highlighted cursor should be.
First, make sure that NewComm is set to VT100.
To move the cursor around, each manufacturer has a different set of control sequences. The DEC VT100 uses the ANSI-standard "ESC [ " sequences (i.e. the Unix end sends an ESC character, followed by a left bracket, followed by other characters that cause things like cursor movement and reverse video).
Try typing, at the Unix prompt, "echo $term", and if it says vt100, then NewComm should work with the VT100 setting.
Also try the command "stty -a" to show what Unix expects about your terminal. Here's an example:
% stty -a speed 19200 baud, 24 rows, 80 columns parenb -parodd cs7 -cstopb hupcl cread -clocal -crtscts -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff imaxbel isig iexten icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tabs erase kill werase rprnt flush lnext susp intr quit stop eof ^H ^? ^W ^R ^O ^V ^Z/ ^Y ^C ^\ ^S/ ^Q ^DNote the "cs7" (Character Size 7, vs. 5, 6, or 8; this is the number of "data bits" that NewComm should be set for) and also the "-parodd" (or it could say "evenp"), which means "not odd parity" which of course means "even parity".
These facts about stty are available via the Unix on-line manual. Just enter "man stty" at your Unix prompt. Also the "tset" command is useful for getting your terminal stuff set on the Unix end (man tset).
The VT100 emulation in NewComm may not properly support all Unix systems. For example, on one such system, the screen doesn't clear as expected when using the vi editor after dialing into an IBM RS6000 even though termenv is set to vt100.
The problem is most likely that the particular host is expecting different screen clear sequence than what NewComm expects or that the host uses some screen clear sequence that NewComm doesn't support. Since the screen clear action is supported by NewComm in general, it might be possible to modify the termcap file to achieve the expected results.
Last Modified 2 Mar 1999