[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mail (next/previous)
From: |
Alain Magloire |
Subject: |
mail (next/previous) |
Date: |
Wed, 13 Mar 2002 00:09:53 -0500 (EST) |
Bonjour
The current implementation of mail_next() is broken.
Will crash and burn(SIGSEGV) if you just hit return on the prompt.
Easy to fix.
But what's the right fix. I thought reading somewhere that
if you hit return on the mail prompt that it is equivalent
to "next" which prints the the next mail. But our implementation
of "next" just move the cursor does not print. And we have
a "previous" counterpart which decrements the cursor.
I'm trying to get my sticky hands on the POSIX mailx, have it
at work somewhere.
Anybody knows the "correct" semantic of "next", "previous"
and when the user just hit return?
- mail (next/previous),
Alain Magloire <=