Sorry, an act of idiocy on my part.
This patch fixes this and all other code that calls the "system" function
- or you can wait for the next release.
diff -C2 -r1.57 machdep.c
*** machdep.c 1997/11/03 01:15:08 1.57
--- machdep.c 1997/11/04 17:57:55
***************
*** 890,899 ****
Int shellEsc(s) /* run a shell command (or shell) */
String s; {
! #if HAVE_BIN_SH
! if (s[0]=='\0')
! s = fromEnv("SHELL","/bin/sh");
! #elif HAVE_MACSYSTEM
return macsystem(s);
#else
return system(s);
#endif
--- 900,911 ----
Int shellEsc(s) /* run a shell command (or shell) */
String s; {
! #if HAVE_MACSYSTEM
return macsystem(s);
#else
+ #if HAVE_BIN_SH
+ if (s[0]=='\0') {
+ s = fromEnv("SHELL","/bin/sh");
+ }
+ #endif
return system(s);
#endif
> Hugs 971031 does not automatically reload files opened with the :find command.
>
> Editor setting : -E"vi +%d %s"
>
> Peter Pudney