From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 7 14:50:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DC4B16A41A for ; Fri, 7 Sep 2007 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 294E813C46A for ; Fri, 7 Sep 2007 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l87Eo1HA056792 for ; Fri, 7 Sep 2007 14:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l87Eo1mO056791; Fri, 7 Sep 2007 14:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 7 Sep 2007 14:50:01 GMT Resent-Message-Id: <200709071450.l87Eo1mO056791@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, James Bailie Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDE8116A41A for ; Fri, 7 Sep 2007 14:42:31 +0000 (UTC) (envelope-from jimmy@mammothcheese.ca) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.freebsd.org (Postfix) with SMTP id B4E3213C469 for ; Fri, 7 Sep 2007 14:42:31 +0000 (UTC) (envelope-from jimmy@mammothcheese.ca) Received: (qmail 39633 invoked from network); 7 Sep 2007 14:42:30 -0000 Received: from unknown (HELO ?HOSTNAME?) (jazzturk@rogers.com@74.110.53.6 with login) by smtp102.rog.mail.re2.yahoo.com with SMTP; 7 Sep 2007 14:42:30 -0000 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Fri, 7 Sep 2007 10:42:30 -0400 Message-Id: <20070907144231.B4E3213C469@mx1.freebsd.org> Date: Fri, 7 Sep 2007 10:42:30 -0400 From: James Bailie To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/116179: New Port: devel/pty X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: James Bailie List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2007 14:50:02 -0000 >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@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 X# X# $FreeBSD$ X# X XPORTNAME= pty XPORTVERSION= 1.0 XCATEGORIES= devel XMASTER_SITES= http://www.mammothcheese.ca/ X XMAINTAINER= jimmy@mammothcheese.ca XCOMMENT= helps debug programs which fiddle with their tty settings X XPLIST_FILES= bin/pty X X.include 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 END-of-pty/pkg-descr exit --- pty.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted: