[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

1271.0. "AZERTY -> QWERTY conversion?" by PASTIS::MONAHAN (humanity is a trojan horse) Sat Mar 21 1992 14:58

    	We have had an Atari-ST at home for a couple of years, and it has
    mostly been used for the kids to play games - I don't even know how to
    log in to it ;-). Now, two thirds of the kids have left home, and it 
    has occurred to me that I might save space at home by using it in place
    of the VT220.
    
    	The software described in note 3 looks like it might solve most of
    the problems, and I have just copied the Postscript documentation
    across, but I have another problem. The machine has an AZERTY keyboard,
    and I am much more familiar with a QWERTY keyboard.
    
    	I am sure that I cannot get a conversion kit here. When I bought
    the thing I asked if we could get one with a QWERTY keyboard, and the
    salesman looked at me as if I was crazy. Does anyone know if it is 
    1) Possible to convert it yourself (perhaps by moving keytops and
    changing a jumper wire), or
    2) Possible to buy a conversion kit, and where?
T.RTitleUserPersonal
Name
DateLines
1271.1The keys are interpreted by the TOS romsPRNSYS::LOMICKAJJeffrey A. LomickaSun Mar 22 1992 01:3219
1271.2Although I'm not a 'determined hacker'COL01::OBERHOLZBeam me up, Scotty!Mon Mar 23 1992 07:1655
Hi,

	my suggestion is: write a small C-Program, that calls the function
	'Keytbl' and put it into your Auto-folder.

	I used the attached code to switch my (german) keyboard to match
	the northamerican keymap.

	The tables describe the ASCII-codes that are processed, you might
	use them and only exchange the code for the keys that come up wrong.

Regards,
Bert.

#define US_UNSHIFT_TAB \
{0,0x1B,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x30,0x2D,0x3D,8,9,\
0x71,0x77,0x65,0x72,0x74,0x79,0x75,0x69,0x6F,0x70,0x5B,0x5D,0xD,0,0x61,0x73,\
0x64,0x66,0x67,0x68,0x6A,0x6B,0x6C,0x3B,0x27,0x5C,0,0x5C,0x7A,0x78,0x63,\
0x76,0x62,0x6E,0x6D,0x2C,0x2E,0x2F,0,0,0,0x20,0,0,0,0,0,0,0,0,0,0,0,\
0,0,0,0,0,0x2D,0,0,0,0x2B,0,0,0,0,0x7F,0,0,0,0,0,0,0,0,0,0,0,0,\
0x3C,0,0,0x28,0x29,0x2F,0x2A,0x37,0x38,0x39,0x34,0x35,0x36,0x31,0x32,0x33,\
0x30,0x2E,0xD,0,0,0,0,0,0,0,0,0,0,0,0,0}

#define US_SHIFT_TAB \
{0,0x1B,0x21,0x40,0x23,0x24,0x25,0x5E,0x26,0x2A,0x28,0x29,0x5F,0x2B,8,9,\
0x51,0x57,0x45,0x52,0x54,0x59,0x55,0x49,0x4F,0x50,0x7B,0x7D,0xD,0,0x41,0x53,\
0x44,0x46,0x47,0x48,0x4A,0x4B,0x4C,0x3A,0x22,0x7C,0,0x7C,0x5A,0x58,0x43,\
0x56,0x42,0x4E,0x4D,0x2C,0x2E,0x3F,0,0,0,0x20,0,0,0,0,0,0,0,0,0,0,0,\
0,0,0x37,0x38,0,0x2D,0x34,0,0x36,0x2B,0,0x32,0,0x30,0x7F,0,0,0,0,0,0,\
0,0,0,0,0,0,0x3E,0,0,0x28,0x29,0x2F,0x2A,0x37,0x38,0x39,0x34,0x35,0x36,\
0x31,0x32,0x33,0x30,0x2E,0xD,0,0,0,0,0,0,0,0,0,0,0,0,0}

#define US_CAPSLOCK_TAB \
{0,0x1B,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x30,0x2D,0x3D,8,9,\
0x51,0x57,0x45,0x52,0x54,0x59,0x55,0x49,0x4F,0x50,0x5B,0x5D,0xD,0,0x41,0x53,\
0x44,0x46,0x47,0x48,0x4A,0x4B,0x4C,0x3B,0x27,0x5C,0,0x5C,0x5A,0x58,0x43,\
0x56,0x42,0x4E,0x4D,0x2C,0x2E,0x2F,0,0,0,0x20,0,0,0,0,0,0,0,0,0,0,0,\
0,0,0,0,0,0x2D,0,0,0,0x2B,0,0,0,0,0x7F,0,0,0,0,0,0,0,0,0,0,0,0,\
0x3C,0,0,0x28,0x29,0x2F,0x2A,0x37,0x38,0x39,0x34,0x35,0x36,0x31,0x32,0x33,\
0x30,0x2E,0xD,0,0,0,0,0,0,0,0,0,0,0,0,0}

	:
	:
	:
	:

char unshift_tab [] = US_UNSHIFT_TAB;
char shift_tab   [] = US_SHIFT_TAB;
char capslock_tab[] = US_CAPSLOCK_TAB;

	:
	:
	:
     
      	Keytbl (unshift_tab, shift_tab, capslock_tab);
1271.3uniterm has it: keyedit.prgBERN01::RUGGIEROMarkus Ruggiero from SwitzerlandTue Mar 24 1992 05:349
    Simon Poole has bundeled with Uniterm a little proggy that lets you
    edit keymaps very easily. The output can then be saved as a special
    Uniterm file or (that's the important thing for you) as a program that
    goes into the AUTO folder.

    Look for a thing called keyedit.prg. I am not sure if it is still in
    the latetest Uniterm set.

    ---markus---
1271.4PASTIS::MONAHANhumanity is a trojan horseMon Mar 30 1992 14:164
    	Many thanks to all of for your help.
    
    	Dave
    
1271.5I have a Vintage ST and had the same problemULYSSE::DEIGHTONTue Apr 14 1992 21:4716
re -1

	Uniterm is the right approach, my venerable ST (vintage 1985) was
probably one of the first in France and I use it mainly as a VTxxx replacement
at home with Uniterm and I've re-mapped the keyboard to as close to QWERTY
as one would need. WHACK is another alternative that I've never had the
time (nor need) to install which would allow you multi-windowing......I even
have an assembler program which I wrote about 7 years ago (ie two weeks after
getting the system) which re-maps the keyboard and also sets the system to
use 60Hz instead of 50 Hz for colour monitors.........yes Atari in their
infinite wisdom shipped TOS disks which worked fine for the 70Hz black and
white monitors but which assumed your were in the U.S. if you used color!

	If you need any help give me a bell on DTN 5695 in VBO.

	Nigel