Re: not all keys with Control modifier are working

2011-08-23 Thread Nicholas Marriott
What does it show if you run "cat" outside tmux and then press C-=? On Tue, Aug 23, 2011 at 07:22:10PM +0400, Yuri Bochkarev wrote: > Hello. > > > Such keys as C-[0..1], C-=, C-| are not working in emacs when running > inside of tmux. I have this binding in my ~/.emacs: > (global-set-key (kbd "

not all keys with Control modifier are working

2011-08-23 Thread Yuri Bochkarev
Hello. Such keys as C-[0..1], C-=, C-| are not working in emacs when running inside of tmux. I have this binding in my ~/.emacs: (global-set-key (kbd "C-c C-=") 'bs-show) However, when I press C and = with Control being hold, I get "C-c = is undefined". The shortcut works fine when emacs is runn

Re: [PATCH] don't overwrite terminal contents on clear when alternate-screen=off

2011-08-23 Thread Nicholas Marriott
Well, not really, tmux can't reliably predict what the terminal is going to choose to put in its history. Playing around with \n like you do might be the best you can do. On Tue, Aug 23, 2011 at 10:52:24AM +0200, Fabian Groffen wrote: > On 23-08-2011 08:43:40 +0100, Nicholas Marriott wrote: > > Y

Re: [PATCH] don't overwrite terminal contents on clear when alternate-screen=off

2011-08-23 Thread Fabian Groffen
On 23-08-2011 08:43:40 +0100, Nicholas Marriott wrote: > You need to use tmux's history, we can't reliably put stuff into the > terminal scrollback. > > tmux can't use [2J if the status line is turned on or if you have any > panes. Right, but since I don't use either, and would like to replace sc

Re: config file and line continuation

2011-08-23 Thread Julius Plenz
Hi, Nicholas! * Nicholas Marriott [2011-08-20 22:51]: > I think if possible the unfinished command thing should not be > log_warnx but should an error and be added to the causes. Right. Also, I fixed a small memory leak. > Also this needs to go somewhere in the manpage. I added two examples in

Re: [PATCH] don't overwrite terminal contents on clear when alternate-screen=off

2011-08-23 Thread Nicholas Marriott
You need to use tmux's history, we can't reliably put stuff into the terminal scrollback. tmux can't use [2J if the status line is turned on or if you have any panes. On Tue, Aug 23, 2011 at 09:19:06AM +0200, Fabian Groffen wrote: > On 22-08-2011 22:28:09 +0100, Nicholas Marriott wrote: > > Don'

Re: [PATCH] don't overwrite terminal contents on clear when alternate-screen=off

2011-08-23 Thread Fabian Groffen
On 22-08-2011 22:28:09 +0100, Nicholas Marriott wrote: > Don't we do this already? Clear screen scrolls lines into the history? > Or do you want something else? It isn't very obvious. Yesterday, I've been toying a lot to achieve the "right effect(tm)". What I want, is in the first place, use my te