Difference between revisions of "Screen"
From ArmadeusWiki
(→Links) |
|||
Line 23: | Line 23: | ||
To quit the terminal do '''Ctl-A K''' then 'y'. | 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'' : | ||
+ | |||
+ | <source class="bash"> | ||
+ | termcapinfo xterm* ti@:te@ | ||
+ | </source> | ||
+ | |||
+ | The explanation is given on this [http://stackoverflow.com/questions/359109/using-the-scrollwheel-in-gnu-screen stackoverflow question]. | ||
== Links == | == Links == | ||
* [[ RS232_Terminal_configuration | Back to RS232 terminal configuration page ]] | * [[ RS232_Terminal_configuration | Back to RS232 terminal configuration page ]] |
Revision as of 09:16, 1 October 2015
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*.
Install
In debian/ubuntu there is a package :
$ sudo apt-get install screen
Connect to tty
To connect tty simply type :
$ screen /dev/ttyUSB0 115200
Where '/dev/ttyUSB0' is your uart tty connection.
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.