Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #54025 > unrolled thread

Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it?

Started byANTant@zimage.com (Ant)
First post2013-12-29 19:09 -0600
Last post2014-01-01 00:30 -0800
Articles 20 on this page of 28 — 11 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? ANTant@zimage.com (Ant) - 2013-12-29 19:09 -0600
    Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-12-30 04:10 +0000
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2013-12-30 21:07 -0800
        Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Your Name <YourName@YourISP.com> - 2013-12-31 18:57 +1300
          Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2013-12-31 02:35 -0500
            Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2013-12-31 07:27 -0800
              Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Your Name <YourName@YourISP.com> - 2014-01-01 09:36 +1300
                Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2013-12-31 15:46 -0800
                  Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Your Name <YourName@YourISP.com> - 2014-01-01 13:26 +1300
          Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-12-31 15:23 +0000
          Re: Is there a way to change/remove hot keys in Mac OS Xs Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2013-12-31 07:26 -0800
            Re: Is there a way to change/remove hot keys in Mac OS Xs Terminal? Or prompt to be sure to quit/close it? Your Name <YourName@YourISP.com> - 2014-01-01 09:38 +1300
        Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-12-31 15:10 +0000
    Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Michael Vilain <vilain@NOspamcop.net> - 2013-12-29 21:08 -0800
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2013-12-30 05:16 +0000
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? nospam <nospam@nospam.invalid> - 2013-12-30 00:30 -0500
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Your Name <YourName@YourISP.com> - 2013-12-30 18:32 +1300
        Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Michelle Steiner <michelle@michelle.org> - 2013-12-29 22:48 -0700
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2013-12-30 04:16 -0800
    Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Barry Margolin <barmar@alum.mit.edu> - 2013-12-30 10:06 -0500
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? David Ritz <dritz@mindspring.com> - 2013-12-30 11:18 -0600
        Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Barry Margolin <barmar@alum.mit.edu> - 2013-12-30 12:25 -0500
          Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? David Ritz <dritz@mindspring.com> - 2013-12-30 12:00 -0600
            Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Your Name <YourName@YourISP.com> - 2013-12-31 09:04 +1300
            Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Barry Margolin <barmar@alum.mit.edu> - 2013-12-30 15:19 -0500
              Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? gtr <xxx@yyy.zzz> - 2013-12-30 17:34 -0800
          Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2013-12-31 07:31 -0800
      Re: Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it? Ant <ant@zimage.comANT> - 2014-01-01 00:30 -0800

Page 1 of 2  [1] 2  Next page →


#54025 — Is there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it?

FromANTant@zimage.com (Ant)
Date2013-12-29 19:09 -0600
SubjectIs there a way to change/remove hot keys in Mac OS X 10.8.x's Terminal? Or prompt to be sure to quit/close it?
Message-ID<ruGdnac-ybsjWl3PnZ2dnUVZ_u2dnZ2d@earthlink.com>
Hello.

I keep pressing command and w (also q) hot keys by accident in Mac OS X 
10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
browsers. Is there a way to change/remove them? Or at least ask me to 
confirm the quit/close at least?

Thank you in advance. 
-- 
Quote of the Week: "Individually, ants are stupid. Together, they're brilliant." --unknown
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /           Please nuke ANT if replying by e-mail. If crediting,
    ( )          then please kindly use Ant nickname and AQFL URL/link.

[toc] | [next] | [standalone]


#54027

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2013-12-30 04:10 +0000
Message-ID<slrnlc1sin.c4g.g.kreme@amelia.local>
In reply to#54025
In message <ruGdnac-ybsjWl3PnZ2dnUVZ_u2dnZ2d@earthlink.com> 
  Ant <ANTant@zimage.com> wrote:
> Hello.

> I keep pressing command and w (also q) hot keys by accident in Mac OS X 
> 10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
> browsers. Is there a way to change/remove them? Or at least ask me to 
> confirm the quit/close at least?

You can add/remove/change any¹ key assignment via System Preferences =>
Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
⌘⇧Q and ⌘⇧W.

¹ Perhaps nearly any.

-- 
"In order to avoid being called a flirt, she always yielded easily."
Charles, Count Talleyrand

