Benjamin C. Pierce | 1 Nov 2004 13:31
Favicon

Re: Re: How to use Emacs for viewing diff output?


It would be easy to change the single quotes to double quotes around the
arguments to the diff command.  Would this create problems anyplace else? 

Regards,

     Benjamin

> 
> Hello,
> 
> [Short summary of the *Problem*: in my profile I have the line
> 
> diff = e:/emacs/bin/emacs.exe
> 
> Unison invokes the editor Emacs with a line like this
> 
> e:/emacs/bin/emacs.exe 'drive:/path/file-1' 'drive-2:/path/file-1'
> 
> The single quotes prevent Emacs from opening the two existing files.]
> 
> I tried to investigate this a little more and I think it is a bug in 
> Unison. I tested it with the Win32 GTK UI versions 2.9.1 (stable, 
> downloaded from the unison homepage) and 2.10.2 (downloaded from the 
> contributed ports page), both precompiled. OS is Windows 2000 and XP.
> 
> The problem is that unison encloses the filenames for the `diff' program 
> with single quotes. While this is okay in a Cygwin shell, it fails in 
> the standard Windows command prompt. Double quotes would be okay.
> 
(Continue reading)

Benjamin C. Pierce | 1 Nov 2004 13:31
Favicon

Re: Contributed ports link broken


> http://www.cis.upenn.edu/~bcpierce/unison/download/beta-test/latest/unison-manual.html
> ->
> http://www.cis.upenn.edu/ bcpierce/unison/download.html

Thanks -- fixed.

   - Benjamin

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/26EolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

teggy_veerapen | 1 Nov 2004 17:47
Picon

"Invalid request code" error message


I have tried to search the message archive for the following error 
message but haven't been able to find anything about that.

So I'm wondering if any of you have come across this error message:

Propagating updates

UNISON started propagating changes at 17:37:04 on 01 Nov 2004
Uncaught exception Sys_error("Invalid request code")
Fatal error: exception Sys_error("Invalid request code")

If anyone has run into such problem and has been able to have a 
solution for that error, I'll be most grateful if he could share with 
me his experience,

thanks,

Teggy

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/26EolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
(Continue reading)

Carfield Yim | 1 Nov 2004 17:59
Picon
Gravatar

Sync between Win32 and Linux: Symbolic link as directory?


I use to sync one directory of my home Linux machine with office Win32
machine, however for some reason (don't like to have duplication
actually...) There will be a Symbolic link in that directory in linux,
is there anyway I can tell unison to treat this as typical file?

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/26EolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Florian Seydoux | 1 Nov 2004 18:40
Picon
Picon
Favicon

Re: Sync between Win32 and Linux: Symbolic link as directory?


Carfield Yim a écrit:

> 
> I use to sync one directory of my home Linux machine with office Win32
> machine, however for some reason (don't like to have duplication
> actually...) There will be a Symbolic link in that directory in linux,
> is there anyway I can tell unison to treat this as typical file?

of course, you can use the 'follow' command in your configuration file,
e.g.:

------- unison configuration file - part ------------------
follow = Path {data/Amaryllis,data/trec}
follow = Name {case*tudy*,stopfile}
follow = Name {*.ps.gz,*.ps.bz2,*.sh,*.awk,*.tcsh}
------------------------------------------------------------

with this, the two symbolic link (dir) 'data/Amaryllis' and
'data/trec' are 'followed' as for standard directories, and thse same
for all file (symbolic link) matching 'case*tudy*', 'stopfile', ...

Therfore, you need to specify in the config file all the link that
you have, before running unison....

regards

flo

------------------------ Yahoo! Groups Sponsor --------------------~--> 
(Continue reading)

Alan Jenkins | 1 Nov 2004 19:19
Picon

Failure on linux, NFS mount from Novell Netware


Unison on linux is unable to copy files into an NFS share exported by a  
Novell Netware server (at least in the circumstances I am in).  I am  
working with local support (this is on a University of York system),  
and should be able to provide more information soon.  The most  
informative error actually occurs under solaris:

Failed: Error in copying locally:
Operation not supported on transport endpoint [open(/n/minerva/UG/ 
aj504/
Windows NT 5.0 Workstation Profile/My Documents/course/.#index.html.0. 
unison.
tmp)]

The file can be created manually, so it is the nature of the "open"  
call - whatever that does exactly - not the filename which is the  
problem

If anyone else has this problem, or indeed a soluion, please speak up.

Thanks
Alan

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/26EolB/TM
--------------------------------------------------------------------~-> 

 
(Continue reading)

Elbridge Gerry Puckett | 1 Nov 2004 19:09
Picon
Favicon

Can I have Unison preserve the directory times as well?


I'm a new Unison user.  The users manual states that

  times   When this flag is set to true, file modification times (but not
          directory modtimes) are propagated.

The loss of the directory modtimes troubles me.  I note that the rsync flag

  --times 

preserves the directory modtimes.

Is it possible to set some flag or switch in Unison to have it also preserve
directory modtimes?

Thanks,

- Gerry

--

-- 
Elbridge Gerry Puckett                               phone:   530-752-7543
Professor                                            message: 530-752-0827
Department of Mathematics                            fax:     530-752-6635
University of California, Davis              email:   egp <at> math.ucdavis.edu
One Shields Avenue                       URL: http://math.ucdavis.edu/~egp  
Davis, California 95616

------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/26EolB/TM
(Continue reading)

Alan Jenkins | 1 Nov 2004 21:59
Picon

Re: Failure on linux, NFS mount from Novell Netware


> Unison on linux is unable to copy files into an NFS share exported by  
> a Novell Netware server (at least in the circumstances I am in).  I  
> am working with local support (this is on a University of York  
> system), and should be able to provide more information soon.  The  
> most informative error actually occurs under solaris:
> 
> Failed: Error in copying locally:
> Operation not supported on transport endpoint [open(/n/minerva/UG/ 
> aj504/
> Windows NT 5.0 Workstation Profile/My Documents/course/.#index. 
> html.0.unison.
> tmp)]
> 
> The file can be created manually, so it is the nature of the "open"  
> call - whatever that does exactly - not the filename which is the  
> problem

I belive the problem is the O_EXCL flag, which from the man page for  
the open system call will not work over NFS.  Netware is just being  
more upfront about it than normal NFS servers.

Possible solutions:

Remove the flag altogether - as far as I can see it is redundant
Retry without the flag on encountering the error "ENOTSUPP"

You may feel a configuration option and/or warning is appropriate.

------------------------ Yahoo! Groups Sponsor --------------------~--> 
(Continue reading)

Evan Easton | 1 Nov 2004 15:57

Re: Linux <-> NTFS files ending wit a '.'


Well it seems that there is a way to create files ending in a . on 
Windows.    This should count as a new bug then.  Anyone know if the 
ocaml can create a Windows file ending in a dot?
Evan

Dave Warren wrote:

> Evan Easton wrote:
>
>> Hans,
>> I encountered this one a log time ago.  I have yet to figure out how 
>> to create a file on NTFS that includes a dot at the end.  I've tried 
>> all sorts of APIs and shell tricks.  explorer and cmd simple treat it 
>> as an extension separator, like it's not part of the name.
>
>
> C:\Temp>ver
>
> Microsoft Windows XP [Version 5.1.2600]
>
> C:\Temp>echo Hi > \\?\c:\temp\hi.
>
> C:\Temp>dir
> Volume in drive C has no label.
> Volume Serial Number is 9453-B120
>
> Directory of C:\Temp
>
> 10/31/2004  01:31 PM    <DIR>          .
(Continue reading)

Stefan Monnier | 1 Nov 2004 20:52
Picon

Accents again


Not having gotten any answer for my previous question, here's another try:

Has anyone managed to somehow deal with accents in file names when using
unison between W32 and some unix(ish) system?

If so, have you had to do something special?
Can you describe your setup (maybe locale info is relevant) on each side?

If nobody got it to work, I'd also like to know, thanks.

        Stefan

------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/26EolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

(Continue reading)


Gmane