Re: [S-mailx] "ERROR#" ring feature

2018-12-01 Thread Steffen Nurpmeso
Hi Paul,

Paul Vojta wrote in <20181201210233.yai6vg5cdbnrn...@math.berkeley.edu>:
 |How about:  if error messages are generated, s-nail prints out a message
 |such as:
 |
 |The last command produced 3 error message(s).  To see them again, type \
 |. .

that is sooo expensive!  But i agree, this is a nice idea!

Ciao, a nice weekend and a good night. ^_^

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: [S-mailx] "ERROR#" ring feature

2018-12-01 Thread Steffen Nurpmeso
Hallo Martin,

Martin Neitzel wrote in <201812012042.wb1kg4dz025...@oker.escape.de>:
 |Steffen Nurpmeso  wrote:
 |>|If I make a mistake, the prompt turns into 'ERROR# ?'
 |> 
 |> This is actually a configurable compile-time option.  Because this
 |> MUA is a command line based application error messages that show
 |> up on standard error fly by unseen fast, and pretty often.
 |
 |I never understood the need for this feature.
 |
 |At work, I handle 250+ new messages daily with heirloom-mailx as MUA.

This is a familiar number, about that here, too.

 |I certainly cause a lot of errors but I am not aware of any error
 |flying by unseen, ever.  I make my error, get the message, done.
 |
 |What am I doing wrong?

I mean, nothing, but there are errors which are generated when you
look at mails, for example.  All you want is that the message is
displayed, but the errors are recognized and will show up on
standard error, and you will not notice because the PAGER takes
the screen, or however you do it, anyway, the message is gone.
Also, for example, at the beginnig is saw a lot of errors when
opening old MBOXes, because of non-conforming From_ lines.
Short: i want to know what happens, one of the first programs
i have ever written was a s[imple]p[ager], and it had a help
buffer like less(1) has, but also a message buffer:

  "SP COMMAND "
  "SUMMARY\n"
  "\n"
  "[Caret (^): press CONTROL and X (or x) simultanously]\n"
  "\n"
  "h, H\t\tDisplay this help\n"
  "m, M\t\tDisplay messages and errors (compile time switch)\n"
  "q, Q\t\tQuit (help and error buffer: back to normal)\n"

It got all the errors and normal messages.  You may think of this
as noisy, but i switched to the cwm(1) window manager last month,
and it was terrible that the binary package is silent even on
failing program invocations, you will not notice that the ssh
feature is not capable of dealing with all entries from
known_hosts etc.: you need to read the source code for that.
(From looking at that i seem to recall it can be compiled with
debugging, which then does some logging.)

 |No, seriously:  I'd like to hear of settings/scenarios where
 |you'd miss an s-nail error, "pretty often" or not.

Most of the ones i see now are generated by running macro hooks.
But: as above.

 |   Martin
 |
 |[Sent from a system where I use and coarsely track s-nail versions.

Friendly, friendly.  Of course the newest has lesser bugs than the
elder ones, but i am not a Linux kernel developer and therefore
i am not in the position to say "users must upgrade".
But a pity it is :)

 |I use s-nail for about 12 mails per day there, with OPT_ERRORS=no.]

Good.  It will always be an option, and maybe in a not too distant
future such functionality cannot only be a compile time option,
but also exist in a special .TEXT section of a compiled program,
with a strip(1) option where such things can be removed.  That
would be cool, especially if one could do something like
'if(elf_has_text("name"))' to check availability at runtime.
Just so that normal programmers have a nice outcome of the myriads
of object file sections which bloom everywhere.

 --End of <201812012042.wb1kg4dz025...@oker.escape.de>

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: [S-mailx] "ERROR#" ring feature

2018-12-01 Thread Paul Vojta
How about:  if error messages are generated, s-nail prints out a message
such as:

The last command produced 3 error message(s).  To see them again, type . .

Paul Vojta, vojta at math dot berkeley dot edu


On Sat, Dec 01, 2018 at 09:42:04PM +0100, Martin Neitzel wrote:
> Steffen Nurpmeso  wrote:
> 
> >  |If I make a mistake, the prompt turns into 'ERROR# ?'
> > 
> > This is actually a configurable compile-time option.  Because this
> > MUA is a command line based application error messages that show
> > up on standard error fly by unseen fast, and pretty often.
> 
> I never understood the need for this feature.
> 
> At work, I handle 250+ new messages daily with heirloom-mailx as MUA.
> I certainly cause a lot of errors but I am not aware of any error
> flying by unseen, ever.  I make my error, get the message, done.
> 
> What am I doing wrong?
> 
> No, seriously:  I'd like to hear of settings/scenarios where
> you'd miss an s-nail error, "pretty often" or not.
> 
>   Martin
> 
> [Sent from a system where I use and coarsely track s-nail versions.
> I use s-nail for about 12 mails per day there, with OPT_ERRORS=no.]


[S-mailx] "ERROR#" ring feature

2018-12-01 Thread Martin Neitzel
Steffen Nurpmeso  wrote:

>  |If I make a mistake, the prompt turns into 'ERROR# ?'
> 
> This is actually a configurable compile-time option.  Because this
> MUA is a command line based application error messages that show
> up on standard error fly by unseen fast, and pretty often.

I never understood the need for this feature.

At work, I handle 250+ new messages daily with heirloom-mailx as MUA.
I certainly cause a lot of errors but I am not aware of any error
flying by unseen, ever.  I make my error, get the message, done.

What am I doing wrong?

No, seriously:  I'd like to hear of settings/scenarios where
you'd miss an s-nail error, "pretty often" or not.

Martin

[Sent from a system where I use and coarsely track s-nail versions.
I use s-nail for about 12 mails per day there, with OPT_ERRORS=no.]


Re: [S-mailx] Snorkeling on an empty pipe

2018-12-01 Thread Steffen Nurpmeso
Hello and good evening, Russell Bell.

russellb...@gmail.com wrote in <201812011435.wb1ezsjl026...@randytool.net>:
 | Quoth Ihre Gnade Steffen, Herzog von Nurpmeso, Graf von
 |S-mailx: 'It is considered a security problem...'

Mind you, i am deliberately a monarchist...  It would have taken
long years of service and dedication before possibly being
bestowed a title.