[toc] | [prev] | [next] | [standalone]


#54110

FromAnt <ant@zimage.comANT>
Date2013-12-30 21:07 -0800
Message-ID<doadndrR3phozV_PnZ2dnUVZ_sqdnZ2d@earthlink.com>
In reply to#54027
On 12/29/2013 8:10 PM PT, Lewis typed:

> You can add/remove/change any¹ key assignment via System Preferences =>
> Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
> ⌘⇧Q and ⌘⇧W.

Cool. But how do you remove the hotkeys if I don't want to change them?
-- 
"Though your enemy is the size of an ant, look upon him as an elephant." 
--Danish
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.

[toc] | [prev] | [next] | [standalone]


#54114

FromYour Name <YourName@YourISP.com>
Date2013-12-31 18:57 +1300
Message-ID<311220131857309449%YourName@YourISP.com>
In reply to#54110
In article <doadndrR3phozV_PnZ2dnUVZ_sqdnZ2d@earthlink.com>, Ant
<ant@zimage.comANT> wrote:

> On 12/29/2013 8:10 PM PT, Lewis typed:
> 
> > You can add/remove/change any¬¼ key assignment via System Preferences =>
> > Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
> > ’åò’áßQ and ’åò’áßW.
> 
> Cool. But how do you remove the hotkeys if I don't want to change them?

You can't. Just change it to something you'll never use (at least not
accidentally) and isn't used in other applications:
shift-command-control-option-Q

[toc] | [prev] | [next] | [standalone]


#54117

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2013-12-31 02:35 -0500
Message-ID<52c273d6$0$61316$c3e8da3$5e5e430d@news.astraweb.com>
In reply to#54114
re: preventing Command-W to close Terminal windows.

There is a simple solution to this. And I believe it was succesfully
used in the white house in January 2001: Remove the W key from the
keyboard :-)

[toc] | [prev] | [next] | [standalone]


#54128

FromAnt <ant@zimage.comANT>
Date2013-12-31 07:27 -0800
Message-ID<PdqdnW73DJrCf1_PnZ2dnUVZ_vmdnZ2d@earthlink.com>
In reply to#54117
On 12/30/2013 11:35 PM PT, JF Mezei typed:

> re: preventing Command-W to close Terminal windows.
>
> There is a simple solution to this. And I believe it was succesfully
> used in the white house in January 2001: Remove the W key from the
> keyboard :-)

LOL. Then, I on't be able to spell ords that require that letter like 
this example. :P
-- 
"When you turn on a light in a room, what happens?" Shaw said. "The 
roaches scatter, but the ants keep marching. You can step on them, throw 
water on them, but they keep on marching. I want ants for my defense." 
--Willy Shaw
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.

[toc] | [prev] | [next] | [standalone]


#54147

FromYour Name <YourName@YourISP.com>
Date2014-01-01 09:36 +1300
Message-ID<010120140936314441%YourName@YourISP.com>
In reply to#54128
In article <PdqdnW73DJrCf1_PnZ2dnUVZ_vmdnZ2d@earthlink.com>, Ant
<ant@zimage.comANT> wrote:

> On 12/30/2013 11:35 PM PT, JF Mezei typed:
> 
> > re: preventing Command-W to close Terminal windows.
> >
> > There is a simple solution to this. And I believe it was succesfully
> > used in the white house in January 2001: Remove the W key from the
> > keyboard :-)
> 
> LOL. Then, I on't be able to spell ords that require that letter like 
> this example. :P

Yes you can - the letter is called "double-u", so simply type that
instead: "I uuill be able to spell uuords that require that letter like
this example."     ;-)

[toc] | [prev] | [next] | [standalone]


#54162

FromAnt <ant@zimage.comANT>
Date2013-12-31 15:46 -0800
Message-ID<K-GdncxZ3JGjyl7PnZ2dnUVZ_vGdnZ2d@earthlink.com>
In reply to#54147
>>> There is a simple solution to this. And I believe it was succesfully
>>> used in the white house in January 2001: Remove the W key from the
>>> keyboard :-)
>>
>> LOL. Then, I on't be able to spell ords that require that letter like
>> this example. :P
>
> Yes you can - the letter is called "double-u", so simply type that
> instead: "I uuill be able to spell uuords that require that letter like
> this example."     ;-)

