ports/116179: New Port: devel/pty

James Bailie jimmy at mammothcheese.ca
Fri Sep 7 14:50:02 UTC 2007


>Number:         116179
>Category:       ports
>Synopsis:       New Port: devel/pty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 07 14:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     James Bailie
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #13: Sun Feb 18 16:55:10 EST 2007 jbailie at localhost:/usr/obj/usr/src/sys/LOCAL i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- pty.sh begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pty
#	pty/Makefile
#	pty/distinfo
#	pty/pkg-descr
#
echo c - pty
mkdir -p pty > /dev/null 2>&1
echo x - pty/Makefile
sed 's/^X//' >pty/Makefile << 'END-of-pty/Makefile'
X# New ports collection makefile for:  pty
X# Date created:                       Fri, 07 Sep 2007 22:47:06 EDT
X# Whom:                               James Bailie <jimmy at mammothcheese.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pty
XPORTVERSION=	1.0
XCATEGORIES=	devel
XMASTER_SITES=	http://www.mammothcheese.ca/
X
XMAINTAINER=	jimmy at mammothcheese.ca
XCOMMENT=	helps debug programs which fiddle with their tty settings
X
XPLIST_FILES=	bin/pty
X
X.include <bsd.port.mk>
END-of-pty/Makefile
echo x - pty/distinfo
sed 's/^X//' >pty/distinfo << 'END-of-pty/distinfo'
XMD5 (pty-1.0.tar.gz) = fcec8df3c710b73e1569448b07cdcf7c
XSHA256 (pty-1.0.tar.gz) = 964b686867175f05e244233111b633537301265f51588aceb0786207990ff7fa
XSIZE (pty-1.0.tar.gz) = 3861
END-of-pty/distinfo
echo x - pty/pkg-descr
sed 's/^X//' >pty/pkg-descr << 'END-of-pty/pkg-descr'
Xpty is a tool to help debug console programs which take the terminal out of
Xcanonical mode, by allowing the program being debugged and the debugger to run
Xon separate terminal devices.
X
XTo use pty, the programmer changes to the terminal device where he or she
Xwishes to interact with the program to be debugged, and at the shell
Xprompt, runs pty with no arguments.  Pty will print out the filename of the
Xslave side of the pseudo-terminal it has opened.  Inside the debugger,
Xrunning in another terminal device, one then redirects the program to be
Xdebugged's IO to the slave (tty command of gdb).  When you are finished
Xusing pty, you must manually kill it.  When pty starts it prints out its
Xpid.
X
XWWW: http://www.mammothcheese.ca/munger.html
X
X--
XJames Bailie <jimmy at mammothcheese.ca>
END-of-pty/pkg-descr
exit
--- pty.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list