Difference between revisions of "Screen"
From ArmadeusWiki
(→Connect to tty) |
(→Connect to serial port) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 22: | Line 22: | ||
Where '/dev/ttyUSB0' is your serial port device. | Where '/dev/ttyUSB0' is your serial port device. | ||
− | To quit the terminal do ''' | + | To quit the terminal do '''Ctrl-a k''' then 'y'. |
− | == | + | == Tips == |
=== Scroll correctly === | === Scroll correctly === | ||
− | On | + | On Debian if you use the mouse wheel to scroll terminal, it will scroll the commands history. To solve this problem just add this magic formula in your ''~/.screenrc'' : |
<source lang="bash"> | <source lang="bash"> |
Latest revision as of 06:07, 27 May 2020
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 Ctrl-a k then 'y'.
Tips
Scroll correctly
On Debian if you use the mouse wheel 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.