]> code.citadel.org Git - citadel.git/blobdiff - citadel/textclient/citadel.c
Removed more vestiges of curses mode
[citadel.git] / citadel / textclient / citadel.c
index f96c64fe20c60580fbfd6ca7be8bc9d9d6791cc3..2d42a33f298a494f841b70b1d28d8d70c3d79069 100644 (file)
@@ -1482,9 +1482,6 @@ int main(int argc, char **argv)
 #ifdef HAVE_OPENSSL
        arg_encrypt = RC_DEFAULT;
 #endif
-#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
-       arg_screen = RC_DEFAULT;
-#endif
 
        /* 
         * Handle command line options as if we were called like /bin/login
@@ -1510,18 +1507,6 @@ int main(int argc, char **argv)
                        return 1;
 #endif
                }
-               if (!strcmp(argv[a], "-s")) {
-#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
-                       arg_screen = RC_NO;
-#endif
-                       argc = shift(argc, argv, a, 1);
-               }
-               if (!strcmp(argv[a], "-S")) {
-#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
-                       arg_screen = RC_YES;
-#endif
-                       argc = shift(argc, argv, a, 1);
-               }
                if (!strcmp(argv[a], "-p")) {
                        struct stat st;
                
@@ -1576,9 +1561,6 @@ int main(int argc, char **argv)
                scr_printf("Connected to %s [%s].\n", ipc->ip_hostname, ipc->ip_address);
        }
 
-#if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
-       CtdlIPC_SetNetworkStatusCallback(ipc, wait_indicator);
-#endif
        ipc_for_signal_handlers = ipc;  /* KLUDGE cover your eyes */
 
        CtdlIPC_chat_recv(ipc, aaa);