1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

add cotty 0.4c

Simple command-line pseudo terminal manager

PR:		34346
Submitted by:	Oliver Breuninger <ob@breuninger.org>
This commit is contained in:
Ying-Chieh Liao 2002-09-17 06:33:00 +00:00
parent f0772a5f5e
commit e93762eb54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66478
6 changed files with 41 additions and 0 deletions

View File

@ -35,6 +35,7 @@
SUBDIR += consolehm
SUBDIR += contool
SUBDIR += copytape
SUBDIR += cotty
SUBDIR += cpbk
SUBDIR += cpdup
SUBDIR += cpuburn

27
sysutils/cotty/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: cotty
# Date created: 26 January 2001
# Whom: Oliver Breuninger <ob@breuninger.org>
#
# $FreeBSD$
#
PORTNAME= cotty
PORTVERSION= 0.4c
CATEGORIES= sysutils
MASTER_SITES= http://fare.tunes.org/files/fwprc/
EXTRACT_SUFX= .c.gz
MAINTAINER= ob@breuninger.org
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= > ${WRKSRC}/${DISTNAME}.c
do-build:
${CC} ${CFLAGS} -o ${WRKSRC}/cotty ${WRKSRC}/${DISTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cotty ${PREFIX}/bin
.include <bsd.port.mk>

1
sysutils/cotty/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (cotty-0.4c.c.gz) = a0603589857faeeb7d102b678233641e

View File

@ -0,0 +1 @@
Simple command-line pseudo terminal manager

10
sysutils/cotty/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
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

1
sysutils/cotty/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/cotty