From owner-freebsd-bugs Fri Aug 4 22:10:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id WAA25896 for bugs-outgoing; Fri, 4 Aug 1995 22:10:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id WAA25885 ; Fri, 4 Aug 1995 22:10:01 -0700 Resent-Date: Fri, 4 Aug 1995 22:10:01 -0700 Resent-Message-Id: <199508050510.WAA25885@freefall.cdrom.com> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.cdrom.com, ljking@ljk.ocunix.on.ca Received: from yak.nstn.ns.ca (yak.nstn.ns.ca [137.186.128.14]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id WAA25602 for ; Fri, 4 Aug 1995 22:04:31 -0700 Received: (from ocunix@localhost) by yak.nstn.ns.ca (8.6.12/8.6.9) id CAA08880 for freebsd.org!FreeBSD-gnats-submit; Sat, 5 Aug 1995 02:04:22 -0300 Received: by ferret.ocunix.on.ca (Smail3.1.28.1 #6) id m0sebAU-00005WC; Sat, 5 Aug 95 00:49 EDT Received: (from ljking@localhost) by ljk.ocunix.on.ca (8.6.11/8.6.6) id WAA02734; Fri, 4 Aug 1995 22:00:27 -0400 Message-Id: <199508050200.WAA02734@ljk.ocunix.on.ca> Date: Fri, 4 Aug 1995 22:00:27 -0400 From: ljking@ljk.ocunix.on.ca Reply-To: ljking@ljk.ocunix.on.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/654: bin Sender: bugs-owner@freebsd.org Precedence: bulk >Number: 654 >Category: bin >Synopsis: vi executes an external program and prints "stty: TIOCGETD: Operation not supported" >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 4 22:10:00 PDT 1995 >Last-Modified: >Originator: Lawrence J. King >Organization: Lawrence J. King ljking@ljk.OCUnix.On.Ca OcUnix: the Information Dirt Road. >Release: FreeBSD 2.0-BUILT-19950603 i386 >Environment: Intel 486DX4/100 20M RAM S3 VLB video card X11R6-3.11 SCSI disks only all of this information is totally irrelevant beceause the problem will manifest itself on any FreeBSD-2.?? platform >Description: When vi executes a shell command it will print the error message "stty: TIOCGETD: Operation not supported". FreeBSD-2.?? does this, no other version of vi have used does this including FreeBSD-1.1.5. >How-To-Repeat: - open a vi session with a text file. - move the cursor to the beginning of a line of text. - enter the command !}cat followed by a CR - the correct response ids for cat to echo the input data and there to be no apperant change to the file. - The response of FreeBSD-2.?? vi is to insert a line with the message "stty: TIOCGETD: Operation not supported", this is incorrect. >Fix: I assume vi tries to perform a stty before executing an external program (in this case `cat'), the stty has invalid parameters. I suspect the fix is to simply remove the offending call to stty, but I haven't looked at the code. >Audit-Trail: >Unformatted: