hiyal,

I just subscribed to submit this tiny patch to clarify the manpage
about behaviour of mailx called without options and no mailbox present
(or empty). 

It nearly drove me nuts, apparently doing different as in
the manpage, i suspected almost everything: Undocumented vendor
patches, /etc/alternatives bullshit, revision mismatch between binary
and manpage; only because I didn't read the option descriptions.
Personally I think it should be documented alot more prominent.

Sadly I only groked the list archives /afterwards/, so it based on the
revision at SF.net cvs, which apparently isn't used by anyone at all
these days. Should the patch not apply against the version you're
using, i'd be happy to rewrite it. I just want to make sure I'm running
into this again in a years.

toodle-looh,

\blade
From da0f9843e89ec001beb6c0681a8558ea53e69e47 Mon Sep 17 00:00:00 2001
From: blade <[email protected]>
Date: Wed, 23 Sep 2015 12:34:03 +0200
Subject: [PATCH 2/2] clarified the fact mailx won't enter interactive mode if
 the mailbox is empty or emptystart is set. This little
 detail drove me nuts and took me nearly 4 hours to find
 out.

---
 mailx.1 |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mailx.1 b/mailx.1
index 70a7859..8e422ec 100644
--- a/mailx.1
+++ b/mailx.1
@@ -263,7 +263,9 @@ available to help when composing letters.
 In normal usage \fImailx\fR is given no arguments
 and checks the user's mail out of the post office,
 then prints out a one line header
-of each message found.
+of each message found; if the users mailbox 
+is empty, or cannot be found, \fImailx\fR never
+enters interactive mode unless emptystart is set. 
 The current message is initially
 the first message (numbered 1)
 and can be printed using the print command
-- 
1.7.10.4


Attachment: pgpilQ2ayY6wZ.pgp
Description: Digitale Signatur von OpenPGP

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
nail-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nail-devel

Reply via email to