fix dlen
[citadel.git] / textclient / commands.c
index fc0fe2d130621e36bba65d589d6b78107b99adfc..c241f014d70a08c55c24e164cb0df6b889564044 100644 (file)
@@ -1,19 +1,11 @@
-// This file contains functions which implement parts of the
-// text-mode user interface.
+// This file contains functions which implement parts of the text-mode user interface.
 //
-// Copyright (c) 1987-2022 by the citadel.org team
+// Copyright (c) 1987-2024 by the citadel.org team
 //
-// This program is open source software.  Use, duplication, and/or
-// disclosure are subject to the GNU General Purpose License version 3.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
+// This program is open source software.  Use, duplication, or disclosure is subject to the GNU General Public License version 3.
 
 #include "textclient.h"
 
-
 // The help "files" are now just an embedded set of Very Long Strings.  helpnames[] is
 // an array of "file names" and helptexts[] is the "content".
 
@@ -42,11 +34,14 @@ char *helptexts[] = {
            " G         Goto next room which has UNREAD messages.\n"
            " H         Help. Same as '?'\n"
            " I         Reads the Information file for this room.\n"
+           " J         Jump to any named room (same as <.G>oto)\n"
            " K         List of Known rooms.\n"
            " L         Reads the last five messages in the room.\n"
+           " M         Go to your private Mail room\n"
            " N         Reads all new messages in the room.\n"
            " O         Reads all old messages, backwards.\n"
            " P         Page another user (send an instant message)\n"
+           " Q         Quiet mode on/off (disables receiving instant messages)\n"
            " R         Reads all messages in the room, in reverse order.\n"
            " S         Skips current room without making its messages old.\n"
            " T         Terminate (logout)\n"
@@ -342,9 +337,6 @@ char *helptexts[] = {
            "                                          you can specify a partial match\n"
            "\n"
            " <.> <R>ead <T>extfile formatted          File 'download' commands.\n"
-           " <.> <R>ead file using <X>modem   \n"
-           " <.> <R>ead file using <Y>modem   \n"
-           " <.> <R>ead file using <Z>modem   \n"
            " <.> <R>ead <F>ile unformatted   \n"
            " <.> <R>ead <D>irectory   \n"
            "\n"
@@ -1439,7 +1431,7 @@ int fmout(int width,              // screen width to use
 
                if ((in_quote) && (*e == '\n') && (enable_color)) {
                        in_quote = 0;
-                       scr_printf("\033[22m\033[23m");
+                       scr_printf("\033[22m\033[22m");
                }
 
                if (*e == '\n') {       // newline?
@@ -1468,7 +1460,7 @@ int fmout(int width,              // screen width to use
 
                if ((*e == '>') && (column <= 1) && (!fpout) && (enable_color)) {
                        in_quote = 1;
-                       scr_printf("\033[2m\033[3m");
+                       scr_printf("\033[2m\033[2m");
                }
 
                // Or are we looking at a space?