view lisp/forms-pass.el @ 32719:e6e8694bf692

Change .obj to .$(O) in all dependencies. ($(BLD)/casefiddle.$(O)): Remove compile command. ($(BLD)/gmalloc.$(O)): Remove compile command. ($(BLD)/dispnew.obj): ($(BLD)/keyboard.obj): ($(BLD)/w32inevt.obj): ($(BLD)/w32bdf.obj): ($(BLD)/alloc.obj): ($(BLD)/buffer.obj): ($(BLD)/editfns.obj): ($(BLD)/emacs.obj): ($(BLD)/fileio.obj): ($(BLD)/fns.obj): ($(BLD)/indent.obj): ($(BLD)/insdel.obj): ($(BLD)/intervals.obj): ($(BLD)/minibuf.obj): ($(BLD)/print.obj): ($(BLD)/scroll.obj): ($(BLD)/sysdep.obj): ($(BLD)/textprop.obj): ($(BLD)/widget.obj): ($(BLD)/xdisp.obj): Add dependency on w32gui.h. ($(BLD)/term.obj): Add dependency on dispextern.h.
author Andrew Innes <andrewi@gnu.org>
date Sat, 21 Oct 2000 13:24:14 +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"))