Nicholas Marriott
c1b9948525
Change the way the working directory for new processes is discovered. If
...
default-path isn't empty, it is used. Otherwise:
1) If tmux neww is run from the command line, the working directory of the
client is used.
2) Otherwise use some platform specific code to retrieve the current working
directory of the process in the active pane.
3) If that fails, the directory where the session was created is used.
Idea and support code, Linux, Solaris, FreeBSD bits by Romain Francoise,
OpenBSD bits by me.
2011-12-09 16:37:29 +00:00
Nicholas Marriott
f308ba93aa
Change the way the working directory for new processes is discovered. If
...
default-path isn't empty, it is used. Otherwise:
1) If tmux neww is run from the command line, the working directory of the
client is used.
2) Otherwise sysctl KERN_PROC_CWD is used to retrieve the current
working directory of the process in the active pane.
3) If that fails, the directory where the session was created is used.
Support code by Romain Francois, OpenBSD specific bits by me.
Note this requires a recent userland and kernel with KERN_PROC_CWD.
2011-12-09 16:28:18 +00:00
Tiago Cunha
76862acf3e
Sync OpenBSD patchset 986:
...
Support "jump to" like vi in copy mode using t and T keys. Also add x
and X for delete in edit mode.
From Ben Boeckel, thanks.
2011-12-06 18:50:26 +00:00
Tiago Cunha
f308663ad4
Sync OpenBSD patchset 985:
...
Log terminal overrides.
2011-12-06 18:48:45 +00:00
Tiago Cunha
876f46abb9
Sync OpenBSD patchset 984:
...
Add home and end keys for command prompt, from Matthias Lederhofer.
2011-12-06 18:48:02 +00:00
Tiago Cunha
620a87db25
Sync OpenBSD patchset 983:
...
Make M-f and M-b work the same at the command prompt as in copy mode,
pointed out by Romain Francoise.
2011-12-06 18:47:14 +00:00
Nicholas Marriott
e04d13f6a6
Support "jump to" like vi in copy mode using t and T keys. Also add x
...
and X for delete in edit mode.
From Ben Boeckel, thanks.
2011-12-04 16:18:01 +00:00
Nicholas Marriott
c44d2d854f
Log terminal overrides.
2011-12-01 23:47:08 +00:00
Nicholas Marriott
31f13e49d8
Add home and end keys for command prompt, from Matthias Lederhofer.
2011-12-01 20:44:12 +00:00
Nicholas Marriott
2397083f7e
Make M-f and M-b work the same at the command prompt as in copy mode,
...
pointed out by Romain Francoise.
2011-12-01 20:42:31 +00:00
Tiago Cunha
08014af243
New commands and options. From Ben Boeckel.
2011-11-25 14:31:11 +00:00
Tiago Cunha
774bffb3c6
Sync OpenBSD patchset 982:
...
Add word movement and editing command for command prompt editing, from
Ben Boeckel.
2011-11-25 13:34:20 +00:00
Tiago Cunha
9c920214e6
Sync OpenBSD patchset 981:
...
Move word-separators to be a session rather than window option, from Ben
Boeckel.
2011-11-25 13:33:04 +00:00
Tiago Cunha
5cc3d50289
Sync OpenBSD patchset 980:
...
Add a pane_index format string and use it, from Ben Boeckel.
2011-11-25 13:31:56 +00:00
Tiago Cunha
9ec457575d
Sync OpenBSD patchset 979:
...
Make window_pane_index work the same as window_index, from Ben Boeckel.
2011-11-25 13:30:45 +00:00
Nicholas Marriott
fc5f8804ec
Add word movement and editing command for command prompt editing, from
...
Ben Boeckel.
2011-11-15 23:34:12 +00:00
Nicholas Marriott
fd25d35868
Move word-separators to be a session rather than window option, from Ben
...
Boeckel.
2011-11-15 23:24:04 +00:00
Nicholas Marriott
7c9bc377a3
Add a pane_index format string and use it, from Ben Boeckel.
2011-11-15 23:21:52 +00:00
Nicholas Marriott
57df442916
Make window_pane_index work the same as window_index, from Ben Boeckel.
2011-11-15 23:19:51 +00:00
Nicholas Marriott
398af28d2a
+.
2011-11-15 23:12:28 +00:00
Tiago Cunha
8798079ab0
Typo. From Bastien Dejean.
2011-11-10 21:50:40 +00:00
Tiago Cunha
c26ec766cb
Add command colour options. From Ben Boeckel.
2011-11-10 21:49:27 +00:00
Tiago Cunha
c3794d4303
Sync OpenBSD patchset 978:
...
Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.
2011-11-10 21:41:37 +00:00
Tiago Cunha
4fbb296438
Sync OpenBSD patchset 977:
...
Missing bits for new keys and buffer indexes, from Tiago Cunha
2011-11-10 21:41:01 +00:00
Tiago Cunha
21128fea1e
Sync OpenBSD patchset 976:
...
Option to change status line (message) background when using vi keys and
in command mode. From Ben Boeckel.
2011-11-10 21:40:17 +00:00
Nicholas Marriott
9f738dd2fe
Fix a trivial copy-and-paste error (sx->sy), from Chris Johnsen.
2011-11-09 12:02:07 +00:00
Nicholas Marriott
693c106a1d
Add.
2011-11-09 12:00:11 +00:00
Nicholas Marriott
6c1c304fc3
Missing bits for new keys and buffer indexes, from Tiago Cunha
2011-11-05 09:13:00 +00:00
Nicholas Marriott
e5bf63cb59
Option to change status line (message) background when using vi keys and
...
in command mode. From Ben Boeckel.
2011-11-05 09:06:31 +00:00
Tiago Cunha
046d8b096f
Sync OpenBSD patchset 975:
...
minor formatting fix;
2011-10-31 13:56:55 +00:00
Tiago Cunha
0cbab892d5
Sync OpenBSD patchset 974:
...
Add screen*:XT to terminal-overrides for tmux-in-tmux, from Romain
Francoise.
2011-10-31 13:56:16 +00:00
Tiago Cunha
b44f78fe9f
Sync OpenBSD patchset 973:
...
Missing -o on usage for pipe-pane, from Tiago Cunha.
2011-10-31 13:55:43 +00:00
Tiago Cunha
3f5ec24b5a
Sync OpenBSD patchset 972:
...
Didn't really think the else behaviour through - requiring argv to
contain "else" is silly so just omit that, also some manpage
tweaks. From Tiago Cunha.
2011-10-31 13:55:10 +00:00
Tiago Cunha
d8d9c2af98
Sync OpenBSD patchset 971:
...
When copying, make repeat count indicate buffer to replace if used.
2011-10-31 13:54:28 +00:00
Jason McIntyre
e5d6df8979
minor formatting fix;
2011-10-27 23:33:35 +00:00
Nicholas Marriott
cf317412d9
Use pkg-config for libevent.
2011-10-27 23:00:45 +00:00
Nicholas Marriott
b2ee98b8d7
Add screen*:XT to terminal-overrides for tmux-in-tmux, from Romain
...
Francoise.
2011-10-27 22:54:06 +00:00
Nicholas Marriott
5213d9674b
Add.
2011-10-27 22:43:02 +00:00
Nicholas Marriott
0ff42d975b
Missing -o on usage for pipe-pane, from Tiago Cunha.
2011-10-27 22:41:03 +00:00
Nicholas Marriott
5ed3daf28b
Didn't really think the else behaviour through - requiring argv to
...
contain "else" is silly so just omit that, also some manpage
tweaks. From Tiago Cunha.
2011-10-27 22:40:15 +00:00
Nicholas Marriott
f5a73c5433
When copying, make repeat count indicate buffer to replace if used.
2011-10-23 23:38:16 +00:00
Tiago Cunha
0e45ca1718
Recognise special keys and binds with multiple modifiers. From Bastien Dejean.
2011-10-23 15:42:15 +00:00
Tiago Cunha
c1eeac86fe
Sync OpenBSD patchset 970:
...
Alias NPage/PPage as PageDown/PgDn/PageUp/PgUp to reduce occasional
confusion.
2011-10-23 15:11:09 +00:00
Tiago Cunha
03ee7f7edf
Sync OpenBSD patchset 969:
...
Support for \e[3J to clear the history. Also send the corresponding
terminfo code (E3) before locking.
2011-10-23 15:10:22 +00:00
Tiago Cunha
a8ca1340ad
Sync OpenBSD patchset 968:
...
Try to resolve relative paths for loadb and saveb (first using client
working directory if any then default-path or session wd).
2011-10-23 15:08:58 +00:00
Tiago Cunha
7d169a3679
Sync OpenBSD patchset 967:
...
For initial session, use size of command client even if detached.
2011-10-23 15:05:20 +00:00
Tiago Cunha
98e500f598
Sync OpenBSD patchset 966:
...
Ignore LC_ALL and LC_CTYPE if they are empty as well as unset.
2011-10-23 15:04:30 +00:00
Tiago Cunha
1c1797e4f2
Sync OpenBSD patchset 965:
...
Add client formats, from Ben Boeckel.
2011-10-23 15:03:50 +00:00
Tiago Cunha
653d1e2fc8
Sync OpenBSD patchset 964:
...
Plug a memory leak and update some comments, from Tiago Cunha.
2011-10-23 15:02:20 +00:00
Tiago Cunha
9b48c77493
Sync OpenBSD patchset 963:
...
Add an else clause for if-shell, from "arno-" on SourceForge.
2011-10-23 15:00:41 +00:00