Re: Quick way to scroll up in the pane to the previous occurrence of prompt

2015-01-21 Thread Nicholas Marriott
Well you could run a tmux command in your PS1 or output some escape sequence tmux recognises. But currently there isn't one that will mark a position in the history. Although it's quite a nice idea. Original message From: Kaushal Date:21/01/2015 12:24 (GMT+00:00) To: Nicho

Re: Quick way to scroll up in the pane to the previous occurrence of prompt

2015-01-21 Thread Kaushal
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" wrote: > How would tmux know you were entering something at a command prompt? > > > On Tue,

Re: Option to start server without forking

2015-01-21 Thread Nicholas Marriott
This all seems like stuff that should be fixed in the other programs you mention rather than worked around in tmux. Don't they have a way to exempt a process from being killed? Programs have been forking like tmux does for 40 years, it's not new. On Wed, Jan 21, 2015 at 11:40:10AM +0100, Igor Buk

Re: Option to start server without forking

2015-01-21 Thread Igor Bukanov
Consider running tmux on CoreOS. There when a user logs out from ssh, that kills all user processes including any background tmux sessions. The workaround is to run tmux server explicitly. For example, instead of calling tmux one does something like: systemd-run --unit "tmux-$USER" --service-type=

Re: Option to start server without forking

2015-01-21 Thread Thomas Adam
On 20 January 2015 at 13:09, Igor Bukanov wrote: > Hello, > > is there an option to start tmux server so the process would not fork No, I did look at this many moons ago though: https://github.com/ThomasAdam/tmux-cvs-archived/commit/4ae54388081f3802700eae2ebcd876efcb2714f5.diff But it's not nee

Option to start server without forking

2015-01-21 Thread Igor Bukanov
Hello, is there an option to start tmux server so the process would not fork and stay in the foreground, like screen -D -m? This will greatly simplify running tmux from a process manager that do not support forking services like supervisord. ---

Re: Quick way to scroll up in the pane to the previous occurrence of prompt

2015-01-21 Thread Nicholas Marriott
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 >

Re: Stuck in copy-mode

2015-01-21 Thread Nicholas Marriott
Is this OS X? Does rebuilding tmux help? On Tue, Jan 20, 2015 at 10:01:51AM -0800, Patrick Gibson wrote: >I've got an odd problem: since my last reboot of Yosemite, whenever I >invoke copy mode, tmux does not respond to any key presses except for the >prefix key. I'm**running tmux 1.9