forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
10 lines
493 B
Text
10 lines
493 B
Text
Simple command-line pseudo terminal manager:
|
|
allows to run coprocesses talking to each other thru their tty and/or pty.
|
|
|
|
Most useful to drive from scripts programs that want a tty, as in
|
|
cotty -d -- pppd silent 192.168.0.1:192.168.0.2 \
|
|
-- ssh -t root@remote pppd
|
|
This particular use has been obsoleted under Linux
|
|
(but probably not under the various free BSDs and proprietary Unices),
|
|
as it can be done without cotty with
|
|
pppd pty 'ssh -t root@remote pppd' silent 192.168.0.1:192.168.0.2
|