Thanks in advance for all your help...
Bob
Systems Administrator
Net Access - Denville, NJ
Why don't you simple set them to "off" in /etc/ttys so no getty is
run for them and invoke your monitor program during startup with
output redirected ?
Or set your program instead of getty. This way "nocol" gets respawned
from init in case one of the ttys gets turned of and back on later again.
Greetings,
Ripley
--
http://www.in-berlin.de/User/nostromo/
Someone else suggested that, but it has one problem... When I run it on one
of the virtual consoles and redirect it to the tty
(/usr/local/nocol/bin/netconsole > /dev/ttyd1), the terminal type, not matter
what I set it to seems to use the same as the virtual console. I tried
changing the virtual console to what it should be set to, but it still
doesn't work. The columns are not being set to what the terminals should be.
Bob
The program inherits the value of TERM from your shell for sure.
How about "env TERM=ttyd1termtype nocol > /dev/ttyd1" ?
If your tabstops don't agree check them with stty. Use
"stty all </dev/ttyd1" to see what's set for the temrinal.
/usr/bin/expand might be helpful, too.