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,13 +10,18 @@ v0.71.0 27-Oct-2004
Changed layout of raw directory listing to support long Changed layout of raw directory listing to support long
filenames. filenames.
Rewrote terminal i/o. 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: mbnewusr:
Rewrote terminal i/o. Rewrote terminal i/o.
lang: lang:
Changed width of prompt 261. Changed width of prompt 261.
Added prompt 28.
Removed leading spaces of prompt 151.
examples: examples:
Fixed logo display. Fixed logo display.

View File

@ -26,7 +26,7 @@
25 change.c |Character set now set to: 25 change.c |Character set now set to:
26 newuser.c YN|Check for new mail at login [Y/n]: 26 newuser.c YN|Check for new mail at login [Y/n]:
27 newuser.c YN|Check for new files 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 | 29 .c |
30 .c | 30 .c |
31 .c | 31 .c |
@ -149,7 +149,7 @@
148 funcs.c |Off 148 funcs.c |Off
149 newuser.c |User name already exists 149 newuser.c |User name already exists
150 mail.c |Checking your mail box ... 150 mail.c |Checking your mail box ...
151 page.c | MBSE BBS Chat 151 page.c |MBSE BBS Chat
152 page.c |The SysOp is currently speaking to somebody else. 152 page.c |The SysOp is currently speaking to somebody else.
153 page.c |Try paging him again in a few minutes ... 153 page.c |Try paging him again in a few minutes ...
154 page.c |You have paged the Sysop the maximum times allowed. 154 page.c |You have paged the Sysop the maximum times allowed.

View File

@ -26,7 +26,7 @@ JN| Is dit juist [j/N]:
|Karakter set is nu: |Karakter set is nu:
JN|Kijk voor nieuwe post tijdens login [J/n]: JN|Kijk voor nieuwe post tijdens login [J/n]:
JN|Kijk voor nieuwe bestanden tijdens login [J/n]: JN|Kijk voor nieuwe bestanden tijdens login [J/n]:
| |Geef een korte reden om te kletsen
| |
| |
| |
@ -149,7 +149,7 @@ JN|berichten, nu de post lezen? [J/n]:
|Uit |Uit
|Gebruikersnaam bestaat al |Gebruikersnaam bestaat al
|Even in Uw postbus kijken ... |Even in Uw postbus kijken ...
| MBSE BBS Kletsen |MBSE BBS Kletsen
|De Sysop is nu even met iemand anders in gesprek. |De Sysop is nu even met iemand anders in gesprek.
|Probeer het opnieuw in enkele minuten ... |Probeer het opnieuw in enkele minuten ...
|U heeft de Sysop meer dan het maximaal aantal keren geroepen. |U heeft de Sysop meer dan het maximaal aantal keren geroepen.

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to: |Character set now set to:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ YN|messages, read your mail now? [Y/n]:
|Off |Off
|User name already exists |User name already exists
|Checking your mail box ... |Checking your mail box ...
| MBSE BBS Chat |MBSE BBS Chat
|The SysOp is currently speaking to somebody else. |The SysOp is currently speaking to somebody else.
|Try paging him again in a few minutes ... |Try paging him again in a few minutes ...
|You have paged the Sysop the maximum times allowed. |You have paged the Sysop the maximum times allowed.

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to: |Character set now set to:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ ON|messages, les lire maintenant? [O/n]:
|Inactif |Inactif
|Ce nom existe déjà |Ce nom existe déjà
|Vérification de la BAL ... |Vérification de la BAL ...
| MBSE BBS Chat |MBSE BBS Chat
|Le SysOp parle a quelqu'un d'autre. |Le SysOp parle a quelqu'un d'autre.
|Essayez de le rappeller dans quelques minutes ... |Essayez de le rappeller dans quelques minutes ...
|Vous avez appellé le Sysop le maximum de fois permises. |Vous avez appellé le Sysop le maximum de fois permises.

View File

