Commit Graph

8681 Commits

Author SHA1 Message Date
Nicholas Marriott
9cde0c2477 Be more clever about picking window name. 2009-01-26 22:57:20 +00:00
Nicholas Marriott
4d7e555a48 Don't screw up UTF-8 combined characters. 2009-01-26 20:57:45 +00:00
Nicholas Marriott
514adbdb4d Update. 2009-01-26 19:17:08 +00:00
Nicholas Marriott
7c8cd81b34 Typos. 2009-01-26 18:22:55 +00:00
Tiago Cunha
f62ed6aaa3 load-buffer command 2009-01-25 19:00:10 +00:00
Tiago Cunha
d60ad6f483 Make the caller responsible for allocating memory for the paste buffer data
(needed by the load-buffer command when dealing with big files since it'll
prevent tmux from dying due to memory exhaustion). From nicm.
2009-01-25 18:51:28 +00:00
Nicholas Marriott
32903241a2 +CHANGES. 2009-01-23 20:53:18 +00:00
Nicholas Marriott
e0861a2cd0 Missed a reverse. 2009-01-23 20:50:58 +00:00
Nicholas Marriott
6146cab3bd Use reverse so status line etc works in terminals w/o colour. 2009-01-23 20:49:01 +00:00
Nicholas Marriott
d2cfbc64a0 Raise some limits to INT_MAX, SHRT_MAX is too low. 2009-01-23 20:48:19 +00:00
Nicholas Marriott
7dab6f3e96 Add -a properly. 2009-01-23 20:20:23 +00:00
Nicholas Marriott
2cbd21ea44 Fix this properly... 2009-01-23 20:17:04 +00:00
Nicholas Marriott
374b0d85b8 Fix next/previous page. DOH. 2009-01-23 17:14:30 +00:00
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