Discussion:
[PATCH] add -b flag to split-window
Felix Rosencrantz
2014-11-12 17:40:03 UTC
Permalink
This patch adds the -b flag to split-window, which is consistent with the
-b flag of the join-window command. I like this when I want to create a
pane above the current pane.

-FR.
Nicholas Marriott
2014-11-12 22:57:22 UTC
Permalink
Like it. Applied - thanks
Post by Felix Rosencrantz
This patch adds the -b flag to split-window, which is consistent with the
-b flag of the join-window command.** I like this when I want to create a
pane above the current pane.
-FR.
diff --git a/cmd-split-window.c b/cmd-split-window.c
index f88b2f6..e09b5a3 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -36,8 +36,8 @@ enum cmd_retval cmd_split_window_exec(struct cmd *, struct cmd_q *);
const struct cmd_entry cmd_split_window_entry = {
"split-window", "splitw",
- "c:dF:l:hp:Pt:v", 0, -1,
- "[-dhvP] [-c start-directory] [-F format] [-p percentage|-l size] "
+ "bc:dF:l:hp:Pt:v", 0, -1,
+ "[-bdhvP] [-c start-directory] [-F format] [-p percentage|-l size] "
CMD_TARGET_PANE_USAGE " [command]",
0,
cmd_split_window_exec
@@ -144,7 +144,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q *cmdq)
if (*shell == '\0' || areshell(shell))
shell = _PATH_BSHELL;
- if ((lc = layout_split_pane(wp, type, size, 0)) == NULL) {
+ if ((lc = layout_split_pane(wp, type, size, args_has(args, 'b'))) == NULL) {
cause = xstrdup("pane too small");
goto error;
}
diff --git a/tmux.1 b/tmux.1
index 032e5be..ddeac74 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1760,7 +1760,7 @@ is given and the selected window is already the current window,
the command behaves like
.Ic last-window .
.It Xo Ic split-window
-.Op Fl dhvP
+.Op Fl bdhvP
.Op Fl c Ar start-directory
.Oo Fl l
.Ar size |
@@ -1784,6 +1784,10 @@ and
.Fl p
options specify the size of the new pane in lines (for vertical split) or in
cells (for horizontal split), or as a percentage, respectively.
+The
+.Fl b
+option causes the new pane to be created to the left of or above
+.Ar target-pane .
All other options have the same meaning as for the
.Ic new-window
command.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Felix Rosencrantz
2014-11-13 18:23:53 UTC
Permalink
That's great.

I noticed this when I was trying to figure out if I could do a drop-down
terminal like guake/tilda/etc. This patch was a simple way to do it if
there is only a single pane across the top, but not if the top is split
with several panes.

The TODO says it would be more correct to rename the split-window command
to split-pane. It would be useful to really have a command that actually
did split/join at the window level, so there is an easy way to put a pane
on the edge of a window with an arbitrarily complex layout. To be more
general, if it could be done at any level of the layout structure.

Do you think either of those would be useful to add to tmux? An actual
split/join-window command or option to the existing commands. I know I
would find that useful and have wanted that feature.

-FR.

On Wed, Nov 12, 2014 at 2:57 PM, Nicholas Marriott <
Post by Nicholas Marriott
Like it. Applied - thanks
Post by Felix Rosencrantz
This patch adds the -b flag to split-window, which is consistent with
the
Post by Felix Rosencrantz
-b flag of the join-window command.** I like this when I want to
create a
Post by Felix Rosencrantz
pane above the current pane.
-FR.
diff --git a/cmd-split-window.c b/cmd-split-window.c
index f88b2f6..e09b5a3 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -36,8 +36,8 @@ enum cmd_retval cmd_split_window_exec(struct cmd
*, struct cmd_q *);
Post by Felix Rosencrantz
const struct cmd_entry cmd_split_window_entry = {
"split-window", "splitw",
- "c:dF:l:hp:Pt:v", 0, -1,
- "[-dhvP] [-c start-directory] [-F format] [-p percentage|-l size] "
+ "bc:dF:l:hp:Pt:v", 0, -1,
+ "[-bdhvP] [-c start-directory] [-F format] [-p percentage|-l size]
"
Post by Felix Rosencrantz
CMD_TARGET_PANE_USAGE " [command]",
0,
cmd_split_window_exec
@@ -144,7 +144,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_q
*cmdq)
Post by Felix Rosencrantz
if (*shell == '\0' || areshell(shell))
shell = _PATH_BSHELL;
- if ((lc = layout_split_pane(wp, type, size, 0)) == NULL) {
+ if ((lc = layout_split_pane(wp, type, size, args_has(args, 'b')))
== NULL) {
Post by Felix Rosencrantz
cause = xstrdup("pane too small");
goto error;
}
diff --git a/tmux.1 b/tmux.1
index 032e5be..ddeac74 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1760,7 +1760,7 @@ is given and the selected window is already the
current window,
Post by Felix Rosencrantz
the command behaves like
.Ic last-window .
.It Xo Ic split-window
-.Op Fl dhvP
+.Op Fl bdhvP
.Op Fl c Ar start-directory
.Oo Fl l
.Ar size |
@@ -1784,6 +1784,10 @@ and
.Fl p
options specify the size of the new pane in lines (for vertical split)
or in
Post by Felix Rosencrantz
cells (for horizontal split), or as a percentage, respectively.
+The
+.Fl b
+option causes the new pane to be created to the left of or above
+.Ar target-pane .
All other options have the same meaning as for the
.Ic new-window
command.
------------------------------------------------------------------------------
Post by Felix Rosencrantz
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Post by Felix Rosencrantz
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Felix Rosencrantz
2014-11-19 01:08:13 UTC
Permalink
Like adding a -a flag to split-window/join-pane that says how many ancestor
cells above the current pane it should split at. So 0 is the current pane,
1 would be one cell up, etc. Maybe some sort of syntax for the root cell,
(or just a specify a very large number). Would that be reasonable?

-FR.
Post by Felix Rosencrantz
That's great.
I noticed this when I was trying to figure out if I could do a drop-down
terminal like guake/tilda/etc. This patch was a simple way to do it if
there is only a single pane across the top, but not if the top is split
with several panes.
The TODO says it would be more correct to rename the split-window command
to split-pane. It would be useful to really have a command that actually
did split/join at the window level, so there is an easy way to put a pane
on the edge of a window with an arbitrarily complex layout. To be more
general, if it could be done at any level of the layout structure.
Do you think either of those would be useful to add to tmux? An actual
split/join-window command or option to the existing commands. I know I
would find that useful and have wanted that feature.
-FR.
On Wed, Nov 12, 2014 at 2:57 PM, Nicholas Marriott <
Post by Nicholas Marriott
Like it. Applied - thanks
Post by Felix Rosencrantz
This patch adds the -b flag to split-window, which is consistent
with the
Post by Felix Rosencrantz
-b flag of the join-window command.** I like this when I want to
create a
Post by Felix Rosencrantz
pane above the current pane.
-FR.
diff --git a/cmd-split-window.c b/cmd-split-window.c
index f88b2f6..e09b5a3 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -36,8 +36,8 @@ enum cmd_retval cmd_split_window_exec(struct cmd
*, struct cmd_q *);
Post by Felix Rosencrantz
const struct cmd_entry cmd_split_window_entry = {
"split-window", "splitw",
- "c:dF:l:hp:Pt:v", 0, -1,
- "[-dhvP] [-c start-directory] [-F format] [-p percentage|-l size]
"
Post by Felix Rosencrantz
+ "bc:dF:l:hp:Pt:v", 0, -1,
+ "[-bdhvP] [-c start-directory] [-F format] [-p percentage|-l
size] "
Post by Felix Rosencrantz
CMD_TARGET_PANE_USAGE " [command]",
0,
cmd_split_window_exec
@@ -144,7 +144,7 @@ cmd_split_window_exec(struct cmd *self, struct
cmd_q *cmdq)
Post by Felix Rosencrantz
if (*shell == '\0' || areshell(shell))
shell = _PATH_BSHELL;
- if ((lc = layout_split_pane(wp, type, size, 0)) == NULL) {
+ if ((lc = layout_split_pane(wp, type, size, args_has(args, 'b')))
== NULL) {
Post by Felix Rosencrantz
cause = xstrdup("pane too small");
goto error;
}
diff --git a/tmux.1 b/tmux.1
index 032e5be..ddeac74 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1760,7 +1760,7 @@ is given and the selected window is already the
current window,
Post by Felix Rosencrantz
the command behaves like
.Ic last-window .
.It Xo Ic split-window
-.Op Fl dhvP
+.Op Fl bdhvP
.Op Fl c Ar start-directory
.Oo Fl l
.Ar size |
@@ -1784,6 +1784,10 @@ and
.Fl p
options specify the size of the new pane in lines (for vertical split)
or in
Post by Felix Rosencrantz
cells (for horizontal split), or as a percentage, respectively.
+The
+.Fl b
+option causes the new pane to be created to the left of or above
+.Ar target-pane .
All other options have the same meaning as for the
.Ic new-window
command.
------------------------------------------------------------------------------
Post by Felix Rosencrantz
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push
notifications.
Post by Felix Rosencrantz
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Post by Felix Rosencrantz
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Nicholas Marriott
2014-11-20 00:53:19 UTC
Permalink
I'm not clear what you are suggestion, can you give me an example?
Post by Felix Rosencrantz
Like adding a -a flag to split-window/join-pane that says how many
ancestor cells above the current pane it should split at.** So 0 is the
current pane, 1 would be one cell up, etc.** Maybe some sort of syntax for
the root cell, (or just a specify a very large number).** Would that be
reasonable?
-FR.
On Thu, Nov 13, 2014 at 10:23 AM, Felix Rosencrantz
That's great.
I noticed this when I was trying to figure out if I could do a drop-down
terminal like guake/tilda/etc.** This patch was a simple way to do it if
there is only a single pane across the top, but not if the top is split
with several panes.
The TODO says it would be more correct to rename the split-window
command to split-pane.** It would be useful to really have a command
that actually did split/join at the window level, so there is an easy
way to put a pane on the edge of a window with an arbitrarily complex
layout.** To be more general, if it could be done at any level of the
layout structure.
Do you think either of those would be useful to add to tmux?** An actual
split/join-window command or option to the existing commands. I know I
would find that useful and have wanted that feature.
-FR.
On Wed, Nov 12, 2014 at 2:57 PM, Nicholas Marriott
Like it. Applied - thanks
** ** This patch adds the -b flag to split-window, which is
consistent with the
** ** -b flag of the join-window command.** I like this when I want
to create a
** ** pane above the current pane.
** ** -FR.
diff --git a/cmd-split-window.c b/cmd-split-window.c
index f88b2f6..e09b5a3 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -36,8 +36,8 @@ enum cmd_retval** ** **
cmd_split_window_exec(struct cmd *, struct cmd_q *);
** const struct cmd_entry cmd_split_window_entry = {
** ** ** **"split-window", "splitw",
-** ** **"c:dF:l:hp:Pt:v", 0, -1,
-** ** **"[-dhvP] [-c start-directory] [-F format] [-p percentage|-l
size] "
+** ** **"bc:dF:l:hp:Pt:v", 0, -1,
+** ** **"[-bdhvP] [-c start-directory] [-F format] [-p
percentage|-l size] "
** ** ** **CMD_TARGET_PANE_USAGE " [command]",
** ** ** **0,
** ** ** **cmd_split_window_exec
@@ -144,7 +144,7 @@ cmd_split_window_exec(struct cmd *self, struct
cmd_q *cmdq)
** ** ** **if (*shell == '\0' || areshell(shell))
** ** ** ** ** ** ** **shell = _PATH_BSHELL;
-** ** **if ((lc = layout_split_pane(wp, type, size, 0)) == NULL) {
+** ** **if ((lc = layout_split_pane(wp, type, size, args_has(args,
'b'))) == NULL) {
** ** ** ** ** ** ** **cause = xstrdup("pane too small");
** ** ** ** ** ** ** **goto error;
** ** ** **}
diff --git a/tmux.1 b/tmux.1
index 032e5be..ddeac74 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1760,7 +1760,7 @@ is given and the selected window is already
the current window,
** the command behaves like
** .Ic last-window .
** .It Xo Ic split-window
-.Op Fl dhvP
+.Op Fl bdhvP
** .Op Fl c Ar start-directory
** .Oo Fl l
** .Ar size |
@@ -1784,6 +1784,10 @@ and
** .Fl p
** options specify the size of the new pane in lines (for vertical
split) or in
** cells (for horizontal split), or as a percentage, respectively.
+The
+.Fl b
+option causes the new pane to be created to the left of or above
+.Ar target-pane .
** All other options have the same meaning as for the
** .Ic new-window
** command.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push
notifications.
Take corrective actions from your mobile device.
[3]http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
[5]https://lists.sourceforge.net/lists/listinfo/tmux-users
References
Visible links
3. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
5. https://lists.sourceforge.net/lists/listinfo/tmux-users
Felix Rosencrantz
2014-11-22 07:53:43 UTC
Permalink
A, B C, & D are panes. If you start with a window with a single pane A,
and call "split-window" you get window split evenly vertically layout [A,B]:
A
B

Then if from B you call "split-window -h" you have window layout like:
[A,{B,C}]
AA
BC

If you then call split-window from C, you get a window layout like:
[A{B,[C,D]}]
AA
BC
BD

I'd like to start from layout [A,{B,C}]
AA
BC
and call "split-window -a 1" from C and get layout like [A{B,C},D]:
AA
BC
DD

The '-a #' would say go up # levels in the layout cell tree for the
specified pane, and split at that level. (likewise for the join-pane
command). With a high enough value for #, you get a true "split-window"
command.

-FR.

On Wed, Nov 19, 2014 at 4:53 PM, Nicholas Marriott <
Post by Nicholas Marriott
I'm not clear what you are suggestion, can you give me an example?
Post by Felix Rosencrantz
Like adding a -a flag to split-window/join-pane that says how many
ancestor cells above the current pane it should split at.** So 0 is
the
Post by Felix Rosencrantz
current pane, 1 would be one cell up, etc.** Maybe some sort of
syntax for
Post by Felix Rosencrantz
the root cell, (or just a specify a very large number).** Would that
be
Post by Felix Rosencrantz
reasonable?
-FR.
On Thu, Nov 13, 2014 at 10:23 AM, Felix Rosencrantz
That's great.
I noticed this when I was trying to figure out if I could do a
drop-down
Post by Felix Rosencrantz
terminal like guake/tilda/etc.** This patch was a simple way to do
it if
Post by Felix Rosencrantz
there is only a single pane across the top, but not if the top is
split
Post by Felix Rosencrantz
with several panes.
The TODO says it would be more correct to rename the split-window
command to split-pane.** It would be useful to really have a command
that actually did split/join at the window level, so there is an
easy
Post by Felix Rosencrantz
way to put a pane on the edge of a window with an arbitrarily
complex
Post by Felix Rosencrantz
layout.** To be more general, if it could be done at any level of
the
Post by Felix Rosencrantz
layout structure.
Do you think either of those would be useful to add to tmux?** An
actual
Post by Felix Rosencrantz
split/join-window command or option to the existing commands. I
know I
Post by Felix Rosencrantz
would find that useful and have wanted that feature.
-FR.
On Wed, Nov 12, 2014 at 2:57 PM, Nicholas Marriott
Like it. Applied - thanks
** ** This patch adds the -b flag to split-window, which is
consistent with the
** ** -b flag of the join-window command.** I like this when I
want
Post by Felix Rosencrantz
to create a
** ** pane above the current pane.
** ** -FR.
diff --git a/cmd-split-window.c b/cmd-split-window.c
index f88b2f6..e09b5a3 100644
--- a/cmd-split-window.c
+++ b/cmd-split-window.c
@@ -36,8 +36,8 @@ enum cmd_retval** ** **
cmd_split_window_exec(struct cmd *, struct cmd_q *);
** const struct cmd_entry cmd_split_window_entry = {
** ** ** **"split-window", "splitw",
-** ** **"c:dF:l:hp:Pt:v", 0, -1,
-** ** **"[-dhvP] [-c start-directory] [-F format] [-p
percentage|-l
Post by Felix Rosencrantz
size] "
+** ** **"bc:dF:l:hp:Pt:v", 0, -1,
+** ** **"[-bdhvP] [-c start-directory] [-F format] [-p
percentage|-l size] "
** ** ** **CMD_TARGET_PANE_USAGE " [command]",
** ** ** **0,
** ** ** **cmd_split_window_exec
@@ -144,7 +144,7 @@ cmd_split_window_exec(struct cmd *self,
struct
Post by Felix Rosencrantz
cmd_q *cmdq)
** ** ** **if (*shell == '\0' || areshell(shell))
** ** ** ** ** ** ** **shell = _PATH_BSHELL;
-** ** **if ((lc = layout_split_pane(wp, type, size, 0)) ==
NULL) {
Post by Felix Rosencrantz
+** ** **if ((lc = layout_split_pane(wp, type, size,
args_has(args,
Post by Felix Rosencrantz
'b'))) == NULL) {
** ** ** ** ** ** ** **cause = xstrdup("pane too small");
** ** ** ** ** ** ** **goto error;
** ** ** **}
diff --git a/tmux.1 b/tmux.1
index 032e5be..ddeac74 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1760,7 +1760,7 @@ is given and the selected window is
already
Post by Felix Rosencrantz
the current window,
** the command behaves like
** .Ic last-window .
** .It Xo Ic split-window
-.Op Fl dhvP
+.Op Fl bdhvP
** .Op Fl c Ar start-directory
** .Oo Fl l
** .Ar size |
@@ -1784,6 +1784,10 @@ and
** .Fl p
** options specify the size of the new pane in lines (for
vertical
Post by Felix Rosencrantz
split) or in
** cells (for horizontal split), or as a percentage,
respectively.
Post by Felix Rosencrantz
+The
+.Fl b
+option causes the new pane to be created to the left of or
above
Post by Felix Rosencrantz
+.Ar target-pane .
** All other options have the same meaning as for the
** .Ic new-window
** command.
------------------------------------------------------------------------------
Post by Felix Rosencrantz
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push
notifications.
Take corrective actions from your mobile device.
[3]
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Post by Felix Rosencrantz
_______________________________________________
tmux-users mailing list
[5]https://lists.sourceforge.net/lists/listinfo/tmux-users
References
Visible links
3.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
Post by Felix Rosencrantz
5. https://lists.sourceforge.net/lists/listinfo/tmux-users
Nicholas Marriott
2014-12-15 21:11:32 UTC
Permalink
Hi

I think this sounds too dependent on the implementation. Something like
-U/-D/-L/-R for splitw might work?
A, B C, & D are panes.** If you start with a window with a single pane A,
A
B
[A,{B,C}]
AA
BC
[A{B,[C,D]}]**
AA
BC
BD
I'd like to start from layout [A,{B,C}]
AA
BC
AA
BC
DD
The '-a #' would say go up # levels in the layout cell tree for the
specified pane, and split at that level. (likewise for the join-pane
command).** With a high enough value for #, you get a true "split-window"
command.**
-FR.**
On Wed, Nov 19, 2014 at 4:53 PM, Nicholas Marriott
I'm not clear what you are suggestion, can you give me an example?
** ** Like adding a -a flag to split-window/join-pane that says how
many
** ** ancestor cells above the current pane it should split at.** So 0
is the
** ** current pane, 1 would be one cell up, etc.** Maybe some sort of
syntax for
** ** the root cell, (or just a specify a very large number).** Would
that be
** ** reasonable?
** ** -FR.
** ** On Thu, Nov 13, 2014 at 10:23 AM, Felix Rosencrantz
** ** ** That's great.
** ** ** I noticed this when I was trying to figure out if I could do a
drop-down
** ** ** terminal like guake/tilda/etc.** This patch was a simple way
to do it if
** ** ** there is only a single pane across the top, but not if the top
is split
** ** ** with several panes.
** ** ** The TODO says it would be more correct to rename the
split-window
** ** ** command to split-pane.** It would be useful to really have a
command
** ** ** that actually did split/join at the window level, so there is
an easy
** ** ** way to put a pane on the edge of a window with an arbitrarily
complex
** ** ** layout.** To be more general, if it could be done at any level
of the
** ** ** layout structure.
** ** ** Do you think either of those would be useful to add to tmux?**
An actual
** ** ** split/join-window command or option to the existing commands.
I know I
** ** ** would find that useful and have wanted that feature.
** ** ** -FR.
** ** ** On Wed, Nov 12, 2014 at 2:57 PM, Nicholas Marriott
** ** ** ** Like it. Applied - thanks
** ** ** ** On Wed, Nov 12, 2014 at 09:40:03AM -0800, Felix Rosencrantz
** ** ** ** >** ** This patch adds the -b flag to split-window, which
is
** ** ** ** consistent with the
** ** ** ** >** ** -b flag of the join-window command.** I like this
when I want
** ** ** ** to create a
** ** ** ** >** ** pane above the current pane.
** ** ** ** >** ** -FR.
** ** ** ** > diff --git a/cmd-split-window.c b/cmd-split-window.c
** ** ** ** > index f88b2f6..e09b5a3 100644
** ** ** ** > --- a/cmd-split-window.c
** ** ** ** > +++ b/cmd-split-window.c
** ** ** ** cmd_split_window_exec(struct cmd *, struct cmd_q *);
** ** ** ** >
** ** ** ** >** const struct cmd_entry cmd_split_window_entry = {
** ** ** ** >** ** ** **"split-window", "splitw",
** ** ** ** > -** ** **"c:dF:l:hp:Pt:v", 0, -1,
** ** ** ** > -** ** **"[-dhvP] [-c start-directory] [-F format] [-p
percentage|-l
** ** ** ** size] "
** ** ** ** > +** ** **"bc:dF:l:hp:Pt:v", 0, -1,
** ** ** ** > +** ** **"[-bdhvP] [-c start-directory] [-F format] [-p
** ** ** ** percentage|-l size] "
** ** ** ** >** ** ** **CMD_TARGET_PANE_USAGE " [command]",
** ** ** ** >** ** ** **0,
** ** ** ** >** ** ** **cmd_split_window_exec
*self, struct
** ** ** ** cmd_q *cmdq)
** ** ** ** >** ** ** **if (*shell == '\0' || areshell(shell))
** ** ** ** >** ** ** ** ** ** ** **shell = _PATH_BSHELL;
** ** ** ** >
** ** ** ** > -** ** **if ((lc = layout_split_pane(wp, type, size, 0))
== NULL) {
** ** ** ** > +** ** **if ((lc = layout_split_pane(wp, type, size,
args_has(args,
** ** ** ** 'b'))) == NULL) {
** ** ** ** >** ** ** ** ** ** ** **cause = xstrdup("pane too small");
** ** ** ** >** ** ** ** ** ** ** **goto error;
** ** ** ** >** ** ** **}
** ** ** ** > diff --git a/tmux.1 b/tmux.1
** ** ** ** > index 032e5be..ddeac74 100644
** ** ** ** > --- a/tmux.1
** ** ** ** > +++ b/tmux.1
already
** ** ** ** the current window,
** ** ** ** >** the command behaves like
** ** ** ** >** .Ic last-window .
** ** ** ** >** .It Xo Ic split-window
** ** ** ** > -.Op Fl dhvP
** ** ** ** > +.Op Fl bdhvP
** ** ** ** >** .Op Fl c Ar start-directory
** ** ** ** >** .Oo Fl l
** ** ** ** >** .Ar size |
** ** ** ** >** .Fl p
** ** ** ** >** options specify the size of the new pane in lines (for
vertical
** ** ** ** split) or in
** ** ** ** >** cells (for horizontal split), or as a percentage,
respectively.
** ** ** ** > +The
** ** ** ** > +.Fl b
** ** ** ** > +option causes the new pane to be created to the left of
or above
** ** ** ** > +.Ar target-pane .
** ** ** ** >** All other options have the same meaning as for the
** ** ** ** >** .Ic new-window
** ** ** ** >** command.
** ** ** ** >
** ** ** **
------------------------------------------------------------------------------
** ** ** ** > Comprehensive Server Monitoring with Site24x7.
** ** ** ** > Monitor 10 servers for $9/Month.
** ** ** ** > Get alerted through email, SMS, voice calls or mobile
push
** ** ** ** notifications.
** ** ** ** > Take corrective actions from your mobile device.
** ** ** ** >
** ** ** **
[3][4]http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
** ** ** ** > _______________________________________________
** ** ** ** > tmux-users mailing list
** ** ** ** >
[5][6]https://lists.sourceforge.net/lists/listinfo/tmux-users
References
** ** Visible links
** ** 3.
[9]http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
** ** 5. [11]https://lists.sourceforge.net/lists/listinfo/tmux-users
References
Visible links
4. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
6. https://lists.sourceforge.net/lists/listinfo/tmux-users
9. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
11. https://lists.sourceforge.net/lists/listinfo/tmux-users
Loading...