(We had good Herzog's here in Darmstadt where i live, last month
it was 100 years until they had to go, but all the beautiful
things, including nature and gardens, churches, minsters, schools,
waterworks, and artwork which we still have and see around us
here, are from them and their times, not from the later "citizens
in action".)

So thank you, i wish it would be true!

 | I hadn't thought about this.  I defer to your judgment.  It's
 |open-source: I can build my own.
 |
 | IGSHvNGvS: 'quite a lot of people of the elder generation use

Hey!  You can be lucky that i am not Kaiser Franz Joseph I. of
Österreich, your quote would be veeery long!

 |it, Mr. Doug McIlroy comes to mind at very first.'
 | I went to college with Doug McElroy.
 |
 | IGSHvNGvS: 'S-nail does not have the spam support that
 |Heirloom had'
 | I fetch mail with fetchmail; I send mail with sendmail; I
 |don't send spam anyway.

I see a decreasing number of helpful hands that this MUA can give
to you.

 | IGSHvNGvS: 'What do you think of prompting when interactive?
 |I think i will add that for the next release.'
 | I respect your judgment.  I thought I had found a bug.

And so it was!  But i think i will simply drop that active
rejection of symbolic links.

 | IGSHvNGvS: 'Ooooh!  How complicated!  May i ask you why you
 |are doing that?'
 | I support my archiving system.  For many years I had no
 |Internet connection.  (I lived in a cabin in the desert in the
 |mountains.)  I went into town once a week.  I wrote messages all week,
 |then sent them in a batch when I was in town.  I name message files
 |after the addressee, append them to the archive of that name after I
 |send them.  I send better messages when I think about them again.

Thus i said: wonderful.  I am longing for the sea.

 | IGSHvNGvS: '"one of her assistants (ein junge Mann...) "'
 |  ^r
 | Danke.
 |
 |In file included from /usr/src/s-nail-14.9.11/dotlock.c:27:
 |/usr/src/s-nail-14.9.11/dotlock.c: In function 'a_dotlock_main':
 |/usr/src/s-nail-14.9.11/dotlock.h:61:40: warning: '.' directive output \
 |may be truncated writing 1 byte into a region of size between 0 and \
 |4096 [-Wformat-truncation=]
 |snprintf(lname, sizeof lname, "%s.%s.%s",
 |^
 |/usr/src/s-nail-14.9.11/dotlock.h:61:4: note: 'snprintf' output 3 or \
 |more bytes (assuming 4099) into a destination of size 4097
 |snprintf(lname, sizeof lname, "%s.%s.%s",
 |^
 |   dip->di_randstr, dip->di_lock_name, dip->di_hostname);
 |   ~

Thanks, yes i know.  (Funnily you are the second person who
reports this this week!)
I will change this, but it should not really do any harm.

 | 'make install' doesn't link to mail, mailx

This is true, but i cannot simply do that on my own.  Packagers
can decide to do so, but if you compile us yourself you could say
"make VAL_SID=flying VAL_MAILX=robert" and it should do that, and
that alone.

 | IGSHvNGvS: 'I realized this is not possible without manual
 |intervention.  We do have "Copy" and "Save", but these take the name
 |part'
 | I was describing my practice, not asking for a change.  'Save'
 |works.

..but _i_ think it lead to an interesting idea!

 | wank?  Isn't that wichsen?  Is that a naughty word?

Well, elder human beings tend to understand the finiteness of
life, the naturalness of living in decaying flesh, and, given
that combination, i would not come to this assessment.
Albeit, people exist who think FoxNews reflects normal living and
mental health, and those eat three half pounders a day and are of
superior number: yes.

--steffen
|
|Der Kragenbaer,The moon bear,
|der holt sich munter   he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


Re: [S-mailx] Snorkeling on an empty pipe

2018-12-01 Thread russellbell
Quoth Ihre Gnade Steffen, Herzog von Nurpmeso, Graf von
S-mailx: 'It is considered a security problem...'
I hadn't thought about this.  I defer to your judgment.  It's
open-source: I can build my own.

IGSHvNGvS: 'quite a lot of people of the elder generation use
it, Mr. Doug McIlroy comes to mind at very first.'
I went to college with Doug McElroy.

IGSHvNGvS: 'S-nail does not have the spam support that
Heirloom had'
I fetch mail with fetchmail; I send mail with sendmail; I
don't send spam anyway.

IGSHvNGvS: 'What do you think of prompting when interactive?
I think i will add that for the next release.'
I respect your judgment.  I thought I had found a bug.

IGSHvNGvS: 'Ooooh!  How complicated!  May i ask you why you
are doing that?'
I support my archiving system.  For many years I had no
Internet connection.  (I lived in a cabin in the desert in the
mountains.)  I went into town once a week.  I wrote messages all week,
then sent them in a batch when I was in town.  I name message files
after the addressee, append them to the archive of that name after I
send them.  I send better messages when I think about them again.

IGSHvNGvS: '"one of her assistants (ein junge Mann...) "'
 ^r
Danke.

In file included from /usr/src/s-nail-14.9.11/dotlock.c:27:
/usr/src/s-nail-14.9.11/dotlock.c: In function 'a_dotlock_main':
/usr/src/s-nail-14.9.11/dotlock.h:61:40: warning: '.' directive output may be 
truncated writing 1 byte into a region of size between 0 and 4096 
[-Wformat-truncation=]
snprintf(lname, sizeof lname, "%s.%s.%s",
^
/usr/src/s-nail-14.9.11/dotlock.h:61:4: note: 'snprintf' output 3 or more bytes 
(assuming 4099) into a destination of size 4097
snprintf(lname, sizeof lname, "%s.%s.%s",
^
   dip->di_randstr, dip->di_lock_name, dip->di_hostname);
   ~

'make install' doesn't link to mail, mailx

IGSHvNGvS: 'I realized this is not possible without manual
intervention.  We do have "Copy" and "Save", but these take the name
part'
I was describing my practice, not asking for a change.  'Save'
works.

wank?  Isn't that wichsen?  Is that a naughty word?

russell bell