That was my question. I wasn't sure if there's an internal way to send a
signal to tmux when a command prompt appeared on the shell.

Thanks.

-- 
Kaushal Modi
On Jan 21, 2015 4:04 AM, "Nicholas Marriott" <nicholas.marri...@gmail.com>
wrote:

> How would tmux know you were entering something at a command prompt?
>
>
> On Tue, Jan 20, 2015 at 03:26:11PM -0500, Kaushal wrote:
> >    Hi,
> >    I can probably do a reverse search of a constant string in my prompt
> to
> >    reach the previous occurrence of prompt, the place in pane history
> where I
> >    last typed anything at command line.
> >    But the constant string in my prompt is just 2 characters.
> >    Is there a better way to do this? Can a "line number" variable be
> added
> >    (or does something similar already exist?) that updates each time user
> >    enters something at command line.
> >    This would be useful to me because for my application, I run some
> >    executable and then I see thousands of lines at stdout. It would be
> great
> >    to simply jump up to the point in pane history where I entered that
> last
> >    command.
> >    --
> >    Kaushal Modi
>
> >
> ------------------------------------------------------------------------------
> > New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> > GigeNET is offering a free month of service with a new server in Ashburn.
> > Choose from 2 high performing configs, both with 100TB of bandwidth.
> > Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> > http://p.sf.net/sfu/gigenet
>
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to