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
_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;
rxvt_ptytty_unix::~rxvt_ptytty_unix ()
{
+#if UTMP_SUPPORT
logout ();
+#endif
put ();
}
}
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)
{
rxvt_ptytty_unix ();
~rxvt_ptytty_unix ();
+ bool get ();
+ void put ();
+
#if UTMP_SUPPORT
int utmp_pos;
int cmd_pid;
char ut_id[5];
#endif
- bool get ();
- void put ();
-
void login (int cmd_pid, bool login_shell, const char *hostname);
void logout ();
#endif
}
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 ();