From ceb3507a8fca872770b3dcd7e5c5b36179ab95b0 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Fri, 30 May 2008 12:42:47 -0700 Subject: Import dist_3.5-236.orig.tar.gz [dgit import orig dist_3.5-236.orig.tar.gz] --- 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..c837b1b --- /dev/null +++ b/mcon/U/mboxchar.U @@ -0,0 +1,70 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi +?RCS: +?RCS: You may redistribute only under the terms of the Artistic License, +?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 License; a copy of which may be found at the root +?RCS: of the source tree for dist 4.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 <