Penguin

Differences between version 10 and revision by previous author of XtermNotes.

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

Newer page: version 10 Last edited on Thursday, June 23, 2005 6:13:24 am by AristotlePagaltzis Revert
Older page: version 8 Last edited on Tuesday, April 19, 2005 3:59:13 pm by JimParis Revert
@@ -1,45 +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 [UTF-8] 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 
  
-Start Xterm as a login shell (load /etc/profile and .bashrc (on redhat, at least))  
- xterm -l  
+Some handy command line options that xterm understands:  
  
-Put the scrolbar on the right side of the term:  
- xterm -rightbar  
+<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>  
  
-Use a visual Bell (screen flash) instead of a beep :  
- xterm -vb  
+<tt>-rightbar</tt> :  
+ put the scrolbar on the right side of the term  
  
-Change colours:  
- xterm -fg <foreground colour > -bg <background colour
+<tt >-vb </tt >:  
+ visual bell, flash the window instead of beeping the speaker  
  
-Swap forground/ background colours :  
- xterm -rv  
+<tt>-fg ''foreground colour'' -bg '' background colour''</tt> :  
+ change colours  
  
-Run a program in Xterm:  
- xterm -e <program name
+<tt> -rv </tt >:  
+ swap forground/background colours  
  
-Use AntiAliasedFonts in Xterm!  
- xterm -bg white -fg black -fa "bitstream vera sans mono" -fs 8  
+<tt>-e ''command''</tt>:  
+ run the command instead of launching a shell  
  
-!!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).  
+<tt>-fa "bitstream vera sans mono " -fs 8</tt>:  
+ use AntiAliasedFonts!  
  
-The same change can be made for Debian's UXTerm class, or "xterm*eightBitInput: false" can be used to apply to all instances  
-of " xterm" regardless of the class name
+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).