home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / gopher / 1043 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.9 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!news2.cis.umn.edu!gopher-news-request@boombox.micro.umn.edu
  2. Message-ID: <9207221650.AA25931@boombox.micro.umn.edu>
  3. Date: Wed, 22 Jul 92 12:38:41 EDT
  4. From: BDESIMON@uga.cc.uga.edu (bert desimone)
  5. Subject: Is Less Really More?
  6. Original-To: Gopher Folks <gopher-news@boombox.micro.umn.edu>
  7. Newsgroups: alt.gopher
  8. Distribution: alt
  9. Sender: news@news2.cis.umn.edu
  10. Approved: alt.gopher@news.cis.umn.edu
  11. Lines: 28
  12.  
  13. A colleague of mine has noticed an interesting little problem with the
  14. Unix Gopher client and the PAGER_COMMAND.  It goes like this...
  15.  
  16. OK, let's say you have an environment varaible set for PAGER. Some
  17. people like to set this to less so that man and other utilites that
  18. look for this variable will use less.  Now, you leave the PAGER_COMMAND
  19. for the Gopher client -- set in conf.h -- as more.  Crank up Gopher,
  20. and behold the Pager command. It is less.  No problem??  Well, there
  21. seem to be a few.  The main one has to do with the way that less
  22. handles, or rather doesn't handle, the character sequences used for
  23. toggling screen highlighting for search terms in retrieved documents.
  24. Instead of the highlighting action taking place, the highlighting
  25. characters are displayed (..this is the ^[[7mterm^[[m searched for..).
  26.  
  27. So, you say, don't use less.  But, even if you change the Pager Command
  28. to more within the client (shift-o) the Pager Command is not written
  29. to .gopherrc like Telnetcmd, Mailcmd, etc.
  30.  
  31. If I may be so bold as to suggest a change, have Gopher not read the
  32. PAGER environment variable and save Pagercmd in .gopherrc like
  33. Telnetcmd, Mailcmd, etc.  In addition, an environment variable for
  34. GOPHER_PAGER could be added, like GOPHER_TELNET, GOPHER_MAIL, etc.
  35.  
  36.  ---------------------------------------
  37. | Albert DeSimone, Jr.                  |
  38. |   BITNET:    bdesimon@uga             |
  39. |   Internet:  bdesimon@uga.cc.uga.edu  |
  40.  ---------------------------------------
  41.