Properly Configuring Terminal Emulation in Unix?
Jobe_br asks: "I've recently come across a need for a way of connecting to a SCO Unix box with full SCO-ANSI emulation (so that I can send F1-F12 commands and ASCII line art appears as lines, not strange foreign letters). After checking out the Terminal-HOWTO at linuxdoc.org I came away with no clearer understanding of what I need to do. I can pretty much pick any 'ole terminal emulator for win32 and get what I need, but no matter what I do to fiddle with my xterms/eterms/vts I can't get things to go. Is this not facilitated under Linux?"
We had this problem too at work, our solution run CRT in wine. It was a pain to configure but works really well now after some trouble shooting. Found one other package that claims to do what you want out of the box but couldn't even get the software to run for me, it was from Pericom-Software.com. Crappy install and just all around seems like pretty poor software but your mileage may vary.
PAGERANK++ Robsell.com
I used to use a program called ansiterm on the SGIs at school that had pretty good ANSI support (though I don't know what differences between Sco-ANSI and "regular" ANSI are.) I'm pretty sure I had a version running under slackware about 5 years ago, but when I search for it now all I find are links to an Apple IIgs program of the same name. Does anyone else out there remember this beast?
perl -le 's;;uoli;;$a=length;y;g-w;e-u;;$a--;s;j;$a;;print'
Found this on google.
most unixes maintain a terminal database file usually in /etc/terminfo or something similar in /etc. if you add the linux terminal database to your SCO box your should be able to handle the SCO box like a linux box.
I have been trying to get full (i.e., all F-keys, escape and backspace/delete etc) terminal emulation going on a DOS machine connected to a linux machine over a serial cable. I can specify what terminal type that the getty should use on that line in /etc/inittab.
/etc/termcap file has some interesting reading in the comments. Check it out next time you are waiting for a compile to finish.
On the DOS machine I am using kermit. There is a vt300.ini file which puts it into vt300 emulation mode. Except that if I connect to the linux machine, I have to do "set term type ansi-bbs" to be able to see any text, and if I start up midnight commander not all of the F-keys work.
I looked the various "set key" commands in the vt300.ini file, and I had the hope that I could look at the termcap definition of vt300 (actually vt320) on the linux machine and somehow figure out how to set the F-keys to send the right thing.
But no luck so far. How do you figure out exactly what mc is expecting for a certain key ? Isn't this somehow in the ncurses library related stuff ? Should I try a different terminal type -- perhaps midnight commander wouldn't work correctly even if I had a real hardware vt320 ?
In general, how do you debug stuff like this ? Is there a program in the ncurses package, or that uses it, that I can run, press a key, and it will show me what the terminal emulator should send (in terms of what binary combination) to emulate that key ? Then I could generate the key-to-binary mapping by hand, and then use that to generate a file of "set key" commands to configure kermit correctly. If I was trying to emulate something with more F-keys than my keyboard, I could look into using shift-Fkey to emulate the higher ones, or whatever. But I would at least know what I needed to send, and that's the part I'm having trouble figuring out.
By the way, the
Anyone seen a linux emulator for Wyse terminals?
I had a similar problem with AIX. If you do a CTRL^Left-Click (of an xterm), you will see the option 'Old Function-Keys'. --try it
If it works, then add this line to your ~/.Xdefaults file:
XTerm*oldXtermFKeys: true
Check this out : www.marathon-man.com/pl/Progress-Linux-FAQ.html.
(server seems to be down now, check google for its cache or maybe a mirror somewere). It is about running Progress (SCO version) over Linux, it also mentions how to fix termcap so it will work with SCO. I Hope it works. Another Option, depending on the version of SCO there may be a terminal emulator for windows for free included, it's TERMLITE, you may get it to work with wine.