Re: Rsync and FAT32

2011-03-10 Thread Ehud Karni
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

Re: xls to text conversion ?

2010-02-05 Thread 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

Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Ehud Karni
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

Re: Tree command - Display Structure of Directory Hierarchy

2009-09-30 Thread Ehud Karni
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

Re: ps COMMAND column

2009-01-14 Thread Ehud Karni
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

Re: Unusual environemtal variables

2008-12-21 Thread Ehud Karni
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

Re: [ANNOUNCEMENT] Updated [experimental]: coreutils-6.9-5

2007-08-22 Thread Ehud Karni
? 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

Re: Remove user access to local drives?

2007-03-04 Thread Ehud Karni
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

Re: Remove user access to local drives?

2007-03-01 Thread Ehud Karni
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

Re: Unable to run even simple batch scripts any more

2007-02-14 Thread Ehud Karni
# 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

Re: ssh breaks while loop

2006-08-14 Thread Ehud Karni
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

Re: Apache (for win) running bash script: ls

2006-08-07 Thread Ehud Karni
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

Re: How can I create root user?

2006-08-07 Thread Ehud Karni
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

Re: window resizing not updating COLUMNS and LINES

2006-06-03 Thread Ehud Karni
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

Re: How to add a title to xterm

2005-12-07 Thread Ehud Karni
## -- 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

Re: encoding scripts (so that user can't see passwords easily)?

2005-12-07 Thread Ehud Karni
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

Re: Making the command console stay on top

2005-11-16 Thread Ehud Karni
://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

Re: How to run cygwin sshd as a domain user?

2005-11-09 Thread Ehud Karni
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

Re: is there a cygwin maintainer for gnu emacs?

2005-08-09 Thread Ehud Karni
. 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

Re: is there a cygwin maintainer for gnu emacs?

2005-08-08 Thread Ehud Karni
(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

Name of the Cygwin setup program (was Re: Is the Cygwin installation process ...)

2005-07-27 Thread 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

Re: Locking file in cygwin

2005-04-26 Thread Ehud Karni
) ; /* 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

Re: Updated: OpenSSH-4.0p1-1

2005-04-11 Thread Ehud Karni
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

Re: rxvt problem: Prompt doesn't look very nice

2005-03-24 Thread Ehud Karni
] ; 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

Re: Emacs 21.3.50

2005-03-11 Thread Ehud Karni
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

F1 F4 do not work with xwin-6.8.1.0-10

2005-02-07 Thread Ehud Karni
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

Re: Ssh ignores $HOME

2004-12-29 Thread Ehud Karni
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

Re: Three questions

2004-12-29 Thread Ehud Karni
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

Re: file conversion utility sought: from isolatin (8859-1) to utf8

2004-09-28 Thread Ehud Karni
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

Re: Emacs crashing under XFree86-4.3

2004-03-17 Thread Ehud Karni
. - -- 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

Re: reset/terminate problems; preventing multiple XWin instances

2004-03-04 Thread Ehud Karni
(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

Emacs and snapshots (was Crashes of snapshot20040225 with Win95)

2004-02-26 Thread Ehud Karni
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

Emacs and snapshots (was Crashes of snapshot20040225 with Win95)

2004-02-26 Thread Ehud Karni
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

Re: emacs Fatal error 11

2004-02-17 Thread Ehud Karni
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

libungif - cygwin version should be updated

2004-02-16 Thread Ehud Karni
), 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

Re: Problems with Emacs - Resolution(?)

2004-02-14 Thread Ehud Karni
(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

Re: Problems with Emacs - Resolution(?)

2004-02-14 Thread Ehud Karni
-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

Snapshot cygwin1-20040206.dll (was Re: zsh-4.1.1-2 still seems broken under cygwin-1.5.7-1)

2004-02-12 Thread Ehud Karni
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

Re: Snapshot cygwin1-20040206.dll (was Re: zsh-4.1.1-2 still seems broken under cygwin-1.5.7-1)

2004-02-12 Thread Ehud Karni
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

Re: SSH key authentification problem

2004-01-19 Thread Ehud Karni
(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

Re: Question about cygwin sshd and StrictModes

2003-12-10 Thread Ehud Karni
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

Re: setpriority() and PRIO_PROCESS under Cygwin

2003-10-12 Thread Ehud Karni
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

Re: change wallpaper periodly by cron?

2003-08-21 Thread Ehud Karni
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

Re: SSH session terminates with Ctl+C

2003-08-14 Thread Ehud Karni
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

Re: Operating system information

2003-08-09 Thread Ehud Karni
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

Re: SSH session terminates with Ctl+C

2003-08-06 Thread Ehud Karni
.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

Re: cygwin license

2003-04-02 Thread Ehud Karni
-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

Reading pop3 mail with GNU emacs on Cygwin (21.2-12)

2003-02-19 Thread Ehud Karni
(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

Re: rxvt, once again...

2002-12-29 Thread Ehud Karni
..) 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

Re: Bash puzzle: Spaces, environment variables and tab completion

2002-12-05 Thread Ehud Karni
, 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

Re: Bash puzzle: Spaces, environment variables and tab completion

2002-12-04 Thread Ehud Karni
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

Possible bug in non blocking read from /dev/tty

2002-11-20 Thread Ehud Karni
*/ 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

Re: Uses for Cygwin/XFree86

2002-10-28 Thread Ehud Karni
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

Re: What's a good term setting for rlogin?

2002-10-09 Thread Ehud Karni
[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

Re: Help changing dir with spaces...

2002-02-27 Thread Ehud Karni
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

Re: Help changing dir with spaces- Uncle!

2002-02-27 Thread Ehud Karni
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

Emacs for Cygwin (was: cygwin-mount.el, Using GDB in NTEMACS)

2002-02-26 Thread Ehud Karni
, 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