public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Exploring the idea of going from MKS tooklt to Cygwin
@ 2014-01-29 21:29 mrushton
  2014-01-29 21:39 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 2+ messages in thread
From: mrushton @ 2014-01-29 21:29 UTC (permalink / raw)
  To: cygwin

Can anyone give me any ideas or comments ? 

I am exploring the idea of moving some scripting from the MKS toolkit to Cygwin. 

I have all of these korn shell scripts that I use to poll our EDI mailboxes, translated the EDI, ftp files to various servers, etc.  

I am trying to go from Windows XP to Windows 7.  

I tried running one of my menus under cygwin and it bombed out with various errors.  
Maybe I will create a new scripts directory and see if I can modify them to run under cygwin. 

One of my first questions would be, how do I open a Cygwin window and have it run a shell script, like a menu  ?  

Thanks for any help.  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Exploring the idea of going from MKS tooklt to Cygwin
  2014-01-29 21:29 Exploring the idea of going from MKS tooklt to Cygwin mrushton
@ 2014-01-29 21:39 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (Cygwin) @ 2014-01-29 21:39 UTC (permalink / raw)
  To: cygwin

On 1/29/2014 4:29 PM, mrushton wrote:
> Can anyone give me any ideas or comments ?
>
> I am exploring the idea of moving some scripting from the MKS toolkit to Cygwin.
>
> I have all of these korn shell scripts that I use to poll our EDI
> mailboxes, translated the EDI, ftp files to various servers, etc.
>
> I am trying to go from Windows XP to Windows 7.
>
> I tried running one of my menus under cygwin and it bombed out with
> various errors.  Maybe I will create a new scripts directory and see if I
> can modify them  to run under cygwin.
>
> One of my first questions would be, how do I open a Cygwin window and
> have  it run a shell script, like a menu ?

Wrap your invocation of the shell script in question with a batch file
would be the simplest approximation of what you want to do.  Keep in
mind too that Cygwin very much prefers POSIX paths and needs any
backslashes that are meant to indicate path separators to be escaped.
Look to 'cygpath' to help with this translation.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2014-01-29 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 21:29 Exploring the idea of going from MKS tooklt to Cygwin mrushton
2014-01-29 21:39 ` Larry Hall (Cygwin)

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).