X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Tony User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: de, en, de-at, de-de, en-us, no, nb, sv, sv-fi, fi MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: OT: Keyboard problems Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 38 Message-ID: Date: Tue, 14 Dec 2004 20:59:14 GMT NNTP-Posting-Host: 82.15.236.180 X-Trace: newsfe1-win.ntli.net 1103057954 82.15.236.180 (Tue, 14 Dec 2004 20:59:14 GMT) NNTP-Posting-Date: Tue, 14 Dec 2004 20:59:14 GMT Organization: NTL To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, Slightly OT I know, but DJGPP folks might be able to help me here... 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. I have tried using different code pages in autoexec.nt but that doesn't seem to help. Any suggestions? Please send your replies to the newsgroup/mailing list. Regards, Tony