[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #23952] Screen can't set stop/parity bits on serial

From: Marc Haber
Subject: [screen-devel] [bug #23952] Screen can't set stop/parity bits on serial
Date: Sun, 21 Nov 2021 09:54:09 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Follow-up Comment #1, bug #23952 (project screen):

This has been lying around in the bug tracker for 13 years now. I'd like to
elaborate a bit on this:

The cereal program ( uses screen as a
terminal emulator to access serial devices such as routers, switches etc.
cereal's unique usage of screens allow device output to be captured
unattendedly, so that you can see the device's last output when attaching to
the session. This is a huge help when debugging on devices that usually run
unattended for months and then suddenly need attention.

Unfortunately, screen's handling of serial ports is somewhat incomplete: You
can set the baud rate and the word length (cs7), but not the number of stop
bits and/or the parity settings.

Since the OS calls are readily available, adding this to a future version of
screen would proably be easy enough to do inside Sadly, my C skills
lack to handle this code which is liberally sprinkled with portability
#ifdefs, so I cannot submit a patch.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]