Maybe uue need uudecoders. :-P
-- 
"None preaches better than the ant, and she says nothing." --Ben Franklin
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.
A song is/was playing on this computer: Little Daylight - Overdose

[toc] | [prev] | [next] | [standalone]


#54164

FromYour Name <YourName@YourISP.com>
Date2014-01-01 13:26 +1300
Message-ID<010120141326127011%YourName@YourISP.com>
In reply to#54162
In article <K-GdncxZ3JGjyl7PnZ2dnUVZ_vGdnZ2d@earthlink.com>, Ant
<ant@zimage.comANT> wrote:

> >>> There is a simple solution to this. And I believe it was succesfully
> >>> used in the white house in January 2001: Remove the W key from the
> >>> keyboard :-)
> >>
> >> LOL. Then, I on't be able to spell ords that require that letter like
> >> this example. :P
> >
> > Yes you can - the letter is called "double-u", so simply type that
> > instead: "I uuill be able to spell uuords that require that letter like
> > this example."     ;-)
> 
> Maybe uue need uudecoders. :-P

Of course the U is used in some applications as a shortcut key, so you
had bvetter remove that one from your keyboard too, just to be safe. 
;-)

[toc] | [prev] | [next] | [standalone]


#54125

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2013-12-31 15:23 +0000
Message-ID<slrnlc5ob3.iid.g.kreme@amelia.local>
In reply to#54114
In message <311220131857309449%YourName@YourISP.com> 
  Your Name <YourName@YourISP.com> wrote:
> In article <doadndrR3phozV_PnZ2dnUVZ_sqdnZ2d@earthlink.com>, Ant
> <ant@zimage.comANT> wrote:

>> On 12/29/2013 8:10 PM PT, Lewis typed:
>> 
>> > You can add/remove/change any¬¼ key assignment via System Preferences =>
>> > Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
>> > ’åò’áßQ and ’åò’áßW.
>> 
>> Cool. But how do you remove the hotkeys if I don't want to change them?

> You can't.

You can.

defaults write -app Terminal NSUserKeyEquivalents -dict-add "Close Tab" ""

Then quit and relaunch Terminal and the close-tab is disabled. However,
⌘W will now close the window, and the close-tab menu item is disabled,
so not a perfect solution. However, I am sure with a little trial and
error it will work.

-- 
What if there were no hypothetical questions?

[toc] | [prev] | [next] | [standalone]


#54126 — Re: Is there a way to change/remove hot keys in Mac OS Xs Terminal? Or prompt to be sure to quit/close it?

FromAnt <ant@zimage.comANT>
Date2013-12-31 07:26 -0800
SubjectRe: Is there a way to change/remove hot keys in Mac OS Xs Terminal? Or prompt to be sure to quit/close it?
Message-ID<PdqdnW_3DJqmf1_PnZ2dnUVZ_vmdnZ2d@earthlink.com>
In reply to#54114
On 12/30/2013 9:57 PM PT, Your Name typed:

>>> You can add/remove/change any¬¼ key assignment via System Preferences =>
>>> Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
>>> ’åò’áßQ and ’åò’áßW.
>>
>> Cool. But how do you remove the hotkeys if I don't want to change them?
>
> You can't. Just change it to something you'll never use (at least not
> accidentally) and isn't used in other applications:
> shift-command-control-option-Q

Bummer. Is it me or is there no revert back to default keys? I was 
checking this in Mac OS X 10.7.5 yesterday at work (don't have access to 
v10.8.5 at the moment).
-- 
"... I'd wait for a hot Texas day, see? Tie him to a stake, get an ant 
trail going. You know, Texas red ants, inch long! Just love to bite into 
human flesh, catch what I'm saying here? See, they're eating him alive, 
nice and slow like..." --Ross Perot in Saturday Night Live's Debate '92 
skit.
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.

[toc] | [prev] | [next] | [standalone]


#54148 — Re: Is there a way to change/remove hot keys in Mac OS Xs Terminal? Or prompt to be sure to quit/close it?

FromYour Name <YourName@YourISP.com>
Date2014-01-01 09:38 +1300
SubjectRe: Is there a way to change/remove hot keys in Mac OS Xs Terminal? Or prompt to be sure to quit/close it?
Message-ID<010120140938150725%YourName@YourISP.com>
In reply to#54126
In article <PdqdnW_3DJqmf1_PnZ2dnUVZ_vmdnZ2d@earthlink.com>, Ant
<ant@zimage.comANT> wrote:

> On 12/30/2013 9:57 PM PT, Your Name typed:
> 
> >>> You can add/remove/change any¨º key assignment via System Preferences =>
> >>> Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
> >>> íÂÚí·þQ and íÂÚí·þW.
> >>
> >> Cool. But how do you remove the hotkeys if I don't want to change them?
> >
> > You can't. Just change it to something you'll never use (at least not
> > accidentally) and isn't used in other applications:
> > shift-command-control-option-Q
> 
> Bummer. Is it me or is there no revert back to default keys? I was 
> checking this in Mac OS X 10.7.5 yesterday at work (don't have access to 
> v10.8.5 at the moment).

To revert back to the original keyboard shortcut, you can just delete
the new shortcut (use the "-" button after selecting your shortcut in
the list).

[toc] | [prev] | [next] | [standalone]


#54124

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2013-12-31 15:10 +0000
Message-ID<slrnlc5niu.he5.g.kreme@amelia.local>
In reply to#54110
In message <doadndrR3phozV_PnZ2dnUVZ_sqdnZ2d@earthlink.com> 
  Ant <ant@zimage.comANT> wrote:
> On 12/29/2013 8:10 PM PT, Lewis typed:

>> You can add/remove/change any¹ key assignment via System Preferences =>
>> Keyboard => Shortcuts => App Shortcuts I would suggest changing them to
>> ⌘⇧Q and ⌘⇧W.

> Cool. But how do you remove the hotkeys if I don't want to change them?

Hmm. I thought you defined the keybinding but left it empty, but that
doesn’t seem to be working.

Maybe the defaults write command, but I can't seem to find the syntax
for that since it's been ages since I needed to use it now that the
reassignment/assignment functionality is exposed in the GUI.

Ah, wait, found it.

defaults write -g NSUserKeyEquivalents

(for a global shortcut)

you can also set it for a single app

defaults write -app Keynote NSUserKeyEquivalents -dict-add
"Rehearse Slideshow" "@~R"

You can also add multiple keyboard shortcuts at once:

defaults write -app preview NSUserKeyEquivalents '{
"Single Page" = "@1";
"Two Pages" = "@2";
"Continuous Scroll" = "@3";
}'

Of course, you will want to test all of these, it's been several
versions of OS X since I used them and the syntax could have easily
changed slightly. A good way to check syntax is to try defaults read
first, since that is non-destructive.

Way more information than [most] anyone would ever want:
<http://www.hcs.harvard.edu/~jrus/site/Cocoa%20Text%20System.html>

Also, this is useful (if slightly dated):
<http://www.hcs.harvard.edu/~jrus/site/system-bindings.html>

This is rather cool, and I did something like this way back in 10.2 or
10.3 maybe with one application:

defaults write com.some.app NSUserKeyEquivalents '{
  "^w " = {
      "w"  = "close all windows:";
      "^w" = "close window:";
  };
}'

If I hit ^w twice, it closed the window, and if I hit ^w and then a
regular w, it closed them all.

I have no idea if that still works, though I am tempted to try it in
Mail for a lark (since I never use ⌘W in mail...)

