I recently connected an ADDS 1010 terminal via an USB to Serial port adapter to my FreeBSD server. After several days of tinkering with the termcap, I actually found a working one in Terminfo. Long story here, but probably not important for this.
The problem I'm having is that some programs hang, or act weirdly when run on a serial tty.
sudo: doesn't sudo. it just hangs. ctrl-C will make it print its help, and drop me back into the shell
less, more: these don't work at all. Ctrl-C drops me back into the shell
when I'm inside GNU Screen, however, sudo, less, more work just fine. vi, nano, irssi work great too.
But, when I use Ctrl-a x, which should lock the screen and ask for a password, it'll hang and become completely unresponsive. it'll echo back characters, but it won't do much more.
All of these programs work fine on SSH sessions. I haven't tried on the system's console though as that server is headless.
The /etc/ttys line relevant to this terminal:
cuaU3 "/usr/libexec/getty std.19200" myvp3a+ on secure
myvp3a+ is my custom profile (it's a customized version of vp3a+). changing it to vt100 breaks most ncurses programs, but sudo still fails.
The problem I'm having is that some programs hang, or act weirdly when run on a serial tty.
sudo: doesn't sudo. it just hangs. ctrl-C will make it print its help, and drop me back into the shell
less, more: these don't work at all. Ctrl-C drops me back into the shell
when I'm inside GNU Screen, however, sudo, less, more work just fine. vi, nano, irssi work great too.
But, when I use Ctrl-a x, which should lock the screen and ask for a password, it'll hang and become completely unresponsive. it'll echo back characters, but it won't do much more.
All of these programs work fine on SSH sessions. I haven't tried on the system's console though as that server is headless.
The /etc/ttys line relevant to this terminal:
cuaU3 "/usr/libexec/getty std.19200" myvp3a+ on secure
myvp3a+ is my custom profile (it's a customized version of vp3a+). changing it to vt100 breaks most ncurses programs, but sudo still fails.