Commit Graph

9669 Commits

Author SHA1 Message Date
Nicholas Marriott
be0c79f3ad Sockets in /tmp are now created in a subdirectory named, tmux-UID, eg
tmux-1000. The default socket is thus /tmp/tmux-UID/default. To start a
separate server, the new -L command line option should be used: this creates a
socket in the same directory with a different name ("-L main" will create
socket called "main"). -S should only be used to place the socket outside
/tmp. This makes sockets a little more secure and a bit more convenient to use
multiple servers.
2009-03-27 15:57:10 +00:00
Nicholas Marriott
0cb069a6b1 Use lstat. No change yet due to realpath call in tmux.c. 2009-03-27 08:58:28 +00:00
Nicholas Marriott
52fb9ca250 Clear pollfds first. 2009-03-27 08:46:02 +00:00
Nicholas Marriott
12bb7436c3 Update. 2009-03-27 08:44:29 +00:00
Nicholas Marriott
1f06ae2def Typo. 2009-03-27 08:44:12 +00:00
Nicholas Marriott
f5f04a9344 * New session flag "set-remain-on-exit" to set remain-on-exit flag for new windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847. 2009-03-21 12:44:06 +00:00
Nicholas Marriott
7398241e58 Done. 2009-03-07 10:46:36 +00:00
Nicholas Marriott
e6d35b6aa4 Support for 88 colour terminals. 2009-03-07 10:29:06 +00:00
Nicholas Marriott
521fa7d640 Unused variable. 2009-03-07 10:11:20 +00:00
Nicholas Marriott
3f09bf99b8 char not char *... 2009-03-07 09:42:13 +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
8a6a7e74da CSR resets the cursor to the top-left. Reported by merdely. 2009-03-05 20:27:51 +00:00
Nicholas Marriott
0402ef2e31 Log socket path so I can tell which tmux log is which. 2009-03-05 20:24:41 +00:00
Nicholas Marriott
a9a22d7ede Initialise socket_path before parsing configuration file. 2009-03-04 17:33:30 +00:00
Nicholas Marriott
65b9aeb337 Put socket path in $TMUX. 2009-03-04 17:24:07 +00:00
Nicholas Marriott
171256057e Extra function keys from Dashing dashing at hushmail dot com 2009-03-02 18:05:40 +00:00
Nicholas Marriott
5803c4fc5b Fix window choice mode, again. 2009-03-02 17:01:00 +00:00
Nicholas Marriott
57f5f44d0f Sort out escape key handling so it works. 2009-03-02 16:55:23 +00:00
Nicholas Marriott
792b4db4a7 Doh. Set a message when pane is too small rather than dying... 2009-03-01 22:05:35 +00:00
Nicholas Marriott
a2a5abef13 This is now fixed. 2009-02-28 12:13:38 +00:00
Nicholas Marriott
26edf4cce0 Don't segfault on lock when no sessions attached. 2009-02-27 16:01:31 +00:00
Nicholas Marriott
eae026f2f7 Redraw selection properly. 2009-02-25 21:56:46 +00:00
Nicholas Marriott
092cca4b5f Update TODO. 2009-02-25 21:55:15 +00:00
Nicholas Marriott
c45eb2713b Check the right variable. Doh. 2009-02-24 21:49:05 +00:00
Nicholas Marriott
3969b59ae5 Don't turn cursor off unless actually drawing something. 2009-02-21 19:25:58 +00:00
Nicholas Marriott
5b7e882bf6 Don't redraw status if it has already been redrawed as part of entire screen. 2009-02-21 17:52:25 +00:00
Nicholas Marriott
afd67ce89f Allow selection in vi mode. 2009-02-21 17:46:13 +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
761db94050 Exclude NetBSD. 2009-02-18 08:41:46 +00:00
Nicholas Marriott
03b76dbf35 Use CPPFLAGS. 2009-02-18 08:41:22 +00:00
Nicholas Marriott
6d8ff85167 -err.h. 2009-02-17 18:54:14 +00:00
Nicholas Marriott
546a9d5257 Don't die on any error from fd. 2009-02-17 18:53:10 +00:00
Nicholas Marriott
ca8b6a08ff NetBSD flags. 2009-02-17 08:08:42 +00:00
Nicholas Marriott
5a6ed33a3f Don't leak string arguments and options. 2009-02-16 19:29:17 +00:00
Nicholas Marriott
b03783efad strdup() not necessary here. 2009-02-16 19:01:16 +00:00
Nicholas Marriott
f5126e20f1 And another memory leak. 2009-02-16 18:58:14 +00:00
Nicholas Marriott
4573ef1869 Memory leak. 2009-02-16 18:57:16 +00:00
Nicholas Marriott
a4f5d127e2 Don't leak top line of history and status screen. 2009-02-16 18:51:39 +00:00
Nicholas Marriott
a766f9743a Don't leak existing keys. 2009-02-16 18:43:07 +00:00
Nicholas Marriott
17017ef3bc These are fixed. 2009-02-15 23:06:49 +00:00
Nicholas Marriott
95c8c049f5 Redo mode keys slightly more cleanly and apply them to command prompt editing. vi or emacs mode is controlled by the session option status-keys. 2009-02-13 21:39:45 +00:00
Nicholas Marriott
47e6b2725d Reset mode before adding text. 2009-02-13 20:19:30 +00:00
Nicholas Marriott
b2282f243b Use the right row when calling RI. 2009-02-13 19:45:16 +00:00
Nicholas Marriott
488cec3149 More TODO. 2009-02-13 19:36:39 +00:00
Nicholas Marriott
d76d42f4f9 Update TODO. 2009-02-13 19:30:06 +00:00
Nicholas Marriott
0450b4a5d4 Move status prompt/message init and teardown into status.c. 2009-02-13 18:57:55 +00:00
Nicholas Marriott
fdafe63004 Reset region before using CUD etc. 2009-02-13 17:09:55 +00:00
Nicholas Marriott
eb7d229bac Code tidying on my way to find tmux-in-tmux bug. 2009-02-13 16:53:14 +00:00
Nicholas Marriott
1a88dbf797 Some extra emacs keys from Christian Weisgerber. 2009-02-13 16:40:04 +00:00