(E-Mail Removed) (Phil) wrote:
>I have several dumb terminals running a program from a UNIX (SCO
>Openserver R5) server. These terminals use a serial line connection
>and Wyse-60 emulation to communicate with the server. I would like to
>replace several of the terminals with Linux boxes (RedHat 9.0) but
>can't figure out how to make it work ;-(
>
>Using several Google searches, I found out that I could use a terminal
>application called minicom. I configured minicom using the "-s"
>switch to use serial port S0 (i.e COM1). I first started minicom as is
>(with no switch) to see if I could at least end up with a UNIX prompt.
> It worked, so I then started minicom with "-t" switch (minicom -t
>wy60), logged in the UNIX system but ended up with garbage all over
>the screen and the only way to log the terminal out was to kill the
>terminal on the UNIX server.
>
>I can figure out with those tests that the wyse-60 used by both
>systems (Linux and my UNIX application) are not the same (?). Again
>using several Google searches, I found out that I could modify
>something like "termcap" or "terminfo" so the two systems could "speak
>the same language". I'm lost from there... I can't figure out which
>of the two "term..." I have to modify since I don't know which one
>minicom uses.
>
>Any help would be greatly appreciated!
>
>Thnx in advance,
>
>Phil
The -t option to minicom changes what it thinks it is displaying
on. It does not cause minicom to emulate a different terminal.
The problem you have is that the program you are running on the
SCO box thinks it is displaying on a wyse terminal, but you
are now displaying on either a linux console, on an xterm, or
on a vt102 emulator (which minicom is running).
What you want to do is get the SCO application to understand
that you are not using a wyse terminal, but instead are displaying
on "something" else.
That is where TERMCAP or TERMINFO come in, but *not* on the
Linux box! The SCO box needs to look up which terminal
attributes commands are appropriate for the "something" that you
are displaying the output on. That is usually done by setting
the TERM environment variable in the login shell of the system
running the application.
If you are changing all of the Wyse-60 terminals to Linux boxes,
or if each set has a distinct login such that it is easy to
distinguish (by which port, by login name, or whatever) which is
which, it should be easy. If there is no obvious distinction
between them, the only way to solve the problem will be to
manually enter which terminal to use each time a terminal logs
in.
There are too many potential ways your system is configured for
me to even begin to describe how to do it. If you post more
information about how the SCO system is accessed and how the
application is started, someone will no doubt be able to point
you directly at the right way to configure it.
--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)
(E-Mail Removed)