From 371472d9fb6a936149b105a6563a0550d35bdf1a Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Mon, 1 Dec 2003 17:11:15 +0000 Subject: Initial import of upstream branch Initial import of upstream branch git-archimport-id: srivasta@debian.org--2003-primary/dist--upstream--3.70--base-0 --- mcon/U/mboxchar.U | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 mcon/U/mboxchar.U (limited to 'mcon/U/mboxchar.U') diff --git a/mcon/U/mboxchar.U b/mcon/U/mboxchar.U new file mode 100644 index 0000000..997c854 --- /dev/null +++ b/mcon/U/mboxchar.U @@ -0,0 +1,70 @@ +?RCS: $Id: mboxchar.U,v 3.0.1.2 1995/07/25 14:13:12 ram Exp $ +?RCS: +?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: +?RCS: You may redistribute only under the terms of the Artistic Licence, +?RCS: as specified in the README file that comes with the distribution. +?RCS: You may reuse parts of this distribution only within the terms of +?RCS: that same Artistic Licence; a copy of which may be found at the root +?RCS: of the source tree for dist 3.0. +?RCS: +?RCS: $Log: mboxchar.U,v $ +?RCS: Revision 3.0.1.2 1995/07/25 14:13:12 ram +?RCS: patch56: ensure ctrl-A characters are visible in prompt (WED) +?RCS: +?RCS: Revision 3.0.1.1 1994/05/06 15:11:22 ram +?RCS: patch23: added support for MMDF mailboxes (WED) +?RCS: +?RCS: Revision 3.0 1993/08/18 12:09:15 ram +?RCS: Baseline for dist 3.0 netwide release. +?RCS: +?MAKE:mboxchar: cat package shsharp Myread Oldconfig +?MAKE: -pick add $@ %< +?S:mboxchar: +?S: This variable contains the eventual value of the MBOXCHAR symbol, +?S: which is how a C program can identify a file as a mailbox. +?S:. +?C:MBOXCHAR: +?C: This symbol contains a character which will match the beginning +?C: of a mailbox file. +?C:. +?H:#define MBOXCHAR '$mboxchar' /**/ +?H:. +?T:CTRLA +?INIT:CTRLA=`echo a | tr a '\001'` +: determine how to determine when a file is a mailbox +case "$mboxchar" in +'') dflt=F;; +?X: The following ^A is two-chars to ensure it will print out -- WED +"$CTRLA") dflt='^A';; +*) dflt="$mboxchar";; +esac +$cat <