An example x3270 profile
This is what I use.
Save this file as $HOME/.x3270pro
FYI: This uses the <Enter>
key as Newline and the <Right Ctrl>
key as Enter.
! x3270 profile
! =============
! Sensible defaults, and Emacs-like keybindings.
! Chris Poole.
! Keyboard config
! ---------------
! keypad state (-keypad)
x3270.keypadOn: false
! keymap (-keymap)
x3270.keymap: @server
! Use the 'mine' keymap, defined below
x3270.keymap: mine
! Definition of the 'mine' keymap
! More-specific definitions must come before less-specific definitions.
! The definition for Shift<Key>Backspace must come before the
! definition for <Key>BackSpace
x3270.keymap.mine: #override \
<Key>Escape : Attn()\n\
<Key>Return : Newline()\n\
<Key>Control_R : Enter()\n\
<Key>Control_L : Reset()\n\
<Key>ISO_Level3_Shift : Enter()\n\
Ctrl Alt Mod2<Key>d : Disconnect()\n\
Ctrl<Key>F9 : PF(21)\n\
<Key>Prior : PF(7)\n\
<Key>Next : PF(8)\n\
Shift<Key>Return : Up()\n\
Ctrl<Key>c : Clear()\n\
Ctrl<Key>g : Redraw()\n\
Ctrl<Key>h : Home()\n\
Ctrl<Key>i : ToggleInsert()\n\
Ctrl<Key>r : Reset()\n\
Ctrl<Key>1 : PA(1)\n\
Ctrl<Key>2 : PA(2)\n\
Ctrl<Key>3 : PA(3)\n\
Meta<Key>w : set-select(CLIPBOARD)\n\
Ctrl<Key>y : insert-selection(CLIPBOARD)\n\
Ctrl<Key>a : BackTab()\n\
Ctrl<Key>e : FieldEnd()\n\
Ctrl<Key>p : Up()\n\
Ctrl<Key>n : Down()\n\
Ctrl<Key>b : Left()\n\
Ctrl<Key>f : Right()\n\
Meta<Key>b : PreviousWord()\n\
Meta<Key>f : NextWord()\n\
Ctrl<Key>v : PF(8)\n\
Meta<Key>v : PF(7)\n\
Ctrl<Key>d : Delete()\n\
Ctrl<Key>k : EraseEOF()\n\
Meta<Key>w : DeleteWord()
! Miscellaneous
! -------------
! Use block cursor
x3270.altCursor: false
x3270.scrollBar: false
! Colors of menus
x3270.background: black
x3270.foreground: red
! Silence the bell
x3270.bellVolume: -100
x3270.visualBell: true
! Use a larger font
x3270.emulatorFont: 3270-20
! Window size; 160x62 is maximum in PCOMM
x3270.oversize: 160x62
x3270.model: 3279-5-E
! Demo mode:
!x3270.emulatorFont: 3270gt32
!x3270.oversize: 96x26
!x3270.model: 3279-2-E
! Crosshair
x3270.crosshair: true
! Pull-down menus: Ctrl and each of the mouse buttons
!x3270.menuBar: false
! Don't reconnect automatically
x3270.reconnect: false
! Don't allow windows to be resized
x3270.allowResize: false
! When pasting text, treat columns to the left of the cursor as a martin to
! avoid printing into
x3270.marginedPaste: true
! Complete list of defaults can be found at:
! http://stuff.mit.edu/afs/athena/astaff/source/src-8.4/third/x3270/X3270.xad
! File updated Fri Sep 30 21:24:31 2022 by x3270 v4.2ga5 Wed Sep 21 01:33:39 UTC 2022 dastagg
! Color Scheme
! ------------
x3270.colorScheme.cjp: \
black blue red magenta \
green turquoise yellow white \
black blue3 orange purple \
paleGreen cyan grey white \
white black dimGray \
4 2 1 15
! x3270.colorScheme: cjp
! Default, for reference
! x3270.colorScheme.default: \
! black deepSkyBlue red pink \
! green turquoise yellow white \
! black blue3 orange purple \
! paleGreen paleTurquoise2 grey white \
! white black dimGray \
! 4 2 1 15
! --------------------------------------------------
! .x3270pro file generated using x3270.nice by Soldier of FORTRAN
! Original Xresource file: 'Argonaut'
! Copy and paste this output to ~/.x3270pro
! --------------------------------------------------
! Original Xresource file:
! --------------------------------------------------
! Generated with :
! XRDB2Xreources.py
! *.foreground: #fffaf4
! *.background: #0e1019
! Black
! *.color0: #232323
! *.color8: #444444
! Red
! *.color1: #ff000f
! *.color9: #ff2740
! Green
! *.color2: #8ce10b
! *.color10: #abe15b
! Yellow
! *.color3: #ffb900
! *.color11: #ffd242
! Blue
! *.color4: #008df8
! *.color12: #0092ff
! Magenta
! *.color5: #6d43a6
! *.color13: #9a5feb
! Cyan
! *.color6: #00d8eb
! *.color14: #67fff0
! White
! *.color7: #ffffff
! *.color15: #ffffff
! Bold, Italic, Underline
! *.colorIT:
! *.colorUL:
! --------------------------------------------------
! Adding theme to Options -> Color Scheme
! --------------------------------------------------
x3270.schemeList: Default 3279: default\n\
Bright: bright\n\
Reverse: reverse\n\
Green Screen: greenScreen\n\
Argonaut: Argonaut
! --------------------------------------------------
! Generating Argonaut .x3270pro theme
! --------------------------------------------------
! Menu Colors: Foreground
! --------------------------------------------------
x3270*dialog*confirmButton.foreground : #fffaf4
x3270*dialog*foreground : #fffaf4
x3270.aboutPopup*icon.foreground : #fffaf4
x3270.keypadForeground : #fffaf4
x3270*menuBarContainer.foreground : #fffaf4
x3270*fileMenuButton*foreground : #fffaf4
x3270*optionsMenuButton*foreground : #fffaf4
x3270*connectMenuButton*foreground : #fffaf4
x3270*reconnectButton*foreground : #fffaf4
x3270*macrosMenuButton*foreground : #fffaf4
x3270*keypadButton*foreground : #fffaf4
x3270*fileMenu*foreground : #fffaf4
x3270*exitMenu*foreground : #fffaf4
x3270*optionsMenu*foreground : #fffaf4
x3270*hostMenu*foreground : #fffaf4
x3270*reconnect*foreground : #fffaf4
x3270*macrosMenu*foreground : #fffaf4
x3270*togglesMenu*foreground : #fffaf4
x3270*fontsMenu*foreground : #fffaf4
x3270*modelsMenu*foreground : #fffaf4
x3270*colorsMenu*foreground : #fffaf4
x3270*charsetMenu*foreground : #fffaf4
x3270*dialog*value*foreground : #fffaf4
x3270*dialog*foreground : #fffaf4
x3270*dialog*confirmButton.foreground : #fffaf4
x3270*dialog*confirm2Button.foreground : #fffaf4
3270*dialog*cancelButton.foreground : #fffaf4
x3270.ftProgressPopup*filename.foreground : #fffaf4
! --------------------------------------------------
! Menu Colors: Critical
! --------------------------------------------------
x3270.errorPopup*label.foreground : #ff2740
x3270*dialog*cancelButton.foreground : #ff2740
! --------------------------------------------------
! Menu Colors: Backgrounds
! --------------------------------------------------
x3270.keypadBackground : #0e1019
x3270*menuBarContainer.background : #0e1019
x3270*fileMenuButton*background : #0e1019
x3270*optionsMenuButton*background : #0e1019
x3270*connectMenuButton*background : #0e1019
x3270*reconnectButton*background : #0e1019
x3270*macrosMenuButton*background : #0e1019
x3270*keypadButton*background : #0e1019
x3270*fileMenu*background : #0e1019
x3270*exitMenu*background : #0e1019
x3270*optionsMenu*background : #0e1019
x3270*hostMenu*background : #0e1019
x3270*reconnect*background : #0e1019
x3270*macrosMenu*background : #0e1019
x3270*togglesMenu*background : #0e1019
x3270*fontsMenu*background : #0e1019
x3270*modelsMenu*background : #0e1019
x3270*colorsMenu*background : #0e1019
x3270*charsetMenu*background : #0e1019
x3270*dialog*value*background : #0e1019
x3270*dialog*background : #0e1019
x3270*dialog*confirmButton.background : #0e1019
x3270*dialog*confirm2Button.background : #0e1019
3270*dialog*cancelButton.background : #0e1019
x3270.ftProgressPopup*filename.background : #0e1019
! --------------------------------------------------
! Menu Colors: Borders
! --------------------------------------------------
x3270*reconnectButton*borderColor : #fffaf4
x3270*macrosMenuButton*borderColor : #fffaf4
x3270*fileMenu.borderColor : #fffaf4
x3270*exitMenu.borderColor : #fffaf4
x3270*optionsMenu.borderColor : #fffaf4
x3270*hostMenu.borderColor : #fffaf4
x3270*macrosMenu.borderColor : #fffaf4
x3270*togglesMenu.borderColor : #fffaf4
x3270*fontsMenu.borderColor : #fffaf4
x3270*modelsMenu.borderColor : #fffaf4
x3270*colorsMenu.borderColor : #fffaf4
x3270*charsetMenu.borderColor : #fffaf4
x3270*confirmButton.borderColor : #fffaf4
x3270*confirmButton.borderColor : #fffaf4
x3270*confirm2Button.borderColor : #fffaf4
x3270*cancelButton.borderColor : #fffaf4
x3270.ftProgressPopup*filename.borderColor: #fffaf4
x3270*fileMenuButton*borderColor : #0e1019
x3270*optionsMenuButton*borderColor : #0e1019
x3270*connectMenuButton*borderColor : #0e1019
x3270*menuBarContainer.borderColor : #0e1019
x3270*menuBarContainer.borderWidth : 0
x3270*value.borderColor : #fffaf4
x3270*value.foreground : #fffaf4
! --------------------------------------------------
! Default Color Scheme
! --------------------------------------------------
x3270.colorScheme: Argonaut
! --------------------------------------------------
! Color Scheme definition
! --------------------------------------------------
x3270.colorScheme.Argonaut: \
#232323 #0092ff #ff2740 #9a5feb \
#abe15b #67fff0 #ffd242 #fffaf4 \
#232323 #008df8 #ffb900 #6d43a6 \
#8ce10b #00d8eb #444444 #ffffff \
white #0e1019 #444444 4 \
2 1 15
! --------------------------------------------------
! x3270.nice done
! --------------------------------------------------