Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!nntp-server.caltech.edu!bchen From: bchen@nntp-server.caltech.edu (Bing-Qing Chen) Newsgroups: comp.sys.next Subject: Re: Disabling cmd-q in Terminal Message-ID: <1991Jun3.051146.2818@nntp-server.caltech.edu> Date: 3 Jun 91 05:11:46 GMT References: <1991Jun2.235028.21517@parc.xerox.com> Organization: California Institute of Technology, Pasadena Lines: 16 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. At second best (and for possible future >releases), a way of persuading Terminal to ask for confirmation before >closing a window with a live shell would be a real win. > 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. Of course, you can replace "Q" or "W" with whatever character you want. Bing Chen bchen@pooh.caltech.edu