In the Unix tradition of cargo-culting configuration files, I've had this in my .Xdefaults for something over a decade now
XTerm*VT100*translations: #override \
Shift<Key>Return: string(" &") string(0x0A) \n\
Meta<Key>Return: string(" | less") string(0x0A) \n\
~Shift<Key>Prior: scroll-back(1,page) \n\
~Shift<Key>Next: scroll-forw(1,page) \n\
Shift<Key>Prior: scroll-back(1) \n\
Shift<Key>Next: scroll-forw(1) \n\
<Key>Delete: string(0x1b) string("[2~") \n\
(watch out for whitespace munging: all lines but the first are indented one tab)
The Delete and Backspace bindings are probably not doing anything useful any more on a modern system, but pressing shift+return to background a job is now bound so deeply into my finger macros that I'm unlikely to be moving from xterm any time soon just for that reason alone
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds