tmux neww -PF'#{pane_tty}'
On Sun, Sep 30, 2012 at 06:41:09PM +0400, Peter Vereshagin wrote: > Hello. > > I see that 'new-window' command grabs a new tty device for me. > > Am wondering how could I return the device name to my script? > > Here is the scoop. > > I use to debug scripts with perl5 and sometimes thay fork(): > > http://perlmonks.org/?node_id=128283 > > The debugger's forked instance requires a tty device that can hopefully be > acquired by tmux. As far as I see from 'info' command every window has its own > one so 'new-window' is a good candidate instead of 'xterm' kind of solution, > isn't it? > > Problem is: I just can't get the device name out of 'new-window' command. Is > there any other way to do this that can be recommended? Or should I file such > a feature request exactly as it sounds here? > > Thank you. > > -- > Peter Vereshagin <pe...@vereshagin.org> (http://vereshagin.org) pgp: A0E26627 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users