home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / emacs / help / 4767 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.1 KB  |  32 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!sol.ctr.columbia.edu!zappo
  3. From: zappo@titan.ucc.umass.edu (Eric Ludlam v 2.1a)
  4. Subject: finger information
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: University Computing Services
  7. Date: Thu, 12 Nov 1992 21:56:06 GMT
  8. Message-ID: <ZAPPO.92Nov12165606@titan.ucc.umass.edu>
  9. Distribution: gnu
  10. X-Posted-From: titan.ucc.umass.edu
  11. NNTP-Posting-Host: sol.ctr.columbia.edu
  12. Lines: 18
  13.  
  14. Hi,
  15.  
  16.   I'm writting some fun stuff, and wanted to get someones "finger
  17. name" which is whatever a particular user likes.  I did this
  18. origianally by doing a:
  19. (call-process "grep" .... (concat "^" (getenv "USER") ":") "/etc/passwd")
  20. (string-match regexp-thing (buffer-string))
  21. ..etc..
  22. which worked great untill I tried it on a system with a yellow pages
  23. server, which didn't occur to me at the time.  Is there a better way
  24. to do this to bind the finger name to an elisp variable without using
  25. the finger command?
  26.  
  27. Thanks tons
  28. --Eric
  29. --
  30. --**-Emacs: *mail*                 (Mail)----Most------------------------------
  31. Insert file: ~/.signature [No Match]
  32.