Don't advertize ^D as means to end a telegram

getele() aborts the telegram on EOF since commit bc8a4432 (v4.2.21).
Besides, ^D may not work with some clients.
This commit is contained in:
Markus Armbruster 2009-03-22 09:52:06 +01:00
parent 475f518be1
commit 5dcd748f9d
6 changed files with 11 additions and 10 deletions

View file

@ -11,7 +11,7 @@ For example:
.EX announce
.NF
Enter telegram for everybody
undo last line with ~u, print with ~p, abort with ~q, end with ^D or .
undo last line with ~u, print with ~p, abort with ~q, end with .
1024 left:
1023 left: For Immediate Release
987 left: from

View file

@ -18,8 +18,8 @@ Or you can send a multi-line message:
> I ate Fodderland for lunch.
> .
.FI
Note that you can end a multi-line flash with either a '.' (period)
on a line all by itself, or by hitting ^D on a line by itself.
You can end a multi-line flash with a '.' (period) on a line all by
itself.
.s1
If you do not wish to receive any flash messages from your friends,
then you can temporarily turn the feature off by typing "toggle flash".

View file

@ -21,7 +21,8 @@ is the telegram; if you should be in need of aid type:
When the program requests your message for The Deity,
state it simply:
.NF
Enter telegram for your Gracious Deity; end with ^D
Enter telegram for your Gracious Deity
undo last line with ~u, print with ~p, abort with ~q, end with .
<512> I can't do anything!!!!
<488> HELP!!
<481> .

View file

@ -13,15 +13,15 @@ Telegrams sent to country #0 appear as prayers,
(favors are best obtained in this manner.)
.s1
While entering your telegram the system tells you how many characters
you have left. You end the telegram by typing ^D on a line by itself,
or by entering a line with a '.' on a line by itself. A line containing
you have left. You end the telegram by by entering a line with a '.'
on a line by itself. A line containing
only '~q' will abort the telegram.
.s1
For example:
.EX tel 7 8
.NF
Enter telegram for multiple recipients
undo last line with ~u, print with ~p, abort with ~q, end with ^D or .
undo last line with ~u, print with ~p, abort with ~q, end with .
1024 left:
1023 left: B.F.D. Pouncetrifle
1003 left: Groonland Embassy

View file

@ -15,8 +15,8 @@ Or you can send a multi-line message:
> OK, let's hit the beaches!
> .
.FI
Note that you can end a multi-line wall with either a '.' (period)
on a line all by itself, or by hitting ^D on a line by itself.
You can end a multi-line flash with a '.' (period) on a line all by
itself.
.s1
If you do not wish to receive any broadcast messages from your allies,
then you can temporarily turn the feature off by typing "toggle flash".

View file

@ -53,7 +53,7 @@ getele(char *recipient, char *buf)
char left[16];
pr("Enter telegram for %s\n", recipient);
pr("undo last line with ~u, print with ~p, abort with ~q, end with ^D or .\n");
pr("undo last line with ~u, print with ~p, abort with ~q, end with .\n");
bp = buf;
*bp = 0;
for (;;) {