i'll try ben's solution... thx anyway for your help!

@ben: thx for your answer. I will try to understand this setup. Maybe
it's not complicated as it seems..

2011/6/11 Nicholas Marriott <nicholas.marri...@gmail.com>:
> So if tmux is sending that then either you are configuring zsh properly
> or something inside tmux makes zsh decide not to work...
>
>
> On Sat, Jun 11, 2011 at 06:19:15PM +0200, Pablo S.M. wrote:
>> hi,
>>
>> i see:
>> ^[[5~   ---> for pageup
>> ^[[6~  ----> for pagedown
>>
>> i think it is exactly what i sould see...
>>
>> @ben: thx for your answer. I will try to understand this setup. Maybe
>> it's not complicated as it seems...
>>
>> 2011/6/11 Nicholas Marriott <nicholas.marri...@gmail.com>:
>> > What do you see when you run "cat" then press page up/down inside tmux?
>> >
>> >
>> > On Sat, Jun 11, 2011 at 02:05:13PM +0200, Pablo S.M. wrote:
>> >> Hi,
>> >>
>> >> i'm playing already two days with tmux and i'm completely delighted
>> >> with it. Many thanks to the devs for creating this software.
>> >>
>> >> I'm trying to configure tmux and i'm having a (for me) big problem
>> >> with the PageUp key: normally i use in zsh PageUp and PageDown to
>> >> search the history. I have the following in my zshrc:
>> >>
>> >> bindkey '^[[5~' history-beginning-search-backward
>> >> bindkey '^[[6~' history-beginning-search-forward
>> >>
>> >> and it works perfectly.
>> >>
>> >> BUT: when I do it with zsh inside tmux, I just get ~
>> >>
>> >> Interestingly if I enter another machine with ssh I can search the
>> >> bash history of this machine with PageUp/Down. I dont think I have
>> >> anything strnge in my tmux.conf:
>> >>
>> >>
>> >> ### Change prefix to C-a
>> >> unbind-key C-b
>> >> set -g prefix C-a
>> >> set -g default-command zsh
>> >> set -g display-time 3000
>> >> set -g history-limit 5000
>> >> set -g base-index 1
>> >> set -g set-titles on
>> >> #set -g set-titles-string "#I:#W #(hostname|cut -d. -f1)"
>> >> set -g status-keys vi
>> >> set -g status-bg cyan
>> >> set -g status-fg black
>> >> set -g status-interval 1
>> >> #set -g status-justify centre
>> >> #set -g status-left '#H [#P:#I] #[default]'
>> >> #set -g status-right 'Up #(uptime | cut -f 4-5 -d " " | cut -f 1 -d
>> >> ",") :: #(uptime|cut -f 11-13 -d " ")'
>> >> set -g bell-action any
>> >>
>> >> setw -g utf8 on
>> >> setw -g xterm-keys on
>> >> setw -g automatic-rename off
>> >> setw -g window-status-current-attr bright,reverse
>> >> setw -g window-status-current-bg white
>> >> #setw -g window-status-current-fg magenta
>> >> setw -g window-status-current-fg red
>> >>
>> >> [I have other things, but they are not related to sessions]
>> >>
>> >> Many thx for your help!
>> >>
>> >> ------------------------------------------------------------------------------
>> >> EditLive Enterprise is the world's most technically advanced content
>> >> authoring tool. Experience the power of Track Changes, Inline Image
>> >> Editing and ensure content is compliant with Accessibility Checking.
>> >> http://p.sf.net/sfu/ephox-dev2dev
>> >> _______________________________________________
>> >> tmux-users mailing list
>> >> tmux-users@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/tmux-users
>> >
>

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to