site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Oops. JP On 1 May 2005, at 23:24, John Davidorff Pell wrote: Howdy folks! Help! :-! JP _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... The URL that should have been [1] in my post is http:// homepage.mac.com/johnpell/pty-redir.pell.c 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. :-) If, per chance, this is not the best place to ask this question, please direct me elsewhere. This email sent to site_archiver@lists.apple.com