1//
2//Copyright (c) 1996  Digital Equipment Corporation
3//
4//Permission is hereby granted, free of charge, to any person obtaining
5//a copy of this software and associated documentation files (the
6//"Software"), to deal in the Software without restriction, including
7//without limitation the rights to use, copy, modify, merge, publish,
8//distribute, sublicense, and sell copies of the Software, and to
9//permit persons to whom the Software is furnished to do so, subject to
10//the following conditions:
11//
12//The above copyright notice and this permission notice shall be included
13//in all copies or substantial portions of the Software.
14//
15//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16//OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18//IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM,
19//DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20//OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
21//THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22//
23//Except as contained in this notice, the name of the Digital Equipment
24//Corporation shall not be used in advertising or otherwise to promote
25//the sale, use or other dealings in this Software without prior written
26//authorization from Digital Equipment Corporation.
27//
28// HISTORY
29// Log
30// Revision 1.2  1996/06/18  09:10:16  erik
31// use flags correctly, assorted cleanups and consortium fixes
32//
33// Revision 1.1.6.3  1995/12/19  19:56:37  William_Walker
34// 	Update to XKB 0.65
35// 	[1995/12/17  02:37:44  William_Walker]
36//
37// Revision 1.1.6.2  1995/10/25  21:01:25  William_Walker
38// 	Add pc104-key support
39// 	[1995/10/23  15:46:27  William_Walker]
40//
41// Revision 1.1.2.7  1995/06/27  12:18:40  William_Walker
42// 	Add LK201 and LK450 support as well as TW and DP variants.
43// 	[1995/06/26  20:30:33  William_Walker]
44//
45// Revision 1.1.2.6  1995/06/09	 20:55:20  William_Walker
46// 	Add VT105 layout support and ISO group support
47// 	[1995/06/09  20:43:05  William_Walker]
48//
49// Revision 1.1.2.5  1995/06/08	 21:05:49  William_Walker
50// 	Use ISO_Next_Group instead of grouplock
51// 	[1995/06/08  21:03:56  William_Walker]
52//
53// Revision 1.1.2.4  1995/06/05	 19:25:00  William_Walker
54// 	New file.  I love keymaps.
55// 	[1995/06/05  18:17:54  William_Walker]
56//
57// EndLog
58//
59// @(#)RCSfile: us  Revision: /main/4  (DEC) Date: 1996/01/24 12:15:05
60//
61
62// **************************************************************
63// *								*
64// * Symbols for en_US.ISO8859-1 - English for U.S.		*
65// *								*
66// **************************************************************
67
68xkb_symbols "us" {
69
70    key <AE00> {       [	    grave,     asciitilde ] };
71    key <AE01> {       [		1,	   exclam ] };
72    key <AE02> {       [		2,	       at ] };
73    key <AE03> {       [		3,     numbersign ] };
74    key <AE04> {       [		4,	   dollar ] };
75    key <AE05> {       [		5,	  percent ] };
76    key <AE06> {       [		6,    asciicircum ] };
77    key <AE07> {       [		7,	ampersand ] };
78    key <AE08> {       [		8,	 asterisk ] };
79    key <AE09> {       [		9,	parenleft ] };
80    key <AE10> {       [		0,     parenright ] };
81    key <AE11> {       [	    minus,     underscore ] };
82    key <AE12> {       [	    equal,	     plus ] };
83
84    key <AD01> {       [		q,		Q ] };
85    key <AD02> {       [		w,		W ] };
86    key <AD03> {       [		e,		E ] };
87    key <AD04> {       [		r,		R ] };
88    key <AD05> {       [		t,		T ] };
89    key <AD06> {       [		y,		Y ] };
90    key <AD07> {       [		u,		U ] };
91    key <AD08> {       [		i,		I ] };
92    key <AD09> {       [		o,		O ] };
93    key <AD10> {       [		p,		P ] };
94    key <AD11> {       [      bracketleft,	braceleft ] };
95    key <AD12> {       [     bracketright,     braceright ] };
96
97    key <AC01> {       [		a,		A ] };
98    key <AC02> {       [		s,		S ] };
99    key <AC03> {       [		d,		D ] };
100    key <AC04> {       [		f,		F ] };
101    key <AC05> {       [		g,		G ] };
102    key <AC06> {       [		h,		H ] };
103    key <AC07> {       [		j,		J ] };
104    key <AC08> {       [		k,		K ] };
105    key <AC09> {       [		l,		L ] };
106    key <AC10> {       [	semicolon,	    colon ] };
107    key <AC11> {       [       apostrophe,	 quotedbl ] };
108    key <BKSL> {       [	backslash,	      bar ] };
109
110    key <AB01> {       [		z,		Z ] };
111    key <AB02> {       [		x,		X ] };
112    key <AB03> {       [		c,		C ] };
113    key <AB04> {       [		v,		V ] };
114    key <AB05> {       [		b,		B ] };
115    key <AB06> {       [		n,		N ] };
116    key <AB07> {       [		m,		M ] };
117    key <AB08> {       [	    comma,	     less ] };
118    key <AB09> {       [	   period,	  greater ] };
119    key <AB10> {       [	    slash,	 question ] };
120};
121
122// **************************************************************
123// *								*
124// * The VT105 layouts						*
125// *								*
126// * NOTES: The typewriter (TW) and dataprocessing (DP) keys	*
127// *	    for the VT108 layout are identical for the US.	*
128// *								*
129// **************************************************************
130xkb_symbols "vt105-tw" {
131    include "digital_vndr/us(us)"
132    include "digital_vndr/vt(vt105)"
133    override key <AE03> {
134	symbols[Group1]= [ 3, numbersign ],
135	symbols[Group2]= [ sterling ]
136    };
137    key <AB00> {       [	     less,	  greater ] };
138};
139
140xkb_symbols "vt105-dp" { include "digital_vndr/us(vt105-tw)" };
141xkb_symbols "vt105"    { include "digital_vndr/us(vt105-tw)" };
142
143// **************************************************************
144// *								*
145// * The VT108 layouts - based upon the LK401-AA		*
146// *								*
147// * NOTES: The typewriter (TW) and dataprocessing (DP) keys	*
148// *	    for the VT108 layout are identical for the US.	*
149// *								*
150// **************************************************************
151xkb_symbols "vt108-tw" {
152    include "digital_vndr/us(us)"
153    include "digital_vndr/vt(vt108)"
154    replace key <LCMP> { [ Multi_key ] };
155    override key <AE03> {
156	symbols[Group1]= [ 3, numbersign ],
157	symbols[Group2]= [ sterling ]
158    };
159    key <AB00> {       [	     less,	  greater ] };
160};
161
162xkb_symbols "vt108-dp" { include "digital_vndr/us(vt108-tw)" };
163xkb_symbols "vt108"    { include "digital_vndr/us(vt108-tw)" };
164
165// **************************************************************
166// *								*
167// * The "unix" layouts	- based upon the LK421-AA		*
168// *								*
169// * NOTES: The "unix" keyboard emits the same keycodes as the	*
170// *	    LK401, but is a shorter keyboard that uses an	*
171// *	    "extend" key.  To make life easier, we map <AE00>	*
172// *	    to Escape so users do not have to press Extend+F11	*
173// *	    to get Escape.					*
174// *								*
175// **************************************************************
176xkb_symbols "unix" {
177    include "digital_vndr/us(vt108)"
178    override key <AE00>	{ [ Escape ] };
179    override key <AB00>	{ [ grave, asciitilde ] };
180};
181
182// **************************************************************
183// *								*
184// * The "pcxal" layouts					*
185// *								*
186// * NOTES: The pcxal layouts are pretty much standardized for	*
187// *	    the US and use a 101-key keyboard.			*
188// *								*
189// **************************************************************
190xkb_symbols "pcxalga" {
191    include "digital_vndr/pc(pc)"
192    include "digital_vndr/us(us)"
193    replace key <RALT> { [ Alt_R, Meta_R ] };
194};
195
196xkb_symbols "pcxal"   { include "digital_vndr/us(pcxalga)" };
197xkb_symbols "pcxalaa" { include "digital_vndr/us(pcxalga)" };
198xkb_symbols "pcxalfa" { include "digital_vndr/us(pcxalga)" };
199xkb_symbols "pcxalka" { include "digital_vndr/us(pcxalga)" };
200xkb_symbols "lk44x"   { include "digital_vndr/us(pcxalga)" };
201
202// **************************************************************
203// *								*
204// * The "pc104" layouts.					*
205// *								*
206// **************************************************************
207xkb_symbols "pc104" {
208    include "digital_vndr/pc(pc104)"
209    include "digital_vndr/us(us)"
210    replace key <RALT> { [ Alt_R ] };
211};
212