Update: I'm not seeing it in plain bash with startup files sourced twice.
It's just when inside tmux.

I'm interested in how that bash might be different from the normal one, but
I'm a bit stuck at the moment.

Cheers,
Chris



On Sun, Nov 17, 2013 at 5:04 PM, Chris Berkhout <chrisberkh...@gmail.com>wrote:

> This hasn't yet happened in the plain shell. I use vim and have had not
> trouble there.
>
> Thinking about it some more, I think the problem is happening deeper in
> the shell. The other example I remember is "ls", which gets expanded to "ls
> --color=auto" and fails when split in two. Tmux would have told bash "ls"
> and bash would have done the expansion and ran it without needing anything
> higher up. So that points to bash and away from tmux, except that the
> problem has only appeared in tmux.
>
> Maybe it's something to do with my startup files having been sourced
> multiple times (as they would be in a tmux shell, but not in the outer
> one). I'm currently running a plain shell with the startup files sourced
> twice and waiting to see if the problem appears.
>
> Cheers,
> Chris
>
>
>
> On Sat, Nov 16, 2013 at 5:23 PM, Nicholas Marriott <
> nicholas.marri...@gmail.com> wrote:
>
>> Hmm it looks fine
>>
>> Does this ever happen outside of your shell? In an editor for example?
>> What about outside tmux?
>>
>>
>>
>>
>> -------- Original message --------
>> From: Chris Berkhout <chrisberkh...@gmail.com>
>> Date: 16/11/2013 05:24 (GMT+01:00)
>> To: Nicholas Marriott <nicholas.marri...@gmail.com>
>> Cc: tmux-users@lists.sourceforge.net
>> Subject: Re: tmux splitting single commands?
>>
>>
>> Hi Nicholas,
>>
>> Thanks for the reply!
>>
>> I've done that now. Open this link:
>>
>>
>> https://gist.github.com/chrisberkhout/ca88866fca2613072f6e#file-tmux-server-9841-log-L1804
>> and it will take you to the line in the log where I entered "cd kiste" and
>> it did "cd" (was already in home dir) then "kiste" (command not found).
>>
>> Can you see what's going wrong there?
>>
>> Cheers,
>> Chris
>>
>>
>>
>> On Fri, Nov 15, 2013 at 6:11 PM, Nicholas Marriott <
>> nicholas.marri...@gmail.com> wrote:
>>
>> > Please restart tmux and run with -v. Then reproduce and send me the logs
>> > together with the command you were trying to run.
>> >
>> >
>> >
>> > -------- Original message --------
>> > From: Chris Berkhout <chrisberkh...@gmail.com>
>> > Date: 15/11/2013 00:52 (GMT+01:00)
>> > To: tmux-users@lists.sourceforge.net
>> > Subject: tmux splitting single commands?
>> >
>> >
>> > Hi all,
>> >
>> > I'm getting problems like this:
>> >
>> > $ ping google.com
>> > Usage: ping [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface]
>> >             [-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q
>> > tos]
>> >             [-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option]
>> >             [-w deadline] [-W timeout] [hop1 ...] destination
>> > google.com: command not found
>> >
>> > It seems to be breaking "ping google.com" into two commands: "ping"
>> and "
>> > google.com".
>> > Pressing up and rerunning the command works fine. I don't know exactly
>> how
>> > to trigger it - it happens regularly, but not every time.
>> >
>> > I've noticed it with "ls" as well (which is an alias for "ls
>> > --color=auto").
>> >
>> > Has anyone seen this before?
>> >
>> > My shell is bash, I'm using tmux 1.8 on Xubuntu.
>> >
>> > Cheers,
>> > Chris
>> >
>> >
>>
>
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to