🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #4357

Re: Reassigning command key equivalents without editing .nib ??

#4357
From: Carl Edman
Date: Mon, 14 Dec 1992 16:57
36 lines
2619 bytes
In article <1992Dec14.140113.18803@cerberus.ulaval.ca> antoine@osd.ulaval.ca (Antoine Gautier) writes:
   In article <CEDMAN.92Dec13125505@capitalist.nts.uci.edu>  
   cedman@princeton.edu (Carl Edman) writes:
   |=|dwrite NewsGrazer NXCommandKeys "Help...,.,Next,.,Previous,., \
   |=|Next with subject,.,Previous with subject,.,Posts in Progress...,., \
   |=|Followup to post,.,Reply by mail,.,Filter Author,.,Filter Subject,., \
   |=|Filter Account,.,Show article...,.,Sort by title,.,Sort by number,., \
   |=|Record read articles,.,NewsFolders...,M,Mark articles read,y"
   |=|
   |=|Tested under 2.x and 3.0.
   |=|
   |=|        Carl Edman

   Ok, can you explain what this does? thks

I hoped that this was deducible from the question it answered, but I
can certainly explain it too.

What this dwrite does is to reassign the command key equivalents of
Newsgrazer menu items. As the case happens to be I really don't like
many of the command key equivalents in Newsgrazer as I rarely use
those items, but the equivalents collide with services menu items
which I frequently use. I used to hack the nib file every time there
was a new release of Newsgrazer, but in the long run that got to be
too much of a hassle, so I decided to use the dwrite instead.
Unfortunately I do not believe that there is a way to actually cause a
menu item which already has a command key equivalent to have none. So
instead I assigned the same unusual command key equivalent to all
unwanted menu items. So in this particular case, the menu items
"Help...", "Next", aso. upto "Record read articles..." all have the
command key equivalent command-. now. "NewsFolders..." got command-M
and "Mark articles read" got command-y.

Clear enough ?

        Carl Edman
Technical Details
Message-ID: <CEDMAN.92Dec14115714@capitalist.nts.uci.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!nimaster.princeton.edu!cedman
References: <CEDMAN.92Dec13125505@capitalist.nts.uci.edu> <1992Dec14.140113.18803@cerberus.ulaval.ca>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!nimaster.princeton.edu!cedman
From: cedman@princeton.edu (Carl Edman)
Subject: Re: Reassigning command key equivalents without editing .nib ??
In-Reply-To: antoine@osd.ulaval.ca's message of Mon, 14 Dec 1992 14:01:13 GMT
To: antoine@osd.ulaval.ca (Antoine Gautier)
Message-ID: <CEDMAN.92Dec14115714@capitalist.nts.uci.edu>
Originator: news@nimaster
Sender: news@Princeton.EDU (USENET News System)
Nntp-Posting-Host: capitalist.princeton.edu
Organization: University of California, Irvine
References: <CEDMAN.92Dec13125505@capitalist.nts.uci.edu>
 <1992Dec14.140113.18803@cerberus.ulaval.ca>
Date: Mon, 14 Dec 1992 16:57:14 GMT
Lines: 37