difference between real serial console and virtual console

Wojciech Puchar wojtek at puchar.net
Tue Oct 6 13:30:44 UTC 2020


>>
>> any idea why?
>
> This should be related to user terminal size that's configured by user terminal emulator in case of network login.
> In case of VGA console, it's configured by console driver itself.

Not VGA console. serial console.
connected to same sized rxvt as ssh.

>
> In case of serial console, the system known nothing about user terminal size initially,
> so FreeBSD's default .login/.profile scripts contain call to resizewin utility.
> Read its manual page resizewin(1) and make sure you have "resizewin -z" in your shell's profile.

added to .bash_profile - i will check the results next time i will be 
there and use serial port


More information about the freebsd-hackers mailing list