Article View: fj.sys.next
Article #134Re: Mathematica & MailHelper
From: Sugou Shinichirou
Date: Thu, 08 Oct 1992 06:18
Date: Thu, 08 Oct 1992 06:18
48 lines
2402 bytes
2402 bytes
$@%a%K%e!<$N%-!<3d$jEv$F$O(J/NextApps/Preference$@$GJQ99$G$-$?$H;W$$$^$9!#(J
nib $@%U%!%$%k$r(J IB $@$GJT=8$7$F$bJQ99$G$-$^$9$h$M!#(J
Preference$@$G$NJQ99$O!J8D?ME*$K(JDefaultDataBase$@$K%(%s%H%j!<$r;}$C$F$$$J$$!K(J
$@A4$F$N%"%W%j%1!<%7%g%s$K8z$$$F$-$^$9!#(JDefaultDatabase$@$N(JGLOBAL$@Fb$NCM$rJQ$((J
$@$F$$$k$+$i$G$9!#(J
$@$b$7FCDj$N%"%W%j$N$_$rJQ99$7$?$/$F!"$7$+$b$=$l$,(Jnib$@%U%!%$%k$r;}$C$F$$$J$$(J
$@>l9g$O(JNeXTAnswers$@$K<!$N$h$&$J$d$jJ}$,:\$C$F$$$^$9!#(J
$@$3$NJU$N@_Dj$,A4$F(JDefaultDataBase$@$r85$K9T$J$o$l$F$$$k$H$O!"(JNeXT$@$O:G=i$N;~(J
$@E@$+$i$-$l$$$K@_7W$5$l$F$$$^$9$M!#(J
---------------------------------------------------------------------------
setting key alternatives on a per application basis
Q: I know that I can use the Preferences application to specify a command
key for a given command in a menu, but the key alternative applies to
all applications. Is there a way to specify a command key that will
apply to just one application?
A: Yes, you can do this, but you must resort to dwrite(1) to set the
NXCommandKeys default for that application. The format is "menu item
name, command key, menu item name, command key,..." with each element
delineated by a comma. Example: "Page Layout..., P, Heavier, H,
Lighter, L".
Let's say you often accidentally hit Command-q in Terminal, so you
would like to change the key alternative for Quit to Command-Q,
but only in the Terminal application. This simple dwrite command
should solve that problem:
localhost> dwrite Terminal NXCommandKeys "Quit, Q"
For more information about dwrite, consult the man page.
QA769
Not valid for 1.0
Valid for 2.0
--
Shin'ichirou Sugou
shin@apple.juice.or.jp (NeXTmail acceptable)
Technical Details
Message-ID:
<SHIN.92Oct8151810@sgtp.sgtp.apple.juice.or.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!ccut!wnoc-tyo-news!lkbreth!sgtp!shinReferences:
<1992Oct7.073010.3072@hakobera.isct.kyutech.ac.jp> <YOUKI.92Oct7174734@aistgw.rd.ecip.osaka-u.ac.jp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ccut!wnoc-tyo-news!lkbreth!sgtp!shin From: shin@sgtp.apple.juice.or.jp (Sugou Shinichirou) Newsgroups: fj.sys.next Subject: Re: Mathematica & MailHelper Message-ID: <SHIN.92Oct8151810@sgtp.sgtp.apple.juice.or.jp> Date: 8 Oct 92 06:18:10 GMT References: <1992Oct7.073010.3072@hakobera.isct.kyutech.ac.jp> <YOUKI.92Oct7174734@aistgw.rd.ecip.osaka-u.ac.jp> Sender: shin@sgtp.apple.juice.or.jp Distribution: fj Organization: SG Total Planning, Japan Lines: 48 In-reply-to: youki@rd.ecip.osaka-u.ac.jp's message of 7 Oct 92 17:47:34 JST