• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: pty-redir: Slave, Master, and how it all works
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pty-redir: Slave, Master, and how it all works


  • Subject: Re: pty-redir: Slave, Master, and how it all works
  • From: John Davidorff Pell <email@hidden>
  • Date: Sun, 1 May 2005 23:26:35 -0700

The URL that should have been [1] in my post is http:// homepage.mac.com/johnpell/pty-redir.pell.c

Oops.

JP

On 1 May 2005, at 23:24, John Davidorff Pell wrote:

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
References: 
 >pty-redir: Slave, Master, and how it all works (From: John Davidorff Pell <email@hidden>)

  • Prev by Date: pty-redir: Slave, Master, and how it all works
  • Next by Date: DiskArbitration API
  • Previous by thread: pty-redir: Slave, Master, and how it all works
  • Next by thread: Re: pty-redir: Slave, Master, and how it all works
  • Index(es):
    • Date
    • Thread