Mail Archives: djgpp/2001/11/15/19:49:25
peter karlsson wrote:
>
> Eli Zaretskii:
>
> > Please post your system configuration files (AUTOEXEC.BAT and
> > CONFIG.SYS) here. There are a couple of software packages that, if
> > installed, are known to produce such nasty effects.
>
> ===[ CONFIG.SYS ]===
> Country=046,850,C:\WINDOWS\COMMAND\country.sys
> DOS=HIGH,UMB
> STACKSHIGH=9,256
> LASTDRIVE=Z
> SHELL=C:\PROGRAM\4DOS\4DOS.COM C:\PROGRAM\4DOS\ /P
> DEVICE=C:\WINDOWS\COMMAND\ANSI.SYS
> ===[ AUTOEXEC.BAT ]===
> @echo off
> PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BIN95;C:\BIN;C:\PROGRAM\4DOS;D:\DJGPP\BIN;
> keyb sv,437,C:\WINDOWS\COMMAND\keyboard.sys
> XMSDSK 4096 G: /y
> LABEL G: VANGELIS
> ALIAS/R C:\PROGRAM\4DOS\SETTINGS\ALIASES
> SET TEMP=C:\TEMP
> SET TMP=%TEMP%
> IF NOT DIREXIST %TEMP% MD %TEMP%
> SET HOME=C:\Mina dokument
> SET CVSROOT=:pserver:peter AT 10 DOT 1 DOT 1 DOT 1:/usr/local/cvsroot
> SET LANG=sv
> SET LC_ALL=sv_SE
> SET MSINPUT=C:\PROGRAM\MSINPUT
> SET DJGPP=D:\DJGPP\DJGPP.ENV
> PROMPT W98 $c$P$f $t$G
>
> > That might or might not be relevant, but it's hardly a good idea.
> > Why don't you use the DJGPP port of Bash instead of Cygwin's?
>
> I didn't know such a beast existed... Besides, I prefer to run
> Cygwin's since it's a Windows program.
To check for conflicting aps, try the following group, the purpose
of which is to give you a useful 'which' command under MSDOS. I
think you can also find one under DJGPP, but this checks for
aliases and .btm files also. I don't think you need 4dos on your
path, comspec suffices.
[1] c:\dnld\scratch\wdghtml40>type x:\which.btm
@echo off
if ".%1." == ".." goto help
alias | grep -r "^%1=" ^ *locate %1 /t /l /x
goto end
:help
echo USAGE which command
echo shows where command is to be found on the path or as an
alias
:end
[1] c:\dnld\scratch\wdghtml40>alias locate
x:\locate.btm
[1] c:\dnld\scratch\wdghtml40>type x:\locate.btm
@echo off
if ".%1." == ".." goto help
*locate %1 %2 %3 %4 %5 %6 %7 %8 %9
goto end
:help
*locate /?
:end
[1] c:\dnld\scratch\wdghtml40>locate
LOCATE.COM v1.29 10-08-2000 C. Dye raster AT highfiber DOT com
Freeware. Copyright 1995-2000, Charles Dye. No warranty!
Syntax: LOCATE [filespec] [switches]
/H Hidden or system /D- find files, not Directories
/X .COM, .EXE, .BAT /D+ find Directories only
/Fn only First n items /D find both (default)
/A check Attributes /T path search
/0 0-byte files /R local hard drives only
/G Go to directory /K Kill (delete) items
/N bare Naked display /W Wide display
/S Summary info only /P Peter-style display
/L Win95 Long filenames /NP No Paging
/B:"command" Batch output /D:[start][,end] Date range
/O:"string" macro Output /T:[start][,end] Time range
/C:"string" run Commands /S:[small][,big] Size range
Space between the filespec and any switches. Output will be paged
unless it is redirected or /NP used. Specify default switches in
a
LOCATE= variable. Try /D? /T? /S? /A? /B? or /O? for more help.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
(Remove "XXXX" from reply address. yahoo works unmodified)
mailto:uce AT ftc DOT gov (for spambots to harvest)
- Raw text -