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. 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. 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.
State Changed From-To: open->closed This is a no-bug (pilot error). The call to stty does most likely happen from a ~/.cshrc file where it's probably not protected by an ``if($?prompt)'' block. It's in no way vi's faul (and cannot be reproduced as such).