switching terminals

Atis atissita at 4nets.lv
Thu Nov 17 09:34:29 GMT 2005


Is the following possible?

I log into a computer, and by executing "ps" see that
there's some program "xx" reading and writing to/from a
terminal called /dev/ttyp3.

The controlling terminal for my current processes, however,
is /dev/ttyp2.

Now, can I make the program xx change its terminal so
that it starts writing to /dev/ttyp2 and its output
magically appears in front of me?


Atis


More information about the freebsd-questions mailing list