Remove unused KANJI and terminal code options.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 24 Apr 2008 10:49:41 +0000 (11:49 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 24 Apr 2008 10:49:41 +0000 (11:49 +0100)
Someone can re-add this with tests and an actual implementation.

Andrew Bartlett
(This used to be commit 62136febe7bb1122a57737ca43d1ed0800453d77)

source4/client/client.c

index 79cc1b53820a4512f37147a15de5fbd78f217d88..120a80ccd2a588e4a089bb4ee9bbb00539acb20a 100644 (file)
@@ -3124,11 +3124,6 @@ static int do_message_op(const char *netbios_name, const char *desthost,
        const char *query_host = NULL;
        bool message = false;
        const char *desthost = NULL;
-#ifdef KANJI
-       const char *term_code = KANJI;
-#else
-       const char *term_code = "";
-#endif /* KANJI */
        poptContext pc;
        const char *service = NULL;
        int port = 0;
@@ -3148,7 +3143,6 @@ static int do_message_op(const char *netbios_name, const char *desthost,
                { "ip-address", 'I', POPT_ARG_STRING, NULL, 'I', "Use this IP to connect to", "IP" },
                { "stderr", 'E', POPT_ARG_NONE, NULL, 'E', "Write messages to stderr instead of stdout" },
                { "list", 'L', POPT_ARG_STRING, NULL, 'L', "Get a list of shares available on a host", "HOST" },
-               { "terminal", 't', POPT_ARG_STRING, NULL, 't', "Terminal I/O code {sjis|euc|jis7|jis8|junet|hex}", "CODE" },
                { "directory", 'D', POPT_ARG_STRING, NULL, 'D', "Start from directory", "DIR" },
                { "command", 'c', POPT_ARG_STRING, &cmdstr, 'c', "Execute semicolon separated commands" }, 
                { "send-buffer", 'b', POPT_ARG_INT, NULL, 'b', "Changes the transmit/send buffer", "BYTES" },
@@ -3190,9 +3184,6 @@ static int do_message_op(const char *netbios_name, const char *desthost,
                case 'L':
                        query_host = strdup(poptGetOptArg(pc));
                        break;
-               case 't':
-                       term_code = strdup(poptGetOptArg(pc));
-                       break;
                case 'D':
                        base_directory = strdup(poptGetOptArg(pc));
                        break;