]> code.citadel.org Git - citadel.git/commitdiff
* citadel.c, commands.c: comment out cls() as this wasn't called if
authorNathan Bryant <loanshark@uncensored.citadel.org>
Sat, 8 Apr 2000 01:36:31 +0000 (01:36 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Sat, 8 Apr 2000 01:36:31 +0000 (01:36 +0000)
   ansi_color=user anyway, and we have no way of knowing whether the user's
   terminal does background color erase, which was the reason for adding this
   in the first place. with the recent changes to color(), the display will get
   screwed up if they *do* have background color erase. perhaps this is a job
   for terminfo.

citadel/ChangeLog
citadel/citadel.c
citadel/commands.c

index 4375aa7425664f276a4aec8c68786798716dfff1..2f9c5cf4e1d7fafc04f4016ca7094a70c2aed545 100644 (file)
@@ -1,4 +1,12 @@
  $Log$
+ Revision 570.14  2000/04/08 01:36:30  nbryant
+  * citadel.c, commands.c: comment out cls() as this wasn't called if
+    ansi_color=user anyway, and we have no way of knowing whether the user's
+    terminal does background color erase, which was the reason for adding this
+    in the first place. with the recent changes to color(), the display will get
+    screwed up if they *do* have background color erase. perhaps this is a job
+    for terminfo.
+
  Revision 570.13  2000/04/08 00:37:42  nbryant
   * commands.c: fix color support for black-on-white color terminals such as
     CDE's dtterm. this just avoids white-on-white text; some color combinations
@@ -1818,3 +1826,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Initial CVS import 
+
index 6347293599451ea6e89928312fc695b86fee98af..8a2976477a03730cd72c390ac86130cd75a2a2f3 100644 (file)
@@ -860,7 +860,7 @@ int main(int argc, char **argv)
        get_serv_info();
 
        look_for_ansi();
-       cls(0);
+       /* cls(0); */
        color(7);
 
        printf("%-22s\n%s\n%s\n", serv_info.serv_software, serv_info.serv_humannode,
index 3c8c282519c222da92ab445130fe45f37513e4fe..cb9fe080f6704cbace3b5777eb9e8d4435965a10 100644 (file)
@@ -1125,6 +1125,7 @@ void color(int colornum)
        }
 }
 
+#if 0
 void cls(int colornum)
 {
        if (enable_color) {
@@ -1132,6 +1133,7 @@ void cls(int colornum)
                fflush(stdout);
        }
 }
+#endif
 
 
 /*