pty-redir: Slave, Master, and how it all works
pty-redir: Slave, Master, and how it all works
- Subject: pty-redir: Slave, Master, and how it all works
- From: John Davidorff Pell <email@hidden>
- Date: Sun, 1 May 2005 23:24:23 -0700
Howdy folks!
I'm hoping somebody out there can help me. I've never worked on code
that messes with pseudo-terminals, so I'm still fuzzy on the concepts
involved.
I'm trying to use pty-redir(1). For those of you who are not familiar
with it, it basically attaches a program to /dev/ptyXX and then
prints to stdout /dev/ttyXX. The idea is that someone can then attach
to the tty and control the program on the pty.
Its not working for me, however. In fact, I've never been able to get
it to work. Here's what my goal is:
I want to start a shell on a pty, then attach to the tty (using screen
(1), for example), pop, have a shell. Screen(1) has the wonderful
ability to attach to a specified tty! :-) Yay! Ok, that side is done,
since I use screen(1) already. pty-redir(1) is intended to do the
other side. The code I'm using is posted here [1]. The virgin 0.1
release exhibits the same problem, and 0.2 is debian specific. The
code at [1] is a merger of the two. :-)
Help! :-!
If, per chance, this is not the best place to ask this question,
please direct me elsewhere.
JP
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden