For Programmers: Free Programming Magazines  


Home > Archive > Tcl > November 2006 > Symbolic link of Windows Vista









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Symbolic link of Windows Vista
s-imai

2006-11-26, 10:01 pm

Hi!

Windows Vista has the CreateSymbolicLink function creates a symbolic link
line a UNIX.

Why don't you support the symbolic link from Tcl8.5?

-----
Satoshi Imai


Gerald W. Lester

2006-11-27, 4:10 am

s-imai wrote:
> Hi!
>
> Windows Vista has the CreateSymbolicLink function creates a symbolic link
> line a UNIX.
>
> Why don't you support the symbolic link from Tcl8.5?


1) Windows Vista is not yet released (see
http://www.microsoft.com/windowsvista/) the current target date is January
30, 2007.

2) Because you have not submitted the code to make the [file link] command
do that -- why don't you get busy and write it? (it works for directories in
8.4)

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
s-imai

2006-11-27, 4:10 am

Hi.

>1) Windows Vista is not yet released (see
>http://www.microsoft.com/windowsvista/)
>the current target date is January


No. Windows Vista MSDN version has already been released. I've got a
japanese version.

2) Because you have not submitted the code to make the [file link]
command

>do that -- why don't you get busy and write it? >(it works for

directories
>in 8.4)


Oops. It's a nice idea! :-)

-----
Satoshi Imai


Uwe Klein

2006-11-27, 4:10 am

s-imai wrote:
> Hi!
>
> Windows Vista has the CreateSymbolicLink function creates a symbolic link
> line a UNIX.
>
> Why don't you support the symbolic link from Tcl8.5?
>
> -----
> Satoshi Imai
>
>

The implementation seems rather limited and prone to breakage.
Supporting an imcomplete feature that is known to work well
on other platforms may well produce more problems that just
staying with "This Platform just does not support it":

> http://slashdot.org/article.pl?sid=06/11/19/018256
> http://neosmart.net/blog/archives/285


uwe
Darren New

2006-11-27, 7:05 pm

Uwe Klein wrote:
> The implementation seems rather limited and prone to breakage.


It's limited in the sense that it's not supported on XP (duh) and not
supported via UNC (which Linux doesn't support symlinks over either).

And symlinks (Windows or Linux) aren't supported on FAT file systems or
CDFS either.

So I'm not sure why there would be a reason for genereal non-support.
There's bunches of stuff that's supported on Windows and not Linux, and
on Linux but not Windows, in the [file] command. The "hidden" and
"archive" bits are known to work well on Windows, but they're broken on
Linux. The mode bits work well on Linux, but they're broken on Windows
(in spite of the fact that they *could* be much better supported).

I think that making symlinks work from Tcl on Vista the same way they
work in the rest of Vista would be adequate.

--
Darren New / San Diego, CA, USA (PST)
Scruffitarianism - Where T-shirt, jeans,
and a three-day beard are "Sunday Best."
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com