comparison chansession.h @ 40:b4874d772210

- Added terminal mode handling etc for the client, and window change - Refactored the terminal-mode handling for the server - Improved session closing for the client
author Matt Johnston <matt@ucc.asn.au>
date Sun, 01 Aug 2004 08:54:01 +0000
parents 7f77962de998
children 18eccbfb9641
comparison
equal deleted inserted replaced
39:0883c0906870 40:b4874d772210
37 /* pty details */ 37 /* pty details */
38 int master; /* the master terminal fd*/ 38 int master; /* the master terminal fd*/
39 int slave; 39 int slave;
40 unsigned char * tty; 40 unsigned char * tty;
41 unsigned char * term; 41 unsigned char * term;
42 unsigned int termw, termh, termc, termr; /* width, height, col, rows */
43 42
44 /* exit details */ 43 /* exit details */
45 int exited; 44 int exited;
46 int exitstatus; 45 int exitstatus;
47 int exitsignal; 46 int exitsignal;
74 struct ChanSess * chansess); 73 struct ChanSess * chansess);
75 void send_msg_chansess_exitsignal(struct Channel * channel, 74 void send_msg_chansess_exitsignal(struct Channel * channel,
76 struct ChanSess * chansess); 75 struct ChanSess * chansess);
77 void addnewvar(const char* param, const char* var); 76 void addnewvar(const char* param, const char* var);
78 77
78 void cli_send_chansess_request();
79 void cli_tty_cleanup();
80
79 void svr_chansessinitialise(); 81 void svr_chansessinitialise();
80 extern const struct ChanType svrchansess; 82 extern const struct ChanType svrchansess;
81 83
82 struct SigMap { 84 struct SigMap {
83 int signal; 85 int signal;