Benjamin C. Pierce | 6 Dec 20:03 2010

Re: GUI suggestion

Having trouble applying the patch to the current trunk.  Might be easiest if you send the whole file?

    - B

On Nov 24, 2010, at 11:13 AM, Matt Zagrabelny wrote:

> On Tue, Nov 23, 2010 at 6:54 PM, Benjamin C. Pierce
> <bcpierce <at> cis.upenn.edu> wrote:
>> 
>> 
>> 
>> Hi Matt,
>> 
>> These sound like sensible suggestions. If you or someone else wants to take a few minutes and fix the code,
I'd be happy to incorporate a patch...
> 
> Thanks, Benjamin.
> 
> Attached is a patch.
> 
> -matt
> <0001-Reorganize-UI-toolbar-buttons.patch>

------------------------------------

Yahoo! Groups Links

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

(Continue reading)

Matt Zagrabelny | 6 Dec 23:20 2010
Picon

Re: GUI suggestion [1 Attachment]



On Mon, Dec 6, 2010 at 1:03 PM, Benjamin C. Pierce <bcpierce <at> cis.upenn.edu> wrote:
 

Having trouble applying the patch to the current trunk. Might be easiest if you send the whole file?


Okay.  Attached is new file.

-matt

Attachment(s) from Matt Zagrabelny

1 of 1 File(s)


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Stuckey | 7 Dec 20:45 2010
Picon

Using 2.27 with 2.32

Hi,

I'd like to use Unison to sync files between three machines: work (not sure of version right now), home (2.32), and a third machine that I use to keep files on that has version 2.27. When I tried to run a test right now, per the tutorial, I got:
Fatal error: Received unexpected header from the server:
expected "Unison 2.32\n" but received "Unison 2.27\n\000\000\000\000",
which differs at "Unison 2.2".

I see that it might be possible to use this via -addversionno, but how exactly does the usage of this go?

Thanks,
James S.

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Matt Zagrabelny | 7 Dec 21:17 2010
Picon

Re: Using 2.27 with 2.32

On Tue, Dec 7, 2010 at 1:45 PM, Stuckey <jhstuckey <at> gmail.com> wrote:
 

Hi,

I'd like to use Unison to sync files between three machines: work (not sure of version right now), home (2.32), and a third machine that I use to keep files on that has version 2.27. When I tried to run a test right now, per the tutorial, I got:
Fatal error: Received unexpected header from the server:
expected "Unison 2.32\n" but received "Unison 2.27\n\000\000\000\000",
which differs at "Unison 2.2".


The way I've accomplished this is with the following setup:

Computer A - unison version X installed
Computer B - unison version X and version Y installed
Computer C - unison version Y installed

Computers A and C only ever sync with computer B.

HTH

-matt


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
dennis.kolberg | 12 Dec 12:31 2010
Picon
Picon

Question about .unison-folder and syncing via SSH

Hello everybody,

I've got a question referring the .unison-Folder:

MY SITUATION:
I want to sync my Windows-laptop with my Linux-based NAS. To keep a backup, I defined a global
backup-direcotry (e.g. "C:\Backup") in the profile of unison on the Windows-system.

On the NAS, the Linux' $HOME-Folder is on a ramdisk, which will be reset after every reboot. So I can't use the
$HOME/.unison-Folder for saving the profile-files, archive-files and backup-files.

MY PROBLEM:
When I start unison on my laptop an sync a laptop-folder with a NAS-folder via SSH-connection, changed and
deleted files on the NAS are stored in a sub-folder of the Linux-$home-directory (e.b.
"/root/C:\Backup"). The backup-folder has the same name as the one on the Windows-machine.

A second problem is the archive-file: It is saved in a sub-folder of the $HOME-direcotry (/root/.unison).
After every reboot this file will be deleted.

WHAT I HAVE TRIED SO FAR:
I defined a $UNISON environment variable on the NAS to use a different folder than "/root/.unison". 
When I type "export", the variable is displayed correctly and if I start unison on the NAS and sync two
folders on the NAS, it works.

But as soon as I start unison on the windows-machine and synchronise a windows-folder with a linux-folder
via SSH, it fails. It uses the parameters of the windows-unison (backup-folder) and ignores the $unison-variable.

MY QUESTION:
Why does unison use the windows-parameters? Did I make something wrong? 
Is there a way to tell unison on the NAS, that it should use a different location for the archive- and
backup-files? 

