]> code.citadel.org Git - citadel.git/commitdiff
* Changed the format of <.W>holist <L>ong
authorArt Cancro <ajc@citadel.org>
Sun, 14 Jan 2001 14:55:39 +0000 (14:55 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 14 Jan 2001 14:55:39 +0000 (14:55 +0000)
citadel/ChangeLog
citadel/citadel.c

index 4d93612d0e56a8effb850aba081b7e6e479f8f0d..9145789b0e7a065763a0638eb5ba68c334607107 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 573.66  2001/01/14 14:55:39  ajc
+ * Changed the format of <.W>holist <L>ong
+
  Revision 573.65  2001/01/13 06:40:26  nbryant
  merged remaining changes from TRANSACTIONS (using cvs update -j TRANSACTIONS)
  which should now be considered closed.
@@ -2315,4 +2318,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
-
index eb965e427ff36cfe7c6c7fbab12391c24bae9fbd..be9806d3acad626f0d3299beb965df496e0900b6 100644 (file)
@@ -793,11 +793,16 @@ void who_is_online(int longlist)
                                extract(actual_room, buf, 9);
                                extract(actual_host, buf, 10);
 
-                               pprintf("\nFlags: %-3s  Sess# %-3d  Name: %-25s  Room: %s\n",
-                                      flags, extract_int(buf, 0), username, roomname);
-                               pprintf("from <%s> using <%s>, idle %ld:%02ld:%02ld\n",
-                                      fromhost, clientsoft,
-                                      (long) idlehours, (long) idlemins, (long) idlesecs);
+                               pprintf("  Flags: %s\n", flags);
+                               pprintf("Session: %d\n", extract_int(buf, 0));
+                               pprintf("   Name: %s\n", username);
+                               pprintf("In room: %s\n", roomname);
+                               pprintf("   Host: %s\n", fromhost);
+                               pprintf(" Client: %s\n", clientsoft);
+                               pprintf("   Idle: %ld:%02ld:%02ld\n",
+                                       (long) idlehours,
+                                       (long) idlemins,
+                                       (long) idlesecs);
 
                                if ( (strlen(actual_user)+strlen(actual_room)+strlen(actual_host)) > 0) {
                                        pprintf("(really ");
@@ -806,6 +811,7 @@ void who_is_online(int longlist)
                                        if (strlen(actual_host)>0) pprintf("from <%s> ", actual_host);
                                        pprintf(")\n");
                                }
+                               pprintf("\n");
 
                        } else {
                                if (extract_int(buf, 0) == last_session) {