Commit Graph

99 Commits

Author SHA1 Message Date
Nicholas Marriott
de79ce38a5 Try to figure out if we are using gcc 4 and get rid of the stupid warning, while not breaking 3.x and 2.x... 2009-05-14 00:06:59 +00:00
Nicholas Marriott
ab5273d9a9 Don't bother with this. 2009-05-13 23:43:27 +00:00
Nicholas Marriott
488a67e5a3 Whoops, don't use the name of the rule here now. 2009-05-13 23:41:58 +00:00
Nicholas Marriott
78f6b511fd $(PROG) is gorn. 2009-05-13 23:33:54 +00:00
Nicholas Marriott
c8cf438d44 Rename all feature flags to HAVE_* and move out of makefiles into a configure
script which must be run before building.

Still two makefiles but they are a hell of a lot simpler.

HAVE_* also will make it easier to move to $buildsystem if necessary later.
2009-05-13 23:27:00 +00:00
Nicholas Marriott
e1b4a37722 Bye-bye nonworking IRIX, can be rescued from the attic if ever needed again. 2009-05-13 22:26:11 +00:00
Nicholas Marriott
792aeb926e Use getopt.c from openssh rather than OpenBSD's getopt_long. 2009-05-13 22:20:48 +00:00
Nicholas Marriott
88daeb5410 Bye-bye META. 2009-05-13 22:10:39 +00:00
Nicholas Marriott
044e6f7660 previous-layout command. 2009-04-30 21:17:06 +00:00
Nicholas Marriott
cdf472f2de Merge resize-pane-{up,down} into resize-pane. 2009-04-30 06:01:24 +00:00
Nicholas Marriott
91241f1457 Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
Nicholas Marriott
8aa72ac803 tmux doesn't care about setres[ug]id. 2009-04-29 22:42:02 +00:00
Nicholas Marriott
2b967aa1d2 getopt_long.c not getopt.c 2009-04-29 22:40:52 +00:00
Nicholas Marriott
74dfb503a8 Solaris doesn't have TAILQ_REPLACE yet :-(. 2009-04-29 22:35:45 +00:00
Nicholas Marriott
cc9cc1aea8 Some tweaks for Solaris.
Get rid of vis.* in favour of a small replacement function.
2009-04-29 22:25:20 +00:00
Tiago Cunha
058772e4e6 - confirm-before command.
- Bound "&" and "x" by default to confirm-before "kill-window" and
  confirm-before "kill-pane", respectively.
2009-04-27 13:21:16 +00:00
Nicholas Marriott
22b44cbb2b 0.9 here we go. 2009-04-21 20:54:18 +00:00
Nicholas Marriott
9d157d723e Ready for 0.8. 2009-04-21 20:10:22 +00:00
Nicholas Marriott
325d43e417 rotate-window command. 2009-04-03 17:21:46 +00:00
Nicholas Marriott
8216f7b3d9 swap-pane command. 2009-04-02 23:28:16 +00:00
Nicholas Marriott
b6450b167b Basic horizontal splitting and layout management. Still some redraw and other
issues - particularly, don't mix with manual pane resizing and be careful when
viewing from multiple clients; generally cycling the layout a few times will
fix most problems. Getting this in for testing while I think about how to deal
with manual mode.

Split window as normal and cycle the layouts with C-b space. Some of the
layouts will work better when swap-pane comes along.
2009-04-01 18:21:42 +00:00
Nicholas Marriott
d13add828a More AIX tweaks. 2009-03-31 22:08:45 +00:00
Nicholas Marriott
3576ce6d01 Missing \. 2009-03-31 21:24:33 +00:00
Nicholas Marriott
792b28ec3e Most of AIX support. 2009-03-31 21:22:10 +00:00
Nicholas Marriott
56f80a5b09 break-pane command to split a pane off into a new window; bound to ! by default. 2009-03-07 09:29:54 +00:00
Nicholas Marriott
78f420e7a9 Reuse CPPFLAGS. 2009-02-18 09:04:15 +00:00
Nicholas Marriott
664c79cf73 INCDIRS after CPPFLAGS. 2009-02-18 08:50:30 +00:00
Nicholas Marriott
03b76dbf35 Use CPPFLAGS. 2009-02-18 08:41:22 +00:00
Nicholas Marriott
85fd2147af Move to 0.8. 2009-02-08 14:11:37 +00:00
Nicholas Marriott
69ebc15808 Time for 0.7. 2009-02-07 08:36:34 +00:00
Tiago Cunha
4213ff8faa copy-buffer command. 2009-02-03 17:21:19 +00:00
Nicholas Marriott
c6bd9e2063 Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink
From Josh Elsasser, thanks!
2009-01-27 20:22:33 +00:00
Tiago Cunha
f62ed6aaa3 load-buffer command 2009-01-25 19:00:10 +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
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
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
Nicholas Marriott
a15f8fc4a6 Support command sequences separated by " ; ". Also clean up command printing. 2009-01-18 14:40:48 +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
0e197b417a Tidy a few warnings. 2009-01-17 18:47:37 +00:00
Nicholas Marriott
d29ca39e0e Two new commands, choose-window and choose-session which work only when bound to a key and allow the window or session to be selected from a list. 2009-01-15 19:27:31 +00:00
Nicholas Marriott
7bcf9a1b21 Darwin needs vis.c as well. 2009-01-14 23:08:23 +00:00
Nicholas Marriott
d1eb153368 switch-pane is now select-pane. 2009-01-14 19:56:55 +00:00
Nicholas Marriott
3f51dcdfc3 up-pane and down-pane commands. 2009-01-14 19:41:15 +00:00
Nicholas Marriott
f85559144f kill-pane command. 2009-01-13 06:50:10 +00:00
Nicholas Marriott
162bacdcd9 Window splitting. Two vertical panes fixed 50% each. This is a huge diff, still a couple of bugs (notably heap corruption somewhere causing segfault on exit). 2009-01-11 23:31:46 +00:00
Nicholas Marriott
d78bc5dfc4 save-buffer command, from Tiago Cunha. 2009-01-11 23:14:57 +00:00