Re: How to escape in tmux?

2012-02-21 Thread Frank Terbeck
Nicholas Marriott wrote: [...] > Home and End may not work right for some reason but Esc/Esc will always > work. Indeed. (Though, ESC may register with a delay.) IIRC, the OPs issue was with zsh. If so, the `$terminfo' solution on this page is the most-portable, fully-automatic way to make specia

Re: support for version blocks in tmux.conf

2012-02-21 Thread Matthias Lederhofer
Maybe you could use a shell script wrapper around tmux to run `tmux -f ~/.tmux-1.6.conf` and `tmux -f ~/.tmux-1.5.conf`? These files could include a comman .tmux.conf too to keep the version specific files small. -- Keep

Re: patch to support 256 colors in fbterm

2012-02-21 Thread Nicholas Marriott
Hi Sorry for the delay. On Sat, Feb 11, 2012 at 01:51:15PM -0500, Peter Lustig wrote: > On 2/9/2012 4:00 AM, Nicholas Marriott wrote: > >I'd rather not translate aixterm colours on terminals that support them: > > > >- They are fewer bytes than the 256 colour equivalents. > > > >- We can't predic

Re: support for version blocks in tmux.conf

2012-02-21 Thread Nicholas Marriott
Config files and commands are line-based so it would be easiest to do this so you had to prefix the command with a minimum version, eg: >1.6:setw -g window-status-alert-fg colour228 <1.5:setw -g window-status-activity-fg colour228 Although personally I'm not entirely convinced this happens often

Request: add support for version blocks in tmux.conf

2012-02-21 Thread Joel Johnson
I maintain a vcs repository with my collection of dotfiles, which includes tmux.conf. As I like to use a common set of dot files on most machines I use, the config changes in the 1.6 release have left me stuck with pre-1.6 and 1.6 config entries to achieve the desired result on all machines, so

Re: Patch - add -F to display-message command

2012-02-21 Thread Nicholas Marriott
This will core if you give it -F w/o -t. Also, looking at it again: since jobsflag is 0 to status_replace so it won't run jobs, a format is enough I think (it will replace #W etc too). Perhaps this... I left -F to match the other formats but maybe it's unnecessary. Index: cmd-display-message.c =

Re: How to escape in tmux?

2012-02-21 Thread Nicholas Marriott
Hi What is shown when you run "cat" and type Escape/Escape or Home or End? Home and End may not work right for some reason but Esc/Esc will always work. On Mon, Feb 20, 2012 at 08:53:10PM +0800, Bill Sun wrote: > On Mon, Feb 20, 2012 at 07:27:22AM +, Nicholas Marriott wrote: > > What is TE