*** empty log message ***
authorroot <root>
Tue, 17 Jan 2006 16:50:42 +0000 (16:50 +0000)
committerroot <root>
Tue, 17 Jan 2006 16:50:42 +0000 (16:50 +0000)
Changes
src/init.C
src/ptytty.C
src/ptytty.h
src/rxvt.h

diff --git a/Changes b/Changes
index 8dae42d07b16ce4c2890662a8fb3d73d352b279b..f81ecba648632ec82d6223b71fbd3e2753a1b368 100644 (file)
--- a/Changes
+++ b/Changes
@@ -39,6 +39,7 @@ WISH: support tex fonts
           anymore.
        - add tsl/fsl and related capabilities to the terminfo description,
           to set the window title.
+        - removed all traces of SMOOTH_REFRESH.
         - nuked QNX support.
 
 7.0  Fri Jan 13 14:02:18 CET 2006
index bfee0820439fbc3ea812ecf93ff11c85c796bc35..63664aad616bf9d4a50c8e14733086e824321e9b 100644 (file)
@@ -1445,8 +1445,10 @@ rxvt_term::run_command (const char *const *argv)
         _exit (EXIT_FAILURE);
 
       default:
+#if UTMP_SUPPORT
         if (!OPTION (Opt_utmpInhibit))
           pty->login (cmd_pid, OPTION (Opt_loginShell), rs[Rs_display_name]);
+#endif
 
         pty->close_tty ();
         break;
index acdac2f023bb6e941958a79710f77ceaefb29a8f..94c11593f941c6af3f9153dcf5f30524ffda5599 100644 (file)
@@ -392,7 +392,9 @@ rxvt_ptytty_unix::rxvt_ptytty_unix ()
 
 rxvt_ptytty_unix::~rxvt_ptytty_unix ()
 {
+#if UTMP_SUPPORT
   logout ();
+#endif
   put ();
 }
 
@@ -539,11 +541,13 @@ void serve ()
         }
       else if (cmd.type == command::login)
         {
+#if UTMP_SUPPORT
           if (find (ptys.begin (), ptys.end (), cmd.id))
             {
               cmd.hostname[sizeof (cmd.hostname) - 1] = 0;
               cmd.id->login (cmd.cmd_pid, cmd.login_shell, cmd.hostname);
             }
+#endif
         }
       else if (cmd.type == command::destroy)
         {
index 5b380c67f21883ee28eb92aff8db08640552aa7e..a8c31a65e9d5fd4445d9428aae2115c276d671fa 100644 (file)
@@ -67,6 +67,9 @@ public:
   rxvt_ptytty_unix ();
   ~rxvt_ptytty_unix ();
 
+  bool get ();
+  void put ();
+
 #if UTMP_SUPPORT
   int utmp_pos;
   int cmd_pid;
@@ -82,9 +85,6 @@ public:
   char ut_id[5];
 #endif
 
-  bool get ();
-  void put ();
-
   void login (int cmd_pid, bool login_shell, const char *hostname);
   void logout ();
 #endif
index 312d728f28251275c67e6b5a28d7fb90a5a59ee8..cac5d4ba50645e79dfa3a3aec3504287209c43a0 100644 (file)
@@ -186,7 +186,9 @@ struct rxvt_ptytty {
   }
 
   virtual bool get () = 0;
+#if UTMP_SUPPORT
   virtual void login (int cmd_pid, bool login_shell, const char *hostname) = 0;
+#endif
 
   void close_tty ();
   bool make_controlling_tty ();