Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WinXP Keyboard issue
#1
I'm new to qbasic, and would appreciate some response on this matter:

Whenever I open qbasic, all of my key functions seem to screw around. I can use alt and the arrow key's, but whenever I try to write an actual code, wierd letters and signs show up...

I've tried looking around for some answeres, but no real luck. The only thing I can conculde with is that there's something wrong with the keyboard code... And I'm not even sure if that's right...

Any help?
Reply
#2
Everything, or just the signs and the punctuation marks?

Maybe your keyboard has a weird configuration. But it's extrange: if it works in Windows apps it should work in the DOSVM...

Do something: Hit WINDOWS+R to open "Run", type in "cmd" and press enter to run a command prompt. Just to check if the keyboard works right in the DOSVM prompt. If it does, it is a QBasic fault.

Btw, is it QBasic, QB or PDS what you are using? PDS has problems with Spanish keyboards, for example.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
First off, on behalf of... people Wink lemme say, "Welcome!" Heh.

Second, try hitting 'control'. If for some reason it's defaulting a constant push of control, weird things can happen. I know sometimes when I use certain keyb handlers, it defaults a pressed 'Shift' until I hit both shifts. Try pressing and releasing both controls and see what happens.
Reply
#4
Hehe... Thanks.

Yes, it's qb... Maybe worth mentioning... Tongue

Anyway, I've experimented some with it, and by checking and comparing the "device Con" (in cmd) with a friend of mine.
I seem to have another value in the "code page" area. Therefore:
mode con cp select=850. (850 which is the value my friend has)
It resets everytime I exit though. Which is kinda crap, so I created a .bat file out of it...

Anyway to actually save the configuration?
Reply
#5
Look for config.nt and autoexec.nt in your WINDOWS\SYSTEM32 directory.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#6
Right click on the shortcut you use to access DOS. In the "Target" field, replace whatever it says with

Code:
C:\WINDOWS\system32\cmd.exe /K MODE CON CODEPAGE SELECT=865

Replace the value after SELECT with the codepage for your country, you can look it up in XP help, by searching for "codepage". Also you need to replace the path ("c:\windows") with whereever you have windows installed.

It's the only way I could make it work, doing it in autoexec/config.nt. didn't work for me.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply
#7
Thanks... Good to know that I'm not the only one with this problem...
Reply
#8
I think it's standard when installing Xp in another langauge, 'cause I haven't had problems with Danish installations. But I had the same trouble on win2000, solved the same way.
url=http://www.copy-pasta.com]CopyPasta[/url] - FilePasta
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)