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 .EX announce
.NF .NF
Enter telegram for everybody 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: 1024 left:
1023 left: For Immediate Release 1023 left: For Immediate Release
987 left: from 987 left: from

View file

@ -18,8 +18,8 @@ Or you can send a multi-line message:
> I ate Fodderland for lunch. > I ate Fodderland for lunch.
> . > .
.FI .FI
Note that you can end a multi-line flash with either a '.' (period) You can end a multi-line flash with a '.' (period) on a line all by
on a line all by itself, or by hitting ^D on a line by itself. itself.
.s1 .s1
If you do not wish to receive any flash messages from your friends, 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". 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, When the program requests your message for The Deity,
state it simply: state it simply:
.NF .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!!!! <512> I can't do anything!!!!
<488> HELP!! <488> HELP!!
<481> . <481> .

View file

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

View file

@ -15,8 +15,8 @@ Or you can send a multi-line message:
> OK, let's hit the beaches! > OK, let's hit the beaches!
> . > .
.FI .FI
Note that you can end a multi-line wall with either a '.' (period) You can end a multi-line flash with a '.' (period) on a line all by
on a line all by itself, or by hitting ^D on a line by itself. itself.
.s1 .s1
If you do not wish to receive any broadcast messages from your allies, 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". 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]; char left[16];
pr("Enter telegram for %s\n", recipient); 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 = buf;
*bp = 0; *bp = 0;
for (;;) { for (;;) {