<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Sun, 2010-08-22 at 08:35 -0700, Alan Coopersmith wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
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.
</PRE>
</BLOCKQUOTE>
I missed that.
<BLOCKQUOTE TYPE=CITE>
<PRE>
The extra \'ing is for cpp - if you switch to
sed, only one level of \ should be needed, but removal is not acceptable.
</PRE>
</BLOCKQUOTE>
As it is today in git, is this what the user is supposed to see on the terminal (copy/paste):<BR>
<BR>
<BLOCKQUOTE>
<PRE>
<B>RESOURCES FILE</B>
The <U>Xresources</U> file is loaded onto the display as a resource database
using <U>xrdb</U>. 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()
</PRE>
</BLOCKQUOTE>
The terminal wraps at 80 chars. <BR>
This around line 753.<BR>
<BR>
Similar output around line 962. One long line with \n
<BLOCKQUOTE>
<PRE>
Ctrl<Key>H: delete-previous-character() \nCtrl<Key>D:delete-character() \n [...]
</PRE>
</BLOCKQUOTE>
<BR>
I looked at <A HREF="http://linux.die.net/man/1/xdm">http://linux.die.net/man/1/xdm</A> and it is very similar.<BR>
<BR>
From the app/xdm/config it looks like this is how it should look on the terminal:
<BLOCKQUOTE>
<PRE>
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()
</PRE>
</BLOCKQUOTE>
<BR>
I am left with the impression that this never worked correctly.<BR>
<BR>
<PRE>
Thanks
Gaetan
</PRE>
<BR>
</BODY>
</HTML>