Penguin

Differences between version 9 and predecessor to the previous major change of XtermNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 9 Last edited on Wednesday, April 20, 2005 1:09:31 am by AristotlePagaltzis Revert
Older page: version 7 Last edited on Wednesday, October 13, 2004 4:18:43 pm by JohnMcPherson Revert
@@ -1,42 +1,48 @@
-!! Configuration Menu 
+! !! Configuration Menu  
+  
 * To access the main menu, hold down the control key and click the left mouse button 
 * Ctrl-Middle Button is the terminal options (Preferences) - hint, you can set reverse video here. 
 * Ctrl-Right Button is the font options. 
  
 To scroll using the scrollbar, grab the grey bar with the middle button. 
  
-!!Startup Options 
+!!! Alt vs Meta  
+  
+At some stage (eg xterm version 187 in Debian Unstable), xterm started treating keyboard input differently when the Alt key was pressed. (For PC keyboards, the Alt key has the <tt>mod_1</tt> X keyboard modifier set). For example, pressing Alt+x generates a "ø" and pressing Alt+q now generates "ñ". This isn't very good if you want to use the Alt key in emacs(1) in the terminal. The best solution for this is to add <tt>XTerm*eightBitInput: false</tt> to either <tt>$HOME/.Xresources</tt> (for a single user) or to <tt>/etc/X11/app-defaults/XTerm</tt> (for a system wide default). The same change can be made for the <tt>UXTerm</tt> class for when you're using a [UTF8] xterm.  
+  
+Another solution (that isn't as tidy as the above) is to use xmodmap(1) to tell X that your Alt key should generate Meta:  
+  
+<verbatim>  
+xmodmap -e 'keysym Alt_L = Meta_L'  
+</verbatim>  
+  
+! !! Startup Options  
+  
+Some handy command line options that xterm understands:  
  
-Start Xterm as a login shell ( load /etc/profile and .bashrc (on redhat, at least))  
- xterm -l  
+<tt>-l</tt>:  
+ launch the shell as a login shell so it’ll load the startup files like <tt> /etc/profile</tt>, <tt> .bashrc</tt>  
  
-Put the scrolbar on the right side of the term:  
- xterm -rightbar  
+<tt>-rightbar</tt>:  
+ put the scrolbar on the right side of the term 
  
-Use a visual Bell (screen flash) instead of a beep:  
- xterm -vb  
+<tt>-vb</tt>:  
+ visual bell, flash the window instead of beeping the speaker  
  
-Change colours:  
- xterm -fg < foreground colour> -bg < background colour> 
+<tt> -fg '' foreground colour'' -bg '' background colour''</tt >:  
+ change colours  
  
-Swap forground/background colours:  
- xterm -rv  
+<tt>-rv</tt>:  
+ swap forground/background colours 
  
-Run a program in Xterm:  
- xterm -e <program name
+<tt> -e ''command'' </tt >:  
+ run the command instead of launching a shell  
  
-Use AntiAliasedFonts in Xterm!  
- xterm -bg white -fg black -fa "bitstream vera sans mono" -fs 8 
+<tt> -fa "bitstream vera sans mono" -fs 8</tt>:  
+ use AntiAliasedFonts!  
  
-!!Alt vs Meta  
-At some stage (eg xterm version 187 in Debian Unstable), xterm started treating keyboard input differently when the Alt key was pressed . (For PC keyboards, the Alt key has the "mod_1" X keyboard modifier set). For example, pressing Alt+x generates a "ø" and pressing Alt+q  
-now generates "ñ". This isn't very good if you want to use the Alt key in emacs(1) in the terminal. The best solution for this is to add  
- XTerm*eightBitInput: false  
-to either $HOME/.Xresources (for a single user) or to /etc/X11/app-defaults/XTerm (for a system wide default)
+All of these can also be put into your <tt> .Xresources</tt> so that they will be permanently active without having to pass all these parameters to xterm every time
  
-Another solution (that isn't as tidy as the above) is to use xmodmap(1)  
-to tell X that your Alt key should generate Meta:  
- xmodmap -e 'keysym Alt_L = Meta_L'  
+!!! The full nitty -gritty  
  
-----  
-For more information see xterm(1). 
+See xterm(1).