This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] run.exe was Re: Running ssh in background [solution/patch]


On Wed, 26 Oct 2005, Alexander Gottwald wrote:

> On Wed, 2005-10-26 at 15:43 +0200, Corinna Vinschen wrote:
>
> > Maybe you could install a symlink in /usr/X11R6/bin, in the postinstall
> > script, not in the package itself.  The idea is that a postinstall
> > script can create a symlink as windows shortcut by forcing
> > CYGWIN=winsymlinks on ln(1).
>
> run.exe is often used from Windows shortcuts to start programs like
> XWin. Even the X-start-menu-icons uses it this way, A shortcut will not
> work.

FWIW, setup supports hardlinks in binary tarballs, and does the right
thing w.r.t. copying, etc, when needed.

Since I'm replying here anyway, the patches I mentioned are attached
(along with the new icon).  The icon is useful for a VIm shortcut
(essentially "run rxvt -e vim") -- yes, I know I could use a separate icon
file, but this is easier, and this vim icon is otherwise only available as
part of the VIm source.
	Igor
==============================================================================
2005-10-26  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

	* Makefile.cygwin (run): Change to use $(CC).
	* run.c (main): Make retval unsigned.
	* run.rc (VIM): New icon.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

Attachment: run-small-fixes.patch
Description: Text document

Attachment: vim.ico
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]