Re: osx usability for a windows/linux user



In article <a9hjg39em99efpdn3phittk4jfotq806jk@xxxxxxx>, xen
<xen@xxxxxxxxxx> wrote:

On Sun, 7 Oct 2007 13:41:05 +0000 (UTC), Dave Seaman
<dseaman@xxxxxxxxxxxx> wrote:

I don't know where you got that idea. The purpose of a Terminal window
is to run a Unix command (usually a shell, but it can be anything you
like). Each terminal window represents an independent process. I
typically have six or more terminal windows open at once, and about half
of them are running ssh sessions on various remote hosts.

But then how is the single-app-instance strategy implemented? Do apps
need to check for running instances themselves, if they want to adhere
to this principle? Or will the GUI bark if you register an app with
the Dock when an app with the same name is already registered?

What do you mean by "register"? The GUI does keep you from adding two
copies of any given item to the Dock, if that's what you mean.

Terminal is an application. It can have multiple windows, like most
applications. Each window contains a separate shell process. That's
separate from the issue at hand.

Applications don't need to check for already-running instances of
themselves. When you tell a Mac to open an application (from the
Finder, from the Dock, or using the "open" shell command) the Mac will
just bring it to the front if it's already running. You might be able
to get two instances running if you found the actual executable for an
app and directly executed it in the shell, but you'd rarely do that.
I've certainly never tried.

(On Macs, the application icon you see in the Finder is typically not
the actual executable; it's a "package," essentially a special folder
that is shown as if it were just a regular item rather than a
container. The actual executable is somewhere inside. As a user, you
basically never have to deal directly with it, although you can if you
like -- there's a context menu item, "Show Package Contents," that
opens it like a folder.)

--
Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>

Send only plain text messages under 32K to the Reply-To address.
This mailbox is filtered aggressively to thwart spam and viruses.
.



Relevant Pages

  • RE: Opening Access database
    ... I tried your suggestion, but Access still opens, but NOT FULL SCREEN. ... simply sends ALT space then X to maximise the window. ... then that app will receive the keystrokes. ... allow you to run an app from the shell and at the same time you can set the ...
    (microsoft.public.excel.programming)
  • Re: Open Files on Startup
    ... then the app detects what file the user has chosen and loads it. ... clicking on it, for example, opens the file with that application? ... keys that the shell consults to see how to pass the name of the file to the ...
    (microsoft.public.dotnet.languages.vc)
  • Re: custom shell starts before all services loaded
    ... I created a small app for my custom shell which then starts my main app, ... > Then you should look at WaitForInputIdle API. ...
    (microsoft.public.windowsxp.embedded)
  • Re: custom shell starts before all services loaded
    ... Shell to run the script file. ... > I created a small app for my custom shell which then starts my main app, ... because my main app comes up on the custom display. ... As far as WaitForInputIdle(), ...
    (microsoft.public.windowsxp.embedded)
  • Re: Application starts too soon
    ... each shell internal implementation. ... >>> The application runs froma a batch file. ... >>> shutdown command times out and the computer is ready to be turned off. ... >>> think the app tries to run, encounters an error, and exits. ...
    (microsoft.public.windowsxp.embedded)