Difference between revisions of "Screen"
From ArmadeusWiki
m (→Install) |
(→Connect to tty) |
||
Line 13: | Line 13: | ||
</pre> | </pre> | ||
− | == Connect to | + | == Connect to serial port == |
− | To connect tty | + | To connect to serial port tty, just type : |
<pre class="host"> | <pre class="host"> | ||
$ screen /dev/ttyUSB0 115200 | $ screen /dev/ttyUSB0 115200 | ||
</pre> | </pre> | ||
− | Where '/dev/ttyUSB0' is your | + | Where '/dev/ttyUSB0' is your serial port device. |
To quit the terminal do '''Ctl-A K''' then 'y'. | To quit the terminal do '''Ctl-A K''' then 'y'. |
Revision as of 10:35, 6 April 2016
Introduction
Screen is a full-screen window manager that multiplexes a physical terminal between several processes (see man screen). It can be used as an UART/tty terminal to drive APF*.
Installation
In Debian/Ubuntu there is a package :
$ sudo apt-get install screen
Connect to serial port
To connect to serial port tty, just type :
$ screen /dev/ttyUSB0 115200
Where '/dev/ttyUSB0' is your serial port device.
To quit the terminal do Ctl-A K then 'y'.
tips
Scroll correctly
On debian if you use the mouse well to scroll terminal it will scroll the commands history. To solve this problem just add this magic formula in your ~/.screenrc :
termcapinfo xterm* ti@:te@
The explanation is given on this stackoverflow question.