[comp.sys.ibm.pc] 4DOS, DocuComp Incompatibility

maner@bgsuvax.UUCP (Walter Maner) (12/08/89)

DocuComp aborts in 4DOS unless it's run from within its own directory.
Apparently, this is due to the fact that 4DOS stores path info in
lowercase but DocuComp expects uppercase.  (Path info is stored just
past the environment table.  DocuComp looks there to see where its
overlays are.)  Any suggestions on how to work around this problem?
And whose fault is it, 4DOS or DocuComp?

-- 
CSNet    maner@andy.bgsu.edu           | 419/372-8719
InterNet maner@andy.bgsu.edu 129.1.1.2 | BGSU Comp Sci Dept
UUCP     ... !osu-cis!bgsuvax!maner    | Bowling Green, OH 43403
BITNet   MANER@BGSUOPIE

stevek@hp-ptp.HP.COM (Steve_Kite) (12/08/89)

I just took a look at my path statement and it is stored in
both upper and lower case, depending upon how I typed it
in.  I am using 4DOS 2.21.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~  steve kite     -   hp-ptp!stevek   -   stevek@hp-ptp.HP.COM  ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

hollen@eta.megatek.uucp (Dion Hollenbeck) (12/11/89)

From article <5253@bgsuvax.UUCP>, by maner@bgsuvax.UUCP (Walter Maner):
> 
> DocuComp aborts in 4DOS unless it's run from within its own directory.
> Apparently, this is due to the fact that 4DOS stores path info in
> lowercase but DocuComp expects uppercase.  (Path info is stored just
> past the environment table.  DocuComp looks there to see where its
> overlays are.)  Any suggestions on how to work around this problem?
> And whose fault is it, 4DOS or DocuComp?
> 
The "fault" is with both.  4DOS has a UNIX flavor to it and as such
will create files and such with the case your keyboard is in when
the creation occurs.  It promotes nothing to uppercase for you as
does COMMAND.COM.  This is not a problem if the program you are
running is smart enough to convert anything it gets out of the
environment to uppercase before using it.

When I first got 4DOS, it broke one of the programs I had written
because of just this behaviour.  I went in and re-wrote the program
to upper-case before using.  Of course, you cand't do that.  Maybe,
however, you could invoke the program when your keyboard is in all
caps mode?
	Dion Hollenbeck             (619) 455-5590 x2814
	Megatek Corporation, 9645 Scranton Road, San Diego, CA  92121

        uunet!megatek!hollen       or  hollen@megatek.uucp