From: ryot AT bigfoot DOT com (George Ryot) Newsgroups: comp.os.msdos.misc,alt.dos.programmer,comp.os.msdos.programmer,comp.os.msdos.djgpp Subject: Re: Non Existant dos pipes - SOLUTION! Followup-To: comp.os.msdos.misc Message-ID: <37eb60c2.1684025@news.clara.net> References: <37E6C190 DOT F63627C AT hotmail DOT com> <7s6idm$8k4$1 AT solomon DOT cs DOT rose-hulman DOT edu> <37E6D2A3 DOT 1444E1DB AT hotmail DOT com> <37E73846 DOT 5318 AT earthlink DOT net> <37E7E2D1 DOT 629EEC8D AT hotmail DOT com> <7s8rej$hju AT acp3bf DOT knirsch DOT de> <9HR63$ABD AT c400> X-Newsreader: Forte Agent 1.5/32.452 X-No-Archive: yes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 50 Date: Wed, 22 Sep 1999 23:10:18 GMT NNTP-Posting-Host: 195.8.92.247 X-Complaints-To: abuse AT clara DOT net X-Trace: nnrp4.clara.net 938041818 195.8.92.247 (Thu, 23 Sep 1999 00:10:18 BST) NNTP-Posting-Date: Thu, 23 Sep 1999 00:10:18 BST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > Ahhhh... now *that* rings a bell. You're from the UK, aren't you? On the > > UK keyboard mapping activated by 'keyb uk', there are *two* characters > > that look like the 'pipe' symbol used in MSDOS command lines like > > > > dir | more > > > > They should look like one vertical bar with a hole in the middle, and > > the other without that hole. One is correct, the other isn't. It's > > just a matter of discovering which is which (I don't remember which one > > is, sorry). > > The true pipe symbol has ASCII code 124. On most (but not all) > display adapters it does have a hole in the middle. > > Then there's also the IBM graphic character 179. (Text mode > programs use it to draw menus and boxes, so it should never > have any wholes in it) Unfortunately, the default installation of windoze seems to leave the Shift-\ combination mapped to the wrong character :(( The true pipe character can be had by either the key sequence: Alt-0, Alt-1, Alt-2, Alt-4. or (far easier): AltGr-` (that's the key above the tab and to the left of the 1) To fix it so that Shift-\ maps to the pipe symbol, edit config.sys & autoexec.bat as follows (note, this is for a UK setup): --------config.sys-------- REM c:\windows\command\display.sys con=(ega,,1) country=044,850,c:\windows\command\country.sys --------autoexec.bat-------- REM c:\windows\command\mode con codepage prepare=((850) C:\WIN... REM c:\windows\command\mode con codepage select=850 c:\windows\command\keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys I don't know what will stop working with those lines rem'd out, but I do know that this fixes the pipe symbol problem for me. The crossposting for this thread is excessive (and off-topic for some of the groups). Follow-ups set accordingly. -- george