Linked Questions

47
votes
2answers
83k views

How to change the width of remote serial console? [duplicate]

I followed this tutorial and now I'm able to connect to serial line. Now I want to change the width of terminal. How can I do this by using screen or minicom or something else?
4
votes
1answer
3k views

tty not resizing properly [duplicate]

I'm running an embedded poky linux (linux-yocto v3.13) on a beagleboard. However, I'm having trouble when logging in over a serial using PuTTY: the terminal does not resize at all. Usually, the ...
5
votes
2answers
2k views

Screen/Minicom multiline problem [duplicate]

I'm managing with some boards like Arduino/UDOO etc. but I always face an annoying problem with minicom or screen. If i type a long command, for example: sudo /sbin/wpa_supplicant -s -B -P /run/...
19
votes
4answers
14k views

Getting console width using a bash script

I'm encountering an issue where I am trying to get the size of a terminal by using scripts. Normally I would use the command tput cols inside the console, however I want to be able to accomplish this ...
8
votes
4answers
24k views

STTY: How can I set rows/columns to its supported maximum?

I would like some 83(cols)x40(rows) size on my TTY, so: xubuntu@xubuntu:~$ stty size 30 90 xubuntu@xubuntu:~$ stty cols 83 rows 40 stty: standard input: Invalid argument xubuntu@xubuntu:~$ stty size ...
7
votes
2answers
21k views

How to change (increase) number of lines in screen?

Connecting from Windows to Linux (CentOS 5.4) using PuTTY. Console set at 140col 60 lines. Not much else changed from default. Connection is via serial cable to the box. On Linux, installed and ...
2
votes
1answer
2k views

resize putty window to default

I want to resize a PuTTY window to its default (e.g. 32x120). Typically I enlarge the window with the mouse in one dimension. Afterward I want to resize it to its “default” again. Of course I can ...
3
votes
1answer
131 views

Naive line-by-line comparison like “comm -3” but looking like “diff -y”

I am looking from something which gives me an output of comm -3 on two sorted outputs (line-by-line comparison, only additional/missing lines from either side) but which looks more like the output ...
0
votes
0answers
390 views

Why remote console doesn't use the whole terminal size

I have Linux mint 18, the remote machine have Ubuntu 16.04. When I setup remote session via ssh sometimes it is broken: As you can see it is restricted by 80x40, but I expect it should take full ...
-1
votes
1answer
202 views

Hard-set (NOT resize/reset) stty rows/columns in ~/.profile, ~/.bashrc, grub.cfg?

When I PuTTy in, I typically: "stty rows 48 columns 240" after login. I'm after a single-line/entry, in .profile or .bashrc or even grub.cfg to hard-set stty cols/rows If this requires a ...
0
votes
2answers
85 views

screen /dev/pts/<num> of a VM never has correct stty settings

A virtual machine (using linux+kvm+qemu) is setup to provided a serial port for a terminal, which is made available via a pseudo-terminal, some random /dev/pts/<number> I use screen as a way to ...