Re: moz X resources

[email protected] (Mårten Svantesson)
Newsgroups gmane.comp.mozilla.devel.unix
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Daniel Rawson <[email protected]> writes:

>> Mårten Svantesson wrote:
>>>>
>>>> I'm attempting to re-map some of the Sun keyboard for use in Mozilla.
>>>>
>>>> As an example, it would be nice to map the Sun "Cut" key to be the
>>>> same as "Del" EVERYWHERE.  The "Cut" key does a delete if I'm
>>>> typing in a new message, but it DOESN'T delete the current message
>>>> if the focus is on the message list . . . .
>>>>
>>>> Normally, I'd do this with something like:
>>>>
>>>> Netscape*translations: #override\
>>>>    <Key>SunCut: string(0x7f)\n\
>>>>
>>>> in .Xdefaults, but this doesn't work.
>>>>
>>>> Thanks for any light you can shed on this . . . .
>>>
>>>
>>>
>>
>>> Here you have information on customizing key bindings in Mozilla:
>>>
>>> http://www.mozilla.org/unix/customizing.html#keys
>
> I was unable to get the advice from the above customizing page to
> work; I couldn't figure out the binding for the message list window
> in Mail/News.

I didn't dwelve deep into the code of Mail/News, but this file seems
to be involved:
http://lxr.mozilla.org/seamonkey/source/mailnews/base/resources/content/mailWindowOverlay.js

I saw cmd_delete used in the file, might that be it?

-- 
                - Mårten
 
mail: [email protected] *** ICQ: 4356928 *** mobile: +46 (0)707390385
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.