This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  69b659c136ca297cd351bbd1ad24cc3fc23bc9ce (commit)
      from  5a4a40a3c3b96ff6ef78ca0991fed8b1ae863989 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=69b659c136ca297cd351bbd1ad24cc3fc23bc9ce


commit 69b659c136ca297cd351bbd1ad24cc3fc23bc9ce
Author: Mats Erik Andersson <[email protected]>
Date:   Mon Nov 21 14:37:49 2011 +0100

    telnetd: Updated invocation string for Solaris.

diff --git a/ChangeLog b/ChangeLog
index 9f5f27c..cc96ecb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-11-21  Mats Erik Andersson <[email protected]>
 
+       * telnetd/telnetd.c (login_invocation) [SOLARIS]: Changes for terminal
+       and user name.
+       * TODO: Updated.
+
+2011-11-21  Mats Erik Andersson <[email protected]>
+
        * tests/syslogd.sh: Implement post-run cleanup.
 
 2011-11-21  Mats Erik Andersson <[email protected]>
diff --git a/TODO b/TODO
index 99b8d91..325307d 100644
--- a/TODO
+++ b/TODO
@@ -151,11 +151,6 @@ Ability to ping multiple host in one go.
   For example, if a system specific option shadows a normal option?
   Allow this?
 
-* telnetd
-
-With OpenSolaris, the variable TERM is not set correctly.
-No issue with other systems. Debug this!
-
 * tftpd
 
 OpenSolaris is only able to transmit a single package of
diff --git a/telnetd/telnetd.c b/telnetd/telnetd.c
index 7bfeb4f..a3095b9 100644
--- a/telnetd/telnetd.c
+++ b/telnetd/telnetd.c
@@ -39,7 +39,7 @@ static void print_hostinfo (void);
 
 char *login_invocation =
 #ifdef SOLARIS
-  PATH_LOGIN " -h %h %?T{TERM=%T}{-} %?u{%?a{-f }-- %u}"
+  PATH_LOGIN " -h %h %?T{-t %T} %?u{-u %u}"
 #else
   PATH_LOGIN " -p -h %h %?u{-f %u}"
 #endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    6 ++++++
 TODO              |    5 -----
 telnetd/telnetd.c |    2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 

_______________________________________________
Commit-inetutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/commit-inetutils

Reply via email to