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