BSD 2 development
authorKurt A. Shoens <kurt@ucbvax.Berkeley.EDU>
Thu, 19 Apr 1979 05:01:23 +0000 (21:01 -0800)
committerKurt A. Shoens <kurt@ucbvax.Berkeley.EDU>
Thu, 19 Apr 1979 05:01:23 +0000 (21:01 -0800)
Work on file src/Mail/:rofix
Work on file src/Mail/:versfix
Work on file src/Mail/Mail.help
Work on file src/Mail/READ_ME
Work on file src/Mail/Mail.help.~
Work on file src/Mail/printhem

Synthesized-from: 2bsd

src/Mail/:rofix [new file with mode: 0644]
src/Mail/:versfix [new file with mode: 0644]
src/Mail/Mail.help [new file with mode: 0644]
src/Mail/Mail.help.~ [new file with mode: 0644]
src/Mail/READ_ME [new file with mode: 0644]
src/Mail/printhem [new file with mode: 0755]

diff --git a/src/Mail/:rofix b/src/Mail/:rofix
new file mode 100644 (file)
index 0000000..cd5fa24
--- /dev/null
@@ -0,0 +1,3 @@
+g/^[   ]*\.data/s//.text/
+w
+q
diff --git a/src/Mail/:versfix b/src/Mail/:versfix
new file mode 100644 (file)
index 0000000..375d267
--- /dev/null
@@ -0,0 +1,19 @@
+s/....//
+s/..............\(....\)$/, \1/
+g/  /s// /
+g/Jan/s//January/
+g/Feb/s//February/
+g/Mar/s//March/
+g/Apr/s//April/
+g/May/s//May/
+g/Jun/s//June/
+g/Jul/s//July/
+g/Aug/s//August/
+g/Sep/s//September/
+g/Oct/s//October/
+g/Nov/s//November/
+g/Dec/s//December/
+1s/.*/char     *version = "&";/
+1,$p
+w
+q
diff --git a/src/Mail/Mail.help b/src/Mail/Mail.help
new file mode 100644 (file)
index 0000000..0711c2f
--- /dev/null
@@ -0,0 +1,22 @@
+    Mail   Commands
+t <message list>               type messages
+n                              goto and type next message
+e <message list>               edit messages
+f <message list>               give head lines of messages
+d <message list>               delete messages
+s <message list> file          append messages to file
+u <message list>               undelete messages
+r <message list>               reply to messages
+pre <message list>             make messages go back to /usr/mail
+m <user list>                  mail to specific users
+q                              quit, saving unresolved messages in mbox
+x                              quit, do not remove system mailbox
+h                              print out active message headers
+!                              shell escape
+c [directory]                  chdir to directory or home if none given
+
+A <message list> consists of integers, ranges of same, or user names separated
+by spaces.  If omitted, Mail uses the last message typed.
+
+A <user list> consists of user names or distribution names separated by spaces.
+Distribution names are defined in .sendrc in your home directory.
diff --git a/src/Mail/Mail.help.~ b/src/Mail/Mail.help.~
new file mode 100644 (file)
index 0000000..c08a3ae
--- /dev/null
@@ -0,0 +1,18 @@
+-----------------------------------------------------------
+The following ~ escapes are defined:
+~~             Quote a single tilde
+~c users       Add users to cc list
+~d             Read in dead.letter
+~e             Edit the message buffer
+~h             Prompt for to list, subject and cc list
+~r file                Read a file into the message buffer
+~p             Print the message buffer
+~m messages    Read in messages, right shifted by a tab
+~s subject     Set subject
+~t users       Add users to to list
+~v             Invoke display editor on message
+~w file                Write message onto file.
+~?             Print this message
+~!command      Invoke the shell
+~|command      Pipe the message through the command
+-----------------------------------------------------------
diff --git a/src/Mail/READ_ME b/src/Mail/READ_ME
new file mode 100644 (file)
index 0000000..f5cca95
--- /dev/null
@@ -0,0 +1,15 @@
+In order to compile Mail for your machine, you must make sure
+that you have the right versions of "local.c" and "local.h"
+These have the naming convention that the non-prefixed version is
+a copy of a real version and may be clobbered.  The real version are
+prefixed with single characters with the following scheme:
+
+       v       Vax 11 version (really version 7)
+       c       EECS Cory hall version
+       i       Ingres (virgin version 6)
+
+You also will need the correct makefile.  These are named with suffixes:
+.vax for Vax, .cory for Cory, and .ing for ingres.
+
+Note that if you are non Version 7 you will need _stat.c which makes
+the Version 6 stat() call look like that of Version 7.
diff --git a/src/Mail/printhem b/src/Mail/printhem
new file mode 100755 (executable)
index 0000000..1f1218c
--- /dev/null
@@ -0,0 +1,5 @@
+pr makefile
+pr rcv.h def.h glob.h main.c aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c
+pr edit.c fio.c getname.c lex.c list.c names.c quit.c send.c
+pr strings.c temp.c tty.c
+pr v6hdr/local.h v6.local.c v7.local.h v7.local.c