Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!parc!news From: Lovstrand@EuroPARC.Xerox.COM (Lennart Lovstrand) Newsgroups: comp.sys.next Subject: Re: Disabling cmd-q in Terminal Message-ID: <1991Jun3.112643.3164@parc.xerox.com> Date: 3 Jun 91 11:26:43 GMT References: <1991Jun3.051146.2818@nntp-server.caltech.edu> Sender: news@parc.xerox.com Organization: Xerox PARC Lines: 36 In article <1991Jun3.051146.2818@nntp-server.caltech.edu> bchen@nntp-server.caltech.edu (Bing-Qing Chen) writes: > In article <1991Jun2.235028.21517@parc.xerox.com> Lovstrand@EuroPARC.Xerox.COM (Lennart Lovstrand) writes: > >So... Anyone know how to disable cmd-q in Terminal -- preferrably, but > >not necessarily, without patching the app? Wouldn't mind getting rid > >of cmd-w at the same time. > > > Try > dwrite Terminal NXCommandKeys "Quit,Q,Close Window,W" > which will make cmd-Q instead of cmd-q to quit and cmd-W instead of cmd-w to > close the window. > > Bing Chen > bchen@pooh.caltech.edu Wow, this is great! Less than 6 hours after I sent the query (literally overnight), I get a reply with exactly the kind of answer that I was looking for. Plus a number of suggestions for using extract + combine, which are also much appreciated. A quick dive into Digital Librarian shows that NXCommandKeys really is -- although somewhat crudely -- documented in NextDev/ReleaseNotes/AppKit.rtf: <> Thanks all, you've been swell! -- --Lennart R _A _ N_ K Rank Xerox EuroPARC, 61 Regent St, Cambridge, UK \/ |_ |_) | | \/ Heart-of-Gold, NeXTcube at EuroPARC, NeXT Mach 2(1) /\ |_ | \ |_| /\ TOPS-20 Command processor 7(109)-8 [alpha] E u r o P A R C