This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pty Library


On Tue, Jan 04, 2005 at 08:30:20AM -0700, Cameron Taylor wrote:
> I've made the same sort of changes to the PTY driver as Andrew suggested for
> the pipe driver.
> 
> 1. Corrected copyright statements.
> 2. Dropped references to "Library" everywhere, including changing from
> "ptylib_" to "pty_"
> 3. Updated to match new pipe interface, including removing the timeouts.
> 
> The ecos.db entry becomes:
> 
> packet CYGPKG_IO_PTY {
>     alias        { "PTY Driver" }
>     directory    io/pty
>     script       pty.cdl
>     description  "This package contains a basic pseudo-terminal driver."
> }
 
Hi Cameron

I've made some cleanups to both this and the pipe device. I also wrote
a test program for the pipe device.

However im not sure i want to commit this to anoncvs yet. It seems to
me there is still some issuss of how you actually make use of the
pty. How do does it fit into the layering? How do you add the tty
layer on top, or the termio layer etc. Also the pty layer seems too
simple compared to a unix PTY. Does it realy offer the facilities
needed to implement an sshd or telnetd? 

So for the moment i think i will just leave my cleaned up versions in
the email archive. Telnet is something which people keep asking
for. We can now point them to this code and say its half done. Once
somebody contributes a working daemon i will then commit the code.
However feel free to argue if you think im wrong....

        Andrew


Attachment: pty.diff
Description: Text document

Attachment: pty.tgz
Description: GNU Unix tar archive


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]