-- 
Footnote on the High Energy Magic building: It was here that the thaum,
hitherto believed to be the smallest possible particle of magic, was
successfully demonstrated to be made up of resons (lit: 'Thing-ies) or
reality fragments. Currently research indicates that each reson is
itself made up of a combination of at least five 'flavours', known as
'up', 'down', 'sideways', 'sex appeal' and 'peppermint'.

[toc] | [prev] | [next] | [standalone]


#54034

FromMichael Vilain <vilain@NOspamcop.net>
Date2013-12-29 21:08 -0800
Message-ID<vilain-57FC97.21083029122013@news.individual.net>
In reply to#54025
In article <ruGdnac-ybsjWl3PnZ2dnUVZ_u2dnZ2d@earthlink.com>,
 ANTant@zimage.com (Ant) wrote:

> Hello.
> 
> I keep pressing command and w (also q) hot keys by accident in Mac OS X 
> 10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
> browsers. Is there a way to change/remove them? Or at least ask me to 
> confirm the quit/close at least?
> 
> Thank you in advance.

Not with stock MacOS.  Those command keys are part of the program.  You 
used to be able to use ResEdit on a MacOS 9 application and tweak the 
Menu resource, but those days are gone.

To assign or reassign keys requires a 3rd-party program to remap keys on 
a per program or global basis. There's iKey and Keyboard Maestro, either 
of which would map Command-W and Command-Q to do nothing or run a dialog 
box, then close the window or program if you click a button.

The question is "Are you willing to train yourself to 'Don't do that' or 
will you spend money to fix the PEBKAC error.

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]

[toc] | [prev] | [next] | [standalone]


#54036

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2013-12-30 05:16 +0000
Message-ID<slrnlc20da.c4g.g.kreme@amelia.local>
In reply to#54034
In message <vilain-57FC97.21083029122013@news.individual.net> 
  Michael Vilain <vilain@NOspamcop.net> wrote:
> In article <ruGdnac-ybsjWl3PnZ2dnUVZ_u2dnZ2d@earthlink.com>,
>  ANTant@zimage.com (Ant) wrote:

>> Hello.
>> 
>> I keep pressing command and w (also q) hot keys by accident in Mac OS X 
>> 10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
>> browsers. Is there a way to change/remove them? Or at least ask me to 
>> confirm the quit/close at least?
>> 
>> Thank you in advance.

> Not with stock MacOS. 

You are wrong.

> Those command keys are part of the program.  You 
> used to be able to use ResEdit on a MacOS 9 application and tweak the 
> Menu resource, but those days are gone.

That is true, it is FAR simpler now.

> To assign or reassign keys requires a 3rd-party program to remap keys on 

No it doesn’t, it is built in to OS X and has been for years. For
example, my "send mail" command in Mail.app has *always* been
Command-Return.

-- 
It was amazing, this mystic business. You tell them a lie, and then when
you don't need it any more you tell them another lie and tell them
they're progressing along the road to wisdom. Then instead of laughing
they follow you even more, hoping that at the heart of all the lies
they'll find the truth. And bit by bit they accept the unacceptable.

[toc] | [prev] | [next] | [standalone]


#54038

Fromnospam <nospam@nospam.invalid>
Date2013-12-30 00:30 -0500
Message-ID<301220130030473572%nospam@nospam.invalid>
In reply to#54034
In article <vilain-57FC97.21083029122013@news.individual.net>, Michael
Vilain <vilain@NOspamcop.net> wrote:

> > I keep pressing command and w (also q) hot keys by accident in Mac OS X 
> > 10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
> > browsers. Is there a way to change/remove them? Or at least ask me to 
> > confirm the quit/close at least?
> > 
> > Thank you in advance.
> 
> Not with stock MacOS. 

yes with stock mac os

> Those command keys are part of the program. 

they are, but they can be easily overridden.

> You 
> used to be able to use ResEdit on a MacOS 9 application and tweak the 
> Menu resource, but those days are gone.

true but there are new ways, namely system preferences/keyboard.
> 
> To assign or reassign keys requires a 3rd-party program to remap keys on 
> a per program or global basis. There's iKey and Keyboard Maestro, either 
> of which would map Command-W and Command-Q to do nothing or run a dialog 
> box, then close the window or program if you click a button.

there's no need for any third party app, although they may offer
additional features.

[toc] | [prev] | [next] | [standalone]


#54040

