… | |
… | |
184 | { |
184 | { |
185 | // |
185 | // |
186 | } |
186 | } |
187 | |
187 | |
188 | virtual bool get () = 0; |
188 | virtual bool get () = 0; |
189 | virtual void put () = 0; |
189 | #if UTMP_SUPPORT |
190 | |
|
|
191 | 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; |
192 | virtual void logout () = 0; |
191 | #endif |
193 | |
192 | |
194 | void close_tty (); |
193 | void close_tty (); |
195 | |
|
|
196 | bool make_controlling_tty (); |
194 | bool make_controlling_tty (); |
197 | void set_utf8_mode (bool on); |
195 | void set_utf8_mode (bool on); |
198 | }; |
196 | }; |
199 | |
197 | |
200 | // a "factory" *g* |
198 | rxvt_ptytty *rxvt_new_ptytty (); // create a new pty object |
201 | rxvt_ptytty *rxvt_new_ptytty (); |
199 | void rxvt_ptytty_server (); // start the ptytty server process |
202 | |
200 | |
203 | /* |
201 | /* |
204 | * the 'essential' information for reporting Mouse Events |
202 | * the 'essential' information for reporting Mouse Events |
205 | * pared down from XButtonEvent |
203 | * pared down from XButtonEvent |
206 | */ |
204 | */ |
… | |
… | |
1189 | xevent_watcher vt_ev; |
1187 | xevent_watcher vt_ev; |
1190 | #ifdef HAVE_SCROLLBARS |
1188 | #ifdef HAVE_SCROLLBARS |
1191 | xevent_watcher scrollbar_ev; |
1189 | xevent_watcher scrollbar_ev; |
1192 | #endif |
1190 | #endif |
1193 | |
1191 | |
|
|
1192 | void child_cb (child_watcher &w, int status); child_watcher child_ev; |
1194 | void check_cb (check_watcher &w); check_watcher check_ev; |
1193 | void check_cb (check_watcher &w); check_watcher check_ev; |
1195 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
1194 | void destroy_cb (time_watcher &w); time_watcher destroy_ev; |
1196 | void flush_cb (time_watcher &w); time_watcher flush_ev; |
1195 | void flush_cb (time_watcher &w); time_watcher flush_ev; |
1197 | |
1196 | |
1198 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
1197 | void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; |
… | |
… | |
1228 | |
1227 | |
1229 | void tt_winch (); |
1228 | void tt_winch (); |
1230 | |
1229 | |
1231 | rxvt_term (); |
1230 | rxvt_term (); |
1232 | ~rxvt_term (); |
1231 | ~rxvt_term (); |
1233 | void child_exit (); // child has exited, usually destroys |
|
|
1234 | void destroy (); |
1232 | void destroy (); |
1235 | void emergency_cleanup (); |
1233 | void emergency_cleanup (); |
1236 | |
1234 | |
1237 | bool init (int argc, const char *const *argv); |
1235 | bool init (int argc, const char *const *argv); |
1238 | bool init_vars (); |
1236 | bool init_vars (); |
… | |
… | |
1469 | void scr_reverse_selection (); |
1467 | void scr_reverse_selection (); |
1470 | void scr_dump (int fd); |
1468 | void scr_dump (int fd); |
1471 | void selection_check (int check_more); |
1469 | void selection_check (int check_more); |
1472 | void selection_paste (Window win, Atom prop, bool delete_prop); |
1470 | void selection_paste (Window win, Atom prop, bool delete_prop); |
1473 | void selection_property (Window win, Atom prop); |
1471 | void selection_property (Window win, Atom prop); |
1474 | void selection_request (Time tm, int x, int y); |
1472 | void selection_request (Time tm); |
1475 | int selection_request_other (Atom target, int selnum); |
1473 | int selection_request_other (Atom target, int selnum); |
1476 | void selection_clear (); |
1474 | void selection_clear (); |
1477 | void selection_make (Time tm); |
1475 | void selection_make (Time tm); |
1478 | bool selection_grab (Time tm); |
1476 | bool selection_grab (Time tm); |
1479 | void selection_start_colrow (int col, int row); |
1477 | void selection_start_colrow (int col, int row); |