Here's a little netscape lore for you folks, if anyone is
interested: 

Being the keyboard junkie that I am, I often close Netscape
windows by doing an "Alt w".  This however is right
next door to "Alt q", which kills *all* of the Netscape
windows, which is not what I want. 

I finally decided that enough is enough, so I fixed it.  
Here's how you do it: 

   cp /usr/doc/netscape-common-4.7/Netscape.ad ~/Netscape

Edit ~/Netscape and change this line:

   *confirmExit:                        False

To this: 

   *confirmExit:                        True 

Now (after restarting netscape) you'll get a rather sensible
"Are you you sure you want to exit" message when you do an
"Alt q".

However, that wasn't good enough for me, I decided to kill
this one completely by changing the mapping of the key 
that does this pretty useless 'exit'.

So I found the first (or what the hell, find both
occurences, no one uses the Editor, but we might as 
well fix that too) of this stuff: 

        Meta ~Ctrl<Key>Q:               xfeDoCommand(exit)
\n\
         Alt ~Ctrl<Key>Q:               xfeDoCommand(exit)
\n\

And change it to this:

        Meta ~Ctrl<Key>0:               xfeDoCommand(exit)
\n\
         Alt ~Ctrl<Key>0:               xfeDoCommand(exit)
\n\

(Note, it is not entirely clear to me what all the
"Ctrl<Key>" crap means here, but keyboard accellerators are 
a mysterious business... see jwz's entertaining comments on
the subject in this file.)

And just to be neat, I changed this label:

   *menuBar*exit.acceleratorText:               Alt+Q

To this: 

   *menuBar*exit.acceleratorText:               Alt+0

Note that this barely scratches the surface of the fun and 
excitement you can have with the Netscape app-defaults
file.  For example, I also made this change while I was 
at it:

*reallyQuitMessage:     Close all windows and go back to the
sanity of lynx?

But careful how far you take this, though... one of the
trouble with app-default file hacking is that the next time
you upgrade your Netscape, you really want to remember to
delete this file, and probably you'll want to replace it
with the new version after manually redoing your changes.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to