public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Running winNT/95 programs...
@ 1997-08-20 14:12 Barry Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Barry Roberts @ 1997-08-20 14:12 UTC (permalink / raw)
  To: gnu-win32, mh

Umm, isn't that a little like asking why would anybody ever use '&' to start an asynchronous process?  Because you don't want to lose your shell while the process runs, and with non-gui apps, start is the only way to do it?  I don't see what the explorer has to do with it, this IS a command line thing.

The other reason is that you can get some of the explorer's smarts (like file associations) from the command line.  For example, 'start refcard.ps' opens ghostview for me.

Barry Roberts

>>> Michael Hirmke <mh@mike.franken.de> 08/16 4:41 AM >>>
Hi Narayan,

> Hi,
> 
> I read a previous thread on running wNT/95 programs through an intermediate
> program. I am just a little confused. Why go through all the trouble when
> there is a "start" command in both w95 and NT? I have had no problems
> running any windows stuff through "start".
> 
> For example: my alias for start on winnt:
> 
> alias start='cmd /c start '

Sorry to ask, this might be a dumb question: Why would one want to use
"start" or something like that ? Why not just run the desired
application form the command line as usual ?
If I want to run explorer, I just type "explorer" from the bash command
line and it comes up as usual.

[...]
> I also have vi (elvis) aliased as:
> alias vi="start vi"
> so that it comes up in a separate window.

Again - why ??

Bye.
Michael.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             !
                                   
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Running winNT/95 programs...
  1997-08-16  6:31 ` Michael Hirmke
@ 1997-08-16 17:50   ` Narayan Natarajan
  0 siblings, 0 replies; 4+ messages in thread
From: Narayan Natarajan @ 1997-08-16 17:50 UTC (permalink / raw)
  To: gnu-win32

Hi Mike,

>> For example: my alias for start on winnt:
>> 
>> alias start='cmd /c start '
>
>Sorry to ask, this might be a dumb question: Why would one want to use
>"start" or something like that ? Why not just run the desired
>application form the command line as usual ?
>If I want to run explorer, I just type "explorer" from the bash command
>line and it comes up as usual.

The only reason I do this is it lets me have my command line back. 
"start" sort of backgrounds the task. I guess you are correct when you say
run it from the command line for applications such as explorer. Explorer
seems to give the command line back but netscape, for instance, does not.


>> alias vi="start vi"
>> so that it comes up in a separate window.
>
>Again - why ??

Thaaats why !!! :-)

Narayan
| Narayan       _/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
|Natarajan    _/ venkman1@ix.netcom.com  http://www.netcom.com/~venkman1 _/
|           _/ (810)-475-0667                    .       .____ _       _/
|         _/ "The heavens call to you, and *   .     x  -(____/ |  _  /
|       _/ circle about you, displaying to      ________/____/  \ ( )-----
|     _/ you their eternal splendors, and     ,/                _ ( -------
|   _/ your eye gazes only to earth."        <________\       //  (_)-----
| _/                    -- Dante           --<==  *    |_____/  _
|/                                                    -(_____) (_)-----
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Running winNT/95 programs...
  1997-08-15 19:29 Narayan Natarajan
@ 1997-08-16  6:31 ` Michael Hirmke
  1997-08-16 17:50   ` Narayan Natarajan
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Hirmke @ 1997-08-16  6:31 UTC (permalink / raw)
  To: gnu-win32

Hi Narayan,

> Hi,
> 
> I read a previous thread on running wNT/95 programs through an intermediate
> program. I am just a little confused. Why go through all the trouble when
> there is a "start" command in both w95 and NT? I have had no problems
> running any windows stuff through "start".
> 
> For example: my alias for start on winnt:
> 
> alias start='cmd /c start '

Sorry to ask, this might be a dumb question: Why would one want to use
"start" or something like that ? Why not just run the desired
application form the command line as usual ?
If I want to run explorer, I just type "explorer" from the bash command
line and it comes up as usual.

[...]
> I also have vi (elvis) aliased as:
> alias vi="start vi"
> so that it comes up in a separate window.

Again - why ??

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mh@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Running winNT/95 programs...
@ 1997-08-15 19:29 Narayan Natarajan
  1997-08-16  6:31 ` Michael Hirmke
  0 siblings, 1 reply; 4+ messages in thread
From: Narayan Natarajan @ 1997-08-15 19:29 UTC (permalink / raw)
  To: gnu-win32

Hi,

I read a previous thread on running wNT/95 programs through an intermediate
program. I am just a little confused. Why go through all the trouble when
there is a "start" command in both w95 and NT? I have had no problems
running any windows stuff through "start".

For example: my alias for start on winnt:

alias start='cmd /c start '

and on win95 there is an actual executable start.exe, so no alias reqd.
once set the following works just fine.

start <filename> --- starts associated program in windows.
start <command>  --- works so long as path is visible

I also have vi (elvis) aliased as:
alias vi="start vi" 
so that it comes up in a separate window.

Narayan
| Narayan       _/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
|Natarajan    _/ venkman1@ix.netcom.com  http://www.netcom.com/~venkman1 _/
|           _/ (810)-475-0667                    .       .____ _       _/
|         _/ "The heavens call to you, and *   .     x  -(____/ |  _  /
|       _/ circle about you, displaying to      ________/____/  \ ( )-----
|     _/ you their eternal splendors, and     ,/                _ ( -------
|   _/ your eye gazes only to earth."        <________\       //  (_)-----
| _/                    -- Dante           --<==  *    |_____/  _
|/                                                    -(_____) (_)-----
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-08-20 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-20 14:12 Running winNT/95 programs Barry Roberts
  -- strict thread matches above, loose matches on Subject: below --
1997-08-15 19:29 Narayan Natarajan
1997-08-16  6:31 ` Michael Hirmke
1997-08-16 17:50   ` Narayan Natarajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).