Bug#580946: #580946 interoperability problem with scroll lock toggles on xkb
On Mon, 17 May 2010, The Anarcat wrote:
sorry for the confusion - I did correct my typo in a followup.
The resource is allowScrollLock:
Sorry for the trouble, yes, that does fix the problem.
good - I'd like to spend a little time investigating the secondary issue,
but didn't want to neglect this.
I agree that if it did that, then you probably would not see the problem
at all, since your keyboard configuration is apparently not passing the
keypresses.
The focus aspect came about because if there is more than one terminal on
the screen, it's unclear (otherwise) to which terminal the scroll lock
applies. (In development I considered instead clearing the scroll lock
when exiting a window, but found this to work inconsistently). But
sensing the LED light on entry to the window seems to work well enough.
For me, scroll-lock is a bad metaphor for this feature. scroll-lock is
a "system-wide" thing: it should apply to all terminals, or the whole
"terminal" (x11 itself), not to individual terminals. Or if it would, it
would need to flash on and off as you would focus in and out of windows,
which seems a bit silly...
The latter was interesting - but not reliable enough to use.
I think that control-s does control flow much better and is "standard"
enough for this feature to be unnecessary.
Actually, control/s doesn't do what several users have requested: the
ability to let xterm continue adding to the scrollback region while
locking the display on a given slice.
control/s also isn't line-oriented.
By the way, this change from #257 improves control/s:
* modify handling of scrollKey feature to ignore XON/XOFF keys.
(it fixes the very old issue that pressing control/s, control/q, etc.
would force xterm down to the bottom of the scrolling window).
Then again, if the resource defaults to false, I have absolutely no
objection to it being present.
I'm making it default to false in the next patch (already edited).
And if it defaults to true, I guess I'll just need to add this to my
ever growing needs of "tweaks necessary so that xterm works for me".. ;)
Now up to:
XTerm*metaSendsEscape: true
XTerm*bellIsUrgent: true
XTerm*visualBell: true
XTerm*trimSelection: true
XTerm*allowScrollLock: false
Thanks for the quite efficient support...
no problem (report bugs)
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Reply to: