1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*--------------------------------*-C-*---------------------------------* |
2 | * File: main.c |
2 | * File: main.c |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * $Id: main.C,v 1.4 2003/11/25 15:25:17 pcg Exp $ |
4 | * $Id: main.C,v 1.5 2003/11/25 15:44:38 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> |
… | |
… | |
58 | { |
58 | { |
59 | free (p); |
59 | free (p); |
60 | } |
60 | } |
61 | |
61 | |
62 | rxvt_term::rxvt_term () |
62 | rxvt_term::rxvt_term () |
63 | : pty_ev(this, &rxvt_term::pty_cb), |
63 | : pty_ev (this, &rxvt_term::pty_cb), |
|
|
64 | #ifdef CURSOR_BLINK |
|
|
65 | blink_ev (this, &rxvt_term::blink_cb), |
|
|
66 | #endif |
64 | x_ev (this, &rxvt_term::x_cb) |
67 | x_ev (this, &rxvt_term::x_cb) |
65 | { |
68 | { |
66 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
69 | cmdbuf_ptr = cmdbuf_endp = cmdbuf_base; |
67 | } |
70 | } |
68 | |
71 | |
69 | rxvt_term::~rxvt_term () |
72 | rxvt_term::~rxvt_term () |