--- rxvt-unicode/src/main.C 2006/01/21 14:25:05 1.193 +++ rxvt-unicode/src/main.C 2006/01/22 00:48:13 1.195 @@ -452,8 +452,10 @@ /*----------------------------------------------------------------------*/ bool -rxvt_term::init (int argc, const char *const *argv) +rxvt_term::init (int argc, const char *const *argv, stringvec *envv) { + this->envv = envv; + SET_R (this); set_locale (""); set_environ (envv); // few things in X do not call setlocale :( @@ -474,7 +476,7 @@ scrollBar.setIdle (); /* set existence for size calculations */ #endif - pty = rxvt_new_ptytty (); + pty = ptytty_new (); create_windows (argc, argv); @@ -559,7 +561,7 @@ || gid != getegid ()) { #if PTYTTY_HELPER - rxvt_ptytty_server (); + ptytty_server (); #else rxvt_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n"); #endif