Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Telnet from Linux to SCO OpenServer 5.0.6

2 views
Skip to first unread message

Sergey Keberle

unread,
Sep 13, 2002, 4:36:45 AM9/13/02
to
Hi!

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


Bob Meyers

unread,
Sep 13, 2002, 10:35:07 AM9/13/02
to

"Sergey Keberle" <pr...@unisoft.dp.ua> wrote in message
news:alsbiu$19lc$1...@pandora.alkar.net...

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.


Zbigniew

unread,
Sep 13, 2002, 12:33:27 PM9/13/02
to
Sergey Keberle wrote:

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.

Bob Meyers

unread,
Sep 14, 2002, 11:58:59 PM9/14/02
to

"Zbigniew" <zsienk...@procomsoftware.com> wrote in message
news:rrog9.304338$v53.15...@news3.calgary.shaw.ca...

Gee, when I click on your link above it takes me to a term-life insurance
company. Sure that is the correct link?


Cristian Veronesi

unread,
Sep 16, 2002, 5:28:17 AM9/16/02
to
Bob Meyers wrote:

>>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

Bob Meyers

unread,
Sep 16, 2002, 1:02:41 PM9/16/02
to

"Zbigniew" <zsienk...@procomsoftware.com> wrote in message
news:WWnh9.342418$Ag2.16...@news2.calgary.shaw.ca...

> >
> > It's "www.eterm.ORG" I think.
> >
>
> He's right. It suppose to be www.eterm.org.

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.


Ben Rosenthal

unread,
Sep 16, 2002, 2:06:11 PM9/16/02
to
Bob Meyers wrote:

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

Zbigniew

unread,
Sep 16, 2002, 12:47:50 PM9/16/02
to
Cristian Veronesi wrote:

He's right. It suppose to be www.eterm.org.
Sorry for the typo.

Zbigniew

unread,
Sep 16, 2002, 7:01:37 PM9/16/02
to
Bob Meyers wrote:
> 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'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?

Greg M Lee

unread,
Sep 16, 2002, 7:42:32 PM9/16/02
to Sergey Keberle

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 Keberle

unread,
Sep 17, 2002, 2:32:48 AM9/17/02
to
Thank's for your answers.
I already solved the problem. The point is Oracle Forms has own termcap
database. Then I added entry about my linux terminal all worked fine. As for
terminal I transfered terminfo/termcap enties for terminal "linux" to SCO
Openserver box and it works fine.

Sergey

Bob Meyers

unread,
Sep 17, 2002, 8:32:37 PM9/17/02
to

"Zbigniew" <zsienk...@procomsoftware.com> wrote in message
news:lpth9.331525$v53.16...@news3.calgary.shaw.ca...

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.

Cristian Veronesi

unread,
Sep 18, 2002, 4:23:40 AM9/18/02
to
Greg M Lee wrote:

> 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?

Ian Wilson

unread,
Sep 18, 2002, 1:26:13 PM9/18/02
to

"Cristian Veronesi" <vero...@libero.it> wrote in message
news:am9d0i$efm$1...@panco.nettuno.it...

> Greg M Lee wrote:
>
> > You can similarly copy the termcap entry and prepend/append to
> > /etc/termacp on the SCO box.
> >
>
> Why this doesn't work for me?
>

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.


Greg M Lee

unread,
Sep 18, 2002, 9:31:54 PM9/18/02
to Cristian Veronesi

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

Cristian Veronesi

unread,
Sep 19, 2002, 3:32:14 AM9/19/02
to
Greg M Lee wrote:

> 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

Sergey Keberle

unread,
Sep 24, 2002, 1:47:43 AM9/24/02
to
> 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


cris

unread,
Sep 24, 2002, 8:58:26 AM9/24/02
to
Sergey Keberle wrote:

> 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

0 new messages