[GreenKeys] Support for serial ports

Chris Elmquist chrise at pobox.com
Mon Jun 20 16:40:02 EDT 2011


On Monday (06/20/2011 at 02:02PM -0600), Richard wrote:
> 
> In article <20110615210006.GG8128 at n0jcf.net>,
>     Chris Elmquist <chrise at pobox.com> writes:
> 
> > It also adds delays for CR and LF after they
> > are sent to the TTY which is another feature that modern Linux, Mac and
> > other platforms have forgotten about.
> 
> I'm not sure what you mean by this, as they seem to be there just fine
> in linux:

ah... they are defined in the man pages but no longer implemented in the
line discipline.  If you look in the kernel tty drivers, those settings
no longer do anything.

Chris

> STTY(1)                          User Commands                         STTY(1)
> 
> NAME
>        stty - change and print terminal line settings
> 
> [....]
>    Output settings:
>        * bsN  backspace delay style, N in [0..1]
> 
>        * crN  carriage return delay style, N in [0..3]
> 
>        * ffN  form feed delay style, N in [0..1]
> 
>        * nlN  newline delay style, N in [0..1]
> 
>        * [-]ocrnl
>               translate carriage return to newline
> 
>        * [-]ofdel
>               use delete characters for fill instead of null characters
> 
>        * [-]ofill
>               use fill (padding) characters instead of timing for delays
> 
>        * [-]olcuc
>               translate lowercase characters to uppercase
> 
>        * [-]onlcr
>               translate newline to carriage return-newline
> 
>        * [-]onlret
>               newline performs a carriage return
> 
>        * [-]onocr
>               do not print carriage returns in the first column
> 
>        [-]opost
>               postprocess output
> 
>        * tabN horizontal tab delay style, N in [0..3]
> 
>        * tabs same as tab0
> 
>        * -tabs
>               same as tab3
> 
>        * vtN  vertical tab delay style, N in [0..1]

-- 
Chris Elmquist



More information about the GreenKeys mailing list