The latest patch at Tom's site had this patch in LYmain.c:

+    if (((cp = LYgetenv("SHELL")) != NULL)
+      && (strstr(cp, "sh") != NULL))
+       dj_is_bash = TRUE;

This should be more robust IMHO (in case of
SHELL=c:\shared\stuff\4dos.com). How about:

  if (((cp = LYgetenv("SHELL")) != NULL)
      && (strstr(cp, "/sh") != NULL || strstr(cp, "/bash") != NULL))
       dj_is_bash = TRUE;

My bash (v 205b.0) sets SHELL itself to
/dev/env/DJDIR/bin/bash.exe whether it's started as
bash or sh. So maybe just check for "bash.exe"?

Gisle V.

# rm /bin/laden 
/bin/laden: Not found 


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to