@ -26,7 +26,7 @@ SN|
|Character set now set to: |Character set now set to:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ SN|mensaxes,
|Des |Des
|O nome xa existe |O nome xa existe
|Buscando correo novo ... |Buscando correo novo ...
| Charla de MBSE BBS |Charla de MBSE BBS
|O Sysop est  falando con outro usuario. |O Sysop est  falando con outro usuario.
|Intenta chamalo de novo dentro de un pouco ... |Intenta chamalo de novo dentro de un pouco ...
|Xa chamacves moitas veces. |Xa chamacves moitas veces.

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to: |Character set now set to:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ JN|Mitteilungen, moechten Sie jetzt Ihre Post lesen? [J/n]:
|Aus |Aus
|Dieser Benutzername existiert bereits |Dieser Benutzername existiert bereits
|Suchen nach persoenlichen Mitteilungen, bitte warten ... |Suchen nach persoenlichen Mitteilungen, bitte warten ...
| MBSE BBS Chat |MBSE BBS Chat
|Der SysOp spricht gerade mit einem anderen User. |Der SysOp spricht gerade mit einem anderen User.
|Bitte versuchen Sie es in einigen Minuten nochmals ... |Bitte versuchen Sie es in einigen Minuten nochmals ...
|Ihre maximale Anzahl von Sysop-Anrufen ist erreicht. |Ihre maximale Anzahl von Sysop-Anrufen ist erreicht.

View File

@ -26,7 +26,7 @@ JN| Ist dies richtig richtig? [<j>a/<N>ein]:
|Zeichensatz ist jetzt: |Zeichensatz ist jetzt:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ JN|Mitteilungen, moechtest Du jetzt Deine Post lesen? [<J>a/<n>ein]:
|Aus |Aus
|Dieser Benutzername existiert bereits |Dieser Benutzername existiert bereits
|Suchen nach persoenlichen Mitteilungen, bitte warten ... |Suchen nach persoenlichen Mitteilungen, bitte warten ...
| MBSE BBS Chat |MBSE BBS Chat
|Der SysOp spricht gerade mit einem anderen User. |Der SysOp spricht gerade mit einem anderen User.
|Bitte versuche es in einigen Minuten nochmals ... |Bitte versuche es in einigen Minuten nochmals ...
|Ihre maximale Anzahl von Sysop-Anrufen ist erreicht. |Ihre maximale Anzahl von Sysop-Anrufen ist erreicht.

View File

@ -26,7 +26,7 @@ YN| Is this correct [y/N]:
|Character set now set to: |Character set now set to:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ SN|nuovi messaggi, vuoi leggere la posta ora? [S/n]:
|Off |Off
|Nome utente gia' in uso |Nome utente gia' in uso
|Sto controllando la tua mail box ... |Sto controllando la tua mail box ...
| MBSE BBS Chat |MBSE BBS Chat
|Il SysOp sta parlando con un altro utente. |Il SysOp sta parlando con un altro utente.
|Prova a chiamarlo di nuovo fra pochi minuti ... |Prova a chiamarlo di nuovo fra pochi minuti ...
|Hai gia' chiamato il SysOp per il massimo numero di volte consentito. |Hai gia' chiamato il SysOp per il massimo numero di volte consentito.

View File

@ -26,7 +26,7 @@ SN| Es correcto [s/N]:
|Character set now set to: |Character set now set to:
YN|Check for new mail at login [Y/n]: YN|Check for new mail at login [Y/n]:
YN|Check for new files at login [Y/n]: YN|Check for new files at login [Y/n]:
| |Enter a short reason for chat
| |
| |
| |
@ -149,7 +149,7 @@ SN|mensajes,
|Des |Des
|El nombre ya existe |El nombre ya existe
|Buscando correo nuevo ... |Buscando correo nuevo ...
| Charla de mbsebbs |Charla de mbsebbs
|El Sysop est  hablando con otro usuario. |El Sysop est  hablando con otro usuario.
|Intenta llamarlo de nuevo dentro de un rato ... |Intenta llamarlo de nuevo dentro de un rato ...
|Ya has llamado muchas veces. |Ya has llamado muchas veces.

View File

@ -304,10 +304,6 @@ void ExtDoor(char *Program, int NoDoorsys, int Y2Kdoorsys, int Comport, int NoSu
else else
rc = execute_str((char *)"/bin/sh", (char *)"-c", Program, NULL, NULL, NULL); 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(); rawport();
Altime(0); Altime(0);

View File

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

View File

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