From: michael DOT mauch AT gmx DOT de (Michael Mauch) Newsgroups: comp.os.msdos.djgpp Subject: Re: Help with RHIDE Date: Mon, 27 Apr 1998 12:55:54 +0200 Organization: Gerhard-Mercator-Universitaet -GH- Duisburg Lines: 57 Message-ID: <6i1o7f$atm$1@news-hrz.uni-duisburg.de> References: <01bd701a$ead489e0$LocalHost AT dell> <6huk07$p1c$1 AT news-hrz DOT uni-duisburg DOT de> <01bd714c$b98e3600$LocalHost AT dell> NNTP-Posting-Host: ppp104.uni-duisburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 26 Apr 1998 19:51:06 GMT, "Derek Jackson" wrote: > The error does not appear to be code-dependant, but the problem arises when > I enter the simple line: > > a=(a|b) [...] > As noted by Thomas Demmer, the problem appears to be one of recognising the > correct character from the keyboard, which is why I tried the US setting. Ah, yes, now I see. The octal character 0335 (Alt-221) looks like the pipe character in a DOS window here, but of course it isn't the correct character. Do you perhaps have a non-standard keyboard driver instead of Win95's keyb.com? Does `dir |more´ on the Win95 DOS command line work? The Win95 help.com shows that you can use two different language IDs for uk keyboards, maybe you want to try using the other one: keyb uk,,c:\windows\command\keyboard.sys /id:166 or keyb uk,,c:\windows\command\keyboard.sys /id:168 There's even more info in that Win95 help.com (look for it on your Win95 CD if it is not already installed on your computer). I tried it with my (german, 105 character) keyboard here: both layouts have two different key combinations that generate a "pipe-alike" character - one of them emits Alt-124, one of them emits Alt-221. But only Alt-124 is the real pipe character. With /id:166: ScanCode ASCII ExtScan/ASCII ` 41=29h 96=60h 41=29h 96=60h rA ¦ 41=29h 221=DDh 41=29h 221=DDh \ 86=56h 92=5Ch 86=56h 92=5Ch lSh | 86=56h 124=7Ch 86=56h 124=7Ch ("rA" is the right Alt (AltGr) key, "lSh" is the left shift key) With /id:168: ScanCode ASCII ExtScan/ASCII \ 41=29h 92=5Ch 41=29h 92=5Ch lSh ¦ 41=29h 221=DDh 41=29h 221=DDh | 86=56h 124=7Ch 86=56h 124=7Ch lSh _ 86=56h 95=5Fh 86=56h 95=5Fh Maybe you can find the other key combination on your keyboard or use the other "/id" for keyb. Regards... Michael