Subject: pkg/9790: pkgsrc/openssl - welcome to "bf" jail
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 04/05/2000 13:35:42
>Number:         9790
>Category:       pkg
>Synopsis:       can't exit "bf" without going to a different terminal
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 05 09:33:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Release:        pkgsrc (current) 4/4/2000
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.4X NetBSD 1.4X (WSRCC) #0: Tue Apr 4 13:11:49 PDT 2000 root@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:

	If you have pkgsrc's openssl installed and try to type "bg"
	but type "bf" instead you get stuck in "bf" hell.  There is no
	way to get out without going to another terminal and doing a
	"kill -9" on "bf".

>How-To-Repeat:

	install pkgsrc's openssl

	type "bf"

	try: ^D  or ^C or ^\  or ^Z
	
	go to another terminal in frustration and try to kill it.
	Notice that "kill -TERM" "kill -HUP" is ignored.  Only "kill
	-9" has any effect. sigh.

>Fix:
	Removed the undesirable signal() calls.  
	Emulate ^D/EOF when in raw-mode.
	Emulate ^C when in raw-mode.
	Emulate ^Z when in raw-mode.
	Emulate ^\ when in raw-mode.
>Release-Note:
>Audit-Trail:
>Unformatted: