[Bug 173728] [patch] add set baud rate support to telnet(1)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 17 02:42:14 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=173728

darius at dons.net.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darius at dons.net.au

--- Comment #1 from darius at dons.net.au ---
This patch also needs a mod to usage() e.g.
Index: telnet/main.c
===================================================================
--- telnet/main.c    (revision 423450)
+++ telnet/main.c    (working copy)
@@ -84,24 +84,24 @@ tninit(void)

     init_sys();
 }

 static void
 usage(void)
 {
     fprintf(stderr, "usage: %s %s%s%s%s\n",
         prompt,
 #ifdef    AUTHENTICATION
-        "[-4] [-6] [-8] [-E] [-K] [-L] [-N] [-S tos] [-X atype] [-c] [-d]",
+        "[-4] [-6] [-8] [-B baud] [-E] [-K] [-L] [-N] [-S tos] [-X atype] [-c]
[-d]",
         "\n\t[-e char] [-k realm] [-l user] [-f/-F] [-n tracefile] ",
 #else
-        "[-4] [-6] [-8] [-E] [-L] [-N] [-S tos] [-c] [-d]",
+        "[-4] [-6] [-8] [-B baud] [-E] [-L] [-N] [-S tos] [-c] [-d]",
         "\n\t[-e char] [-l user] [-n tracefile] ",
 #endif
         "[-r] [-s src_addr] [-u] ",
 #if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
         "[-P policy] "
 #endif
 #ifdef    ENCRYPTION
         "[-y] [host-name [port]]"
 #else    /* ENCRYPTION */
         "[host-name [port]]"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list