The man page viewer can be customized by setting the PAGER environment variable. I use the
less program.
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;
. 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