* Favorite getty for serial consoles?
@ 2000-07-27 4:00 Simon Tennant
2000-07-28 4:00 ` Johnny Billquist
0 siblings, 1 reply; 6+ messages in thread
From: Simon Tennant @ 2000-07-27 4:00 UTC (permalink / raw)
I've been tearing my hair out trying to get an old dec VT320 to correctly
talk to my computer. I can login but every 2 or 3 lines get a wierd
control character and lots of backward "?"s. I've tried agetty and
gettyps.
I'd like to be able to specify parity, hardware flow control etc on the
server end. Does anyone have a favorite getty that permits this?
S.
--
Simon Tennant, Web Team, Linuxcare, Inc.
415.577.6719 tel, 415.701.7457 fax
pgp id: 05F76248FF62442C4D0010C09851C0746410974D
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Favorite getty for serial consoles?
2000-07-27 4:00 Favorite getty for serial consoles? Simon Tennant
@ 2000-07-28 4:00 ` Johnny Billquist
2000-07-28 4:00 ` Simon Tennant
2000-07-29 4:00 ` Cthulhu
0 siblings, 2 replies; 6+ messages in thread
From: Johnny Billquist @ 2000-07-28 4:00 UTC (permalink / raw)
Simon Tennant wrote:
>
> I've been tearing my hair out trying to get an old dec VT320 to correctly
> talk to my computer. I can login but every 2 or 3 lines get a wierd
> control character and lots of backward "?"s. I've tried agetty and
> gettyps.
Every *two* or *three* lines? if so, you definitely have flow control
problems.
> I'd like to be able to specify parity, hardware flow control etc on the
> server end. Does anyone have a favorite getty that permits this?
Any getty does. Read and understand /etc/gettytab!
After that, it's a question of the OS being able to handle flow control.
Oh, and perhaps I should point out that the VT320 don't have hardware
flow control... :-)
XON/XOFF flow control is what you get.
I really don't care to go into a discussion about why DEC don't care about
hardware flow control, suffice to say that the RS-232 standards don't
have it.
Johnny
--
Johnny Billquist | johnny.billquist@netinsight.net
Net Insight AB | phone: +46 8 685 04 88
V�stberga All� 9 | fax: +46 8 685 04 20
Box 42093 |
SE-126 30 STOCKHOLM, Sweden | http://www.netinsight.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Favorite getty for serial consoles?
2000-07-28 4:00 ` Johnny Billquist
@ 2000-07-28 4:00 ` Simon Tennant
2000-07-31 4:00 ` Johnny Billquist
2000-07-29 4:00 ` Cthulhu
1 sibling, 1 reply; 6+ messages in thread
From: Simon Tennant @ 2000-07-28 4:00 UTC (permalink / raw)
Johnny Billquist wrote:
> Every *two* or *three* lines? if so, you definitely have flow control
> problems.
That's about it - then the cursor will get reset to another part of the
display.
>
> Oh, and perhaps I should point out that the VT320 don't have hardware
> flow control... :-)
> XON/XOFF flow control is what you get.
So is it correct to assume that the XON at 64 means it hands over the
serial line after 64 characters?
> I really don't care to go into a discussion about why DEC don't care about
> hardware flow control, suffice to say that the RS-232 standards don't
> have it.
>
Thanks for the help.
--
Simon Tennant, Web Team, Linuxcare, Inc.
415.577.6719 tel, 415.701.7457 fax
pgp id: 05F76248FF62442C4D0010C09851C0746410974D
Linuxcare. Support for the revolution.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Favorite getty for serial consoles?
2000-07-28 4:00 ` Johnny Billquist
2000-07-28 4:00 ` Simon Tennant
@ 2000-07-29 4:00 ` Cthulhu
2000-07-31 4:00 ` Johnny Billquist
1 sibling, 1 reply; 6+ messages in thread
From: Cthulhu @ 2000-07-29 4:00 UTC (permalink / raw)
Johnny Billquist <Johnny.Billquist@netinsight.se> wrote:
> Oh, and perhaps I should point out that the VT320 don't have hardware
> flow control... :-)
OUCH!
So, it wasn't cable's fault! :/
But then, what does the setup mean when, in Flow Control, it says "Use
Modem Control Line"?
discoveringly,
Cthulhu
--
Ph'nglui mglw'nafh Cthulhu http://www.rlyeh.it wgah'nagl fhtgan!
<cthulhu at flashnet dot it>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Favorite getty for serial consoles?
2000-07-28 4:00 ` Simon Tennant
@ 2000-07-31 4:00 ` Johnny Billquist
0 siblings, 0 replies; 6+ messages in thread
From: Johnny Billquist @ 2000-07-31 4:00 UTC (permalink / raw)
Simon Tennant wrote:
>
> Johnny Billquist wrote:
> > Oh, and perhaps I should point out that the VT320 don't have hardware
> > flow control... :-)
> > XON/XOFF flow control is what you get.
>
> So is it correct to assume that the XON at 64 means it hands over the
> serial line after 64 characters?
"Hands over" is not the correct term. It sends an XON when there are 64
or less characters left in the buffer.
XON is a normal ASCII control character.
However, I though the menu item said "XOFF at 64" (or 128) which
would mean it sends an XOFF when that many characters have been received
but not your processed. The reason for two different values are that
you basically want to use a pretty high value, since that is less likely
to occur, and will mean fewer stop-and-go. However, a machine that
is slow to react to XOFF, or a slow modem line might mean that you get a
buffer overflow before the XOFF has been processed at the other end.
In this case you want the XOFF to be sent earlier.
> Thanks for the help.
You're welcome.
Johnny
--
Johnny Billquist | johnny.billquist@netinsight.net
Net Insight AB | phone: +46 8 685 04 88
V�stberga All� 9 | fax: +46 8 685 04 20
Box 42093 |
SE-126 30 STOCKHOLM, Sweden | http://www.netinsight.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Favorite getty for serial consoles?
2000-07-29 4:00 ` Cthulhu
@ 2000-07-31 4:00 ` Johnny Billquist
0 siblings, 0 replies; 6+ messages in thread
From: Johnny Billquist @ 2000-07-31 4:00 UTC (permalink / raw)
Cthulhu wrote:
>
> Johnny Billquist <Johnny.Billquist@netinsight.se> wrote:
>
> > Oh, and perhaps I should point out that the VT320 don't have hardware
> > flow control... :-)
>
> OUCH!
> So, it wasn't cable's fault! :/
>
> But then, what does the setup mean when, in Flow Control, it says "Use
> Modem Control Line"?
If you enable modem control, the terminal will lock on you unless you
have a live system at the other end of the cable. Basically, we're
talking DCD/DTR signalling here, not CTS/RTS.
If you ever use a DEC MMJ cable, you'll notice that it only have six
wires. Four of those are for data, and the last two are for DCD/DTR.
Modem control line is an option even when you use that kind of cable,
but CTS/RTS don't even exist on it.
Johnny
--
Johnny Billquist | johnny.billquist@netinsight.net
Net Insight AB | phone: +46 8 685 04 88
V�stberga All� 9 | fax: +46 8 685 04 20
Box 42093 |
SE-126 30 STOCKHOLM, Sweden | http://www.netinsight.net
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-07-31 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-27 4:00 Favorite getty for serial consoles? Simon Tennant
2000-07-28 4:00 ` Johnny Billquist
2000-07-28 4:00 ` Simon Tennant
2000-07-31 4:00 ` Johnny Billquist
2000-07-29 4:00 ` Cthulhu
2000-07-31 4:00 ` Johnny Billquist
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox