Added some interesting functionality to my cygwin sandbox

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Jul 2 15:01:00 GMT 2003


On Wed, 2 Jul 2003, Christopher Faylor wrote:

> On Wed, Jul 02, 2003 at 08:33:41AM +0200, Corinna Vinschen wrote:
> >On Tue, Jul 01, 2003 at 10:45:04PM -0400, Christopher Faylor wrote:
> >> We could use nul bytes for this, I suppose.  No one has to read the file.
> >
> >Isn't the new way of coding special characters also a way to represent
> >a cygdrive by using an otherwise non-existing %xx expression?  E.g. using
> >just one character after the percent like
> >
> >    %c/c/foo
> >
> >or otherwise not used characters like uppercase
> >
> >    %CD/d/bar
> >
> >for instance?
>
> That's an interesting idea.  It would only work on "posix" mounted
> directories, though.
>
> cgf

Here's another idea: the shortcuts already contain the Win32 path to the
file.  Instead of redundantly repeating that path in the comment field of
the shortcut in place of the POSIX path, we could use an empty comment
field to indicate that the Win32 path should be used (does anyone know if
it's legal to create a symlink to an empty path on Unix?).
	Igor
-- 
				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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton



More information about the Cygwin-developers mailing list