join-pane problem
Hello everyone. I recently started to use tmux and I ran into a problem which could be a bug. Let me paste the commands to recreate it: # My tmux session starts with one window, named '1:bash' move-window -t 8 new-window -d split-window join-pane -d -t 1 tmux now complains that it can't join a pane to his own window. Is that "works as expected"? -- Franco -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: join-pane problem
Indeed I misunderstood the default. Thanks, everything works perfect now -F On Fri, 14 Sep 2012 22:48:52 +0100 Thomas Adam wrote: > On Fri, Sep 14, 2012 at 07:16:24PM +0000, Franco wrote: > > Hello everyone. > > > > I recently started to use tmux and I ran into a problem which could be a > > bug. Let me paste the commands to recreate it: > > > > # My tmux session starts with one window, named '1:bash' > > move-window -t 8 > > new-window -d > > split-window > > join-pane -d -t 1 > > > > tmux now complains that it can't join a pane to his own window. > > Is that "works as expected"? > > I think you're misunderstanding how you reference panes here. You probably > mean to say: > > joinp -d -t 1.0 > > Where "1" is the window and "0" is the pane number. You can use > "display-panes" for instance, to list that. > > Read the text under the COMMANDS section of "man tmux". > > Kindly, > > -- Thomas Adam -- Franco -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
escaping characters and the output of command-promt
Good evening tmuxers. In my .tmux.conf file I have a line like this bind e command-prompt -I "%d/%m/%g %H:%M: " -p "#" 'run-shell "echo %1 >> $NOTE; tmux display Done."' This basically prompts me for a string and appends it to a text file (the $NOTE environment variable). It works, but not with every input; example: > test " breaks it with error Invalid or unknown command: run-shell "echo 03/04/13 19:39: jljlkj;" >> $NOTE; tmux display Done." Of course, the " messes the run-tmux part of the script. I don't know how to handle this. I would like to 'sanitise' the output of 'command-prompt' in some way, but don't know how. Do you know wheter there's a way to do it? Or a similar way/tool to obtain what I was doing in the first place ('record' notes on a txt file)? Thanks in advance -Franco -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: escaping characters and the output of command-promt
On Wed, Apr 03, 2013 at 06:51:51PM +0100, Thomas Adam wrote: > On 3 April 2013 18:43, Franco wrote: > > Good evening tmuxers. In my .tmux.conf file I have a line like this > > > > bind e command-prompt -I "%d/%m/%g %H:%M: " -p "#" 'run-shell "echo %1 >> > > $NOTE; tmux display Done."' > > > > This basically prompts me for a string and appends it to a text file (the > > $NOTE > > environment variable). > > > > It works, but not with every input; example: > > > > > test " > > As mentioned on IRC, you would need to escape it. > Roger roger. It still would be great if, command-prompt, say, had an option to expand with quote characters escaped (in a posix compliant way). It could use: - %4 for normal expansion - %$4 for escaped one as an example. I have tried for the last few hours to open a ticket in that regard, but with little success (sourceforge is being an ass). > [...] Would suggest any number of console TODO > list managers out there, or vim, etc. A bit OT, but of course a solution inside tmux is way more handy, as you don't have to pop up another terminal/type/close. E.g., you can just jot down stuff while browing a webpage with lynx. Cheers -F -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users