John Floren schreef:
I pulled out my ADM-3A today in an effort to
stave off studying and
homework and such; hooked it up to my Debian box, only to find that
there isn't really very good support for it under Debian. I use this
line in my inittab:
T0:23:respawn:/sbin/getty -h -L ttyS0 9600 adm3a
and while I can log in, vim for example looks TERRIBLE, ls tries to do
color and fails miserably, etc.
When I log on to one of the Solaris machines on campus via SSH, they
handle things gracefully. ls works right, vi is excellent.
Is the difference in our terminfo files, or what? I'm not really sure
how these things work so I'm hoping somebody can help me figure out
what's up here, because I'd like my Debian computer to play nicely
with the terminal.
I'm no expert on this topic, but I think you need to adapt the TERM
environment variable. The curses library uses this to determine what
control codes to send to your terminal to draw the screen.
No, the TERM variable just tells the system which TERMCAP/TERMINFO entry
to use. You still need a proper TERMCAP or TERMINFO entry for the
terminal you're using.
Peace... Sridhar