> No, this is why "--" exists, and on BSD, getopt() does not do "--"
> scanning, unlike on Linux.
The man page for getopt in openbsd mentions checking for "--", and
tmux's compat/getopt.c, which has a lot of "BSD" in it, also checks
for "--".
>> would never see it, and so couldn't alter its beha
On 4 February 2014 08:14, J Raynor wrote:
> I don't see how the command can scan for it when it appears to be gone
> before the command's _exec function runs. For now I'll assume I've
> confused the order in which things happen and take another look.
I'm not sure where you're confused---perhaps
Neww doesn't need to get -- it just needs to know how many args it has. The --
is to make getopt pass args to neww rather than treating as flags eg
tmux neww -x -- foo -y
Needs to set x flag in args but pass 2 args to neww foo and -y.
The changes if any are to make sure we get a full arg array
> Neww doesn't need to get -- it just needs to know how many args it has. The
> -- is to make getopt pass args to neww rather than treating as flags eg
>
> tmux neww -x -- foo -y
>
> Needs to set x flag in args but pass 2 args to neww foo and -y.
I believe the existing code already does this. New
> If you want I can send you a rough diff of how I think this should look?
I think Nicholas's last email cleared up most of what I needed, but I
might try to take you up on this if it turns out I'm still not getting
it.
-
Hi,
i found out that tmux ignores current/any setting of bell-action
when visual-bell is off so i made patch (bell_fix.patch).
(checked on git://git.code.sf.net/p/tmux/tmux-code)
It also makes some other changes - i don't think that use of
winlink_find_by_window(&s->windows, w) is necessary when
* Nicholas Marriott on Tuesday, February 04, 2014 at 07:28:25 +
> Check what VERASE is in stty -a, tmux uses that to work out what delete is.
In tmux:
stty -a | grep '\berase\b'
erase = ^?; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\;
In xterm and screen the value is ^H.
--
Sorry Thomas and Nicholas! Let it just be a mirror, so people can see the
code using github's interface.
best regards,
bráulio
On Tue, Feb 4, 2014 at 4:49 AM, Thomas Adam wrote:
> On 4 February 2014 07:24, Thomas Adam wrote:
> > 2014-02-03 Bráulio Bhavamitra :
> >> Hello all,
> >>
> >> I've s
On 3 February 2014 12:46, Filip Moc wrote:
> It also makes some other changes - i don't think that use of
> winlink_find_by_window(&s->windows, w) is necessary when there is
> already wl, but please check whether i didn't miss anything.
That's fine.
> I also made bell_script.patch which allows u
The original behaviour needs to stay if there is 1 arg. If >1 treat them as an
argv for execv. You'll need to change window_pane_spawn etc totake an argv also
wp->command and maybe other stuff.
Original message
From: J Raynor
Date: 04/02/2014 08:57 (GMT+00:00)
To: Nicholas
Does your delete key actually send ^H and is that the same as backspace itself?
Was it bs or del you were having trouble with?
Original message
From: Christian Ebert
Date: 04/02/2014 12:33 (GMT+00:00)
To: tmux-users@lists.sourceforge.net
Subject: Re: trouble with control c
* Nicholas Marriott on Tuesday, February 04, 2014 at 17:15:06 +
> Does your delete key actually send ^H
It seems to send ^?
In xterm and screen:
~$ sed -n l
^?
\177$
In tmux:
~$ sed -n l
$
But chances are I'm going the wrong way about diagnosing this.
> and is that the same as backspace
On macs you can get delete with some one of their special keys and backspace.
Anyway try running stty verase ^? in tmux.
Original message
From: Christian Ebert
Date: 04/02/2014 17:40 (GMT+00:00)
To: tmux-users@lists.sourceforge.net
Subject: Re: trouble with control charact
* Nicholas Marriott on Tuesday, February 04, 2014 at 20:58:10 +
> On macs you can get delete with some one of their special keys and backspace.
>
> Anyway try running stty verase ^? in tmux.
$ stty verase ^?
stty: illegal option -- verase
usage: stty [-a|-e|-g] [-f file] [options]
verase see
Sorry erase not verase the termios name is VERASE but stty calls it erase
Original message
From: Christian Ebert
Date: 04/02/2014 21:32 (GMT+00:00)
To: tmux-users@lists.sourceforge.net
Subject: Re: trouble with control characters
* Nicholas Marriott on Tuesday, February
15 matches
Mail list logo