On 27-11-2014 12:23, Nikos Vassiliadis wrote: > On 11/27/14 02:02, Craig Rodrigues wrote: >> On Wed, Nov 26, 2014 at 3:44 PM, John-Mark Gurney <j...@funkthat.com> >> wrote: >> >>> >>> So, what exactly is the problem again? >>> >> >> https://lists.freebsd.org/pipermail/freebsd-virtualization/2014-November/003173.html >> > > Set the correct $TERM and set also rows and columns. Something like > this, will suffice: > TERM=xterm; export TERM > stty rows 80 > stty columns 80 > > Then the system you are connecting to, will know what to send back to > your terminal.
And then wrap this into a piece of shell init. for tcsh in .tcshrc, but you get the drift: if (@`tty`@ == @/dev/ttyd0@) ( setenv TERM vt220; stty rows 60 ) if (@`tty`@ == @/dev/ttyv6@) /usr/bin/systat -vm 1 if (@`tty`@ == @/dev/ttyv7@) /usr/bin/top Just try it once an check the tty with /usr/bin/tty --WjW _______________________________________________ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"