summaryrefslogtreecommitdiff
path: root/lisp/forms-pass.el
diff options
context:
space:
mode:
authorBrian Preble <rassilon@gnu.org>1991-05-20 19:05:21 +0000
committerBrian Preble <rassilon@gnu.org>1991-05-20 19:05:21 +0000
commitab40ac3ace46e3517eae3cf9e6a6a74cddf9a5fd (patch)
tree63bbe9c5bb2e61befa9d19e91563a5667efc7a04 /lisp/forms-pass.el
parent3d64136f52728a6eaa3c3fba1f9afb79f3e0d36d (diff)
downloademacs-ab40ac3ace46e3517eae3cf9e6a6a74cddf9a5fd.tar.gz
Initial revision
Diffstat (limited to 'lisp/forms-pass.el')
-rw-r--r--lisp/forms-pass.el20
1 files changed, 20 insertions, 0 deletions
diff --git a/lisp/forms-pass.el b/lisp/forms-pass.el
new file mode 100644
index 00000000000..d9628a37742
--- /dev/null
+++ b/lisp/forms-pass.el
@@ -0,0 +1,20 @@
+;; demo for forms-mode
+;;
+;; This demo visits /etc/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
+ '("====== Visiting /etc/passwd ======\n\n"
+ "User : " 1
+ " Uid: " 3
+ " Gid: " 4
+ "\n\n"
+ "Name : " 5
+ "\n\n"
+ "Home : " 6
+ "\n\n"
+ "Shell: " 7
+ "\n"))