Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 1995 22:00:27 -0400
From:      ljking@ljk.ocunix.on.ca
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/654: bin
Message-ID:  <199508050200.WAA02734@ljk.ocunix.on.ca>
Resent-Message-ID: <199508050510.WAA25885@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508050200.WAA02734>