From: "mborden AT pop DOT ma DOT ultranet DOT com" Newsgroups: comp.os.msdos.djgpp Subject: Re: long directory names Date: Thu, 27 Mar 1997 09:06:23 -0500 Organization: UltraNet Communications, Inc. Lines: 71 Message-ID: <333A7EDF.5EF0@pop.ma.ultranet.com> References: Reply-To: mborden AT pop DOT ma DOT ultranet DOT com NNTP-Posting-Host: d18.dial-2.ltn.ma.ultra.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Eli Zaretskii wrote: > > On Thu, 27 Mar 1997, mborden AT pop DOT ma DOT ultranet DOT com wrote: > > > I'm running the current versions of the tools and see that > > if there is a long name directory in the path of the executable > > then it just exits. I saw nothing about this in the FAQ. > > Is this well-known or do I have something wrong in my installation? > > What OS is that? Is it Windows 95? (Otherwise, how do you get long > filename support?) > > > I am using the MKS shell. > > MKS shell sometimes defines strange environment variables, which might > fail the DJGPP startup code. Can you post the output of the command SET? Sure. I guess this isn't a generic problem, so I'll give some more specifics. I'm running Windows 95 and bring up MKS Korn shell windows. Code compiles fine in either one of these windows or an emacs buffer. Executables run if and only if they reside in a directory whose path consists of short name components. This is true of executables made with DJGPP only; others work fine. Thanks for any help. Here's the output of set. marty p.s. I played with the LFN variable, but saw no effect. @="-sh" @[1]="Windows_95" @[2]="WOODCHUCK" @[3]="4" @[4]="00" @[5]="586" BLASTER="A240 I5 D1" CMDLINE="WIN" COMSPEC="C:\\WINDOWS\\COMMAND.COM" DJGPP="c:/djgpp/djgpp.env" EMACSDATA="C:\\Program Files\\GnuEmacs\\etc" EMACSDOC="C:\\Program Files\\GnuEmacs\\etc" EMACSLOADPATH="C:\\Program Files\\GnuEmacs\\lisp" EMACSLOCKDIR="C:\\Program Files\\GnuEmacs\\lock" EMACSPATH="C:\\Program Files\\GnuEmacs\\bin" EMACS_DIR="C:\\Program Files\\GnuEmacs" ERRNO="6" HASHBANG="1" HNAME="wo" HOME="C:/HOME" IFS=" " INFOPATH="C:\\Program Files\\GnuEmacs\\info" LINENO="0" LINES="36" LOGNAME="mborden" MAILCHECK="600" OLDPWD="C:/" OPTIND="1" PATH="C:\\MKSNT;C:\\WINDOWS;C:\\WINDOWS\\COMMAND;;C:\\DJGPP\\BIN;C:\\DOS;C:\\BIN;" PPID="1" PROMPT="\$p\$g" PS1="\${HNAME}|\${PWD%%:*}:\${PWD##*/}: " PWD="c:/home" RANDOM="352" ROOTDIR="C:" SECONDS="10" SHELL="C:/mksnt/sh.exe" SHELL_VERSION="5.2 Oct 7 1996 14:40:00" SWITCHAR="/" TEMP="C:\\WINDOWS\\TEMP" TERM="CMD" TMP="C:\\WINDOWS\\TEMP" TMPDIR="C:/TEMP" _="]" res="8" temp="c:/temp" winbootdir="C:\\WINDOWS" windir="C:\\WINDOWS"