Peter Tribble wrote: > On Tue, Dec 2, 2008 at 11:06 AM, dick hoogendijk <dick at nagual.nl> wrote: >> Peter Tribble wrote: >>> I don't think so. Bug 6419901 says that PgUp/PgDown/Home/End should move >>> the scrollbar without needing to press shift. >> Why should HOME or END move the scrollbar. I NO other terminal program is >> this done. Home / End mean beginning/ending of the line; Ctrl-PgUp / >> Ctrl-PgDn DO scroll the scrollbar after the changes in the terminfo xterm >> file. > > For consistency with other applications and past behaviour.
That depends on which past you're talking about. > In dtterm, traditional Solaris xterm, gnome-terminal in gnome 1.x, > gnome-terminal > in Solaris 10, emacs, firefox, and a host of other applications, these keys > move > the scrollbar. And many people are used to this behaviour. ...which is why the page up and page down should be keys sent to the application (bash, vim, less, etc.) running in the terminal window and not used by the terminal window itself. Just as page up and page down scrolls the page in firefox, page up and page down should scroll my document in vim, less, etc. Regardless of whatever ancient behaviour existed in Solaris, the majority of new users are going to be from other platforms where home, end, page up, and page down all just "work" for their terminal application. Ideally, the default behaviour would be changed such that page up, page down, home and are all sent to the terminal application (just as they are in the majority of other platforms) and a legacy behaviour option added for those used to the older behaviour. -- Shawn Walker