FromYour Name <YourName@YourISP.com>
Date2013-12-30 18:32 +1300
Message-ID<301220131832265590%YourName@YourISP.com>
In reply to#54034
In article <vilain-57FC97.21083029122013@news.individual.net>, Michael
Vilain <vilain@NOspamcop.net> wrote:
> In article <ruGdnac-ybsjWl3PnZ2dnUVZ_u2dnZ2d@earthlink.com>,
>  ANTant@zimage.com (Ant) wrote:
> > 
> > Hello.
> > 
> > I keep pressing command and w (also q) hot keys by accident in Mac OS X 
> > 10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
> > browsers. Is there a way to change/remove them? Or at least ask me to 
> > confirm the quit/close at least?
> > 
> > Thank you in advance.
> 
> Not with stock MacOS.  Those command keys are part of the program.  You 
> used to be able to use ResEdit on a MacOS 9 application and tweak the 
> Menu resource, but those days are gone.
> 
> To assign or reassign keys requires a 3rd-party program to remap keys on 
> a per program or global basis. There's iKey and Keyboard Maestro, either 
> of which would map Command-W and Command-Q to do nothing or run a dialog 
> box, then close the window or program if you click a button.
> 
> The question is "Are you willing to train yourself to 'Don't do that' or 
> will you spend money to fix the PEBKAC error.

You don't need a third party application. You can easily set and change
keyboard shortcuts for most applications in the Keyboard System
Preferences.

Just add a new Application Keyboard Shortcut specifically for the
Terminal application, type in the menu command "Quit Terminal", and
then use a different shortcut - instead of Command-Q, you could use
Control-Command-Q.

[toc] | [prev] | [next] | [standalone]


#54044

FromMichelle Steiner <michelle@michelle.org>
Date2013-12-29 22:48 -0700
Message-ID<291220132248066170%michelle@michelle.org>
In reply to#54040
In article <301220131832265590%YourName@YourISP.com>, Your Name
<YourName@YourISP.com> wrote:

> You don't need a third party application. You can easily set and change
> keyboard shortcuts for most applications in the Keyboard System
> Preferences.

One of the ones you can't do it for is Thoth; that probably applies to
all carbon apps, but I haven't checked that out.

[toc] | [prev] | [next] | [standalone]


#54052

FromAnt <ant@zimage.comANT>
Date2013-12-30 04:16 -0800
Message-ID<uPCdnbaD9ImF-VzPnZ2dnUVZ_r-dnZ2d@earthlink.com>
In reply to#54034
On 12/29/2013 9:08 PM PT, Michael Vilain typed:
> The question is "Are you willing to train yourself to 'Don't do that' or
> will you spend money to fix the PEBKAC error.

Well, I tried to be patient to learn to get used to it after a few 
years, but I still keep doing it. I have disabilities, so they don't 
help the situation. :(
-- 
"The general, unable to control his irritation, will launch his men to 
the assault like swarming ants, with the result that one-third of his 
men are slain, while the town still remains untaken. Such are the 
disastrous effects of a siege." --Chapter 3 in Sun Tzu's The Ancient Art 
of War (Translated by Lionel Giles)
    /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
   / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
  | |o   o| |
     \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
      ( )         If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.

[toc] | [prev] | [next] | [standalone]


#54055

FromBarry Margolin <barmar@alum.mit.edu>
Date2013-12-30 10:06 -0500
Message-ID<barmar-8D464E.10062230122013@news.eternal-september.org>
In reply to#54025
In article <ruGdnac-ybsjWl3PnZ2dnUVZ_u2dnZ2d@earthlink.com>,
 ANTant@zimage.com (Ant) wrote:

> Hello.
> 
> I keep pressing command and w (also q) hot keys by accident in Mac OS X 
> 10.8.x/Mountain Lion's Terminal when I meant to do that in my web 
> browsers. Is there a way to change/remove them? 

Lots of answers to that question, but no one has (yet) answered this one:

> Or at least ask me to 
> confirm the quit/close at least?

In Terminal preferences, go to the Settings tab and the Shell sub-tab, 
and change the "Prompt before closing" option.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.sys.mac.system


csiph-web