Skip to main content
Please don't sign posts, they are signed with your profile. http://unix.stackexchange.com/faq#signatures
Source Link
Caleb
  • 72k
  • 19
  • 203
  • 234

When using the serial console of my system I always end up with $COLUMNS=80$COLUMNS=80 and $LINES=24$LINES=24.

While I can change these Variablesvariables manually it is somewhat annoying to do this any time when the client side terminal window has been resized.

Usually I'm connecting to the console using "screen /dev/mytty baudrate"screen /dev/mytty baudrate.

Changing the TERM$TERM environment Variablevariable to "screen" or "xterm" does not help.

Will I need to call gettygetty with some of those instead of vt100?

Needless to say that all of this works fine, when I connect to the same machine using ssh.

Regards

Sven

When using the serial console of my system I always end up with $COLUMNS=80 and $LINES=24.

While I can change these Variables manually it is somewhat annoying to do this any time when the client side terminal window has been resized.

Usually I'm connecting to the console using "screen /dev/mytty baudrate".

Changing the TERM environment Variable to "screen" or "xterm" does not help.

Will I need to call getty with some of those instead of vt100?

Needless to say that all of this works fine, when I connect to the same machine using ssh.

Regards

Sven

When using the serial console of my system I always end up with $COLUMNS=80 and $LINES=24.

While I can change these variables manually it is somewhat annoying to do this any time when the client side terminal window has been resized.

Usually I'm connecting to the console using screen /dev/mytty baudrate.

Changing the $TERM environment variable to "screen" or "xterm" does not help.

Will I need to call getty with some of those instead of vt100?

Needless to say that all of this works fine, when I connect to the same machine using ssh.

Source Link
Sven Geggus
  • 871
  • 1
  • 7
  • 11

resizable serial console window?

When using the serial console of my system I always end up with $COLUMNS=80 and $LINES=24.

While I can change these Variables manually it is somewhat annoying to do this any time when the client side terminal window has been resized.

Usually I'm connecting to the console using "screen /dev/mytty baudrate".

Changing the TERM environment Variable to "screen" or "xterm" does not help.

Will I need to call getty with some of those instead of vt100?

Needless to say that all of this works fine, when I connect to the same machine using ssh.

Regards

Sven