1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: main.c |
2 | * File: main.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: main.C,v 1.17 2003/12/18 13:33:02 pcg Exp $ |
4 | * $Id: main.C,v 1.18 2003/12/19 06:17:03 pcg Exp $ |
5 | * |
5 | * |
6 | * All portions of code are copyright by their respective author/s. |
6 | * All portions of code are copyright by their respective author/s. |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
7 | * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> |
8 | * - original version |
8 | * - original version |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
9 | * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> |
… | |
… | |
72 | { |
72 | { |
73 | free (p); |
73 | free (p); |
74 | } |
74 | } |
75 | |
75 | |
76 | rxvt_term::rxvt_term () |
76 | rxvt_term::rxvt_term () |
77 | : pty_ev (this, &rxvt_term::pty_cb), |
77 | : destroy_ev (this, &rxvt_term::destroy_cb), |
78 | #ifdef CURSOR_BLINK |
78 | #ifdef CURSOR_BLINK |
79 | blink_ev (this, &rxvt_term::blink_cb), |
79 | blink_ev (this, &rxvt_term::blink_cb), |
80 | #endif |
80 | #endif |
81 | #ifdef POINTER_BLANK |
81 | #ifdef POINTER_BLANK |
82 | pointer_ev (this, &rxvt_term::pointer_cb), |
82 | pointer_ev (this, &rxvt_term::pointer_cb), |
83 | #endif |
83 | #endif |
84 | x_ev (this, &rxvt_term::x_cb), |
84 | x_ev (this, &rxvt_term::x_cb), |
85 | destroy_ev (this, &rxvt_term::destroy_cb), |
|
|
86 | check_ev (this, &rxvt_term::check_cb), |
85 | check_ev (this, &rxvt_term::check_cb), |
87 | incr_ev (this, &rxvt_term::incr_cb) |
86 | incr_ev (this, &rxvt_term::incr_cb), |
|
|
87 | pty_ev (this, &rxvt_term::pty_cb) |
88 | { |
88 | { |
89 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
89 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
90 | } |
90 | } |
91 | |
91 | |
92 | rxvt_term::~rxvt_term () |
92 | rxvt_term::~rxvt_term () |