Tip: You can also have separate sets of keybindings that you switch between.
#Uxterm font full#
See the KEY BINDINGS section of xterm(1)for the full list of actions and many examples. If you want to insert a literal newline, it also needs to be escaped (hence \n\). Each binding must be separated by the escape sequence \n. #override indicates that these bindings should override any existing ones (you almost always want this for custom key bindings). For example, you can map Ctrl+M and Ctrl+R to maximize/restore the window: These actions can be mapped to mouse/key combinations using the translations resource.
![uxterm font uxterm font](https://i.stack.imgur.com/M5BGf.png)
copy-selection(), hard-reset(), scroll-back(), etc. Xterm defines a whole suite of "actions" for manipulating the terminal e.g.
![uxterm font uxterm font](https://i.stack.imgur.com/hJIJf.png)
The workaround is to send ^? when backspace is pressed by setting the resources This breaks the Ctrl+H key combination on Emacs. On Arch Linux, xterm sends ^H key when backspace is pressed. To make Alt instead send a ^[ (escape) key (as in gnome-terminal and konsole), set The default Alt key behavior in xterm is a modifier to send eight bit input characters e.g. Make 'Alt' key behave as on other terminal emulators This is often necessary because XTerm does not support all UTF-8 locales, including eo.UTF-8. If you do not use UTF-8, you may need to force xterm to more strictly follow your locale by setting You can check the result within xterm using either of these commands:Įnsure that your locale is set up for UTF-8. Two usable terminfo names are xterm and xterm-256color. The terminal itself should report the correct TERM to the system so that the proper terminfo file will be used. Do not set the TERM variable from your ~/.bashrc or ~/.bash_profile or similar file. See xterm(1)for a complete list.Īllow xterm to report the TERM variable correctly. There are several options you can set in your X resources files that may make this terminal emulator much nicer to use. 5.3.1 Use color in place of bold and italics.2.1.3 Make 'Alt' key behave as on other terminal emulators.