… | |
… | |
184 | { |
184 | { |
185 | // |
185 | // |
186 | } |
186 | } |
187 | |
187 | |
188 | virtual bool get () = 0; |
188 | virtual bool get () = 0; |
189 | |
189 | #if UTMP_SUPPORT |
190 | virtual void login (int cmd_pid, bool login_shell, const char *hostname) = 0; |
190 | virtual void login (int cmd_pid, bool login_shell, const char *hostname) = 0; |
191 | virtual void logout () = 0; |
191 | #endif |
192 | |
192 | |
193 | void close_tty (); |
193 | void close_tty (); |
194 | |
|
|
195 | bool make_controlling_tty (); |
194 | bool make_controlling_tty (); |
196 | void set_utf8_mode (bool on); |
195 | void set_utf8_mode (bool on); |
197 | }; |
196 | }; |
198 | |
197 | |
199 | // a "factory" *g* |
198 | rxvt_ptytty *rxvt_new_ptytty (); // create a new pty object |
200 | rxvt_ptytty *rxvt_new_ptytty (); |
199 | void rxvt_ptytty_server (); // start the ptytty server process |
201 | |
200 | |
202 | /* |
201 | /* |
203 | * the 'essential' information for reporting Mouse Events |
202 | * the 'essential' information for reporting Mouse Events |
204 | * pared down from XButtonEvent |
203 | * pared down from XButtonEvent |
205 | */ |
204 | */ |