comms/pr 1.1_1 DragonFly
Daemon that connects local terminal device to a terminal server
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ARTPERL10
- Categories
- comms, net
- Package size
- 4.9 KiB, 11.0 KiB installed
Description
The package consists of two programs - PortRedorector and PortTest.
PortRedirector is a daemon that runs telnet to the remote port of the terminal server and redirects its input and output to a virtual terminal device (/dev/pty*). The corresponding slave device (dev/tty*) then can be used by an application that expects a local async terminal port. For example, to monitor a UPS (connected to AUX ports on a Cisco router) using nut.
Whenever telnet subprocess terminates on any reason, it is restarted as soon as any data received from the terminal device.
It can also work when authentication is required, i.e. it can pass username and password specified in its configuration file.
PortTest is something like cu(1). You can use either of them to test the connection.
In the other systems
Install
Binary package:
pkg install pr
From DPorts:
cd /usr/dports/comms/pr && make install clean
Dependencies
No port depends on this one.