!
! Copyright (c) 1995-2019, 2020 Paul Mattes.
! All rights reserved.
!
! Redistribution and use in source and binary forms, with or without
! modification, are permitted provided that the following conditions are met:
!     * Redistributions of source code must retain the above copyright
!       notice, this list of conditions and the following disclaimer.
!     * Redistributions in binary form must reproduce the above copyright
!       notice, this list of conditions and the following disclaimer in the
!       documentation and/or other materials provided with the distribution.
!     * Neither the names of Paul Mattes nor the names of his contributors
!       may be used to endorse or promote products derived from this software
!       without specific prior written permission.
!
! THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED
! WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
! MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
! EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
! SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
! PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
! OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
! WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
! OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
! ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
!
! x3270 app-defaults file.  This file is generally compiled into x3270, rather
! than installed.
!
! This file is in three sections:
!
!  (1) User-Modifiable Resources
!      Resources that are likeliest to be modified by an end user.
!
!  (2) Labels and Messages
!      Resources that are likely to be modified for translation into another
!      language.
!
!  (3) Base-Level Resources
!      Resources required for the basic operation of x3270, not for the
!      faint-hearted to modify.
!
!=============================================================================
! Section 1: User-Modifiable Resources
!
! Resources that are likeliest to be modified by an end user.
!=============================================================================
!   Color schemes
x3270.colorScheme.default: \
	black deepSkyBlue red pink \
	green turquoise yellow white \
	black blue3 orange purple \
	paleGreen paleTurquoise2 grey white \
	white black dimGrey \
	4 2 1 15
x3270.colorScheme.reverse: \
	black blue firebrick pink \
	green4 cadetBlue goldenrod black \
	black blue3 orange purple \
	paleGreen darkTurquoise grey black \
	black white dimGrey \
	4 2 1 0
x3270.colorScheme.bright: \
	black blue red magenta \
	green turquoise yellow white \
	black blue3 orange purple \
	paleGreen cyan grey white \
	white black dimGrey \
	4 2 1 15
x3270.colorScheme.cpe: \
	black LightBlue1 PaleVioletRed1 \
	pink green turquoise yellow white \
	black LightBlue3 orange MediumPurple1 \
	paleGreen paleTurquoise2 grey80 white \
	white black dimGrey \
	4 2 1 15
x3270.colorScheme.greenScreen: \
	green green green green \
	green green green green \
	green green green green \
	green green green green \
	white black dimGrey \
	4 15 4 15
!   Color schemes listed on the Options color menu
x3270.schemeList:	Default 3279: default\n\
			Bright: bright\n\
			Reverse: reverse\n\
			Green Screen: greenScreen
!   Character sets listed on the Options menu
x3270.charsetList:	U.S. English (CP 037): us-intl\n\
			Bracket (CP 037, modified): bracket\n\
			Euro>U.S. English (CP 1140): us-euro\n\
			Euro>Belgian (CP 1148): belgian-euro\n\
			Euro>Finnish (CP 1143): finnish-euro\n\
			Euro>French (CP 1147): french-euro\n\
			Euro>German (CP 1141): german-euro\n\
			Euro>Icelandic (CP 1149): icelandic-euro\n\
			Euro>Italian (CP 1144): italian-euro\n\
			Euro>Norwegian (CP 1142): norwegian-euro\n\
			Euro>Spanish (CP 1145): spanish-euro\n\
			Euro>United Kingdom (CP 1146): uk-euro\n\
			Belgian (CP 500): belgian\n\
			Brazilian (CP 275): brazilian\n\
#ifdef X3270_DBCS
			Chinese Simplified (CP 935): simplified-chinese\n\
			Chinese GB 18030 (CP 1388): chinese-gb18030\n\
			Chinese Traditional (CP 937): traditional-chinese\n\
#endif
			Finnish (CP 278): finnish\n\
			French (CP 297): french\n\
			German (CP 273): german\n\
			Greek (CP 875): greek\n\
			Hebrew (CP 424): hebrew\n\
			Icelandic (CP 871): icelandic\n\
			Italian (CP 280): italian\n\
#ifdef X3270_DBCS
			Japanese w/Kana (CP 930): japanese-kana\n\
			Japanese w/Latin (CP 939): japanese-latin\n\
#endif
			Norwegian (CP 277): norwegian\n\
			Open Systems (CP 1047): cp1047\n\
			Polish (CP 870): cp870\n\
			Russian (CP 880): russian\n\
			Slovenian (CP 870): cp870\n\
			Spanish (CP 284): spanish\n\
			Thai (CP 1160): thai\n\
			Turkish (CP 1026): turkish\n\
			United Kingdom (CP 285): uk\n
! Fonts listed on the Options menu and for screen resizing
x3270.emulatorFontList.3270cg-1a,3270cg-1,iso10646-1,iso8859-1: \
			3270 Font (14 point): #resize 3270\n\
			8-point Font: #resize 3270gt8\n\
			12-point Font: #resize 3270-12\n\
			16-point Font: #resize 3270gt16\n\
			20-point Font: #resize 3270-20\n\
			24-point Font: #resize 3270gt24\n\
			32-point Font: #resize 3270gt32
x3270.emulatorFontList.3270cg-1a,3270cg-1,iso10646-1,iso8859-15: \
			3270 Font (14 point): #resize 3270\n\
			8-point Font: #resize 3270gt8\n\
			12-point Font: #resize 3270-12\n\
			16-point Font: #resize 3270gt16\n\
			20-point Font: #resize 3270-20\n\
			24-point Font: #resize 3270gt24\n\
			32-point Font: #resize 3270gt32
x3270.emulatorFontList.3270cg-1a,iso10646-1:       3270
x3270.emulatorFontList.3270cg-1a,3270cg-1,iso10646-1,iso8859-1+gb2312.1980-0,iso10646-1: \
			14-point 3270: 3270+-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0\n\
			20-point 3270: 3270-20+-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0\n\
			8x16: 8x16+-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0\n\
			12x24: 12x24+-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0
x3270.emulatorFontList.iso10646-1,jisx0201.1976-0+jisx0208.1983-0,iso10646-1: \
			14-point: -misc-fixed-medium-r-normal--14-130-75-75-c-70-jisx0201.1976-0+-misc-fixed-medium-r-normal--14-130-75-75-c-140-jisx0208.1983-0\n\
			16-point: -sony-fixed-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0+-jis-fixed-medium-r-normal--16-150-75-75-c-160-jisx0208.1983-0\n\
			18-point: -sony-fixed-medium-r-normal--16-150-75-75-c-80-jisx0201.1976-0+-misc-fixed-medium-r-normal-ja-18-120-100-100-c-180-iso10646-1\n\
			24-point: -sony-fixed-medium-r-normal--24-230-75-75-c-120-jisx0201.1976-0+-jis-fixed-medium-r-normal--24-230-75-75-c-240-jisx0208.1983-0
x3270.emulatorFontList.3270cg-1a,3270cg-1,iso10646-1,iso8859-1+big5-0,iso10646-1: fixed+-wenquanyi-wenquanyi bitmap song-bold-r-normal--13-130-75-75-p-80-iso10646-1
x3270.printWindowCommand:		xwd -id %d | xpr | lpr
x3270.traceCommand:			tail -f
! Translation table for the '@server' pseudo-keymap, which is the keymap
! you get by default (in addition to the 'base' keymap, below).  Maps server
! vendor strings to keymap names.
x3270.serverKeymapList: \
	Sun Microsystems, Inc.: sun_k5\n\
	Hewlett-Packard Company: hp-k1\n
