Just to add on a bit here, this isn't so much a case of defaults on Linux or 
BSD, it's more of the default for the applications set by their developers, 
which Linux and BSD distributions don't change. The last time I checked, stock 
gnome-terminal, stock KDE konsole, and even stock xterm default to passing 
pgup/pgdn/home/end to the application instead of scrolling the terminal. Only 
on the Solaris-shipped terminal emulators have I seen this behavior. And in 
fact, before this thread started, I didn't even know you could use shift to 
pass those keys to the apps (even though I did know you could use shift to 
scroll the terminal if the keys are ordinarily passed in to the app). 

Dare I say it, PuTTY on Windows even follows this behavior for those keys. 

In either case, I do agree that the terminfo should be fixed to handle those 
keys regardless of what the default on terminal emulators is. 

-- 
William Yang 
wyang at tjhsst.edu 

----- Original Message ----- 
From: "Shawn Walker" <[email protected]> 
To: "Brian Cameron" <Brian.Cameron at sun.com> 
Cc: desktop-discuss at opensolaris.org 
Sent: Tuesday, December 2, 2008 3:43:25 PM GMT -05:00 US/Canada Eastern 
Subject: Re: [desktop-discuss] Finally Gnome terminal has HOME and END key 
support 

Brian Cameron wrote: 
> Peter: 
> 
>>> To me, this sounds like the problem described in this email thread. I 
>>> think this is the right bug report. 
>> Do you know who logged that bug report? 
>> 
>> The bug refers to how the behaviour of PgUp/PgDown/Home/End have 
>> changed relative to Solaris 10 (and early SXCE builds). Where the keys 
>> scrolled the window, and no longer do so. 
> 
> Okay, thanks for clarifying. The original bug report was that these 
> keys should affect the scrollbar and work the same as when you hold down 
> the Shift key. So, we probably need to decide whether we want it to 
> work that way, or whether we want to define these keys to work as they 
> do on Linux, where they help you to navigate a file you are editing. 
> Personally, I think the later would be more useful. 

It's not just GNU/Linux distributions; I recall it working that way on 
FreeBSD, DragonFly BSD, and others as well. 

Right now pressing the 'page up' or 'page down' keys in a terminal just 
results in a '~' which is awful. 

Pressing the 'home' and 'end' keys does nothing at all; I'm fairly 
certain most users would expect those to go to the beginning and end of 
the line, respectively. 

> We probably should have just one bug report, since we can't have it 
> behave in both ways. That said, I am happy to move the bug back to the 
> jds/gnome/terminal category and clarify in the bug report that we want 
> the behavior to be the same as on Solaris 10 and early SXCE builds if 
> we think that is the right fix. 

I agree with the others that the bug you've retitled was probably asking 
for different behaviour. But it is my sincere hope that changing it to 
be more like the majority of other platforms would be good as part of 
the modernisation efforts spearheaded by David Comay. 

-- 
Shawn Walker 
_______________________________________________ 
desktop-discuss mailing list 
desktop-discuss at opensolaris.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20081203/b16369fa/attachment.html>

Reply via email to