BSD Ports

comms/pr 1.1_1 MidnightBSD

Daemon that connects local terminal device to a terminal server

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic
Categories
comms, net

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

SystemPortVersion
MidnightBSDcomms/pr1.1_1
FreeBSDcomms/pr1.1_1
DragonFlycomms/pr1.1_1

Install

Binary package:

mport install pr

From mports:

cd /usr/mports/comms/pr && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pr>0:comms/pr

Dependencies

No port depends on this one.

Configuration

Options name: comms_pr

OptionDefaultDescription
DOCSoff
USES
shebangfix tar:xz
Service scripts
none

Files

pkg-plist 6
  • etc/PortRedirector.conf.sample
  • etc/rc.d/pr.sh.sample
  • sbin/PortRedirector
  • sbin/PortTest
  • share/doc/pr/PR.html
  • @dirrm share/doc/pr
distinfo 1
FileSizeSHA256
pr-1.1.tar.xz42568c1e4327a407dc21491d6f110a62c69e1f1290be51fd88e9a9d23b2a451f78ca
Master sites 1
  • https://BSDforge.com/projects/source/comms/pr/