[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tset: can't initialize terminal
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: tset: can't initialize terminal
- From: "Crist J. Clark" <cjclark_(_at_)_reflexnet_(_dot_)_net>
- Date: Tue, 19 Dec 2000 13:42:19 -0800
- Reply-to: cjclark_(_at_)_alum_(_dot_)_mit_(_dot_)_edu
I am trying to figure out what I broke and how to go about fixing
it. When I login at the VGA console of an i386 OpenBSD machine, I get
the following,
tset: can't initialize terminal type su (error -1)
Terminal type? _
Where it prompts me for a terminal type. I believe this is coming from
the following code in .login,
if ( ! $?TERMCAP ) then
tset -Q '-mdialup:?vt100' $TERM
endif
I put a line,
echo "TERM: " $TERM
In front of that and sure enough I got,
TERM: su
Before the error message. My /etc/ttys seems pretty normal,
#
# $OpenBSD: ttys,v 1.13 1998/06/28 00:48:37 art Exp $
#
# name getty type status comments
#
console "/usr/libexec/getty Pc" vt220 off secure
ttyC0 "/usr/libexec/getty Pc" vt220 on secure
ttyC1 "/usr/libexec/getty Pc" vt220 on secure
ttyC2 "/usr/libexec/getty Pc" vt220 on secure
ttyC3 "/usr/libexec/getty Pc" vt220 on secure
ttyC4 "/usr/libexec/getty Pc" vt220 off secure
ttyC5 "/usr/libexec/getty Pc" vt220 on secure
ttyC6 "/usr/libexec/getty Pc" vt220 off secure
ttyC7 "/usr/libexec/getty Pc" vt220 off secure
tty00 "/usr/libexec/getty std.9600" vt220 on secure
tty01 "/usr/libexec/getty std.9600" unknown off
tty02 "/usr/libexec/getty std.9600" unknown off
The only change I recall being to the first serial device. I should
note that error does not occur for network logins.
If anyone remembers the 'Read-Only /' thread I have been perpetuating,
this is the machine I was using. Any ideas what I have broken and how
to repair it? Thanks.
--
Crist J. Clark cjclark_(_at_)_alum_(_dot_)_mit_(_dot_)_edu
Visit your host, monkey.org