! Keymaps (keyboard and mouse mappings)
!
! Base keymap:  What you get by default, in both 3270 and NVT modes.  Any other
! user-specified keymap is logically added to this keymap.
! *WARNING* Do not change this resource if all you want to do is to define a
! keymap!
x3270.keymap.base: \
	:<Key>Multi_key:		Compose()\n\
	Ctrl<Btn1Down>:			HandleMenu(fileMenu)\n\
	Ctrl<Btn2Down>:			HandleMenu(optionsMenu)\n\
	Ctrl<Btn3Down>:			HandleMenu(hostMenu,macrosMenu)\n\
	<Btn1Down>:			SelectDown()\n\
	~Shift<Btn1Motion>:		SelectMotion()\n\
	<Btn2Down>:			ignore()\n\
	<Btn2Motion>:			ignore()\n\
	<Btn2Up>:			insert-selection(PRIMARY)\n\
	<Btn3Down>:			start-extend()\n\
	<Btn3Motion>:			select-extend()\n\
	~Shift<Btn1Up>:			SelectUp(PRIMARY)\n\
	~Shift<Btn3Up>:			SelectUp(PRIMARY)\n\
	Shift<Key>Insert:		insert-selection(PRIMARY)\n\
	:<Key>Insert:			Toggle(insertMode)\n\
	Shift<Key>Up:			KybdSelect(Up,PRIMARY)\n\
	Shift<Key>Down:			KybdSelect(Down,PRIMARY)\n\
	Shift<Key>Left:			KybdSelect(Left,PRIMARY)\n\
	Shift<Key>Right:		KybdSelect(Right,PRIMARY)\n\
	Shift<Key>F1:			PF(13)\n\
	Shift<Key>F2:			PF(14)\n\
	Shift<Key>F3:			PF(15)\n\
	Shift<Key>F4:			PF(16)\n\
	Shift<Key>F5:			PF(17)\n\
	Shift<Key>F6:			PF(18)\n\
	Shift<Key>F7:			PF(19)\n\
	Shift<Key>F8:			PF(20)\n\
	Shift<Key>F9:			PF(21)\n\
	Shift<Key>F10:			PF(22)\n\
	Shift<Key>F11:			PF(23)\n\
	Shift<Key>F12:			PF(24)\n\
	Meta<Key>F1:			PF(13)\n\
	Alt<Key>F1:			PF(13)\n\
	Meta<Key>F2:			PF(14)\n\
	Alt<Key>F2:			PF(14)\n\
	Meta<Key>F3:			PF(15)\n\
	Alt<Key>F3:			PF(15)\n\
	Meta<Key>F4:			PF(16)\n\
	Alt<Key>F4:			PF(16)\n\
	Meta<Key>F5:			PF(17)\n\
	Alt<Key>F5:			PF(17)\n\
	Meta<Key>F6:			PF(18)\n\
	Alt<Key>F6:			PF(18)\n\
	Meta<Key>F7:			PF(19)\n\
	Alt<Key>F7:			PF(19)\n\
	Meta<Key>F8:			PF(20)\n\
	Alt<Key>F8:			PF(20)\n\
	Meta<Key>F9:			PF(21)\n\
	Alt<Key>F9:			PF(21)\n\
	Meta<Key>F10:			PF(22)\n\
	Alt<Key>F10:			PF(22)\n\
	Meta<Key>F11:			PF(23)\n\
	Alt<Key>F11:			PF(23)\n\
	Meta<Key>F12:			PF(24)\n\
	Alt<Key>F12:			PF(24)\n\
	:<Key>F1:			PF(1)\n\
	:<Key>F2:			PF(2)\n\
	:<Key>F3:			PF(3)\n\
	:<Key>F4:			PF(4)\n\
	:<Key>F5:			PF(5)\n\
	:<Key>F6:			PF(6)\n\
	:<Key>F7:			PF(7)\n\
	:<Key>F8:			PF(8)\n\
	:<Key>F9:			PF(9)\n\
	:<Key>F10:			PF(10)\n\
	:<Key>F11:			PF(11)\n\
	:<Key>F12:			PF(12)\n\
	:<Key>Print:			PrintText()\n\
	Alt<Key>q:			Quit()\n\
	:<Key>dead_acute:		Compose() Key(apostrophe)\n\
	:<Key>dead_grave:	 	Compose() Key(grave)\n\
        :<Key>dead_circumflex:          Compose() Key(asciicircum)\n\
	:<Key>dead_tilde:	        Compose() Key(asciitilde)\n\
	:<Key>dead_diaeresis:	        Compose() Key(quotedbl)\n\
	:<Key>Prior:			Scroll(backward)\n\
	:<Key>Next:			Scroll(forward)\n\
	Shift<Key>Escape:		TemporaryKeymap(apl) TemporaryComposeMap(apl) Toggle(AplMode)\n
!
! Base keymap for 3270 mode.  These mappings are added to the base keymap,
! but only when in 3270 mode.
! These were originally part of the base keymap, but were moved here, because
! they were no-ops in NVT mode, or interfered with NVT-mode data entry.
!
! Note that as yet, there is no x3270.keymap.base.nvt, which would define the
! base keymap extensions for NVT mode.
!
x3270.keymap.base.3270: #override \
	:Ctrl Shift<Btn1Down>:		MouseSelect()\n\
	Shift<Btn1Down>:		MoveCursor()\n\
	Shift<Key>Return:		Newline()\n\
	:<Key>Return:			Enter()\n\
	:<Key>Linefeed:			Newline()\n\
	:<Key>BackSpace: 		Erase()\n\
	Shift<Key>Tab:			BackTab()\n\
	:Meta<Key>Left:			PreviousWord()\n\
	:Alt<Key>Left:			PreviousWord()\n\
	:Meta<Key>Right:		NextWord()\n\
	:Alt<Key>Right:			NextWord()\n\
	:Meta<Key>1:			PA(1)\n\
	:Alt<Key>1:			PA(1)\n\
	:Meta<Key>2:			PA(2)\n\
	:Alt<Key>2:			PA(2)\n\
	:Meta<Key>3:			PA(3)\n\
	:Alt<Key>3:			PA(3)\n\
	Meta<Key>a:			Attn()\n\
	Alt<Key>a:			Attn()\n\
	Meta<Key>b:			PrintWindow()\n\
	Alt<Key>b:			PrintWindow()\n\
	Meta<Key>c:			Clear()\n\
	Alt<Key>c:			Clear()\n\
	Meta<Key>d:			Delete()\n\
	Alt<Key>d:			Delete()\n\
	Meta<Key>e:			EraseEOF()\n\
	Alt<Key>e:			EraseEOF()\n\
	Meta<Key>h:			Home()\n\
	Alt<Key>h:			Home()\n\
	Meta<Key>i:			Set(insertMode,true)\n\
	Alt<Key>i:			Set(insertMode,true)\n\
	Meta<Key>l:			Redraw()\n\
	Alt<Key>l:			Redraw()\n\
	Meta<Key>p:			PrintText()\n\
	Alt<Key>p:			PrintText()\n\
	Meta<Key>r:			Reset()\n\
	Alt<Key>r:			Reset()\n\
	Meta<Key>u:			Unselect()\n\
	Alt<Key>u:			Unselect()\n\
	Ctrl<Key>a:			SelectAll(PRIMARY)\n\
	Ctrl<Key>c:			set-select(CLIPBOARD)\n\
	Ctrl<Key>u:			DeleteField()\n\
	Ctrl<Key>v:			insert-selection(CLIPBOARD)\n\
	Ctrl<Key>w:			DeleteWord()\n\
	Ctrl<Key>x:			Cut(CLIPBOARD)
! Keymap that restores the old (pre 3.3) mouse-click behavior.
x3270.keymap.oldclick: #override\n\
	Ctrl<Btn1Down>:                 HandleMenu(fileMenu)\n\
	Ctrl<Btn2Down>:                 HandleMenu(optionsMenu)\n\
	Ctrl<Btn3Down>:                 HandleMenu(hostMenu,macrosMenu)\n\
	<Btn1Down>:                     select-start()\n\
	~Shift<Btn1Motion>:             select-extend()\n\
	<Btn2Down>:                     ignore()\n\
	<Btn2Motion>:                   ignore()\n\
	<Btn2Up>:                       insert-selection(PRIMARY)\n\
	<Btn3Down>:                     start-extend()\n\
	<Btn3Motion>:                   select-extend()\n\
	~Shift<BtnUp>:                  select-end(PRIMARY)
x3270.keymap.oldclick.3270: #override\n\
	:Ctrl Shift<Btn1Down>:          MouseSelect()\n\
	Shift<Btn1Down>:                MoveCursor()
! Support for right-to-left languages.
x3270.keymap.righttoleft: #override \
	Meta<Key>f:			Toggle(rightToLeftMode)\n\
	Alt<Key>f:			Toggle(rightToLeftMode)\n\
	Meta<Key>v:			Toggle(reverseInputMode)\n\
	Alt<Key>v:			Toggle(reverseInputMode)
!
! Start of keyboard-specific mappings.
!
! Sun Type 5 keyboard map.  Not compatible with earlier Type 3 and Type 4
! keymaps, but does a better job of mapping intuitive functions to the
! existing key labels, and has fewer surprises.
x3270.keymap.sun_k5: \
	Shift<Key>0x1005ff10:	PF(23)\n\
	Shift<Key>0x1005ff11:	PF(24)\n\
	:<Key>0x1005ff10:	PF(11)\n\
	:<Key>0x1005ff11:	PF(12)\n\
	~@Num_Lock<Key>F27:	Home()\n\
	~@Num_Lock<Key>F33:	FieldEnd()\n\
	:<Key>F18:		insert-selection(PRIMARY)\n\
	Shift<Key>F22:		SysReq()\n\
	:<Key>F22:		PrintText()\n\
	<Key>KP_Enter:		Newline()\n
! Sun Type 4 keyboard map, backwards-compatible with earlier versions of x3270.
x3270.keymap.sun_k4: \
	Shift<Key>0x1005ff10:	PF(23)\n\
	Shift<Key>0x1005ff11:	PF(24)\n\
	:<Key>0x1005ff10:	PF(11)\n\
	:<Key>0x1005ff11:	PF(12)\n\
	:<Key>KP_1:		Key(1)\n\
	:<Key>KP_2:		Key(2)\n\
	:<Key>KP_3:		Key(3)\n\
	:<Key>KP_4:		Key(4)\n\
	:<Key>KP_5:		Key(5)\n\
	:<Key>KP_6:		Key(6)\n\
	:<Key>KP_7:		Key(7)\n\
	:<Key>KP_8:		Key(8)\n\
	:<Key>KP_9:		Key(9)\n\
	:<Key>KP_0:		Key(0)\n\
	:<Key>KP_Decimal:	Key(.)\n\
	:<Key>F18:		insert-selection(PRIMARY)\n\
	:<Key>F19:		SysReq()\n\
	:<Key>F20:		FieldMark()\n\
	:<Key>F21:		PA(1)\n\
	:<Key>F22:		PA(2)\n\
	:<Key>F23:		Dup()\n\
	:<Key>F24:		Reset()\n\
	:<Key>F25:		EraseEOF()\n\
	:<Key>F26:		EraseInput()\n\
	:<Key>F27:		Clear()\n\
	:<Key>F29:		Redraw()\n\
	:<Key>F31:		Home()\n\
	:<Key>KP_Enter:		Newline()\n\
	:<Key>F35:		Delete()\n
! Sun Type 3 keyboard.
x3270.keymap.sun_k3: \
	Shift<Key>F21:		PF(22)\n\
	Shift<Key>F22:		PF(23)\n\
	Shift<Key>F23:		PF(24)\n\
	:Meta<Key>F21:		PA(1)\n\
	:Meta<Key>F22:		PA(2)\n\
	:Meta<Key>F23:		Dup()\n\
	:<Key>F19:		SysReq()\n\
	:<Key>0x0:		FieldMark()\n\
	:<Key>F21:		PF(10)\n\
	:<Key>F22:		PF(11)\n\
	:<Key>F23:		PF(12)\n\
	:<Key>F24:		Reset()\n\
	:<Key>F25:		EraseEOF()\n\
	:<Key>F26:		EraseInput()\n\
	:<Key>F27:		Clear()\n\
	:<Key>F31:		Home()\n\
	:<Key>F29:		Redraw()\n\
	:<Key>KP_Enter:		Newline()\n\
	:<Key>F35:		Delete()\n
x3270.keymap.ncd: \
	:<Key>F13:		Dup()\n\
	:<Key>Linefeed:		Dup()\n\
	:<Key>F14:		FieldMark()\n\
	:<Key>Break:		FieldMark()\n\
	:<Key>Home:		Home()\n\
	:<Key>F17:		Home()\n\
	:<Key>End:		EraseEOF()\n\
	:<Key>F15:		Reset()\n\
	:<Key>Prior:		Reset()\n\
	:<Key>F16:		Newline()\n\
	:<Key>Next:		Newline()\n\
	:<Key>KP_Add:		EraseInput()\n\
	:<Key>Num_Lock:		PF(13)\n\
	:<Key>KP_Space:		PF(13)\n\
	:<Key>KP_Divide:		PF(14)\n\
	:<Key>KP_Multiply:	PF(15)\n\
	:<Key>KP_7:		PF(16)\n\
	:<Key>KP_8:		PF(17)\n\
	:<Key>KP_9:		PF(18)\n\
	:<Key>KP_4:		PF(19)\n\
	:<Key>KP_5:		PF(20)\n\
	:<Key>KP_6:		PF(21)\n\
	:<Key>KP_1:		PF(22)\n\
	:<Key>KP_2:		PF(23)\n\
	:<Key>KP_3:		PF(24)\n\
	:<Key>KP_Subtract:	SysReq()\n\
	:<Key>KP_0:		PA(2)\n\
	:<Key>KP_Decimal:	PA(1)\n\
	:<Key>KP_Enter:		Clear()\n
x3270.keymap.hp-k1: \
	:<Key>KP_Tab:		BackTab()\n\
	:<Key>KP_Enter:		Home()\n\
	:<Key>KP_Separator:	Delete()\n\
	Shift<Key>Delete:	Delete()\n\
	:<Key>Menu:		EraseEOF()\n\
	:<Key>KP_Multiply:	PF(13)\n\
	:<Key>KP_Divide:		PF(14)\n\
	:<Key>KP_Add:		PF(15)\n\
	:<Key>KP_7:		PF(16)\n\
	:<Key>KP_8:		PF(17)\n\
	:<Key>KP_9:		PF(18)\n\
	:<Key>KP_4:		PF(19)\n\
	:<Key>KP_5:		PF(20)\n\
	:<Key>KP_6:		PF(21)\n\
	:<Key>KP_1:		PF(22)\n\
	:<Key>KP_2:		PF(23)\n\
	:<Key>KP_3:		PF(24)\n\
	:<Key>KP_0:		PA(2)\n\
	:<Key>KP_Decimal:	PA(1)\n
! Keymap for HP-PC101 workstation keyboard, Chris P-E
x3270.keymap.hp-pc: \
	:<Key>KP_Subtract:	Compose()\n\
	:<Key>KP_Enter:		Enter()\n\
	:<Key>Return:		Newline()\n\
	!<Key>F1:		PF(1)\n\
	!<Key>F2:		PF(2)\n\
	!<Key>F3:		PF(3)\n\
	!<Key>F4:		PF(4)\n\
	!<Key>F5:		PF(5)\n\
	!<Key>F6:		PF(6)\n\
	!<Key>F7:		PF(7)\n\
	!<Key>F8:		PF(8)\n\
	!<Key>F9:		PF(9)\n\
	!<Key>F10:		PF(10)\n\
	!<Key>F11:		PF(11)\n\
	!<Key>F12:		PF(12)\n\
	!Shift<Key>hpSystem:	PF(13)\n\
	!Shift<Key>KP_Divide:	PF(14)\n\
	!Shift<Key>KP_Multiply:	PF(15)\n\
	!Shift<Key>KP_7:	PF(16)\n\
	!Shift<Key>KP_8:	PF(17)\n\
	!Shift<Key>KP_9:	PF(18)\n\
	!Shift<Key>KP_4:	PF(19)\n\
	!Shift<Key>KP_5:	PF(20)\n\
	!Shift<Key>KP_6:	PF(21)\n\
	!Shift<Key>KP_1:	PF(22)\n\
	!Shift<Key>KP_2:	PF(23)\n\
	!Shift<Key>KP_3:	PF(24)\n\
	!<Key>hpSystem:		PF(1)\n\
	!<Key>KP_Divide:	PF(2)\n\
	!<Key>KP_Multiply:	PF(3)\n\
	!<Key>KP_7:		PF(4)\n\
	!<Key>KP_8:		PF(5)\n\
	!<Key>KP_9:		PF(6)\n\
	!<Key>KP_4:		PF(7)\n\
	!<Key>KP_5:		PF(8)\n\
	!<Key>KP_6:		PF(9)\n\
	!<Key>KP_1:		PF(10)\n\
	!<Key>KP_2:		PF(11)\n\
	!<Key>KP_3:		PF(12)\n\
	!<Key>Break:		Reset()\n\
	!Shift<Key>Break:	Attn()\n\
	!Meta<Key>Break:	SysReq()\n\
	!<Key>Prior:		Dup()\n\
	!<Key>Next:		FieldMark()\n\
	!<Key>Select:		EraseEOF()\n\
	!Meta<Key>hpInsertChar:	PA(1)\n\
	!Meta<Key>Home:		PA(2)\n\
	!Meta<Key>Prior:	PA(3)\n\
	!<Key>hpInsertChar:	Set(insertMode,true)\n\
	!<Key>hpDeleteChar:	Delete()\n\
	!Shift<Key>Menu:	PrintWindow()\n\
	!<Key>Menu:		PrintText()\n
! Keymap for IBM X Terminal, Allan L. Bazinet
x3270.keymap.ibm-xterm: \
	:<Key>Execute:		Enter()\n\
	!<Key>Pause:		Clear()\n\
	!<Key>BackSpace:	BackSpace() Delete()\n\
	!<Key>End:		FieldEnd()\n\
	!Alt<Key>c:		Clear()\n\
	!Alt<Key>Print:		SysReq()\n\
	!Ctrl<Key>Home:		EraseInput()\n\
	!Ctrl<Key>End:		EraseEOF()\n\
	!Shift<Key>Tab:		BackTab()\n\
	:<Key>KP_Subtract:	PA(1)\n\
	:<Key>KP_Add:		PA(2)\n\
	:<Key>KP_Enter:		Enter()\n\
	:<Key>Prior:		PA(1)\n\
	:<Key>Next:		PA(2)\n\
	:<Key>Escape:		Reset()\n\
	:<Key>Control_L:	Reset()\n\
	:<Key>Insert:		Set(insertMode,true)\n\
	!Shift<Key>Right:	Right2()\n\
	!Shift<Key>Left:	Left2()\n
! Keymap for common 3270 functions on a PC keyboard, from Richard Lennox.
x3270.keymap.rlx: #override \
	<Key>Prior:		PF(7)\n\
	<Key>Next:		PF(8)\n\
	<Key>Control_R:		Enter()\n\
	<Key>Return: 		Newline()\n\
	<Key>Pause: 		Clear()\n\
	Shift<Key>Escape:	Attn()\n\
	Shift<Key>Left:		PreviousWord()\n\
	Shift<Key>Right:	NextWord()\n\
	Ctrl<Key>Left:		PreviousWord()\n\
	Ctrl<Key>Right:		NextWord()\n\
	Shift<Key>End:		EraseEOF()\n\
	<Key>End:		FieldEnd()
! Keymap modifier for OpenWindows (makes button 2 the extend key; defines the
! Paste and Cut keys; uses CLIPBOARD).
x3270.keymap.ow:	#override \
	~Shift<Btn1Down>:	select-start()\n\
	~Shift<Btn1Motion>:	select-extend()\n\
	<Btn2Down>:		start-extend()\n\
	<Btn2Motion>:		select-extend()\n\
	<Btn3Down>:		ignore()\n\
	<Btn3Motion>:		ignore()\n\
	<Btn3Up>:		insert-selection(CLIPBOARD,PRIMARY)\n\
	<BtnUp>:		select-end(PRIMARY)\n\
	:<Key>F16:		set-select(CLIPBOARD)\n\
	Shift<Key>F18:		insert-selection(PRIMARY)\n\
	:<Key>F18:		insert-selection(CLIPBOARD,PRIMARY)\n\
	:<Key>F20:		set-select(CLIPBOARD) Cut()\n
