Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 15:23:11 +0100 (MET)
From:      Jean-Marc Zucconi <jmz@FreeBSD.ORG>
To:        tony@dell.com
Cc:        current@FreeBSD.ORG
Subject:   Re: mail -u <user>
Message-ID:  <199811161423.PAA00612@qix>
In-Reply-To: <3.0.3.32.19981116025037.03461374@bugs.us.dell.com> (message from Tony Overfield on Mon, 16 Nov 1998 02:50:37 -0600)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Tony Overfield writes:

 > Is there some trick for getting "mail -u" to work with -current?

You must unset the MAIL env. variable. Or recompile mail with the
following patch:
Index: main.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/mail/main.c,v
retrieving revision 1.5
diff -u -r1.5 main.c
--- main.c	1998/01/02 16:43:50	1.5
+++ main.c	1998/01/04 07:17:27
@@ -110,6 +110,7 @@
 			 * Next argument is person to pretend to be.
 			 */
 			myname = optarg;
+			unsetenv("MAIL");
 			break;
 		case 'i':
 			/*

Jean-Marc

-- 
 Jean-Marc Zucconi                    PGP Key: finger jmz@FreeBSD.ORG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811161423.PAA00612>