Problems getting an XT to be a text terminal over a serial line

Problems getting an XT to be a text terminal over a serial line

Post by Entro » Sat, 07 Nov 1998 04:00:00



Hi

I've been trying to get an old XT to act as a dumb terminal to my Linux
box. I've got a serial LapLink cable (which does work in LapLink between
the machines), but I'm not getting anything. I got stuff-all when I
tried to rig an agetty on Linux, but I'm also not getting much trying to
communicate with Telix on DOS (which looks a hell of a lot like minicom)
and minicom on Linux. If I type in minicom I get garbage on telix, at a
bit under 1 character per character typed (I guess there are buffer
overruns if flow control is stuffed; I'm trying to run it with and
without hardware flow control and software flow control). If I type in
telix I nothing in minicom (although I once got lots of a's)

The only thing I can think of that would do that is mismatched baud
rates, stop bits etc. But I've tried running both machines at 19200/8N1
and at 9600/8N1 (according to telix, mode, minicom and setserial) and
I've tried minicom on both /dev/ttyS1 and /dev/cua1 (yes I am using
COM2).

Anybody know what I'm doing wrong?
TIA
Entropy
--
Please remove the ".nospam" from my address before replying
/--------------------------------------------------------------------\
| Bruce Merry (Entropy)            | bmerry at iafrica dot com       |
| Proud user of Linux!             | http://www.cs.uct.ac.za/~bmerry |
|         Where there's a will, there's an inheritance tax.          |
\--------------------------------------------------------------------/

 
 
 

Problems getting an XT to be a text terminal over a serial line

Post by David Fo » Sat, 07 Nov 1998 04:00:00




Quote:>Hi

>I've been trying to get an old XT to act as a dumb terminal to my Linux
>box. I've got a serial LapLink cable (which does work in LapLink between

Hi

We can assume that the DOS end is OK. So the problem must be at the linux
end.

You do need some kind of getty and agetty is one of the simpler ones.

Try 'man agetty', 'man init', 'man gettydefs'

Try 'find / -name *getty* -print' to see which gettys you have.

Even 'apropos getty' might prove interesting.

You need some bits in inittab to setup the ports and that means that you
need to look at gettydefs to get inittab right. BUT it all depends on the
getty.

There is a serial HOWTO -- it's worth a read.

Generally speaking cua is the incomming part of the port and S is the
outgoing part. Make sure that you have both in /dev, -- don't laugh, I've
gone for weeks before I noticed that I only had one of them before now.

By the way you might like to look at Kermit. msKermit has a very
programable terminal emulator that allows you to set colours and 'F' keys
and you can get cKermit for linux as an rpm (from colubia.edu I think) for
file transfer and local printing etc.

Hope this helps.
In the end just sticking with it will solve most problems.

Dave

--
D. J. Ford

Hatfield, Herts                          Phone:   +44 (0)1 707 886 095
AL10 0PF, U.K.                           Fax:     +44 (0)1 707 261 836

 
 
 

1. serial line terminal only gets one character



|> : I've been trying to get a terminal running on my serial card
|> :  with the following setttings:
|>
|>
|> this is how the line should look in /etc/inittab
|>
|>
|> # BEWARE: where is your getty? in /bin or in /etc?
|> #
|> c7:123456:respawn:/bin/getty 9600 ttys1
|>
|> ^                                    ^
|> |                                    |___ note the small 's'
|> |                                         the Large 'S' is supposed to be
|> |                                         for modems but was replaced by
|> |                                         cua...

Mine is

 # BEWARE: where is your getty? in /bin or in /etc?
 #
 c7:123456:respawn:/bin/getty 9600 cua1

with a vt220 compatible terminal. I tried the ttyxx before but it did not
work ( could not login ).

        Thilo

2. specifying bootfile from cmd line

3. XT as terminal on serial port?

4. Need DLPI-paper!

5. Terminal problems-- getting stuck on bottom line of screen

6. Searching for Info about WYSE monitor and video adapter

7. I am in text mode, what browser am I running....

8. web/ftp services install help

9. I am getting a few error lines on boot up that I can't identify.

10. Shell problem: How to change text in a line depending on data in the following line.

11. Tips for setting up a text terminal via serial port?

12. text app for serial terminal

13. terminal library for front end command line text user interface