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





Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to