View Single Post
  #8   (View Single Post)  
Old 10th September 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

The man page viewer can be customized by setting the PAGER environment variable. I use the less program.
Code:
export PAGER=less
With less I have no problem searching the xterm man for -ls.

Looking for .sh is trickier, because the".' (period) has a special meaning in the regular expression mini-language used for searching. From man re_format:
Code:
     .       Matches any single character that is not a newline (`\n').
To tell the search function to use a literal "." when searching for .profile you have to escape the period with a backslash;
Code:
\.sh
. So your search now becomes: /\.sh.

I am not really a desktop person, and don't have a FBSD desktop available right now, but on my OpenBSD box has the following in the ~/.Xresources file:
Code:
j65nko@hercules[~]cat .Xresources               
XTerm*loginShell: true
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote