delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/07/21:47:14

From: George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I cannot enter the Logical OR operator '||' on my keyboard!! HELP!!!!
Date: 6 Nov 1997 06:04:52 GMT
Organization: Oxford University, England
Lines: 30
Message-ID: <63rmm4$kd4$2@news.ox.ac.uk>
References: <63qd41$dm7$1 AT plug DOT news DOT pipex DOT net> <01bcea44$e04623a0$be9c989e AT default>
NNTP-Posting-Host: sable.ox.ac.uk
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 05 Nov 1997 23:46:09 GMT in comp.os.msdos.djgpp ianc
<ianc AT noddybox DOT demon DOT co DOT uk> wrote:

: Dunno if this will help but my PC does exactly the same trick full stop
: with DOS boxes...  It seems that for some reason the '|' (OR) and '¦' (ALT
: GR+`) keys have been swapped.  In my case pressing the ALT GR+` key gets me
: the OR character OK.  And yes, it is annoying! :-/

To fix this, change your code page in CONFIG.SYS and AUTOEXEC.BAT;
IIRC you need to make sure DISPLAY.SYS is being loaded in CONFIG.SYS,
and add to AUTOEXEC.BAT something like:

mode con cp prep = ((437),ega.cpi)
mode con cp sel = 437

Check the help system for the correct syntax for these commands; I
can't at present I'm afraid.  I also can't remember whether the number
should be 437 or 850; if one doesn't work, try the other.  If you
prepare both codepages, you can use the keyb command to switch between
them; I think the codepage goes in as the second parameter, e.g.:

keyb uk,437,c:\...\keyboard.sys

Again, check the DOS help syste (you *do* still have your old DOS
version, right?).

-- 
Regards,

george DOT foot AT merton DOT oxford DOT ac DOT uk

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019