Re: Tmux + Emacs Scrolling Bug

2014-09-25 Thread Ezekiel Fairfax
That worked! I went through the instructions on http://pyther.net/2014/03/building-tmux-1-9a-statically/ and now I have the latest version. Scrolling on Emacs works correctly now. Thanks so much! On Thu, Sep 25, 2014 at 9:24 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Try wit

Re: Send a command to the command prompt from the command line

2014-09-25 Thread Nicholas Marriott
Try: alias c='clear; [ -n "$TMUX" ] && tmux clear-history' On Thu, Sep 25, 2014 at 06:16:48PM +0200, Paolo Bolzoni wrote: > Dear list, > > Sometime I clear the screen to exec a command with a long output > that I later navigate using the tmux history ability. > > So far so good, without tmux t

Send a command to the command prompt from the command line

2014-09-25 Thread Paolo Bolzoni
Dear list, Sometime I clear the screen to exec a command with a long output that I later navigate using the tmux history ability. So far so good, without tmux the command "reset" works fine. But with tmux I have to use clear and write clear-history in tmux command prompt. I would like to write an

Re: Tmux + Emacs Scrolling Bug

2014-09-25 Thread Nicholas Marriott
Try with tmux 1.9a please. On Thu, Sep 25, 2014 at 09:17:08AM -0700, Ezekiel Fairfax wrote: >To recreate this bug: > >1) Use PuTTy on Windows to connect to Linux box. >2) Start tmux session. (tmux 1.6) >3) Open Emacs (emacs 23.1.1 -- also appears in 24.3.1) >4) Open several

Tmux + Emacs Scrolling Bug

2014-09-25 Thread Ezekiel Fairfax
To recreate this bug: 1) Use PuTTy on Windows to connect to Linux box. 2) Start tmux session. (tmux 1.6) 3) Open Emacs (emacs 23.1.1 -- also appears in 24.3.1) 4) Open several files in different buffers in vertical Emacs "windows". - Note: C-x-3 opens vertical window. C-x-f to open file. 5) In

Re: Command not working in tmux

2014-09-25 Thread Nicholas Marriott
Hi Something in the environment is not set or out of date inside tmux, my money is on some D-Bus variable or DISPLAY. On Thu, Sep 25, 2014 at 04:35:00PM +0100, Sharon Kimble wrote: > > I have the strange situation that a command does not work in tmux, but > works in a plain terminal window. The

Command not working in tmux

2014-09-25 Thread Sharon Kimble
I have the strange situation that a command does not work in tmux, but works in a plain terminal window. The command is "texdoc soul" which opens the "soul.pdf" in the default PDF viewer. Except that it does not work in tmux. In tmux it replies with - ╭ │Failed to get bus connection: Could n

Re: How to get info about the last pane?

2014-09-25 Thread João Cristóvão
Perfect! Thanks 2014-09-25 11:27 GMT+01:00 Nicholas Marriott : > Try this: > > Index: cmd.c > === > RCS file: /cvs/src/usr.bin/tmux/cmd.c,v > retrieving revision 1.95 > diff -u -p -r1.95 cmd.c > --- cmd.c 13 Jul 2014 20:57:46 -0

Re: How to get info about the last pane?

2014-09-25 Thread Nicholas Marriott
Try this: Index: cmd.c === RCS file: /cvs/src/usr.bin/tmux/cmd.c,v retrieving revision 1.95 diff -u -p -r1.95 cmd.c --- cmd.c 13 Jul 2014 20:57:46 - 1.95 +++ cmd.c 25 Sep 2014 10:25:13 - @@ -1192,7 +1192,13 @@

Re: How to get info about the last pane?

2014-09-25 Thread Nicholas Marriott
! is last window, don't think we have the same for last pane On Thu, Sep 25, 2014 at 11:15:08AM +0100, Jo??o Crist??v??o wrote: > Hi all, > > Sorry for such a dumb question, but looking at the man page I cannot > seem to see how to get information from the last active pane, only > from the curre

How to get info about the last pane?

2014-09-25 Thread João Cristóvão
Hi all, Sorry for such a dumb question, but looking at the man page I cannot seem to see how to get information from the last active pane, only from the current, next (+) and previous (-) pane. Since this information is kept (the last-pane command), would it make sense to add an extra symbol mean

Re: I can't get tmux to install

2014-09-25 Thread Nicholas Marriott
Try: CFLAGS="-I/path/to/libevent/include" LDFLAGS="-L/path/to/libevent/lib" ./configure If it doesn't work send me the config.log. On Tue, Sep 23, 2014 at 01:06:10PM -0400, Jai Dayal wrote: >For the life of me, I don't think the configure script is correct that's >shipped with tmux. >

I can't get tmux to install

2014-09-25 Thread Jai Dayal
For the life of me, I don't think the configure script is correct that's shipped with tmux. I just downloaded tmux-1.9a. I have libevent-2.0.21-stable.tar.gz installed in (both in /include and /lib). ncurses headers