X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <41cc0e66$0$172$cc7c7865@news.luth.se> From: Martin Str|mberg Subject: Re: OT: Keyboard problems Newsgroups: comp.os.msdos.djgpp References: User-Agent: tin/1.4.6-20020816 ("Aerials") (UNIX) (NetBSD/1.6Q (alpha)) Date: 24 Dec 2004 12:41:10 GMT Lines: 35 NNTP-Posting-Host: speedy.ludd.ltu.se X-Trace: 1103892070 news.luth.se 172 130.240.16.13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Tony wrote: > My setup: W2k (UK-English) > I'm using DJGPP in a DOS box with no problems. > However... > The | character (as used in OR operators) is different > when I use a Windows based editor or a DOS editor. > The key in question is the one between the left shift > key and the letter Z (UK-English keyboard): > +---+ > + | + > + \ + > +---+ > The Windows created character is correct (0x7C) while > the DOS created one (0xDD) gives me errors on compiling > with GCC (not really surprising as it has the wrong ASCII > code...). > I had this problem before on my old PC and I solved it > somehow. Problem is, I can't remember anymore. ... > Any suggestions? If all else fails, you can hold down left Alt, type "124" on the numeric keypad and release left Alt, which gives me a correct "|" in DOS and WINDOWS 98. Right, MartinS