You (Dale Scheetz) wrote: > On 28 Aug 1996, Miquel van Smoorenburg wrote: > > > Probably a terminfo problem. Your terminal may have auto-wrap (auto-margins) > > and terminfo says it doesn't, or vice verse. Also make sure that you do > > have the right terminfo entry: if you set term to "linux" its terminfo > > entry says it has 25 lines. > > > This bring up another issue. This terminal obviously has special needs. Is > there a way in /etc/profile (or somewhere else) to set up the proper > conditions based on the terminal rather than the user? That is, can I > determine at login time what tty is being used and set the proper > conditions reguardless of the user logging in?
Well yeah, if you run agetty (which is /sbin/getty on Debian ofcourse) you can put the terminal type at the end of the command line. For example if your terminal is a vt100, then in /etc/inittab: S1:23:respawn:/sbin/getty /dev/ttyS1 9600 vt100 Mike. -- Miquel van | Cistron Internet Services -- Alphen aan den Rijn. Smoorenburg, | mailto:[EMAIL PROTECTED] http://www.cistron.nl/ [EMAIL PROTECTED] | Tel: +31-172-419445 (Voice) 430979 (Fax) 442580 (Data)