Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Behaviour change in Xorg's xdm between 5.99.5 and 5.99.7

On Thu, 12 Feb 2009, Hans Rosenfeld wrote:

> On Tue, Jan 27, 2009 at 09:51:17AM +0100, Geert Hendrickx wrote:
> > Yah, this is a major PITA (on the netbsd-5 branch also!), since I'm used to
> > pressing "Tab" instead of "Return" after my login name.  I've accidentally
> > entered my password (with people looking over my shoulder) in the login
> > field a few times already now.
> Maybe xdm could be changed to handle "Tab" the same way as a "Return",
> so that it would just work as it used to, but without showing the
> password input box.

That can be handled in /etc/X11/xdm/Xresources by adding a translation:

xlogin*login.translations: #override \
        Ctrl<Key>R: abort-display()\n\
        <Key>F1: set-session-argument(failsafe) finish-field()\n\
        <Key>Delete: delete-character()\n\
        <Key>Left: move-backward-character()\n\
        <Key>Right: move-forward-character()\n\
        <Key>Home: move-to-begining()\n\
        <Key>End: move-to-end()\n\
        Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
        <Key>KP_Enter: set-session-argument() finish-field()\n\
        Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
+       <Key>Tab: set-session-argument() finish-field()\n\
        <Key>Return: set-session-argument() finish-field()

but I don't see any way to have the build framework insert that into the
installed version automatically..


Home | Main Index | Thread Index | Old Index