! APL keymap modifier.
x3270.keymap.apl:	#override \
	:<Key>asciitilde:	Key(apl_tilde)\n\
	:Alt<Key>grave:		Key(apl_diamond)\n\
	:Meta<Key>grave:	Key(apl_diamond)\n\
	:Alt<Key>1:		Key(apl_diaeresis)\n\
	:Meta<Key>1:		Key(apl_diaeresis)\n\
	:Alt<Key>!:		Key(apl_downtackup)\n\
	:Meta<Key>!:		Key(apl_downtackup)\n\
	:Alt<Key>2:		Key(apl_overbar)\n\
	:Meta<Key>2:		Key(apl_overbar)\n\
	:Alt<Key>@:		Key(apl_deltilde)\n\
	:Meta<Key>@:		Key(apl_deltilde)\n\
	:Alt<Key>3:		Key(less)\n\
	:Meta<Key>3:		Key(less)\n\
	:Alt<Key>#:		Key(apl_delstile)\n\
	:Meta<Key>#:		Key(apl_delstile)\n\
	:Alt<Key>4:		Key(apl_notgreater)\n\
	:Meta<Key>4:		Key(apl_notgreater)\n\
	:Alt<Key>$:		Key(apl_deltastile)\n\
	:Meta<Key>$:		Key(apl_deltastile)\n\
	:Alt<Key>5:		Key(equal)\n\
	:Meta<Key>5:		Key(equal)\n\
	:Alt<Key>%:		Key(apl_circlestile)\n\
	:Meta<Key>%:		Key(apl_circlestile)\n\
	:Alt<Key>6:		Key(apl_notless)\n\
	:Meta<Key>6:		Key(apl_notless)\n\
	:Alt<Key>^:		Key(apl_circleslope)\n\
	:Meta<Key>^:		Key(apl_circleslope)\n\
	:Alt<Key>7:		Key(greater)\n\
	:Meta<Key>7:		Key(greater)\n\
	:Alt<Key>&:		Key(apl_circlebar)\n\
	:Meta<Key>&:		Key(apl_circlebar)\n\
	:Alt<Key>8:		Key(apl_notequal)\n\
	:Meta<Key>8:		Key(apl_notequal)\n\
	:Alt<Key>*:		Key(apl_circlestar)\n\
	:Meta<Key>*:		Key(apl_circlestar)\n\
	:Alt<Key>9:		Key(apl_downcaret)\n\
	:Meta<Key>9:		Key(apl_downcaret)\n\
	:Alt<Key>(:		Key(apl_downcarettilde)\n\
	:Meta<Key>(:		Key(apl_downcarettilde)\n\
	:Alt<Key>0:		Key(apl_upcaret)\n\
	:Meta<Key>0:		Key(apl_upcaret)\n\
	:Alt<Key>):		Key(apl_upcarettilde)\n\
	:Meta<Key>):		Key(apl_upcarettilde)\n\
	:Alt<Key>minus:		Key(apl_multiply)\n\
	:Meta<Key>minus:	Key(apl_multiply)\n\
	:Alt<Key>underscore:	Key(apl_quotedot)\n\
	:Meta<Key>underscore:	Key(apl_quotedot)\n\
	:Alt<Key>=:		Key(apl_divide)\n\
	:Meta<Key>=:		Key(apl_divide)\n\
	:Alt<Key>+:		Key(apl_quaddivide)\n\
	:Meta<Key>+:		Key(apl_quaddivide)\n\
	:Alt<Key>q:		Key(question)\n\
	:Meta<Key>q:		Key(question)\n\
	:Alt<Key>Q:		Key(apl_Qunderbar)\n\
	:Meta<Key>Q:		Key(apl_Qunderbar)\n\
	:Alt<Key>w:		Key(apl_omega)\n\
	:Meta<Key>w:		Key(apl_omega)\n\
	:Alt<Key>W:		Key(apl_Wunderbar)\n\
	:Meta<Key>W:		Key(apl_Wunderbar)\n\
	:Alt<Key>e:		Key(apl_epsilon)\n\
	:Meta<Key>e:		Key(apl_epsilon)\n\
	:Alt<Key>E:		Key(apl_Eunderbar)\n\
	:Meta<Key>E:		Key(apl_Eunderbar)\n\
	:Alt<Key>r:		Key(apl_rho)\n\
	:Meta<Key>r:		Key(apl_rho)\n\
	:Alt<Key>R:		Key(apl_Runderbar)\n\
	:Meta<Key>R:		Key(apl_Runderbar)\n\
	:Alt<Key>t:		Key(apl_tilde)\n\
	:Meta<Key>t:		Key(apl_tilde)\n\
	:Alt<Key>T:		Key(apl_Tunderbar)\n\
	:Meta<Key>T:		Key(apl_Tunderbar)\n\
	:Alt<Key>y:		Key(apl_uparrow)\n\
	:Meta<Key>y:		Key(apl_uparrow)\n\
	:Alt<Key>Y:		Key(apl_Yunderbar)\n\
	:Meta<Key>Y:		Key(apl_Yunderbar)\n\
	:Alt<Key>u:		Key(apl_downarrow)\n\
	:Meta<Key>u:		Key(apl_downarrow)\n\
	:Alt<Key>U:		Key(apl_Uunderbar)\n\
	:Meta<Key>U:		Key(apl_Uunderbar)\n\
	:Alt<Key>i:		Key(apl_iota)\n\
	:Meta<Key>i:		Key(apl_iota)\n\
	:Alt<Key>I:		Key(apl_Iunderbar)\n\
	:Meta<Key>I:		Key(apl_Iunderbar)\n\
	:Alt<Key>o:		Key(apl_circle)\n\
	:Meta<Key>o:		Key(apl_circle)\n\
	:Alt<Key>O:		Key(apl_Ounderbar)\n\
	:Meta<Key>O:		Key(apl_Ounderbar)\n\
	:Alt<Key>p:		Key(asterisk)\n\
	:Meta<Key>p:		Key(asterisk)\n\
	:Alt<Key>P:		Key(apl_Punderbar)\n\
	:Meta<Key>P:		Key(apl_Punderbar)\n\
	:Alt<Key>bracketleft:	Key(apl_leftarrow)\n\
	:Meta<Key>bracketleft:	Key(apl_leftarrow)\n\
	:<Key>bracketleft:	Key(apl_bracketleft)\n\
	:Alt<Key>braceleft:	Key(apl_quadquote)\n\
	:Meta<Key>braceleft:	Key(apl_quadquote)\n\
	:Alt<Key>bracketright: Key(apl_rightarrow)\n\
	:Meta<Key>bracketright: Key(apl_rightarrow)\n\
	:<Key>bracketright:	Key(apl_bracketright)\n\
	:Alt<Key>backslash:	Key(apl_righttack)\n\
	:Meta<Key>backslash:	Key(apl_righttack)\n\
	:Alt<Key>bar:		Key(apl_lefttack)\n\
	:Meta<Key>bar:		Key(apl_lefttack)\n\
	:<Key>backslash:	Key(apl_slope)\n\
	:<Key>bar:		Key(apl_stile)\n\
	:Alt<Key>a:		Key(apl_alpha)\n\
	:Meta<Key>a:		Key(apl_alpha)\n\
	:Alt<Key>A:		Key(apl_Aunderbar)\n\
	:Meta<Key>A:		Key(apl_Aunderbar)\n\
	:Alt<Key>s:		Key(apl_upstile)\n\
	:Meta<Key>s:		Key(apl_upstile)\n\
	:Alt<Key>S:		Key(apl_Sunderbar)\n\
	:Meta<Key>S:		Key(apl_Sunderbar)\n\
	:Alt<Key>d:		Key(apl_downstile)\n\
	:Meta<Key>d:		Key(apl_downstile)\n\
	:Alt<Key>D:		Key(apl_Dunderbar)\n\
	:Meta<Key>D:		Key(apl_Dunderbar)\n\
	:Alt<Key>f:		Key(underscore)\n\
	:Meta<Key>f:		Key(underscore)\n\
	:Alt<Key>F:		Key(apl_Funderbar)\n\
	:Meta<Key>F:		Key(apl_Funderbar)\n\
	:Alt<Key>g:		Key(apl_del)\n\
	:Meta<Key>g:		Key(apl_del)\n\
	:Alt<Key>G:		Key(apl_Gunderbar)\n\
	:Meta<Key>G:		Key(apl_Gunderbar)\n\
	:Alt<Key>h:		Key(apl_delta)\n\
	:Meta<Key>h:		Key(apl_delta)\n\
	:Alt<Key>H:		Key(apl_Hunderbar)\n\
	:Meta<Key>H:		Key(apl_Hunderbar)\n\
	:Alt<Key>j:		Key(apl_jot)\n\
	:Meta<Key>j:		Key(apl_jot)\n\
	:Alt<Key>J:		Key(apl_Junderbar)\n\
	:Meta<Key>J:		Key(apl_Junderbar)\n\
	:Alt<Key>k:		Key(apostrophe)\n\
	:Meta<Key>k:		Key(apostrophe)\n\
	:Alt<Key>K:		Key(apl_Kunderbar)\n\
	:Meta<Key>K:		Key(apl_Kunderbar)\n\
	:Alt<Key>l:		Key(apl_quad)\n\
	:Meta<Key>l:		Key(apl_quad)\n\
	:Alt<Key>L:		Key(apl_Lunderbar)\n\
	:Meta<Key>L:		Key(apl_Lunderbar)\n\
	:Alt<Key>semicolon:	Key(apl_downtackjot)\n\
	:Meta<Key>semicolon:	Key(apl_downtackjot)\n\
	:Alt<Key>colon:		Key(apl_equalunderbar)\n\
	:Meta<Key>colon:	Key(apl_equalunderbar)\n\
	:Alt<Key>apostrophe:	Key(apl_uptackjot)\n\
	:Meta<Key>apostrophe:	Key(apl_uptackjot)\n\
	:Alt<Key>z:		Key(apl_leftshoe)\n\
	:Meta<Key>z:		Key(apl_leftshoe)\n\
	:Alt<Key>Z:		Key(apl_Zunderbar)\n\
	:Meta<Key>Z:		Key(apl_Zunderbar)\n\
	:Alt<Key>x:		Key(apl_rightshoe)\n\
	:Meta<Key>x:		Key(apl_rightshoe)\n\
	:Alt<Key>X:		Key(apl_Xunderbar)\n\
	:Meta<Key>X:		Key(apl_Xunderbar)\n\
	:Alt<Key>c:		Key(apl_upshoe)\n\
	:Meta<Key>c:		Key(apl_upshoe)\n\
	:Alt<Key>C:		Key(apl_Cunderbar)\n\
	:Meta<Key>C:		Key(apl_Cunderbar)\n\
	:Alt<Key>v:		Key(apl_downshoe)\n\
	:Meta<Key>v:		Key(apl_downshoe)\n\
	:Alt<Key>V:		Key(apl_Vunderbar)\n\
	:Meta<Key>V:		Key(apl_Vunderbar)\n\
	:Alt<Key>b:		Key(apl_downtack)\n\
	:Meta<Key>b:		Key(apl_downtack)\n\
	:Alt<Key>B:		Key(apl_Bunderbar)\n\
	:Meta<Key>B:		Key(apl_Bunderbar)\n\
	:Alt<Key>n:		Key(apl_uptack)\n\
	:Meta<Key>n:		Key(apl_uptack)\n\
	:Alt<Key>N:		Key(apl_Nunderbar)\n\
	:Meta<Key>N:		Key(apl_Nunderbar)\n\
	:Alt<Key>m:		Key(apl_stile)\n\
	:Meta<Key>m:		Key(apl_stile)\n\
	:Alt<Key>M:		Key(apl_Munderbar)\n\
	:Meta<Key>M:		Key(apl_Munderbar)\n\
	:Alt<Key>comma:		Key(apl_upshoejot)\n\
	:Meta<Key>comma:	Key(apl_upshoejot)\n\
	:Alt<Key>less:		Key(apl_commabar)\n\
	:Meta<Key>less:		Key(apl_commabar)\n\
	:Alt<Key>.:		Key(apl_slopebar)\n\
	:Meta<Key>.:		Key(apl_slopebar)\n\
	:Alt<Key>greater:	Key(apl_diaeresisdot)\n\
	:Meta<Key>greater:	Key(apl_diaeresisdot)\n\
	:Alt<Key>/:		Key(apl_slashbar)\n\
	:Meta<Key>/:		Key(apl_slashbar)\n
!
! Keymap for the "not" key, assumed to be above the "6" key on U.S.
! keyboards.  This used to be part of the 3270 base keymap, but does not
! work properly on non-U.S. keyboards.
x3270.keymap.not.3270: \
	:<Key>asciicircum:		Key(notsign)
! Helpful modifier to disply the translation table.
x3270.keymap.t: \
	Meta<Key>t:		XtDisplayTranslations()\n\
	Alt<Key>t:		XtDisplayTranslations()\n
! International keymap modifiers.
x3270.keymap.finnish7:	\
	:<Key>bracketleft:	Key("adiaeresis")\n\
	:<Key>bracketright:	Key("aring")\n\
	:<Key>backslash:	Key("odiaeresis")\n\
	:<Key>braceleft:	Key("Adiaeresis")\n\
	:<Key>braceright:	Key("Aring")\n\
	:<Key>bar:		Key("Odiaeresis")\n
x3270.keymap.norwegian7:	\
	:<Key>bracketleft:	Key("ae")\n\
	:<Key>backslash:	Key("oslash")\n\
	:<Key>bracketright:	Key("aring")\n\
	:<Key>braceleft:	Key("AE")\n\
	:<Key>bar:		Key("Ooblique")\n\
	:<Key>braceright:	Key("Aring")\n\
	:!Meta<Key>u:		Key("udiaeresis")\n\
	:<Key>dollar:		Key("currency")\n\
	:<Key>at:		Key("backslash")\n
! "Old" Norwegian keymap, compatible with older versions of x3270.
x3270.keymap.oldnorwegian7:	\
	:<Key>bracketleft:	Key("AE")\n\
	:<Key>bracketright:	Key("Aring")\n\
	:<Key>backslash:	Key("Ooblique")\n\
	:<Key>braceleft:	Key("ae")\n\
	:<Key>braceright:	Key("aring")\n\
	:<Key>bar:		Key("oslash")\n
! German keymap courtesy of Karlheinz Kandler
x3270.keymap.german7:	\
	:<Key>bracketleft:	Key("adiaeresis")\n\
	:<Key>bracketright:	Key("udiaeresis")\n\
	:<Key>backslash:	Key("odiaeresis")\n\
	:<Key>braceleft:	Key("Adiaeresis")\n\
	:<Key>braceright:	Key("Udiaeresis")\n\
	:<Key>bar:		Key("Odiaeresis")\n\
	:<Key>asciicircum:	Key("^")\n\
	:<Key>asciitilde:	Key("ssharp")\n\
	:<Key>at:		Key("section")\n
! Keymap modifier for RS/6000s with French AZERTY keyboards, which allows
! the diaeresis and circumflex keys to work intuitively (press diaereses,
! press "a", get "adiaeresis, etc.)
x3270.keymap.fr6k:	\
	Shift<Key>dead_diaeresis:	Compose() Key(quotedbl)\n\
	:<Key>dead_circumflex:		Compose() Key(asciicircum)\n
! Icelandic keymap, courtesy of Rikhardur Egilsson
x3270.keymap.icelandic: \
	:<Key>dead_acute:	Compose() Key(apostrophe)\n
!
!=============================================================================
! Section 2: Labels and Messages
!
! These are resources that are likely to be modified for translation
! into another language.
!=============================================================================
!
x3270.errorPopup.title:				x3270 Error
x3270.errorPopup*cancelButton.label:		Exit
x3270.printerErrorPopup.title:			x3270 Printer Error
x3270.childErrorPopup.title:			x3270 Child Process Error
x3270.passwordPopup.title:			x3270 Password
x3270.infoPopup.title:				x3270 Information
x3270.printerInfoPopup.title:			x3270 Printer Information
x3270.childInfoPopup.title:			x3270 Child Process Information
x3270.connectPopup.title:			x3270 Connect
x3270.connectPopup.dialog.label:		Enter Hostname: [L:][Y:][A:][lu@]host[:port][=accept]
x3270.fontPopup.title:				x3270 Font
x3270.fontPopup.dialog.label:			Enter Font Name
x3270.keymapPopup.title:			x3270 Keymap
x3270.keymapPopup.dialog.label:			Enter Keymap Name
x3270.oversizePopup.title:			x3270 Oversize
x3270.oversizePopup.dialog.label:		Enter Dimensions (cols x rows)
x3270.oversizePopup*confirmButton.label:	Resize
x3270.keypadPopup.title:			x3270 Keypad
x3270.printWindowPopup.title:			x3270 Window Print
x3270.printWindowPopup.dialog.label:		Enter Print Command
x3270.printWindowPopup*confirmButton.label:	Print
x3270.passwordPopup.dialog.label:		Enter Private Key Password
#ifdef COLOR
x3270.passwordPopup.dialog*value*foreground:	lavender
#else
x3270.passwordPopup.dialog*value*foreground:	white
x3270.passwordPopup.dialog*value*background:	white
#endif
! (COLOR)
x3270.tracePopup.title:				x3270 Tracing
x3270.tracePopup.dialog.label:			Enter Trace File Name
x3270.tracePopup*confirmButton.label:		Trace
x3270.screenTracePopup.title:			x3270 Screen Save
x3270.screenTracePopup*continuously.label:	Continuously
x3270.screenTracePopup*once.label:		Once
x3270.screenTracePopup*file.label:		To File
x3270.screenTracePopup*printer.label:		To Printer
x3270.screenTracePopup*text.label:		Text
x3270.screenTracePopup*html.label:		HTML
x3270.screenTracePopup*rtf.label:		RichText
x3270.screenTracePopup*fileName.label:		File Name
x3270.screenTracePopup*printCommand.label:	Printer Command
x3270.saveOptionsPopup.title:			x3270 Save Changed Options
x3270.saveOptionsPopup.dialog.label:		Enter Profile/Session File Name
x3270.saveOptionsPopup*confirmButton.label:	Save
x3270.aboutCopyrightPopup.title:		x3270 Copyright
x3270.aboutConfigPopup.title:			x3270 Configuration
x3270.aboutStatusPopup.title:			x3270 Connection Status
x3270.connectPopup*confirmButton.label:		Connect
x3270.fontPopup*confirmButton.label:		Select Font
x3270.keymapPopup*confirmButton.label:		Select Keymap
x3270.ftPopup.title:				x3270 File Transfer
x3270.ftProgressPopup.title:			x3270 File Transfer
x3270.ftOverwritePopup.title:			x3270 File Transfer
x3270.idlePopup.title:				x3270 Idle Command
x3270.kmPopup.title:				x3270 Keymap
x3270*confirmButton.label:			OK
x3270.printerErrorPopup*cancelButton.label:	Abort Printer
x3270.printerInfoPopup*cancelButton.label:	Abort Printer
x3270.childErrorPopup*cancelButton.label:	Discard Output
x3270.childInfoPopup*cancelButton.label:	Discard Output
x3270*cancelButton.label:			Cancel
x3270*helpOption.label:				Help
x3270*aboutOption.label:			About x3270...
x3270*aboutCopyright.label:			Copyright
x3270*aboutConfig.label:			Configuration
x3270*aboutStatus.label:			Connection Status
x3270*ftOption.label:				File Transfer...
x3270*printerOption.label:			Printer Session
x3270*assocButton.label:			Start, associate with current LU
x3270*luButton.label:				Start, specific LU...
x3270*printerOffButton.label:			Stop Printer
x3270*abortScriptOption.label:			Abort Scripts/Macros/Strings
x3270*disconnectOption.label:			Disconnect
x3270*exitOption.label:				Exit x3270
x3270*exitReallyOption.label:			Disconnect and Exit
x3270*printWindowOption.label:			Print Window Bitmap
x3270*promptOption.label:			x3270> Prompt
x3270*reenableKeyboardOption.label:		Re-enable Keyboard
x3270*fileMenuButton.label:			File
x3270*fileMenu.label:				File
x3270.ftPopup*justify:				left
x3270.ftPopup*send.label:			Send to host
x3270.ftPopup*receive.label:			Receive from host
x3270.ftPopup*ascii.label:			Transfer ASCII file
x3270.ftPopup*cr.label:				Add/remove CR at end of line
x3270.ftPopup*binary.label:			Transfer binary file
x3270.ftPopup*local.label:			Local File Name
x3270.ftPopup*host.label:			Host File Name
x3270.ftPopup*append.label:			Append to file
x3270.ftPopup*remap.label:			Remap ASCII Characters
x3270.ftPopup*vm.label:				Host is VM/CMS
x3270.ftPopup*tso.label:			Host is TSO
x3270.ftPopup*cics.label:			Host is CICS
x3270.ftPopup*confirmButton.label:		Transfer File
x3270.ftPopup*file.label:			Record Format
x3270.ftPopup*recfmDefault.label:		Default
x3270.ftPopup*fixed.label:			Fixed
x3270.ftPopup*variable.label:			Variable
x3270.ftPopup*undefined.label:			Undefined
x3270.ftPopup*units.label:			Space Allocation Units
x3270.ftPopup*spaceDefault.label:		Default
x3270.ftPopup*tracks.label:			Tracks
x3270.ftPopup*cylinders.label:			Cylinders
x3270.ftPopup*avblock.label:			Avblock
x3270.ftPopup*lrecl.label:			Record Length
x3270.ftPopup*blksize.label:			Block Size
x3270.ftPopup*primspace.label:			Primary Space
x3270.ftPopup*secspace.label:			Secondary Space
x3270.ftPopup*avblockSize.label:		Avblock Size
x3270.ftPopup*buffersize.label:			DFT Buffer Size
x3270.ftProgressPopup*fromLabel.label:		Source:
x3270.ftProgressPopup*fromLabel.justify:	right
x3270.ftProgressPopup*toLabel.label:		Destination:
x3270.ftProgressPopup*toLabel.justify:		right
x3270.ftProgressPopup*filename.justify:		left
x3270.ftOverwritePopup*overwriteName.label:	Overwrite existing file %s?
x3270.ftProgressPopup*waiting.label:		Waiting for host acknowledgment...
x3270.ftProgressPopup*status.label:		%lu bytes transferred
x3270.ftProgressPopup*aborting.label:		Aborting transfer...
x3270.idlePopup*justify:			left
x3270.idlePopup*command.label:			Command(s)
x3270.idlePopup*timeout.label:			Timeout Value
x3270.idlePopup*enable.label:			Enable for this session
x3270.idlePopup*enablePerm.label:		Enable whenever connected
x3270.idlePopup*disable.label:			Disable
x3270.idlePopup*hours.label:			Hours
x3270.idlePopup*minutes.label:			Minutes
x3270.idlePopup*seconds.label:			Seconds
x3270.idlePopup*fuzz.label:			Vary time 0..10%
x3270.printerLuPopup.title:			x3270 Printer Session
x3270.printerLuPopup.dialog.label:		Enter LU Name
x3270.printerLuPopup*confirmButton.label:	Start Session
x3270*optionsMenuButton.label:			Options
x3270*optionsMenu.label:			Options
x3270*connectMenuButton.label:			Connect
x3270*macrosMenuButton.label:			Macros
x3270*macrosMenu.label:				Macros
x3270*hostMenu.label:				Connect
x3270*recentOption.label:			Recent
x3270*helpButton.label:				Help
x3270*otherHostOption.label:			Other...
x3270*togglesOption.label:			Toggles
x3270*fontsOption.label:			Font
x3270*modelsOption.label:			Screen Size
x3270*snapOption.label:				Snap Window Size
x3270*colorsOption.label:			Color Scheme
x3270*codepageOption.label:			Code Page
x3270*keymapOption.label:			Change Keymap...
x3270*idleCommandOption.label:			Configure Idle Command
x3270*keypadOption.label:			Keypad
x3270*monocaseOption.label:			Monocase
x3270*cursorBlinkOption.label:			Blinking Cursor
x3270*typeaheadOption.Label:			Typeahead
x3270*showTimingOption.label:			Show Timing
x3270*cursorPosOption.label:			Track Cursor
x3270*traceOption.label:			Trace Data and Events
x3270*screenTraceOption.label:			Save Screen Contents
x3270*scrollBarOption.label:			Scrollbar
x3270*lineWrapOption.label:			Wraparound
x3270*marginedPasteOption.label:		Paste with Left Margin
x3270*overlayPasteOption.label:			Overlay Paste
x3270*rectangleSelectOption.label:		Select by Rectangles
x3270*blankFillOption.label:			Blank Fill
x3270*crosshairOption.label:			Crosshair Cursor
x3270*visibleControlOption.label:		Visible Control Chars
x3270*underlineCursorOption.label:		Underline Cursor
x3270*blockCursorOption.label:			Block Cursor
x3270*otherFontOption.label:			Other...
x3270*lineModeOption.label:			Line Mode
x3270*characterModeOption.label:		Character Mode
x3270*extendedDsOption.label:			Extended 3270 Data Stream
x3270*m3278Option.label:			Monochrome (3278) Emulation
x3270*m3279Option.label:			Color (3279) Emulation
x3270*model2Option.label:			Model 2 (80x24)
x3270*model3Option.label:			Model 3 (80x32)
x3270*model4Option.label:			Model 4 (80x43)
x3270*model5Option.label:			Model 5 (132x27)
x3270*oversizeOption.label:			Oversize...
x3270*saveOption.label:				Save Changed Options
x3270*alwaysInsertOption.label:			Default Insert Mode
!
! Messages
x3270.message.processId:			Process ID:
x3270.message.windowId:				Main window ID:
x3270.message.pseudoColor:			pseudo-color
x3270.message.emulatorFont:			Emulator font:
x3270.message.emulatorFontDbcs:			DBCS emulator font:
x3270.message.xFont:				standard X11 font
x3270.message.cgFont:				special 3270 CG font
x3270.message.codepage:				Host EBCDIC code page:
x3270.message.displayCharacterSet:		Display character set:
x3270.message.displayCharacterSetDbcs:		DBCS display character set:
x3270.message.require:				require
x3270.message.have:				have
x3270.message.defaultKeyboardMap:		Default keyboard map
x3270.message.composeMap:			Compose-key map:
x3270.message.noComposeMap:			No compose-key map
x3270.message.activeIcon:			Active icon
x3270.message.iconFont:				Icon font:
x3270.message.iconLabelFont:			Icon label font:
x3270.message.staticIcon:			Static bitmap icon
x3270.message.statusDbcs:			<S>
x3270.message.statusNotConnected:		Not Connected
x3270.message.statusTwait:			Wait
x3270.message.statusSyswait:			SYSTEM
x3270.message.statusProtected:			Protected
x3270.message.statusNumeric:			NUM
x3270.message.statusOverflow:			Overflow
x3270.message.statusInhibit:			Inhibit
x3270.message.statusScrolled:			Scrolled
x3270.message.statusMinus:			-f
x3270.message.statusConnecting:			[TCP]
x3270.message.statusTlsPending:			[TLS]
x3270.message.statusProxyPending:		[Proxy]
x3270.message.statusTelnetPending:		[TELNET]
x3270.message.statusTn3270ePending:		[TN3270E]
x3270.message.statusAwaitingFirst:		[Field]
x3270.message.statusDisabled:			Disabled
x3270.message.statusReconnecting:		Reconnecting
x3270.message.statusResolving:			[DNS]
x3270.message.inputMethod:			X11 Input Method (XIM):
x3270.message.ximState:				state:
x3270.message.ximDisabled:			failed
x3270.message.ximNotFound:			not found
x3270.message.ximActive:			active
x3270.message.ximLocale:			locale:
x3270.message.ximEncoding:			encoding:
x3270.message.kmEvent:				Event
x3270.message.kmKeymapLine:			Keymap:Line
x3270.message.kmActions:			Actions
x3270.message.kmOverridden:			\ -- overridden --
x3270.message.kmKeymap:				Keymap
x3270.message.kmTemporaryKeymap:		Temporary keymap
x3270.message.kmFile:				from file
x3270.message.kmResource:			from resource
x3270.message.kmFromServer:			\ (expanded from '@server')
!
!=============================================================================
! Section 3: Base-Level Resources
!
! Resources required for the basic operation of x3270, not for the
! faint-hearted to modify.
!=============================================================================
!
! App-defaults file version
x3270.adVersion:		3.3.4
!
! Fonts
x3270.aplFont:			3270
x3270.debugFont:		3270d
x3270.iconFont:			nil2
x3270.iconLabelFont:		8x13
x3270*keyPad*large*font: 	fixed
x3270*keyPad*small*font:	-*-fixed-medium-r-semicondensed-*-12-*-*
x3270*value*font:		fixed
x3270*dataLabel.font:		 -*-courier-medium-r-normal--14-*-100-100-m-*-iso8859-1
!x3270*smallLabel.font:		5x7
x3270*smallLabel.font:		6x13
x3270*filename*font:		fixed
x3270*kmPopup*text*font:	fixed
x3270*font:			-*-helvetica-bold-r-normal--14-*-100-100-p-*-iso8859-1
!
! Menu configuration
x3270*menuBarContainer.borderWidth:		2
#ifdef COLOR
x3270*scrollbar.background:			grey
x3270.keypadBackground:				grey
x3270*menuBarContainer.background:		grey
x3270*menuBarContainer.borderColor:		grey40
x3270*fileMenuButton*background:		grey
x3270*optionsMenuButton*background:		grey
x3270*connectMenuButton*background:		grey
x3270*macrosMenuButton*background:		grey
x3270*helpButton*background:			grey
x3270*keypadButton*background:			grey
x3270*lockedIcon*background:			grey
x3270*lockedIcon*foreground:			green4
x3270*lockedIcon*borderColor:			grey
x3270*unverifiedIcon*background:		grey
x3270*unverifiedIcon*foreground:		yellow4
x3270*unverifiedIcon*borderColor:		grey
x3270*unlockedIcon*background:			grey
x3270*unlockedIcon*borderColor:			grey
x3270*fileMenuButton*borderColor:		grey
x3270*optionsMenuButton*borderColor:		grey
x3270*connectMenuButton*borderColor:		grey
x3270*macrosMenuButton*borderColor:		grey
x3270*helpButton*borderColor:			grey
#else
x3270*fileMenuButton*borderColor:		XtDefaultBackground
x3270*optionsMenuButton*borderColor:		XtDefaultBackground
x3270*connectMenuButton*borderColor:		XtDefaultBackground
x3270*macrosMenuButton*borderColor:		XtDefaultBackground
x3270*helpButton*borderColor:			XtDefaultBackground
#endif
! (COLOR)
x3270*fileMenuButton*highlightThickness:	1
x3270*optionsMenuButton*highlightThickness:	1
x3270*connectMenuButton*highlightThickness:	1
x3270*macrosMenuButton*highlightThickness:	1
x3270*helpButton*highlightThickness:	1
x3270*keypadButton*highlightThickness:		1
#ifdef COLOR
x3270*fileMenu*background:			grey
x3270*exitMenu*background:			grey
x3270*optionsMenu*background:			grey
x3270*hostMenu*background:			grey
x3270*macrosMenu*background:			grey
x3270*togglesMenu*background:			grey
x3270*fontsMenu*background:			grey
x3270*modelsMenu*background:			grey
x3270*colorsMenu*background:			grey
x3270*codepageMenu*background:			grey
x3270*printerMenu*background:			grey
#endif
! (COLOR)
x3270*fileMenu.borderWidth:			2
x3270*exitMenu.borderWidth:			2
x3270*optionsMenu.borderWidth:			2
x3270*hostMenu.borderWidth:			2
x3270*macrosMenu.borderWidth:			2
x3270*togglesMenu.borderWidth:			2
x3270*fontsMenu.borderWidth:			2
x3270*modelsMenu.borderWidth:			2
x3270*colorsMenu.borderWidth:			2
x3270*codepageMenu.borderWidth:			2
#ifdef COLOR
x3270*fileMenu.borderColor:			grey40
x3270*exitMenu.borderColor:			grey40
x3270*optionsMenu.borderColor:			grey40
x3270*hostMenu.borderColor:			grey40
x3270*macrosMenu.borderColor:			grey40
x3270*togglesMenu.borderColor:			grey40
x3270*fontsMenu.borderColor:			grey40
x3270*modelsMenu.borderColor:			grey40
x3270*colorsMenu.borderColor:			grey40
x3270*codepageMenu.borderColor:			grey40
#endif
! (COLOR)
x3270*fileMenu*leftMargin:			20
x3270*fileMenu*rightMargin:			20
x3270*optionsMenu*rightMargin:			20
x3270*togglesMenu*leftMargin:			20
x3270*fontsMenu*leftMargin:			20
x3270*fontsMenu*rightMargin:			20
x3270*modelsMenu*leftMargin:			20
x3270*colorsMenu*leftMargin:			20
x3270*colorsMenu*rightMargin:			20
x3270*codepageMenu*leftMargin:			20
x3270*codepageMenu*rightMargin:			20
x3270*hostMenu*rightMargin:			20
x3270*macrosMenu*rightMargin:			20
!
! Confirm and cancel buttons
!  borderWidth and borderColor are never specified anywhere else, so these
!  always apply
x3270*confirmButton.borderWidth:		2
x3270*confirm2Button*borderWidth:		2
x3270*cancelButton*borderWidth:			2
#ifdef COLOR
x3270**confirmButton.borderColor:		grey40
x3270**confirmButton.borderColor:		grey40
x3270**confirm2Button.borderColor:		grey40
x3270**cancelButton.borderColor:		grey40
#endif
! (COLOR)
!  foreground and background are often overridden by other resources, so they
!  must be specified explicitly for each instance
#ifdef COLOR
x3270*dialog*confirmButton.foreground:		black
x3270*dialog*confirmButton.background:		grey80
x3270*dialog*confirm2Button.background:		grey80
x3270*dialog*cancelButton.foreground:		firebrick
x3270*dialog*cancelButton.background:		grey80
#endif
! (COLOR)
!
! Values
!  borderWidth and borderColor are never specified anywhere else, so these
!  always apply
#ifdef COLOR
x3270*value.borderWidth:			2
x3270*value.borderColor:			grey40
#endif
! (COLOR)
!  background is overridden by dialog*background, so it must be specified
!  explicitly
#ifdef COLOR
x3270*dialog*value*background:			lavender
#endif
! (COLOR)
!
! Overall defaults for dialog boxes
#ifdef COLOR
x3270*dialog*background:			grey
x3270*dialog*foreground:			black
#endif
! (COLOR)
!
! Fixed popup sizes
x3270.errorPopup.width:				500
x3270.printerErrorPopup.width:			500
x3270.childErrorPopup.width:			500
x3270.infoPopup.width:				500
x3270.printerInfoPopup.width:			500
x3270.childInfoPopup.width:			500
!x3270.printerLuPopup.width:			300
!x3270.connectPopup.width:			500
!x3270.fontPopup.width:				300
!x3270.keymapPopup.width:			300
!x3270.oversizePopup.width:			300
!x3270.printWindowPopup.width:			300
!x3270.tracePopup.width:				300
!x3270.executeActionPopup.width:			300
!x3270.saveOptionsPopup.width:			300
!x3270.passwordPopup.width:			300
!
! Nondefault definitions for complex pop-ups
#ifdef COLOR
x3270.aboutCopyrightPopup*icon.foreground:	darkslateblue
x3270.aboutConfigPopup*icon.foreground:		darkslateblue
x3270.aboutStatusPopup*icon.foreground:		darkslateblue
x3270.errorPopup*label.foreground:		firebrick
x3270.printerErrorPopup*label.foreground:	firebrick
x3270.childErrorPopup*label.foreground:		firebrick
x3270.ftProgressPopup*filename.borderWidth:	2
x3270.ftProgressPopup*filename.borderColor:	grey40
x3270.ftProgressPopup*filename.background:	lavender
#endif
! (COLOR)
!
! Keypad key dimensions, in pixels
x3270.keypad.keyHeight:		24
x3270.keypad.keyWidth:		48
x3270.keypad.pfWidth:		32
x3270.keypad.paWidth:		36
x3270.keypad.largeKeyWidth:	56
!
! Keymap display pop-up
!
x3270*keymapDisplayOption.label:		Display Current Keymap
x3270.kmPopup*label.label:			Current Keyboard Map
x3270.kmPopup*sortActionOption.label:		Sort by Action
x3270.kmPopup*sortKeymapOption.label:		Sort by Keymap
x3270.kmPopup*sortEventOption.label:		Sort by Event
x3270.kmPopup*text*background:			lavender
x3270.kmPopup*text*foreground:			black
x3270.kmPopup*text.height:			250
x3270.kmPopup*text.width:			500
!
! Basic event translations -- these should NEVER be changed without significant
! code changes
x3270.translations: #override \n\
	<Message>WM_PROTOCOLS:		PA-WMProtocols()\n\
	<KeymapNotify>:			PA-KeymapNotify()\n\
	<PropertyNotify>WM_STATE:	PA-StateChanged()\n\
	<FocusIn>:			PA-Focus()\n\
	<FocusOut>:			PA-Focus()\n\
	<ConfigureNotify>:		PA-ConfigureNotify()
x3270.container.translations: #override \n\
	<KeyPress>Shift_L:		PA-Shift()\n\
	<KeyRelease>Shift_L:		PA-Shift()\n\
	<KeyPress>Shift_R:		PA-Shift()\n\
	<KeyRelease>Shift_R:		PA-Shift()\n\
	<KeyPress>Meta_L:		PA-Shift()\n\
	<KeyRelease>Meta_L:		PA-Shift()\n\
	<KeyPress>Meta_R:		PA-Shift()\n\
	<KeyRelease>Meta_R:		PA-Shift()\n\
	<KeyPress>Alt_L:		PA-Shift()\n\
	<KeyRelease>Alt_L:		PA-Shift()\n\
	<KeyPress>Alt_R:		PA-Shift()\n\
	<KeyRelease>Alt_R:		PA-Shift()\n\
	:<Key>:				Default()\n\
	:<BtnDown>:			Default()\n\
	:<BtnUp>:			Default()
x3270*screen.translations:		#override \n\
	<Expose>:			PA-Expose()\n\
	<VisibilityNotify>:		PA-VisibilityNotify()\n\
	<GraphicsExpose>:		PA-GraphicsExpose()\n\
	<KeyPress>Shift_L:		PA-Shift()\n\
	<KeyRelease>Shift_L:		PA-Shift()\n\
	<KeyPress>Shift_R:		PA-Shift()\n\
	<KeyRelease>Shift_R:		PA-Shift()\n\
	<KeyPress>Meta_L:		PA-Shift()\n\
	<KeyRelease>Meta_L:		PA-Shift()\n\
	<KeyPress>Meta_R:		PA-Shift()\n\
	<KeyRelease>Meta_R:		PA-Shift()\n\
	<KeyPress>Alt_L:		PA-Shift()\n\
	<KeyRelease>Alt_L:		PA-Shift()\n\
	<KeyPress>Alt_R:		PA-Shift()\n\
	<KeyRelease>Alt_R:		PA-Shift()\n\
	:<Key>:				Default()\n\
	:<BtnDown>:			Default()\n\
	:<BtnUp>:			Default()
x3270icon.translations:			#override \n\
	<Expose>:			PA-Expose()
x3270.keypadPopup.translations: #override \n\
	<Message>WM_PROTOCOLS:		PA-WMProtocols()\n\
	<KeymapNotify>:			PA-KeymapNotify()\n\
	<Enter>:			PA-EnterLeave()\n\
	<Leave>:			PA-EnterLeave()
x3270.keypadPopup.container.translations: #override \n\
	<KeyPress>Shift_L:		PA-Shift()\n\
	<KeyRelease>Shift_L:		PA-Shift()\n\
	<KeyPress>Shift_R:		PA-Shift()\n\
	<KeyRelease>Shift_R:		PA-Shift()\n\
	<KeyPress>Meta_L:		PA-Shift()\n\
	<KeyRelease>Meta_L:		PA-Shift()\n\
	<KeyPress>Meta_R:		PA-Shift()\n\
	<KeyRelease>Meta_R:		PA-Shift()\n\
	<KeyPress>Alt_L:		PA-Shift()\n\
	<KeyRelease>Alt_L:		PA-Shift()\n\
	<KeyPress>Alt_R:		PA-Shift()\n\
	<KeyRelease>Alt_R:		PA-Shift()\n\
	:<Key>:				Default()
x3270.errorPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.printerErrorPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.childErrorPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.errorPopup*translations:		#override \n\
	<Key>Return:			PA-confirm()
x3270.printerErrorPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.childErrorPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.infoPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.printerInfoPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.childInfoPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.infoPopup*translations:		#override \n\
	<Key>Return:			PA-confirm()
x3270.printerInfoPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.childInfoPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.passwordPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.connectPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.fontPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.keymapPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.printWindowPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.tracePopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.screenTracePopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.screenTracePopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.executeActionPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.saveOptionsPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.aboutCopyrightPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.aboutCopyrightPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.aboutConfigPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.aboutConfigPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.aboutStatusPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.aboutStatusPopup*translations:	#override \n\
	<Key>Return:			PA-confirm()
x3270.kmPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.kmPopup*translations:		#override \n\
	<Key>Return:			PA-confirm()
x3270.luPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.ftPopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
! Note: WM_PROTOCOLS is explicitly not defined for ftPopup, so that the user
! can clear error conditions while a transfer is in progress.
x3270.ftOverwritePopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.ftPopup*value.translations:	#override \n\
	<Key>Return:			PA-dialog-next()\n\
	<Key>Tab:			PA-dialog-next()\n\
	<Btn1Down>:			PA-dialog-focus() select-start()\n\
	Ctrl<Key>U:			select-all(DUMMY) delete-selection()
x3270.idlePopup.translations: \
	<Message>WM_PROTOCOLS:		PA-WMProtocols()
x3270.idlePopup*value.translations:	#override \n\
	<Key>Return:			PA-dialog-next()\n\
	<Key>Tab:			PA-dialog-next()\n\
	<Btn1Down>:			PA-dialog-focus() select-start()\n\
	Ctrl<Key>U:			select-all(DUMMY) delete-selection()
x3270.screenTracePopup*value.translations:	#override \n\
	<Key>Return:			PA-confirm()\n\
	Ctrl<Key>U:			select-all(DUMMY) delete-selection()
x3270*value.translations:		#override \n\
	<Key>Return:			PA-confirm()\n\
	Ctrl<Key>U:			select-all(DUMMY) delete-selection()
x3270*value.width:			300
! Workaround for Xaw MenuButton bug that keeps menu items from highlighting
! when CapsLock or NumLock are down.  Technically, this would require
! translations for all permutations of all 8 modifiers: shift, lock, control,
! mod1, mod2, mod3, mod4 and mod5.  However, we will leave out shift and
! control, since they are "voluntary" key presses and would quadruple the
! size of this resource.
x3270*MenuButton.translations:	#override \n\
	Lock<BtnDown>:				reset() PopupMenu()\n\
	Mod1<BtnDown>:				reset() PopupMenu()\n\
	Lock Mod1<BtnDown>:			reset() PopupMenu()\n\
	Mod2<BtnDown>:				reset() PopupMenu()\n\
	Lock Mod2<BtnDown>:			reset() PopupMenu()\n\
	Mod1 Mod2<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod1 Mod2<BtnDown>:		reset() PopupMenu()\n\
	Mod3<BtnDown>:				reset() PopupMenu()\n\
	Lock Mod3<BtnDown>:			reset() PopupMenu()\n\
	Mod1 Mod3<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod1 Mod3<BtnDown>:		reset() PopupMenu()\n\
	Mod2 Mod3<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod2 Mod3<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod2 Mod3<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod3<BtnDown>:		reset() PopupMenu()\n\
	Mod4<BtnDown>:				reset() PopupMenu()\n\
	Lock Mod4<BtnDown>:			reset() PopupMenu()\n\
	Mod1 Mod4<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod1 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Mod2 Mod4<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod2 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod2 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Mod3 Mod4<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod3 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod3 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod3 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Mod2 Mod3 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod2 Mod3 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod2 Mod3 Mod4<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod3 Mod4<BtnDown>:	reset() PopupMenu()\n\
	Mod5<BtnDown>:				reset() PopupMenu()\n\
	Lock Mod5<BtnDown>:			reset() PopupMenu()\n\
	Mod1 Mod5<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod1 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod2 Mod5<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod2 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod2 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod3 Mod5<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod3 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod3 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod3 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod2 Mod3 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod2 Mod3 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod2 Mod3 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod3 Mod5<BtnDown>:	reset() PopupMenu()\n\
	Mod4 Mod5<BtnDown>:			reset() PopupMenu()\n\
	Lock Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod2 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod2 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod2 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod4 Mod5<BtnDown>:	reset() PopupMenu()\n\
	Mod3 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod3 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Mod1 Mod3 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod1 Mod3 Mod4 Mod5<BtnDown>:	reset() PopupMenu()\n\
	Mod2 Mod3 Mod4 Mod5<BtnDown>:		reset() PopupMenu()\n\
	Lock Mod2 Mod3 Mod4 Mod5<BtnDown>:	reset() PopupMenu()\n\
	Mod1 Mod2 Mod3 Mod4 Mod5<BtnDown>:	reset() PopupMenu()\n\
	Lock Mod1 Mod2 Mod3 Mod4 Mod5<BtnDown>:	reset() PopupMenu()
!
! Compose-key map for APL.
x3270.composeMap.apl: \
	A + underscore		= apl_Aunderbar		\n\
	B + underscore		= apl_Bunderbar		\n\
	C + underscore		= apl_Cunderbar		\n\
	D + underscore		= apl_Dunderbar		\n\
	E + underscore		= apl_Eunderbar		\n\
	F + underscore		= apl_Funderbar		\n\
	G + underscore		= apl_Gunderbar		\n\
	H + underscore		= apl_Hunderbar		\n\
	I + underscore		= apl_Iunderbar		\n\
	J + underscore		= apl_Junderbar		\n\
	K + underscore		= apl_Kunderbar		\n\
	L + underscore		= apl_Lunderbar		\n\
	M + underscore		= apl_Munderbar		\n\
	N + underscore		= apl_Nunderbar		\n\
	O + underscore		= apl_Ounderbar		\n\
	P + underscore		= apl_Punderbar		\n\
	Q + underscore		= apl_Qunderbar		\n\
	R + underscore		= apl_Runderbar		\n\
	S + underscore		= apl_Sunderbar		\n\
	T + underscore		= apl_Tunderbar		\n\
	U + underscore		= apl_Uunderbar		\n\
	V + underscore		= apl_Vunderbar		\n\
	W + underscore		= apl_Wunderbar		\n\
	X + underscore		= apl_Xunderbar		\n\
	Y + underscore		= apl_Yunderbar		\n\
	Z + underscore		= apl_Zunderbar		\n\
	apl_upcaret + apl_downcaret = apl_diamond	\n\
	apl_quad + apl_jot	= apl_quadjot		\n\
	apl_iota + underscore	= apl_iotaunderbar	\n\
	apl_epsilon + underscore = apl_epsilonunderbar	\n\
	less + equal		= apl_notgreater	\n\
	plus + minus		= apl_plusminus		\n\
	greater + equal		= apl_notless		\n\
	equal + slash		= apl_notequal		\n\
	apl_upcaret + apl_tilde	= apl_upcarettilde	\n\
	apl_upcaret + asciitilde = apl_upcarettilde	\n\
	apl_downcaret + apl_tilde = apl_downcarettilde	\n\
	apl_downcaret + asciitilde = apl_downcarettilde	\n\
	apl_circle + apl_stile	= apl_circlestile	\n\
	apl_circle + bar	= apl_circlestile	\n\
	apl_quad + apl_slope	= apl_slopequad		\n\
	apl_quad + backslash	= apl_slopequad		\n\
	apl_circle + apl_slope	= apl_circleslope	\n\
	apl_circle + backslash	= apl_circleslope	\n\
	apl_downtack + apl_uptack = apl_downtackup	\n\
	apostrophe + period	= apl_quotedot		\n\
	apl_del + apl_stile	= apl_delstile		\n\
	apl_del + bar		= apl_delstile		\n\
	apl_delta + apl_stile	= apl_deltastile	\n\
	apl_delta + bar		= apl_deltastile	\n\
	apl_quad + apostrophe	= apl_quadquote		\n\
	apl_upshoe + apl_jot	= apl_upshoejot		\n\
	slash + minus		= apl_slashbar		\n\
	apl_slope + minus	= apl_slopebar		\n\
	backslash + minus	= apl_slopebar		\n\
	apl_diaeresis + period	= apl_diaeresisdot	\n\
	apl_circle + minus	= apl_circlebar		\n\
	apl_quad + apl_divide	= apl_quaddivide	\n\
	apl_uptack + apl_jot	= apl_uptackjot		\n\
	apl_del + apl_tilde	= apl_deltilde		\n\
	apl_del + asciitilde	= apl_deltilde		\n\
	apl_delta + underscore	= apl_deltaunderbar	\n\
	apl_circle + asterisk	= apl_circlestar	\n\
	apl_downtack + apl_jot	= apl_downtackjot	\n\
	equal + underscore	= apl_equalunderbar	\n\
	apl_quad + apl_quad	= apl_squad		\n\
	apl_diaeresis + apl_jot	= apl_diaeresisjot	\n\
	apl_diaeresis + apl_circle = apl_diaeresiscircle \n\
	comma + minus		= apl_commabar		\n\
	c + equal		= apl_euro		\n\
	C + equal		= apl_euro		\n\
	minus + parenleft	= apl_lefttack		\n\
	minus + parenright	= apl_righttack		\n
