Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Switch Terminal window focus with mouse movement' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Switch Terminal window focus with mouse movement
Authored by: TvE on Oct 31, '03 01:18:12PM

I did'nt think that Terminal "geeks" (a positive somment - I am trying to become one myself ;-) would be using a mouse a lot.


Why not use the "default" keyboard shortcuts in OS X (also available in 10.2) to change focus to the windows within the launched application (Micro$oft excluded - they do things in their own strange ways...)

COMMAND-< and COMMAND-> cycles between the windows.

Of course - if you have 10 open windows in terminal it would be faster to use the mouse, but if you only have 3 or 4 - I'd go for the keyboardshortcuts



[ Reply to This | # ]
10.3: Switch Terminal window focus with mouse movement
Authored by: osxpounder on Oct 31, '03 03:25:00PM

On my 10.3 box, CMD-> and CMD-< do not cycle windows, at least not in some apps.

In Safari, CMD-< brings up its Preferences; same thing happens in Terminal and in Finder. In Terminal, CMD-> looks like it does the same thing as pressing the ENTER key.

---
--
osxpounder



[ Reply to This | # ]
10.3: Switch Terminal window focus with mouse movement
Authored by: babbage on Nov 19, '03 03:02:27PM

He didn't literally mean the [>] (greater than) and [<] (less than) keys -- he meant the left & right arrows. If you go into the "Window" menu under Terminal.app, the relevant keystrokes should be indicated for you:

    [cmd]+[right arrow]  next terminal
    [cmd]+[left arrow]   previous terminal
    [cmd]+[M]            minimize window to dock
    [cmd]+[1]            go to terminal/tty 1
    [cmd]+[2]            go to terminal/tty 2
    [cmd]+[3]            go to terminal/tty 3

Etc. That last set is especially useful, particularly if you've gone into Terminal.app's "Window Settings..." option menu, then the "Window" subsection in that dialog box, and checked off "Command key" as one of the window titlebar options.

If you keep your terminal windows just barely overlapping, so that the titlebars are all cascaded and you can see at least part of the left (preferably) or right margin of the window, then you can quickly see & jump to any currently open window by hitting [cmd]+[number key of that window] -- and if the window you want is currently minimized to the dock, it'll pop back onto the desktop too. Useful trick.

---
--
DO NOT LEAVE IT IS NOT REAL

[ Reply to This | # ]

10.3: Switch Terminal window focus with mouse movement
Authored by: ashill on Oct 31, '03 03:51:38PM

One advantage of focus follows mouse in the Terminal (and X11) is that the window with focus does not come to the foreground, so if I'm entering commands in a terminal that I don't need to see much of but one to refer to another terminal, that one stays on top, even though it's in the 'background.' To bring the window to the top, click in it.

(cmd-` is the shortcut to rotate through windows in most applications. cmd-left arrow and cmd-right arrow also work in Terminal.)



[ Reply to This | # ]
10.3: Switch Terminal window focus with mouse movement
Authored by: rootpoot on Oct 31, '03 04:53:34PM

If you have ten open Terminal windows, you need to be using screen anyway...



[ Reply to This | # ]