[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Tue, 10 Sep 2002 09:28:51 +0200
- From: Thomas.Doerfler at imd-systems.de (Thomas Doerfler)
- Subject: termios/PTY problem
I think you are right, currently there is no
support in termios for line conditions like
hangup, ring etc. And it would be good to have
that support in termios.
Some time back Eric Norum memntioned, that he
intends to port the FreeBSD termios system to
RTEMS, I guess this would contain a signalling
mechanism aswell, but I don't know how far he got
Any changes/additions to termios should (IMHO) be
made in a compatible way, so that existing
drivers based on termios need not be modified.
> I don't like the way the PTY driver reacts to the
> network connection being closed (from the remote
> Currently, it just closes stdin&friends and deletes
> the task that is using the PTY. This gives that
> task no chance to cleanup resources.
> IMO, it should rather propagate an EOF condition
> Unfortunately, however, the termios driver seems
> not to be capable to convey EOF detected by
> a lowlevel driver to the caller of rtems_termios_read()
> and rtems_termios_write() etc.
> Shouldn't we fix this? I have a patch for pty to hack
> around this (it also does NAWS and provides TIOCGWINSZ)
> but IMHO it's really a termios problem.
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-