Sweet, thanks!
I think it works to append lines to the end of the scroll buffer both for
regular shells and for full-screen commands.
('split-window "info make"' is what I used for a full-screen example).
What do you think about this patch (goes on top of yours):
diff --git a/trunk/server-fn.c b
Move cursor to the very bottom (screen_size_y(s) - 1) and call
screen_write_linefeed to scroll, it will move the top line into the
history.
On Tue, Aug 30, 2011 at 08:29:20AM -0700, Randy Stauner wrote:
>Ah, yes, those are good points.
>I did realize that I need to disconnect from tmux
Ah, yes, those are good points.
I did realize that I need to disconnect from tmux in order to stop the
server... that's why my changes had no effect.
I'm sure I've been bitten by that before.
Perhaps I'll toy with it a little more.
Is there a way to add lines to the bottom of the scroll buffer?
Putting it at the bottom is harder, because where is the bottom? If
you're running a full screen program the bottom is the very bottom. But
if you have a clear screen with just eg 1 shell prompt on then the
bottom needs to be line 2 or so.
We can always put it at the very bottom of the screen but
-- (sorry, didn't mean to send this directly instead of to the list) --
I don't use automatic rename in that session because of the large layout
with many windows and ssh connections.
This patch works nicely for me, thanks.
While this does serve the purpose,
I think it might be nicer/more intuit
If you remove the socket it does not kill the server, it just stops you
connecting to it.
On Tue, Aug 30, 2011 at 07:46:58PM +0900, Vladimir Lomov wrote:
> ** Nicholas Marriott [2011-08-30 11:01:09 +0100]:
>
> > You didn't restart the tmux server after setting EVENT_NOEPOLL=1?
>
> > Do this:
>
** Nicholas Marriott [2011-08-30 11:01:09 +0100]:
> You didn't restart the tmux server after setting EVENT_NOEPOLL=1?
> Do this:
> tmux -Ltest kill-server
> EVENT_NOEPOLL=1 tmux -Ltest new -d
> tmux -Ltest has 2>/dev/null
Seems that I missed exactly this thing: check if server is running begin
You didn't restart the tmux server after setting EVENT_NOEPOLL=1?
Do this:
tmux -Ltest kill-server
EVENT_NOEPOLL=1 tmux -Ltest new -d
tmux -Ltest has 2>/dev/null
On Mon, Aug 29, 2011 at 10:46:12AM +0900, Vladimir Lomov wrote:
> ** Nicholas Marriott [2011-08-28 07:36:49 +0100]:
>
> > On Sat, A
In fact, try this:
Index: server-fn.c
===
RCS file: /cvs/src/usr.bin/tmux/server-fn.c,v
retrieving revision 1.50
diff -u -p -r1.50 server-fn.c
--- server-fn.c 23 Jan 2011 11:03:43 - 1.50
+++ server-fn.c 30 Aug 2011 09:54:49 -
Hi
If you have automatic rename on it will rename the window to add [dead]
but yes printing that in the pane wouldn't do any harm, I'll add it to
the todo list.
On Mon, Aug 29, 2011 at 10:15:12AM -0700, Randy Stauner wrote:
>My ssh connection died and it looked to me like the process hung.
>
Did you reproduce this with the latest SVN? Same backtrace?
On Mon, Aug 29, 2011 at 09:50:59PM -0400, Peter John Hartman wrote:
> > What external commands are in your status-{left,right}?
>
> set-option -g status-left
> "#[default,bold]#(tmux-mail)#[default,dim]#(tmux-date)#[default,bold]#(tmux
11 matches
Mail list logo