]> code.citadel.org Git - citadel.git/blobdiff - citadel/citadel.c
* misc bugfixes and cleanups
[citadel.git] / citadel / citadel.c
index c68173a68603cb252356886ae248b4e53eeccc87..01bcb05c74a21821cee64fcf17db5494248cc521 100644 (file)
@@ -752,6 +752,7 @@ void who_is_online(int longlist)
        time_t timenow = 0;
        time_t idletime, idlehours, idlemins, idlesecs;
        int last_session = (-1);
+       int linecount = 2;
 
        if (longlist) {
                serv_puts("TIME");
@@ -788,6 +789,7 @@ void who_is_online(int longlist)
                                       fromhost, clientsoft,
                                       (long) idlehours, (long) idlemins, (long) idlesecs);
 
+                               linecount += 3;
                        } else {
                                if (extract_int(buf, 0) == last_session) {
                                        printf("        ");
@@ -806,7 +808,11 @@ void who_is_online(int longlist)
                                color(BRIGHT_CYAN);
                                printf("%-24s\n", fromhost);
                                color(DIM_WHITE);
+                               ++linecount;
                        }
+                       linecount = checkpagin(linecount,
+                                   ((userflags & US_PAGINATOR) ? 1 : 0),
+                                              screenheight);
                }
        }
 }
@@ -1253,6 +1259,10 @@ GSTA:    termn8 = 0;
                                do_internet_configuration();
                                break;
 
+                       case 83:
+                               check_message_base();
+                               break;
+
                        case 50:
                                enter_config(2);
                                break;