screen can be used as a terminal, to send and receive information from a serial port.

Pausing The Terminal And Scrolling Through Past Data

You can pause the output from screen with:

Ctrl-A, Esc 

This enters copy mode. You can then use your mouse wheel or the arrow keys to scroll through the received data. Note that any data received while in copy mode will be lost.

Killing Screen Processes

If you exit screen and go back to the terminal using  Ctrl-C, the screen process is actually still running (it’s just detached). This will prevent you from opening the same device with screen again until it’s actually killed. You can still see it if you list all screen processes. To list all screen processes, type the command  screen -ls .

To kill a specific process, use:

The session number is the number listed in front of the device name when you run screen -ls. This even destroys detached screen process, in which the screen kill command cannot.

Posted: September 17th, 2014 at 12:23 pm
Last Updated on: April 27th, 2017 at 4:42 am