Commit Graph

818 Commits

Author SHA1 Message Date
Nicholas Marriott
4d9af27b0b Better error messages for fork. 2009-01-23 16:59:14 +00:00
Nicholas Marriott
3f171917f6 Return 1 on error. Doh. 2009-01-23 16:19:56 +00:00
Nicholas Marriott
773b574ea2 Return -1 on error. 2009-01-23 16:19:41 +00:00
Nicholas Marriott
af5bc517c0 Update TODO. 2009-01-23 16:19:26 +00:00
Nicholas Marriott
392e135349 Handle SIGTERM (and kill-server which uses it), a bit more neatly - tidy up
properly and print a nicer message. Same effect though :-)
2009-01-21 22:47:31 +00:00
Nicholas Marriott
9acc26711d new-window -k. 2009-01-21 22:21:49 +00:00
Nicholas Marriott
19987feaaa Bring back -p and -l to splitw to specify height as % or nlines. 2009-01-21 19:38:51 +00:00
Nicholas Marriott
7118baa340 Allow a selection in vi keys mode... 2009-01-21 18:19:32 +00:00
Nicholas Marriott
48510fb56a Dont overload DEBUG, use FDEBUG. 2009-01-21 17:45:19 +00:00
Nicholas Marriott
8c259f562b Darwin support for automatic-rename, from joshe. 2009-01-20 22:17:53 +00:00
Nicholas Marriott
caa93f0e02 Whoops. Ic not It. 2009-01-20 20:03:13 +00:00
Nicholas Marriott
670bba16f2 Darwin too. 2009-01-20 20:00:39 +00:00
Nicholas Marriott
2d15f59859 Try to change the window title to match the command running it in. This is done
by reading argv[0] from the process group leader of the group that owns the tty
(tcgetpgrp()). This can't be done portably so some OS-dependent code is
introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment.

A new window flag, automatic-rename, is available: if this is set to off, the
window name is not changed. Specifying a name with the new-window, new-session
or rename-window commands will automatically set this flag to off for the
window in question. To disable it entirely set the option to off globally (setw
-g automatic-rename off).
2009-01-20 19:35:03 +00:00
Nicholas Marriott
d4f034beb4 Die properly with warning. 2009-01-20 18:48:46 +00:00
Nicholas Marriott
2afa8ebc02 Fix various silly problems with status line off. 2009-01-19 20:14:55 +00:00
Nicholas Marriott
94471aab82 Use reverse rather than background which doesn't show up when terminal doesn't
support colours.
2009-01-19 19:01:11 +00:00
Nicholas Marriott
5e55b28d81 Bump protocol. 2009-01-19 18:26:50 +00:00
Nicholas Marriott
93230a64bc Pass return code from _exec; allow command sequences to work from the command line. 2009-01-19 18:23:40 +00:00
Nicholas Marriott
5f6a351df7 Start the first client with a special socketpair so it is already known to the
server rather than playing silly games to get them synchronised before doing
anything.

Change attach-session to start the server.
2009-01-19 17:16:09 +00:00
Nicholas Marriott
95323a6a36 Leftover label. 2009-01-19 17:15:19 +00:00
Nicholas Marriott
4cdc228353 Unbreak UTF-8. 2009-01-18 21:46:30 +00:00
Nicholas Marriott
7bc8be006e A couple of trivial optimisations. 2009-01-18 21:35:09 +00:00
Nicholas Marriott
9690d9d5f1 Reset tty saved data on resize. 2009-01-18 21:26:44 +00:00
Nicholas Marriott
ac8ae1250a +. 2009-01-18 21:25:51 +00:00
Nicholas Marriott
1fa36b2419 Use the right size. 2009-01-18 21:21:53 +00:00
Nicholas Marriott
d1988b8010 This is done. 2009-01-18 19:17:35 +00:00
Nicholas Marriott
95b14341dd Don't die when run non-interactively. DOH. 2009-01-18 19:10:08 +00:00
Nicholas Marriott
d1a5fde3d0 -a flags to next/previous window. 2009-01-18 18:31:45 +00:00
Nicholas Marriott
99bb795581 Show tty flags too. 2009-01-18 18:06:37 +00:00
Nicholas Marriott
3efd1f5014 find-window command. 2009-01-18 17:20:52 +00:00
Tiago Cunha
6384c60c10 Remove object files in the compat directory. 2009-01-18 15:57:28 +00:00
Tiago Cunha
b45c37edc6 Add note about the syntax file. 2009-01-18 15:55:33 +00:00
Nicholas Marriott
0691217742 These should be u_int. 2009-01-18 15:40:19 +00:00
Nicholas Marriott
ed6f44b01f FreeBSD needs compat/vis.c. 2009-01-18 15:18:33 +00:00
Nicholas Marriott
f62d58e1fb Update with new features. 2009-01-18 14:46:04 +00:00
Nicholas Marriott
a15f8fc4a6 Support command sequences separated by " ; ". Also clean up command printing. 2009-01-18 14:40:48 +00:00
Nicholas Marriott
c4d5989a4e This is fixed. 2009-01-18 13:20:46 +00:00
Nicholas Marriott
efb62d423b Show (attached) for attached sessions. 2009-01-18 12:13:21 +00:00
Nicholas Marriott
8ea49712fd suspend-client command and suspend client when ^Z key binding is used. 2009-01-18 12:09:42 +00:00
Nicholas Marriott
273d63040a Update for 0.7. 2009-01-18 00:08:43 +00:00
Nicholas Marriott
c623d42df4 Update. 2009-01-17 19:08:12 +00:00
Nicholas Marriott
0e197b417a Tidy a few warnings. 2009-01-17 18:47:37 +00:00
Nicholas Marriott
ff61eee294 Don't use [4] since they are confusing and use the right size for memset. DOH. 2009-01-17 18:38:12 +00:00
Nicholas Marriott
d5820171b7 Actually remove the key binding from the tree when freeing it. 2009-01-17 18:34:12 +00:00
Tiago Cunha
f3b1a78833 xterm-keys added 2009-01-17 18:00:24 +00:00
Nicholas Marriott
7b46965249 Add note about configuration breakage. 2009-01-17 17:51:54 +00:00
Nicholas Marriott
0fd60e90c4 Whoops, take out debugging. 2009-01-17 17:42:10 +00:00
Nicholas Marriott
f3edf28b7c Don't die when last window either. 2009-01-17 17:36:55 +00:00
Nicholas Marriott
1237025d99 Document xterm-keys 2009-01-17 17:16:31 +00:00
Tiago Cunha
f10977afa3 choose-{session,window}, and repeat-time added 2009-01-16 22:53:57 +00:00