After 3 days of trial & error I would be please if somebody could help me! Many thanks in advance!

Greetz,

Dennis

PS: I'm using unison 2.27 (unfortunately I didn't get 2.32 compiled on the NAS)

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> 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/

Alan Schmitt | 12 Dec 12:55 2010

Re: Question about .unison-folder and syncing via SSH

On 12 déc. 2010, at 12:31, dennis.kolberg wrote:

> But as soon as I start unison on the windows-machine and synchronise a windows-folder with a linux-folder
via SSH, it fails. It uses the parameters of the windows-unison (backup-folder) and ignores the $unison-variable.

Before investigating further, could you try this (on the windows machine):

ssh the_other_machine 'echo $UNISON'

Sometimes environment variables are not correctly positioned when using ssh.

Alan

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> 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/

Richard Roberts | 12 Dec 19:26 2010
Picon

Re: Question about .unison-folder and syncing via SSH

Hi Dennis, as for the backup location, what are you using for the remote URL?  I recently discovered that you need two slashes to get to the root of the drive, for example, this:

ssh://user <at> host/directory  will in fact sync to '$HOME/directory', because when ssh logs in it starts in the home directory.

ssh://user <at> host//directory  (note the 2 slashes before the directory) will sync to '/directory' on the remote host.

This could be why it's syncing to '/root/C:\backup'.

For the other problem, running 'export UNISON=....' only sets the $UNISON variable for the current login session.  When Unison logs in with ssh it starts a new one that doesn't have that variable.  Likewise, if you were to open a new SSH session, $UNISON would be gone again.  To set it every time you log in, you'll need to put the line 'export UNISON=....' in one of your shell startup scripts.  What this is depends on which shell you're using.  If 'echo $SHELL' prints something like /bin/bash, then you should put that export line in ~/.bashrc.

Hope you get it working!

Richard


On Sun, Dec 12, 2010 at 6:55 AM, Alan Schmitt <alan.schmitt <at> polytechnique.org> wrote:
 

On 12 déc. 2010, at 12:31, dennis.kolberg wrote:

> But as soon as I start unison on the windows-machine and synchronise a windows-folder with a linux-folder via SSH, it fails. It uses the parameters of the windows-unison (backup-folder) and ignores the $unison-variable.

Before investigating further, could you try this (on the windows machine):

ssh the_other_machine 'echo $UNISON'

Sometimes environment variables are not correctly positioned when using ssh.

Alan




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Sergiusz Pawlowicz | 13 Dec 13:25 2010

[out of memory+ssh]

Hi,
I am trying to synchronize a large directory to ssh://xxx//xxx:

$ ls -lR /home/mailing/mailing | wc
 159869 1032558 7394045

and getting "out of memory". From the FAQ I built up the -s stack size
limit on the sender part, but it does not sort out the problem. It
looks that limit is probably still on the receiver part - how can I
lift it up?

Thanks,
Serge

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> 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/

david whiting | 13 Dec 19:33 2010
Picon

Any way to report how many bytes transferred?

Hi,

I would like to get a handle on how much is transferred each time I
sync. Is there a way for unison to report this? I've looked at the
options and don't see anything that looks like an option to report
this.

I'm using UNISON 2.27.57 (on ubuntu 10.04)

Thanks.

David

-- 
David Whiting

------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> 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/

Maria McKinley | 15 Dec 10:05 2010
Picon

spaces in default.prf

It took me a while to figure this out, but it would appear that if there is a path in default.prf that unison can't follow, there is no error message given, and the path is ignored. For the ignore syntax, I have used slashes before spaces in paths, such as this:

ignore = Path */Office\ 2008\ AutoRecovery

And this seemed to work, but when I did this for the path:

path = Library/Application\ Support/LaTeXiT

Unison seemed to just ignore the line completely, and I couldn't figure out why. It seems that for the path, I am to use the path without the slashes that linux would require:

path = Library/Application Support/LaTeXiT

This seems very odd behavior to me, but maybe that is just because I have a background in linux. The part where it ignores stuff, without even telling you that it ignored anything, is the part that is most worrisome. Now I am wondering if some of my ignore paths are not being ignored, since it may also be ignoring the ignore line. Sorry, couldn't resist that last bit.

cheers,
maria 



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Gmane