* make and write utmp and wtmp entries
*/
void
-rxvt_ptytty::login (int cmd_pid, bool login_shell, const char *hostname)
+rxvt_ptytty_unix::login (int cmd_pid, bool login_shell, const char *hostname)
{
const char *pty = name;
* remove utmp and wtmp entries
*/
void
-rxvt_ptytty::logout ()
+rxvt_ptytty_unix::logout ()
{
if (!cmd_pid)
return;
static int
control_tty (int fd_tty)
{
-#ifndef __QNX__
int fd;
/* ---------------------------------------- */
return -1; /* fatal */
close (fd);
/* ---------------------------------------- */
-#endif /* ! __QNX__ */
return 0;
}
# endif
# endif
-# ifdef __QNX__
-# include <sys/utsname.h>
-# define ut_name ut_user
-# endif
-
#endif
enum rxvt_privaction { IGNORE = 'i', SAVE = 's', RESTORE = 'r' };
char *cmdbuf_ptr, *cmdbuf_endp;
char cmdbuf_base[CBUFSIZ];
- rxvt_ptytty pty;
+ rxvt_ptytty_unix pty;
rxvt_salloc *talloc; // text line allocator
rxvt_salloc *ralloc; // rend line allocator