I am so sorry to trouble you, but can you help me with telnet from Linux to
SCO Openserver 5.0.6
I cann't set appropriate esc-seq. for functional keys, arrows and keypad.
That's why i cann't use Linux as Unix terminal. We use terminals for Oracle
Forms 3.0.
I tried to use c-kermit 8 and just telnet. I corrected terminfo/termcap/stty
on both boxes. But nothing can help me.
Please, help me.
Sergey
I think you need to make the Linux box behave and pretend it is a SCO Unix
console. I only know of one product that might do that, see
www.centurysoftware.com. I think they make an emulator that will run on
Linux. Before you buy do an eval, or get them to confirm that though. I
haven't tried it myself.
I've been searching for the same thing for some time and finally installed
Eterm from www.eterm.com. It works very well in xterm sessions.
Give it a try.
Gee, when I click on your link above it takes me to a term-life insurance
company. Sure that is the correct link?
>>I've been searching for the same thing for some time and finally installed
>>Eterm from www.eterm.com. It works very well in xterm sessions.
>>Give it a try.
>
>
> Gee, when I click on your link above it takes me to a term-life insurance
> company. Sure that is the correct link?
It's "www.eterm.ORG" I think.
--
Cris
Yes, that one works. But it looks like that one only emulates VT102?
If so, the user would have to make certain their application works OK on
just a VT102. I have seen many apps that demand more functionality than
that, or just run best in the SCO Ansi mode. I think centurysoftware.com
Term product can do that.
I am missing something here. Can't one take the SCOANSI termcap entry and
add it to the Linux termcap (or termtype). I have heard of others doing
this, but I can not remember where or when.
Ben
He's right. It suppose to be www.eterm.org.
Sorry for the typo.
I've been using eterm and rlogin to connect to OSR5 box from Linux box
(Caldera 3.1.1.) for almost a month already and didn't discover any
problems. I'm signing in to OSR5 as xterm.
Could you be more specific about your problems?
Unsure of Linux version and you don't say whether you are using the
console in terminal mode or GUI so the following might not work.
For console in terminal mode (ie what you get when you press
Ctrl-Alt-F1 on a Redhat box) do the following:
Login to a shell prompt
# infocmp -I >linux.ti
transfer linux.ti to the SCO box (remember binary mode if using ftp)
as root/su on the SCO box
# tic linux.ti
You can similarly copy the termcap entry and prepend/append to
/etc/termacp on the SCO box.
When telnetting from linux to SCO set terminal type to linux ie
# TERM=linux export TERM
You should be able to do similar things for gui terlnet sessions also
Be aware: some packages also use their own termcap/terminfo databases
to add extra/custom attributes; Informix springs to mind as an example,
if so you will have to hunt these down and merge in the definitions.
Luck
-Greg
Sergey
Yes, perhaps I am confused too. I am stating the success of using a vt102
emulation depends on the application. A real VT102 only has certain
capabilities. The application the guy is using may demand more function
keys, etc. than what is afforded by vt102. For example I have seen apps that
look like garbage using vt102, but run/function fine on scoansi.
From your experience, I would say the application you use works OK for
vt102. I am just saying it is application dependent. I have never found any
vt102 emulation adequate for most apps I have used or supported. Maybe
others have a different experience. That is the whole reason I use Windows
terminal emulators that emulate the SCO ansi console. I could get many
free-bee vt102 emulators, they just won't due.
What Greg Lee states about adding a Linux terminal type to SCO may be the
best and cheapest way to go. I didn't think of that choice.
> You can similarly copy the termcap entry and prepend/append to
> /etc/termacp on the SCO box.
>
> When telnetting from linux to SCO set terminal type to linux ie
> # TERM=linux export TERM
>
> You should be able to do similar things for gui terlnet sessions also
Why this doesn't work for me?
I appended the output of the linux command infocmp -I (from an xterm
session) to /etc/termcap in my SCO box that way:
#
# Linux Xterm (Cristian)
#
xl|xtermlin|xterm terminal emulator (Linux):\
am, bce, xenl, km, mir, msgr, mc5i,
cols#80, it#8, lines#24, colors#8, pairs#64,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
cbt=\E[Z, bel=^G, cr=^M, csr=\E[%i%p1%d;%p2%dr, tbc=\E[3g,
clear=\E[H\E[2J, el1=\E[1K, el=\E[K, ed=\E[J,
hpa=\E[%i%p1%dG, cup=\E[%i%p1%d;%p2%dH, cud1=^J,
home=\E[H, civis=\E[?25l, cub1=^H, cnorm=\E[?25h,
[etc]
But, when I telnet from the Linux box to the SCO box this is what it
happens:
209$ TERM=xtermlin; export TERM
210$ vi x
xtermlin: Unknown terminal type
I don't know what kind of terminal you are on - all I have is 'xtermlin'.
[Using open mode]
What was my mistake?
You need to add a terminfo entry too - the terminfo databaser is separate
from the termcap file. Some programs use terminfo (like vi) and some use the
older termcap system. There is a program to help convert entries from one to
the other.
Actually two :-(
infocmp -C is what you should have used for a termcap entry, and the
file from infocmp -I you should have run tic on as root to update the
terminfo database. i.e.
[Linux]% infocmp -I >xtermlin.src
[Linux]% infocmp -C >xtermlin.cap
transfer to SCO
[SCO]# tic xtermlin.src
[SCO]# cat xtermlin.cap >>/etc/termcap
Cheers
-Greg
> infocmp -C is what you should have used for a termcap entry, and the
> file from infocmp -I you should have run tic on as root to update the
> terminfo database. i.e.
> [Linux]% infocmp -I >xtermlin.src
> [Linux]% infocmp -C >xtermlin.cap
> transfer to SCO
> [SCO]# tic xtermlin.src
> [SCO]# cat xtermlin.cap >>/etc/termcap
Thank you. Now vi works perfectly. But in the shell prompt, the
backspace key still performs a newline. Do you have a clue for that?
Kind regards, Cristian
You must fix your terminal after telneting to SCO box:
stty intr "^H"
stty erase "^?"
stty echoe
After that all must work fine.
Sergey
> You must fix your terminal after telneting to SCO box:
> stty intr "^H"
> stty erase "^?"
> stty echoe
>
> After that all must work fine.
It works fine :)
Thanks a lot.
Kind regards, Cristian