view lisp/forms-pass.el @ 16663:773436c9b680 libc-961211 libc-961212 libc-961213 libc-961214 libc-961215 libc-961216 libc-961217 libc-961218 libc-961219 libc-961220 libc-961221 libc-961222 libc-961223 libc-961224 libc-961225 libc-961226 libc-961227 libc-961228 libc-961229 libc-961230 libc-961231

* config.guess: Recognize machten. From Eric W. Bates <ericx@vineyard.net>.
author David J. MacKenzie <djm@gnu.org>
date Wed, 11 Dec 1996 00:37:52 +0000
parents 84acc3adcd63
children 67b464da13ec
line wrap: on
line source

;;; forms-pass.el --- passwd file demo for forms-mode

;; This demo visits your passwd file.

;; use yp if present
(or (file-exists-p (setq forms-file "/var/yp/src/passwd"))
    (setq forms-file "/etc/passwd"))

(setq forms-read-only t)		; to make sure
(setq forms-field-sep ":")
(setq forms-number-of-fields 7)

(setq forms-format-list
      (list
       "====== Visiting " forms-file " ======\n\n"
       "User : "	1
       "   Uid: "	3
       "   Gid: "	4
       "\n\n"
       "Name : "	5
       "\n\n"
       "Home : "	6
       "\n\n"
       "Shell: "	7
       "\n"))