NetBSD Problem Report #2545

From gnats  Thu Jun 13 05:11:50 1996
Received: from Reno.DSG.Stanford.EDU by pain.lcs.mit.edu (8.7.5/8.7.3) with ESMTP id EAA03318 for <gnats-bugs@gnats.netbsd.org>; Thu, 13 Jun 1996 04:53:55 -0400 (EDT)
Message-Id: <199606130853.BAA29045@Reno.DSG.Stanford.EDU>
Date: Thu, 13 Jun 1996 01:53:24 -0700 (PDT)
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
Reply-To: jonathan@DSG.Stanford.EDU
To: gnats-bugs@NetBSD.ORG
Subject: ultrix tty-aware binaries clobber NetBSD/pmax susp, dsusp
X-Send-Pr-Version: 3.95

>Number:         2545
>Category:       port-pmax
>Synopsis:       ultrix tty-aware binaries clobber NetBSD/pmax susp, dsusp
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 13 05:20:01 +0000 1996
>Closed-Date:    Sat Jun 15 04:37:38 +0000 1996
>Last-Modified:  Sat Jun 15 08:38:56 +0000 1996
>Originator:     Jonathan Stone
>Release:        netBSD 1.1 (release) through NetBSD 1.2
>Organization:
	Stanford DSG
>Environment:

System: NetBSD Reno.DSG.Stanford.EDU 1.2_ALPHA NetBSD 1.2_ALPHA (NEWCONF) #9: Wed Jun 12 17:20:08 PDT 1996 jonathan@Reno.DSG.Stanford.EDU:/usr/src/sys/arch/pmax/compile/NEWCONF pmax


>Description:

Running Ultrix binaries that touch the tty state seems to clobber
the susp and dsusp characters.

>How-To-Repeat:

Find a version of less compiled for Ultrix. Run it under NetBSD/pmax
with a kernel with Ultrix compatibility.

An Ultrix "less" binary seems to work but cannot be suspended.
After it exits, the tty has had its susp and dsusp characters
disabled (set to null?)

>Fix:

I'm not sure.  I don't see anything in the Ultrix-compat code that
would be doing this.   My very best guess is that it's a bug in the
mi emulation library's handling of 4.3bsd-style tty ioctls;
but I could be completely wrong.
>Release-Note:
>Audit-Trail:

From: matthew green <mrg@eterna.com.au>
To: jonathan@DSG.Stanford.EDU
Cc: gnats-bugs@NetBSD.ORG
Subject: Re: port-pmax/2545: ultrix tty-aware binaries clobber NetBSD/pmax susp, dsusp 
Date: Thu, 13 Jun 1996 22:02:52 +1000

 i bet this is being caused by the overloading over various parts of
 the termios structure.  svr4 has the same problem.  i've often seen
 the eof character be ^A because someone has set VMIN to 1.

 your best bet is to look at the indices of susp and dsusp and then
 see what under ultrix uses these also.

 this is a guess.

State-Changed-From-To: open->closed
State-Changed-By: jonathan
State-Changed-When: Sat Jun 15 04:37:38 1996
State-Changed-Why:
Fix typos (112 and 113 instead of 12 and 13) in sys/compat/ultrix_ioctl.c
(revision 1.4).
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.