#496690 xdm: want to use Tab to switch from Login to Password field

Package:
xdm
Source:
xdm
Description:
X display manager
Submitter:
Claus Fischer
Date:
2010-04-10 14:27:03 UTC
Severity:
wishlist
#496690#5
Date:
2008-08-26 18:55:09 UTC
From:
To:
Note to self: set submitter to Claus Fischer
<claus.fischer@clausfischer.com> once this has a bug number.

Claus requested to be able to use Tab instead of Enter to get to the
password prompt after giving the login, and provided the following
patch.
--- Xresources.orig	2008-08-25 12:07:06.000000000 +0200
+++ Xresources	2008-08-25 22:33:47.000000000 +0200
@@ -21,7 +21,11 @@
 	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>Return: set-session-argument() finish-field()
+	<Key>Return: set-session-argument() finish-field()\n\
+	Ctrl<Key>KP_Tab: set-session-argument(failsafe) finish-field()\n\
+	<Key>KP_Tab: set-session-argument() finish-field()\n\
+	Ctrl<Key>Tab: set-session-argument(failsafe) finish-field()\n\
+	<Key>Tab: set-session-argument() finish-field()

 xlogin*greeting: Welcome to CLIENTHOST
 xlogin*namePrompt: \040\040\040\040\040\040\040Login:

#496690#12
Date:
2008-09-01 22:17:58 UTC
From:
To:
I have also configured Tab to have the finish-field behaviour.  A
mis-feature of this configuration, however, is that pressing tab while
in the Password field will not swap back to the username field, but
will instead try to logon.  So if the goal is consistency with other
logon screens or other GUI apps, it is only partially successful.  I'm
not aware of any way to fix this.

Phil.