Penguin

Differences between version 2 and predecessor to the previous major change of ManNotes.

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

Newer page: version 2 Last edited on Tuesday, April 17, 2007 11:48:46 am by BenStaz Revert
Older page: version 1 Last edited on Saturday, December 30, 2006 11:25:40 am by BenStaz Revert
@@ -1,7 +1,32 @@
+!Not happy with your default man viewer?  
+  
+Then change it! This is easily done by setting the 'PAGER' environment variable.  
+  
+I am using Debian Etch which by default uses 'less' as the man viewer.  
+But say I want to use 'more' to view man pages instead.  
+  
+*export PAGER="/path/to/more"  
+  
+Now type 'man ls' for example, and notice the man viewer has changed :)  
+  
+If you regret the change simply do:  
+  
+*unset PAGER  
+  
+to revert back to the default man page viewer.  
+  
+Remember, to make changes to an environment variable permanent you will have to add the export command to your shell initialization script.  
+  
 !You can Search a man Document 
+  
+Note: This only applies when using 'less' to view man pages.  
  
 When viewing a man for a particular application, you can search for a keyword you are after by typing: 
  
 */<search> 
  
 The man will scroll down to the first match, and any matches will be highlighted! 
+  
+To search backwards:  
+  
+*?<search>