Commit Graph

47 Commits

Author SHA1 Message Date
Nicholas Marriott
5ea2ac36e4 Stop crashing when exiting windows. 2007-09-21 20:45:06 +00:00
Nicholas Marriott
70c1ba5770 Comment. 2007-09-21 20:02:23 +00:00
Nicholas Marriott
f456e1cb30 Reset s->window to NULL so it doesn't end up in s->last. 2007-09-21 20:00:28 +00:00
Nicholas Marriott
1fefbb7a85 Pass through backspace for now. 2007-09-21 19:24:37 +00:00
Nicholas Marriott
f145108258 Tweak ordering. 2007-09-21 18:35:16 +00:00
Nicholas Marriott
248f78d29a Remove window before working out new current window; clear last window if necessary. 2007-09-21 18:31:58 +00:00
Nicholas Marriott
33f5f84f99 Whoops. Other way round. 2007-09-21 18:20:44 +00:00
Nicholas Marriott
d63977ea8a session_last == -1 could still leave us with the window we are about to remove. 2007-09-21 18:16:31 +00:00
Nicholas Marriott
1702a781bb Be more careful about destroying windows. 2007-09-21 18:11:25 +00:00
Nicholas Marriott
24b978adb7 Don't resize unless size changed. 2007-09-21 18:00:58 +00:00
Nicholas Marriott
8ac1d46f9b Move common command code into single function; from Maximilian Gass. 2007-09-20 18:51:34 +00:00
Nicholas Marriott
15778b2952 META env var. 2007-09-20 18:48:04 +00:00
Nicholas Marriott
656f2a264c Sync. 2007-09-20 18:27:23 +00:00
Nicholas Marriott
34f87e521b Last window option. 2007-09-20 18:03:23 +00:00
Nicholas Marriott
2cd99f0ebb Reset ignored signals after forkpty. 2007-09-20 09:43:33 +00:00
Nicholas Marriott
9c0b51cd5d Wrap next/prev. 2007-09-20 08:21:59 +00:00
Nicholas Marriott
b1782e1b3d Truncate array if last window is closed. 2007-09-19 16:00:55 +00:00
Nicholas Marriott
e3440e017d Don't renumber on close. 2007-09-19 15:16:23 +00:00
Nicholas Marriott
d7e1d4ddb9 Sync. 2007-09-19 14:12:48 +00:00
Nicholas Marriott
39c4865332 Upd. 2007-09-18 11:00:37 +00:00
Nicholas Marriott
037d11a289 This ain't goin' nowhere fast. 2007-09-05 19:54:05 +00:00
Nicholas Marriott
3846c9b9a8 Set up signal handlers before fork so server has them too. 2007-08-28 09:36:33 +00:00
Nicholas Marriott
48ab20871b Tweak comment; use sizeof. 2007-08-28 09:26:07 +00:00
Nicholas Marriott
fc63750d30 Scrolling region. 2007-08-28 09:19:50 +00:00
Nicholas Marriott
38b752c1d8 Remove old sockets after error. 2007-08-28 08:30:36 +00:00
Nicholas Marriott
12f7197adb session_flush can go bye-bye again. 2007-08-27 20:36:52 +00:00
Nicholas Marriott
438144692d Flush even detached sessions. 2007-08-27 15:28:07 +00:00
Nicholas Marriott
8dbccbc4db Consistent error message. 2007-08-27 13:53:55 +00:00
Nicholas Marriott
04f4e4219b Change command format. 2007-08-27 13:45:26 +00:00
Nicholas Marriott
6e210bb005 If a session is destroyed, safely kill all other clients attached to it. 2007-08-27 12:05:15 +00:00
Nicholas Marriott
7000277f94 Don't try to upadte window after free. 2007-08-27 11:45:03 +00:00
Nicholas Marriott
5cb483680f Use after free. 2007-08-27 11:41:00 +00:00
Nicholas Marriott
565ba002e9 Don't scroll screen until trying to write beyond limits. 2007-08-27 11:21:05 +00:00
Nicholas Marriott
635edfa7d5 Don't accept zero titles. 2007-08-27 11:05:21 +00:00
Nicholas Marriott
228ec26d10 These aren't unused. 2007-08-27 10:30:28 +00:00
Nicholas Marriott
85770bc701 Use $SHELL for new shell, if set. 2007-08-27 10:24:03 +00:00
Nicholas Marriott
b9de906ad9 We use screen now, not ansi. 2007-08-27 10:08:44 +00:00
Nicholas Marriott
73d7b70479 Update to be more readable and hopefully lose memory problems. 2007-08-27 09:53:38 +00:00
Nicholas Marriott
98642e907a +. 2007-08-27 08:15:39 +00:00
Nicholas Marriott
272ad1ed6c Tweak logging. 2007-08-27 08:12:23 +00:00
Nicholas Marriott
57c10dd0d8 Sync with fdm. 2007-08-27 08:08:19 +00:00
Nicholas Marriott
4b62b1d16c Sync with fdm. 2007-07-25 23:13:18 +00:00
Nicholas Marriott
a3bfe208b3 Some code tidying, use macros in a few more places. 2007-07-10 10:21:58 +00:00
Nicholas Marriott
40ece59195 And more. 2007-07-09 19:39:47 +00:00
Nicholas Marriott
039b7ecbef Log missing terminfo vars rather than dying. 2007-07-09 19:34:55 +00:00
Nicholas Marriott
a41ece5ff0 Initial import to CVS. Basic functions are working, albeit with a couple of showstopper memory bugs and many missing features. Detaching, reattaching, creating new sessions, listing sessions work acceptably for using with shells. Simple curses programs (top, systat, tetris) and more complicated ones (mutt, emacs) that don't require scrolling regions (ESC[r) mostly work fine (including mutt, emacs). No status bar yet and no key remapping or other customisation. 2007-07-09 19:04:12 +00:00
no_author
2905e0ef10 Standard project directories initialized by cvs2svn. 2007-07-09 19:04:12 +00:00