your problem. You can use the --archive option (good
when rsyncing for an exact backup).
Since you are using net connection, please look also at --whole-file option.
Also, your ssh user and rsync user are the same, so you can use --rsh=ssh
instead of using the -e option.
Ehud.
--
Ehud Karni
with 65535 lines in one sheet,
so I had to change the hard coded line limit.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7976-561 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il
is in the source).
This program is not related to the previous attached binary of `tree'.
This program is released under the GPL, so you can do any modification
to it. If you do, please post your changes (and the reason behind it).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon
On Wed, 30 Sep 2009 14:01:12 Dave Korn wrote:
Ehud Karni wrote:
On Tue, 29 Sep 2009 21:52:02 Dave Korn wrote:
That is precisely why I asked for the source, and precisely the
advantage of
open source over proprietary closed sources :-)
I attach a source code for my own (simplified
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http://www.keyserver.net/Better
characters
are supported too.
So you can use csh's: setenv @FOO value.
You can also use the env command to bypass bash limitation like this:
exec env @FOO=bar exec /bin/bash -i
Note the 2 `exec' if you do not want to spawn more processes.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561
?
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http://www.keyserver.net
to No !
And again, read the `ssh' and `sshd' man page.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG
some drawbacks on Cygwin (unlike UNIX), but for your purpose it is
not significant.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http
# check replace CR
scripts
# end of fix-cr.sh script
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML
and quits.
The problem is that `ssh' read stdin. To overcome this change it to:
ssh $host ls -al .profile /dev/null
A second possible problem is that ssh may exit with error, the
solution is to add set +e (in separate line) before the ssh line.
Ehud.
--
Ehud Karni Tel: +972-3-7966
CONTENT_LENGTH = $CONTENT_LENGTH
echo
echo env vars and values
/usr/bin/printenv
echo end of env ==
## test.cgi ##
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667
with administrator privileges
on M$Windows, but it is not the same as being root on UNIX.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX
the SIGWINCH signal ? ).
Since it seems to work fine (almost), I guess the problem is with
cygwin1.dll 1.5.19.
Ehud.
BTW. On linux (locally compiled bash) the LINES COLUMNS are set
even before changing window size.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax
##
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http
input)
gpg --default-key $KEY $GPGOPT --passphrase-fd 4 $OP )
else
gpg --default-key $KEY $GPGOPT $OP
fi
## end of gpg-crypt.sh
##
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667
://www.veridicus.com/tummy/programming/powermenu/
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG
it with your own user, you must own the
/etc/ssh*key files (only the ownership is important).
Try it first with StrictModes and UsePrivilegeSeparation changed
to no (in /etc/sshd_config).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII
.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http://www.keyserver.net
(especially rebase all) - it is known to
have a negative effect on Emacs.
I work with both Emacs 21.2 (distributed with Cygwin, prepared by
Joe Buehler) and Emacs 22.0.50 (updated from CVS and compiled on
2005-08-01), both in terminal mode and on X, and they work fine.
Ehud.
--
Ehud Karni
will automatically include the version number.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG
) ; /* MUST ! (otherwise will stop
lock check) */
}
free ( tmp_nm ) ; /* free tmp_nm when failed */
}
/*===*/
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972
line did it work. I think that this should be added to the
/usr/share/doc/Cygwin/openssh.README too.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML
] ; then
(set PS with colors)
else
(set PS with NO colors)
fi
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX
be built OOTB from CVS. It should be placed in another
place than the one included with Cygwin (e.g. in /usr/local which is
the default). You can have them both running on the same time.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII
and successfully opened the
display.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the
display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667
ssh
distribution (that can be run from a CD/flash) that run on machines
where Cygwin is not installed (and consequently - no mounts and
no /etc/passwd).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies
not work (cygwin1.dll 1.5.12(0.116/4/2)), with
the same error as without the extra dot, but the following does work:
$ mv tiny_mdi_example_without_ggdb.exe another-name
$ mv another-name tiny_mdi_example_without_ggdb
no extra dot needed.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561
utilities, but
these don't appear to exist in cygwin.
Recode builds OOTB though.
The `iconv' utility and `libiconv` are included in cygwin (in the
libiconv or libiconv2 packages).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII
.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http://www.keyserver.net/Better Safe Than
(which sometimes occurs).
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http
where I work with another
X server. I'll check it more (I can run this X server at home too),
but until all Xwin problem are cleared we should assume that Emacs
crashes because of the X server.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667
where I work with another
X server. I'll check it more (I can run this X server at home too),
but until all Xwin problem are cleared we should assume that Emacs
crashes because of the X server.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667
and it seems stable.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D http
),
but it never made it into the Cygwin distribution.
I want it because Emacs requires the later version.
- From Emacs configure in remarks:
# EGifPutExtensionLast only exists from version libungif-4.1.0b1.
# Earlier versions can crash Emacs.
Ehud.
- --
Ehud Karni Tel: +972-3-7966
(which crashed constantly with 1.5.7 and all snapshots
up to 20040206). I'll report the results here when it'll finish.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sat, 14 Feb 2004 17:31:12 +0200, Ehud Karni [EMAIL PROTECTED] wrote:
Please try the latest snapshot - cygwin1-20040214.dll . You can down
load it from http://cygwin.com/snapshots/ .
I tested it with Emacs for some hours now and it seems OK (I
and crashes) are still there with cygwin1-20040206.dll .
The latest cygwin1.dll that work with the cygwin Emacs is 1.5.5 .
Sorry for the poor bug report.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance
should have added that when there will be a new snapshot,
I'll check it, I promise.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http
(this is
a security breach), your system administrator can allow it by changing
the sshd configuration file (/etc/ssh/sshd_config) and restarting sshd.
She should check for the following line:
StrictModes no (default is yes)
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561
the permissions of your Home (~/)
and your ssh (~/.ssh) directories. Your home directory must NOT be
writable by others (not even from your group) and the ~/.ssh should
not be readable by others (because you may have your private keys
there).
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach
Windows HANDLE */
SetPriorityClass ( WinId , REALTIME_PRIORITY_CLASS ) ; /* set priority to REAL
TIME CLASS */
}
#endif /* __CYGWIN__ */
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance
change, but if you run it under command or cmd, it will
run without a (console) window.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http
educated guess.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
mailto:[EMAIL PROTECTED
How abut 'more /proc/meminfo'?
Why not use free ?
Ehud
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341
.dll, ssh same as yours).
A half apology to readers of my previous mail. As you can see I use
compression with ssh (I do it automatically - with a config file) so
I omitted (in my mind) the possibility of not using it.
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon
-v %1
Of course the rxvt command is on one line. There is a config file in
the $HOME/.ssh that has all the targets.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against
(expand-file-name
Diff finished at Wed Feb 19 14:30:12
Ehud.
- --
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815
..)
The XP home `cmd' is not crippled (it can be resized horizontally and
vertically and have buffer larger than the screen).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X
, NOT with the
mount one (because mount is new REAL name).
Note to Gary - this is the bash/UNIX way, you don't have to use
cygwin's unique tools (like cygpath).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies
spaces in it and use that file name.
e.g. ln -s /cygdrive/c/Program Files ~/PF
The advantage of this bypass is that you can use the symlink in
scripts without defining the environment variable for each one.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3
*/
return ( 0 ) ;
}
/*=== end of test_read_term.c =
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il
capture the whole screen (or a window) and
save it in many formats (including png).
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http
[39;49m:r1=\Ec\E]R:rc=\E8:sc=\E7:se=\E[27m:sf=^J:\
:so=\E[7m:sr=\EM:st=\EH:ta=^I:u6=\E[%i%d;%dR:u7=\E[6n:\
:u9=\E[c:ue=\E[24m:up=\E[A:us=\E[4m:
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies
and settings
4. You can use the Bash name completion mechanism -
type: cd /cygdrive/c/Documen and TAB
play with it and learn how it work.
Ehud.
P.S. I saw Larry's email, but I couldn't resist myself.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667
front. I port programs from UNIX
in a matter of minuets and I can use (almost) all the GNU tools.
We must all thank the small Cygwin team and the few long time
volunteers who help them.
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII
, and I'll ask again: did someone try to talk to the
Cygwin developers about this issue? Did someone ask them what do
they think about supporting Windows file names better, and if so,
what did they reply?
It strikes me that an important party to this discussion is strangely
absent.
--
Ehud Karni
57 matches
Mail list logo