Commit Graph

4665 Commits

Author SHA1 Message Date
Nicholas Marriott
4ba3cf60be Reorg window data structures. Add an intermediate data type (struct winlink) to hold index and make sessions hold a RB tree of them rather than a fixed array. 2007-10-26 12:29:07 +00:00
Nicholas Marriott
9f06104c3a has-session command. 2007-10-25 17:44:25 +00:00
Nicholas Marriott
4df168c986 Use local var and pull screen out of ictx. 2007-10-24 15:40:59 +00:00
Nicholas Marriott
ebeb14211d Handle DSR for resize(1). 2007-10-24 15:29:29 +00:00
Nicholas Marriott
e21587864a Save restore attr. 2007-10-24 15:01:25 +00:00
Nicholas Marriott
8782639c1e Free buffers properly. 2007-10-24 11:45:25 +00:00
Nicholas Marriott
1f10f6ea8b Close memory leaks. 2007-10-24 11:42:03 +00:00
Nicholas Marriott
810a8846b7 A couple of close-on-exec flags. 2007-10-24 11:30:02 +00:00
Nicholas Marriott
f941d270ca Save/restore errno, free pfd buffer. 2007-10-24 11:21:29 +00:00
Nicholas Marriott
3859c9f239 Free/close windows properly. 2007-10-24 11:05:59 +00:00
Nicholas Marriott
ab02144e3d Don't need ttydefchars here. 2007-10-23 11:25:32 +00:00
Nicholas Marriott
9a086da081 Sync. 2007-10-23 10:52:53 +00:00
Nicholas Marriott
688a487570 Lift last MAXNAMELEN limit on -s argument. 2007-10-23 10:48:23 +00:00
Nicholas Marriott
21c17da7e6 Remove freed keys from array. 2007-10-23 10:25:57 +00:00
Nicholas Marriott
64713e0511 Tweak a couple of variable names. 2007-10-23 10:25:03 +00:00
Nicholas Marriott
14fdb49c19 FreeBSD lacks TTY_NAME_MAX. 2007-10-23 10:21:59 +00:00
Nicholas Marriott
25e94a0526 List client command. 2007-10-23 09:36:19 +00:00
Nicholas Marriott
98e7e79e4c Show size. 2007-10-23 09:36:07 +00:00
Nicholas Marriott
0b0a3c02af Return 0 on lost server so pkill works okay if scripted. 2007-10-22 13:16:36 +00:00
Nicholas Marriott
f2f1b8fc81 Add default-command option and change default to be $SHELL rather than $SHELL -l. Also try to read shell from passwd db if $SHELL isn't present. 2007-10-20 09:57:08 +00:00
Nicholas Marriott
8d09be0cb1 Oops, 0 in wrong place. 2007-10-19 23:33:20 +00:00
Nicholas Marriott
5c2d7b2a9a Don't send zero-length when we have a \0. 2007-10-19 23:25:33 +00:00
Nicholas Marriott
8f6bc501d1 Sync. 2007-10-19 22:34:06 +00:00
Nicholas Marriott
d544d5915d time.h. 2007-10-19 22:32:54 +00:00
Nicholas Marriott
63795f6c04 Missing time.h. 2007-10-19 22:17:29 +00:00
Nicholas Marriott
97e8b94ef8 cctx should be 0. 2007-10-19 21:58:17 +00:00
Nicholas Marriott
92a42a9e7d FreeBSD requires stdint.h. 2007-10-19 20:50:01 +00:00
Nicholas Marriott
cf77c80b93 FreeBSD's util.h is libutil.h. 2007-10-19 20:47:09 +00:00
Nicholas Marriott
65125c7276 Sync. 2007-10-19 20:43:55 +00:00
Nicholas Marriott
bfad5c0171 Define __dead and __packed. 2007-10-19 20:36:08 +00:00
Nicholas Marriott
8580e8c153 Whoops, fix key bindings. 2007-10-19 17:23:43 +00:00
Nicholas Marriott
543e7b0f03 -n is now -s on new-session. 2007-10-19 17:15:29 +00:00
Nicholas Marriott
1b9647669a Kill window command. Nuke some backspace stuff. 2007-10-19 11:10:35 +00:00
Nicholas Marriott
de24fbb35c Add a bell-action option. 2007-10-19 10:21:36 +00:00
Nicholas Marriott
94f003bbec Refresh session command. 2007-10-19 09:21:26 +00:00
Nicholas Marriott
840b74f6d0 Other notes. 2007-10-12 18:00:16 +00:00
Nicholas Marriott
d4330f57c0 Init signals here to pick up zombie. 2007-10-12 17:52:41 +00:00
Nicholas Marriott
5b60d6e09d Tweak message. 2007-10-12 17:50:33 +00:00
Nicholas Marriott
a5184c6625 Extended NOTES ready for 0.1. 2007-10-12 17:32:20 +00:00
Nicholas Marriott
37f17a7e5b Warn and bork on nested sessions ($TMUX exists). 2007-10-12 14:46:48 +00:00
Nicholas Marriott
514d6fa1ec Accept colours as strings. 2007-10-12 13:51:44 +00:00
Nicholas Marriott
f3404ee922 send-prefix command. 2007-10-12 13:03:58 +00:00
Nicholas Marriott
e5b7001524 Change to show flag char rather than change colour on bell. 2007-10-12 12:37:48 +00:00
Nicholas Marriott
a02638c0bc Update. 2007-10-12 12:32:34 +00:00
Nicholas Marriott
46d318e3ef Case insensitive. 2007-10-12 12:11:40 +00:00
Nicholas Marriott
7ec5be30df set status, status-fg, status-bg. 2007-10-12 12:08:51 +00:00
Nicholas Marriott
ffa8dcc4da Handle \r\n at EOL properly. 2007-10-12 11:44:30 +00:00
Nicholas Marriott
ad4a7423c0 Mark windows in yellow on status line when bell. 2007-10-12 11:24:15 +00:00
Nicholas Marriott
d158938178 Sync. 2007-10-12 09:48:53 +00:00
Nicholas Marriott
efa3e131b5 Simplify input.c - lose class table and use macros. 2007-10-10 19:45:20 +00:00