Date: Wed, 22 Nov 2000 14:19:29 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: dos pipes not working In-Reply-To: <9a7n1t4k4bqevagcd0p9a72iue5rn7ivap@4ax.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 22 Nov 2000, Alex Crowther wrote: > Anyone have a definitive answer as to why dos pipes dont work on > UK installations of Win98. example .. > > --- > echo bobbins | type That's most probably because your keyboard generates some 8-bit character when you press the `|' key. To make sure, type this character into a file, then look at the file with some hex-dump utility. > Normally I fix it by messing with config.sys and autoexec.bat, > until it works .. for autoexec.bat > > mode con codepage blar blar > keyb uk, blar blar > LH KEYB UK KEYB.COM is the most probable cause for this. > and some related entries for config.sys I cant even remember. The line which sets COUNTRY? > ps - I good trick to improve things in dos is to put the following in > config.sys > > SHELL=C:\WINDOWS\COMMAND.COM /P /E:32768 /U:255 /L:1024 32KB for the environment is way too much. In my experience, 2KB is more than enough. Why waste 30KB of conventional memory? > which gives it far more memory than usual, which causes alot of > problems in dos to stop, for example if you use make.exe (cos you > are a coder etc), it increases the command line length lets make > exicute gcc blar blar blar DJGPP programs don't need this to pass long command lines. The DJGPP port of Make can pass to the compiler command lines as long as 16KB by default (can be enlarged up to almost 64KB), even without /U:255. In fact, /U:255 doesn't have any effect on DJGPP programs, because the librray functions `system', `spawnve' and the likes don't invoke COMMAND.COM at all. See section 16.5 in the DJGPP FAQ list for more about this.