Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to access my raspberry pi via its serial console on the gpio pins. It's working fine through a USB-3.3v serial dongle. However, there's a problem with long lines and long screens not displaying correctly. I'm running minicom in a gnome-terminal which is not set to 24x80 columns (and gnome-terminal's Terminal/1 (24x80) option) doesn't help.

It's as if minicom completely ignores the sigwinch it must be getting, and/or has no way to send that over the serial line to change the terminal type.

share|improve this question
Not a valid/answer or solution, but I find putty works quite well as a serial terminal in linux. – jordanm Jan 24 '13 at 1:58
Sure, but it's still stuck in GTK+ 1.x. – Ignacio Vazquez-Abrams Jan 24 '13 at 2:02
There are other minicom alternatives possibly worth trying (the thread mentions cu, screen, seyon, conserver and kermit) – sr_ Jan 24 '13 at 7:47
I did some experimenting with xterm vs gnome-terminal, and screen vs minicom. None of them change it. I'm concluding that the problem is on the Debian end, where it's not emitting the correct terminal escape codes. – Russell Nelson Mar 27 '13 at 16:32
May be a solution here: unix.stackexchange.com/questions/106644/… – flonlo Mar 25 at 13:38

You're right, in that minicom won't communicate the fact of a window change to the far end. If you're using a VT100-like emulation, you might be able to do a

eval `resize`

to generate some control characters that will force the emulator to tell the far end the size of its window.

On Debian-like systems, resize is in the xterm package.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.