[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getty not setting stty correctly - sparc serial console?
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: getty not setting stty correctly - sparc serial console?
- From: "Jack L. Poller" <poller_(_at_)_hutzpah_(_dot_)_com>
- Date: Thu, 27 Apr 2000 16:41:21 -0700 (PDT)
- Cc: poller_(_at_)_racer_(_dot_)_net (Jack L. Poller)
Please help me solve this problem
I've got openbsd 2.6 generic running on a sparc classic (sun4m). I've
got this connected back to back via a serial cross-over cable to
another classic running solaris2.7.
When I tip from the solaris to the openBsd, getty (I think) appears to
incorrectly set the stty lines parameter. (note, I'm getting into the
solaris box via xterm/ssh).
My bsd settings are:
ttys:
console "/usr/libexec/getty suncons" xterm on secure
gettytab:
S|suncons|Sun Console:\
:np:sp#9600:
Once logged in over the serial console, on the bsd I show
TERMCAP=xterm|vs100|xterms:am:bs:km:mi:ms:xn:co#80:it#8:li#24:
... (rest of standard xterm termcap entry removed)
term xterm
stty -a
speed 9600 baud; 34 rows; 80 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin
-nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr oxtabs
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts
-mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
min = 1; quit = ^\; reprint = ^R; start = ^Q; status =
<undef>;
stop = ^S; susp = ^Z; time = 0; werase = ^W;
Please note that the TERMCAP shows 24 lines but stty shows *34*.
top, vi, more/less all seem to obey the stty setting. Changing the
stty setting allows the utilities to run ok.
stty is not being called from any login/cshrc scripts.
Can anyone explain this behavior.
Thanks in advance
Jack L. Poller
poller_(_at_)_hutzpah_(_dot_)_com
Hutzpah Consulting, Inc.
510-919-5100
Visit your host, monkey.org