Minor bugfixes to page and chat

This commit is contained in:
Michiel Broek 2004-11-03 22:45:41 +00:00
parent 3fb35f698c
commit 8419a4151f
13 changed files with 32 additions and 33 deletions

View File

@ -10,12 +10,17 @@ v0.71.0 27-Oct-2004
Changed layout of raw directory listing to support long
filenames.
Rewrote terminal i/o.
If a user pages the sysop a hint is displayed to fill in the
reason to chat, language prompt 28.
After forced chat, redisplay the last menu.
mbnewusr:
Rewrote terminal i/o.
lang:
Changed width of prompt 261.
Added prompt 28.
Removed leading spaces of prompt 151.
examples:
Fixed logo display.

View File

@ -26,7 +26,7 @@
25 change.c |Character set now set to:
26 newuser.c YN|Check for new mail at login [Y/n]:
27 newuser.c YN|Check for new files at login [Y/n]:
28 .c |
28 page.c |Enter a short reason for chat
29 .c |
30 .c |
31 .c |

View File

@ -26,7 +26,7 @@ JN| Is dit juist [j/N]:
|Karakter set is nu:
JN|Kijk voor nieuwe post tijdens login [J/n]:
JN|Kijk voor nieuwe bestanden tijdens login [J/n]:
|
|Geef een korte reden om te kletsen
|
|
|

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -26,7 +26,7 @@ SN|
|Character set now set to:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -26,7 +26,7 @@ JN| Ist dies richtig richtig? [<j>a/<N>ein]:
|Zeichensatz ist jetzt:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -26,7 +26,7 @@ SN| Es correcto [s/N]:
|Character set now set to:
YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]:
|
|Enter a short reason for chat
|
|
|

View File

@ -304,10 +304,6 @@ void ExtDoor(char *Program, int NoDoorsys, int Y2Kdoorsys, int Comport, int NoSu
else
rc = execute_str((char *)"/bin/sh", (char *)"-c", Program, NULL, NULL, NULL);
/*
* Restore raw mode if needed, some doors put the terminal
* back in cooked mode.
*/
rawport();
Altime(0);

View File

@ -198,6 +198,7 @@ void menu()
if (strcmp(buf, "100:1,1;") == 0) {
Syslog('+', "Forced sysop/user chat");
Chat(exitinfo.Name, (char *)"#sysop");
continue;
}
}
}

View File

@ -59,11 +59,14 @@ void Page_Sysop(char *String)
Reason = calloc(81, sizeof(char));
clear();
colour(LIGHTRED, BLACK);
/* MBSE BBS Chat */
Center((char *) Language(151));
poutCenter(LIGHTRED, BLACK, (char *) Language(151));
if (CFG.iAskReason) {
locate(4, 0);
/* Enter a short reason for chat */
poutCenter(GREEN, BLACK, (char *)Language(28));
locate(6,0);
colour(BLUE, BLACK);
PUTCHAR(213);
@ -72,6 +75,7 @@ void Page_Sysop(char *String)
PUTCHAR(184);
Enter(1);
PUTCHAR(' ');
colour(LIGHTGRAY, BLACK);
for (i = 0; i < 78; i++)
PUTCHAR(250);
@ -88,13 +92,6 @@ void Page_Sysop(char *String)
colour(LIGHTGRAY, BLACK);
GetPageStr(temp, 76);
colour(BLUE, BLACK);
PUTCHAR(212);
for (i = 0; i < 78; i++)
PUTCHAR(205);
PUTCHAR(190);
Enter(1);
if ((strcmp(temp, "")) == 0)
return;