Mail Archives: djgpp/1999/09/23/00:28:19
> > 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
- Raw text -