Problem with JOVE editor

Stephen J. Friedl friedl at vsi.UUCP
Wed Apr 27 12:43:01 AEST 1988


In article <307 at pyuxf.UUCP>, daveb at pyuxf.UUCP (david berk) writes:
> I have a strange problem using the JOVE editor on a Vax running
> System V.  When I run a shell command via C-X ! the shell command
> executes fine in a window, however "stty: No such device" precedes
> the output.  This only occurs when my shell is defined as korn
> shell.

Disclaimer: I've never used JOVE but I'll give this a shot.

When JOVE runs your command, it almost certainly communicates with
it via pipe so it can put the output into a window.
When ksh starts up, it looks for the $ENV environment variable,
and if it is found, it executes all the commands found in the
file so specified (much like .profile).  What is probably happening
is that your $ENV file (say, ".kshrc") contains a stty command.

Stty does an ioctl(2) on stdin, and the "no such device"
means that this file descriptor is not a character device;
a pipe will give this message.  Move the stty command from
the $ENV file to your .profile and the error will go away
and will probably make everything you do run a little faster.

-- 
Steve Friedl           V-Systems, Inc.        Spaf for president!
friedl at vsi.com   {backbones}!vsi.com!friedl    attmail!vsi!friedl



More information about the Comp.bugs.sys5 mailing list