![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| su (switching to other user) | bjagadeesh | Shell Programming and Scripting | 2 | 05-21-2008 01:51 AM |
| su (switching to other user) | bjagadeesh | Shell Programming and Scripting | 1 | 05-20-2008 07:27 AM |
| Active / Non Active users ? | varungupta | UNIX for Advanced & Expert Users | 3 | 05-11-2008 08:00 PM |
| Switching SAN storage | myloginid | Filesystems, Disks and Memory | 1 | 04-22-2006 06:03 PM |
| switching directories in C | owijust | High Level Programming | 1 | 01-23-2006 08:09 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Switching the active pts?
My apologies in advance if this question has already been asked or if I use incorrect terminology; I have tried searching for nearly an hour without any luck.
Is there any way to change the active TTY for a session? I was monitoring a long (~5 hour) process through an SSH connection and the network went down. The box is still running the job, but my SSH connection is no longer associated with it. I tried doing a tail -f on the file descriptor in /dev/pts but get no output. Is there a straightforward way to change my session's pts? Thanks, Tres |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
Code:
tspicher 22682 18433 0 15:50:58 pts/5 0:01 lynx |
|
|||
|
I must admit I don't know.
Traditionally there are the pairs /dev/ptyXX and /dev/ttyXX where one side was the terminal for the program, the other was for a controlling program. But the /dev/pts/XX come from being created by opening /dev/ptmx, this will create new pairs as required as the previously mentioned mechanism didn't scale. I don't see how you could open /dev/ptmx and get a previously created /dev/pts/XX. |