[PATCH app-xdm 2/4] man: remove new-lines and backslash constructs
Gaetan Nadon
memsize at videotron.ca
Sun Aug 22 18:13:34 PDT 2010
On Sun, 2010-08-22 at 08:35 -0700, Alan Coopersmith wrote:
> Gaetan Nadon wrote:
> > They are ignored and causes serious misalignement.
> > Things like '\\n\\' and '\\\\'
>
> They are for displaying to the end user, as they are required in the files
> that these are examples of.
I missed that.
> The extra \'ing is for cpp - if you switch to
> sed, only one level of \ should be needed, but removal is not acceptable.
>
As it is today in git, is this what the user is supposed to see on the
terminal (copy/paste):
RESOURCES FILE
The Xresources file is loaded onto the display as a resource database
using xrdb. As the authentication widget reads this database before
starting up, it usually contains parameters for that widget:
xlogin*login.translations: #overrideCtrl<Key>R: abort-display()\n<Key>F1: set-session-argument(failsafe) finish-field()\n<Key>Return: set-session-argument() finish-field()
The terminal wraps at 80 chars.
This around line 753.
Similar output around line 962. One long line with \n
Ctrl<Key>H: delete-previous-character() \nCtrl<Key>D:delete-character() \n [...]
I looked at http://linux.die.net/man/1/xdm and it is very similar.
From the app/xdm/config it looks like this is how it should look on the
terminal:
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>Return: set-session-argument() finish-field()
I am left with the impression that this never worked correctly.
Thanks
Gaetan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100822/3da22b06/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100822/3da22b06/attachment.pgp>
More information about the xorg-devel
mailing list