Re: When only rsync will do .. or maybe not

2022-10-14 Thread Cyrille Lefevre via Cygwin
Le 12/10/2022 à 12:55, Fergus Daly a écrit : Requirement: to move some selected files and folders under /folder1/ to /folder2/, preserving full pathnames. Using cp with the switch --parents (taking care over syntax and importantly location $PWD) it is possible to _copy_ the Required content ac

Re: scp command fails to transfer file and returns 1.

2022-07-16 Thread Cyrille Lefevre via Cygwin
Le 13/07/2022 à 09:41, suzuki.masa...@fujitsu.com a écrit : As a result of debugging our application program, the scp command returned the following message.  /usr/bin/scp: dest open ""/tmp/a"": No such file or directory  /usr/bin/scp: failed to upload file /cygdrive//C/test/a to "/tmp/a" Hi,

Re: Internal echo of shell beaves (sometimes) different to external echo

2012-07-19 Thread Cyrille Lefevre
that terminal setting is UTF-8 both for input/output. tried using fr_FR vs fr_FR.UTF-8 and echo vs /bin/echo, both work well in all case ! Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Display a starting message

2012-06-01 Thread Cyrille Lefevre
t << 'EOF' > /etc/profile.d/banner.sh sed -e 's/ The .* to /\x1B[33;44;5m&\x1B[0;37;44m/' \ -e 's/|\(.*\)|$/\x1B[0;1m|\x1B[44m\1\x1B[1;40m|\x1B[0m/' \ -e '/./s/^/\x1B[0;32m/' -e 's/ __*$/\x1B[0;1m&\x1B[0m/' \ -e 's/jg

Re: How to "bisect" Cygwin?

2012-05-31 Thread Cyrille Lefevre
ime in the past year? Actually, if I could start with the Cygwin DLLs themselves, that would probably get me to the bottom of it. well, have you tryed the cygwin time machine : http://www.fruitbat.org/Cygwin/index.html#cygwincirca Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@l

Re: [feature] alias "more" to "less"

2012-05-14 Thread Cyrille Lefevre
Le 15/05/2012 02:21, Cyrille Lefevre a écrit : Le 12/05/2012 12:57, Corinna Vinschen a écrit : On May 12 03:08, Cyrille Lefevre wrote: unfortunatelly, most doesn't exist yet under cygwin :-( http://cygwin.com/setup.html well, and then ?! forgive me, I tought you redirect me on setu

Re: [feature] alias "more" to "less"

2012-05-14 Thread Cyrille Lefevre
Le 12/05/2012 12:57, Corinna Vinschen a écrit : On May 12 03:08, Cyrille Lefevre wrote: Le 11/05/2012 18:23, Larry Hall (Cygwin) a écrit : On 5/11/2012 9:35 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Noel Grandin sent the following at Friday, May 11, 2012 4:33 AM It seems that pretty much

Re: [feature] alias "more" to "less"

2012-05-11 Thread Cyrille Lefevre
7;less'. ;-) from http://www.slackbook.org/html/file-commands-pagers.html about less : "less is more, but more more than more is, so more is less less, so use more less if you want less more." about most : "If less is more than more, most is more than less." unfo

Re: PROGRAMFILES variable is not set during openssh session

2012-02-12 Thread Cyrille Lefevre
script in /etc/profile.d to set the missing ones at connection time... you may comment the lines containing SECONDS. it's based on Kurt Franke's similar script in the idea. PS : Corinna, maybe this may be made a FAQ ? Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net ssh-s

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-15 Thread Cyrille Lefevre
Le 08/11/2011 00:25, Cyrille Lefevre a écrit : Hi, are you working on these issues ? thanks in advance. Le 04/11/2011 21:22, David Sastre a écrit : On Fri, Nov 04, 2011 at 06:05:39AM +0100, Cyrille Lefevre wrote: the base-file maintainer has been BCC'ed to add the export SHELL to the

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-15 Thread Cyrille Lefevre
Le 10/11/2011 02:05, Andrey Repin a écrit : Greetings, Cyrille Lefevre! Would defining $SHELL at a system level solve your issue? well, I'm not the one who is having the problem, I'm the one who is trying to help to solve the issue... :-) Regards, Cyrille Lefevre -- mailto:cyril

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-07 Thread Cyrille Lefevre
Le 04/11/2011 21:22, David Sastre a écrit : On Fri, Nov 04, 2011 at 06:05:39AM +0100, Cyrille Lefevre wrote: the base-file maintainer has been BCC'ed to add the export SHELL to the /etc/profile. GNU/Linux login sets SHELL to bash, mksh, ... whilst ssh sets SHELL to /bin/bash, /bin/posh,

FAQ 4.2 Why is Cygwin suddenly so slow? (was Re: cygwin very slow under virtual box (productivity hit))

2011-11-07 Thread Cyrille Lefevre
om/faq/faq-nochunks.html#faq.using.slow also, plz, could you complete the FAQ about that, thanks in advance. something like : alternative, remove the bash-completion package if any. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problem

Re: Why 'script' utility require SHELL (and work fine under Linux)?

2011-11-03 Thread Cyrille Lefevre
ected through the network (sshd) but not when launched by cygwin.bat. Is this right add export SHELL to '~/.bashrc'? .bash_profile is more appropriate. the base-file maintainer has been BCC'ed to add the export SHELL to the /etc/profile. Regards, Cyrille Lefevre

Re: CRON running but not triggering tasks

2011-10-07 Thread Cyrille Lefevre
at logs can I look at? /var/log/cron.log to have more verbose logs, install inetutils, then run syslogd-config then check /var/log/messages Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ:

pb w/ cygpath -w /dev/sdXY (was Re: Device names in /proc/mounts)

2011-08-06 Thread Cyrille Lefevre
hd FAT3233658Mb 95% CPUN RECOVER s: hd NTFS476936Mb 77% CP CS UN PA FC SATA500G2 (EMULE_NORTON) v: cd N/AN/A w: cd N/AN/A x: fd N/AN/A y: fd N/AN/A z: fd N/AN/A C:\cygwin / sys

Re: mksh

2011-05-05 Thread Cyrille Lefevre
? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Enable logging remote ssh contacts

2011-04-29 Thread Cyrille Lefevre
/ Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Enable logging remote ssh contacts

2011-04-28 Thread Cyrille Lefevre
lisateurs in french under Vista, don't know under XP ?) well, the last one : v2$ id uid=1000(Cyrille) gid=513(None) groups=513(None),0(root),544(Administrateurs),545(Utilisateurs) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cyg

Re: Enable logging remote ssh contacts

2011-04-27 Thread Cyrille Lefevre
owner: SYSTEM # group: root user::rw- group::rw- group:Utilisateurs:r-x mask:rwx other:r-- at last, I prefer the VERBOSE log level than the info one : somebody@somewhere /var/log v2$ grep Level /etc/sshd_config LogLevel VERBOSE Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.ne

Re: Utility: winln, a drop-in replacement for ln(1)

2011-04-06 Thread Cyrille Lefevre
uot;Create symbolic links" and add whatever users and groups you want[1]. unfortunatelly, gpedit.msc isn't available under Windows Vista Home Edition. however, cygwin provide editright for that purpose, don't remember the windows counterpart ? editrights -a

Re: [ANNOUNCEMENT] Updated base-files-4.0-6

2011-03-31 Thread Cyrille Lefevre
Le 31/03/2011 13:24, Jon TURNEY a écrit : What the man page doesn't tell you is that bash actually unsets PS1 if the shell isn't interactive, so for bash at least, exporting PS1 can't cause a problem. thanks for the tip, however, this is not an expected behaviour... Re

Re: inetutils : missing shells in /etc/shells

2011-03-31 Thread Cyrille Lefevre
Le 31/03/2011 04:47, Yaakov (Cygwin/X) a écrit : On Thu, 2011-03-31 at 02:10 +0200, Cyrille Lefevre wrote: /etc/shells is missing some shells : /bin/ash /bin/csh /bin/mksh /usr/bin/ash /usr/bin/csh /usr/bin/mksh and maybe more ? ash is just a copy of dash, and csh is a symlink to tcsh

inetutils : missing shells in /etc/shells

2011-03-30 Thread Cyrille Lefevre
Hi, /etc/shells is missing some shells : /bin/ash /bin/csh /bin/mksh /usr/bin/ash /usr/bin/csh /usr/bin/mksh and maybe more ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: [ANNOUNCEMENT] Updated base-files-4.0-6

2011-03-30 Thread Cyrille Lefevre
Le 31/03/2011 01:53, Cyrille Lefevre a écrit : Le 18/03/2011 19:45, David Sastre a écrit : Version 4.0-6 of base-files has been uploaded. Base-files is a set of system configuration and setup files. Hi, PS1 *must not* be exported. historically, it is not exported to know if it is a

Re: [ANNOUNCEMENT] Updated base-files-4.0-6

2011-03-30 Thread Cyrille Lefevre
LC_COLLATE has to be exported to be effective. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: IFS/read dash bug (was Re: Problems with the new base-files-4.0-5?)

2011-03-20 Thread Cyrille Lefevre
Le 19/03/2011 23:34, Cyrille Lefevre a écrit : Le 18/03/2011 14:46, David Sastre a écrit : [ -e "${p}" ]&& IFS=',' read -r PRINTER dummy< "${p}" Works in bash, posh, mksh and zsh, but fails (at least for me) in dash. regarding SUSv3, read is not

IFS/read dash bug (was Re: Problems with the new base-files-4.0-5?)

2011-03-19 Thread Cyrille Lefevre
every shell, if that fails under dash, it should be fixed. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe inf

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Cyrille Lefevre
rns 1 bcoz "The return code is zero, unless end-of-file is encountered"... alternative : [ -e "${p}" ] && IFS=',' read -r PRINTER dummy < "${p}" Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports:

Re: Mg3a - a version of Mg2a developed on Cygwin

2011-02-24 Thread Cyrille Lefevre
, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Mg3a - a version of Mg2a developed on Cygwin

2011-02-24 Thread Cyrille Lefevre
fine but no-tab-mode and nobom must be switched in keymap.c -DPREFIXREGION seems to work fine -DREGEX seems to work fine -DSCROLLBYONE seems to work fine Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: [ANNOUNCEMENT] Updated: OpenSSH-5.8p1-1

2011-02-08 Thread Cyrille Lefevre
sig". What gives? does setup -K http://mirrors.kernel.org/sourceware/cygwin/setup.bz2.sig help ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Finding junction points

2011-02-07 Thread Cyrille Lefevre
to have the output in 2-columns like: source1 target1 source 2 target2 etc. something like this ? cmd /c dir /a:l /n | awk '/^ /{$1=$2="";sub(/^ +/,"");d=$0;next}/JONCTION/{sub(/.* +/,"");sub(/\[/, "-> ");sub(/\]$/, ""); print d "

Re: Finding junction points

2011-02-07 Thread Cyrille Lefevre
. ... even windows commands fails one recursive junctions ! Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe

Re: bad PATH conversion under XP

2011-02-02 Thread Cyrille Lefevre
Le 02/02/2011 11:04, Corinna Vinschen a écrit : On Feb 1 23:41, Cyrille Lefevre wrote: I'm reporting a cygwin bug... of course I know I could edit the windows environment variables. however, this problem has to be fixed. I agree. It's not the user's fault that Windows a

Re: bad PATH conversion under XP

2011-02-01 Thread Cyrille Lefevre
Le 26/01/2011 03:10, Rafael Kitover a écrit : On 1/25/2011 7:14 PM, Cyrille Lefevre wrote: v2$ uname -a CYGWIN_NT-5.1 PC213736 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin aka Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 though SSH at least : v2$ regtool get /machine/SYSTEM

Re: 1.7.7: Bash interactive login takes very long (> 1 min)

2011-01-31 Thread Cyrille Lefevre
normal user, that doesn't matter), it takes always more than 60 seconds before the prompt appears. How can I trace what the problem is? as usual, do you have bash-completion, if yes, get rid of it and try again. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Pr

Re: du weird results under samba share

2011-01-26 Thread Cyrille Lefevre
Le 26/01/2011 14:27, Corinna Vinschen a écrit : On Jan 26 13:28, Cyrille Lefevre wrote: Le 26/01/2011 12:06, Corinna Vinschen a écrit : What does `ls -s' return? The return value in st_blocks is always a multiple of 1K(*), which in turn is computed from the "AllocationSize"

Re: du weird results under samba share

2011-01-26 Thread Cyrille Lefevre
-2007.pst 905216 -rwxr--r-- 1 expl 115834880 2011-01-25 20:33 ratp 2008.pst 709632 -rwxr--r-- 1 expl 90718208 2011-01-25 20:33 ratp 2009.pst 1081344 -rwxr--r-- 1 expl 138297344 2011-01-25 20:33 ratp 2010.pst Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@

du weird results under samba share

2011-01-25 Thread Cyrille Lefevre
ED : FALSE FILE_SUPPORTS_OBJECT_IDS: FALSE FILE_SUPPORTS_ENCRYPTION: FALSE FILE_NAMED_STREAMS : FALSE FILE_READ_ONLY_VOLUME : FALSE FILE_SEQUENTIAL_WRITE_ONCE : FALSE FILE_SUPPORTS_TRANSACTIONS : FALSE Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Prob

bad PATH conversion under XP

2011-01-25 Thread Cyrille Lefevre
Program Files/Hummingbird/Connectivity/7.00/Accessories/" also, how about to get rid of final slashes (.../ => ...) ? this appear to work well under Windows Vista (i.e. : /cygdrive/c/Program Files/Hummingbird/Connectivity/7.00/Accessories) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@

Re: Invoking GUI programs over SSH

2011-01-18 Thread Cyrille Lefevre
org/ml/cygwin/2010-12/msg00468.html then http://sourceware.org/ml/cygwin/2010-05/msg00496.html (attachment => http://sourceware.org/ml/cygwin/2010-05/txt3.txt) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.h

Re: Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error

2011-01-13 Thread Cyrille Lefevre
Le 13/01/2011 12:29, Corinna Vinschen a écrit : On Jan 12 22:30, Cyrille Lefevre wrote: Le 12/01/2011 12:52, Corinna Vinschen a écrit : well, its windows related, but can't be posted on a public ml... Why? answer me and you'll see :-) Well, never mind then. well, y

Re: 1.7.7: Localization does not follow the language of the OS

2011-01-12 Thread Cyrille Lefevre
xport LANG="nl_NL.UTF-8" in your $HOME/.bash_profile don't modify the system-wide lang.sh provided by cygwin since it may envolve in the future. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.ht

Re: Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error

2011-01-12 Thread Cyrille Lefevre
Le 12/01/2011 12:52, Corinna Vinschen a écrit : >> well, its windows related, but can't be posted on a public ml... > > Why? answer me and you'll see :-) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin

Re: Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error

2011-01-12 Thread Cyrille Lefevre
Le 12/01/2011 11:11, Corinna Vinschen a écrit : > > On Jan 12 02:07, Cyrille Lefevre wrote: >> >> I would like to write you in private, but your email address bounce. >> could you send me your personnal address, please. > > I rather like to keep Cygwin stuff o

Re: Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error

2011-01-11 Thread Cyrille Lefevre
Corinna, I would like to write you in private, but your email address bounce. could you send me your personnal address, please. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http

suggestion (was Re: 1.7.7: Localization does not follow the language of the OS)

2011-01-11 Thread Cyrille Lefevre
YPE:-$LANG}}" ] && return read LocaleName < '/proc/registry/HKEY_CURRENT_USER/Control Panel/International/LocaleName' case ${LocaleName} in *-*) export LANG=${LocaleName%-*}_${LocaleName#*-}.UTF-8 *) export LANG=C.UTF-8 ;; esac unset

Re: Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error

2011-01-08 Thread Cyrille Lefevre
first time the directory size is read, the size used by FindFirstFile/FindNextFile (or something like that :-) is zero'ed, then the directory size is updated while the directory is traversed. also the directory size doesn't seem to shrink on entry removal, even after a reboot. Rega

Re: uptime not reporting CPU usage on Windows 7 (Possibly only when running in VMWare)

2010-12-31 Thread Cyrille Lefevre
Le 31/12/2010 13:16, Cyrille Lefevre a écrit : > is that may help ? the gg keys where : windows avenrun :-) > > http://www.opensource.apple.com/source/X11apps/X11apps-13/xload/xload-X11R7.0-1.0.1/get_load.c well, humm, xload doesn't even launch under vista w/o any error !

Re: uptime not reporting CPU usage on Windows 7 (Possibly only when running in VMWare)

2010-12-31 Thread Cyrille Lefevre
uses to determine this information. > is that may help ? the gg keys where : windows avenrun :-) http://www.opensource.apple.com/source/X11apps/X11apps-13/xload/xload-X11R7.0-1.0.1/get_load.c also the cpu load may be get from wmi : http://www.cacti.net/downloads/scripts/scripts4nt.zip in

Re: Why are some default Windows environment variables not set when logging in via ssh?

2010-12-30 Thread Cyrille Lefevre
ROFILE, $HOMEDRIVE) but others are unset (e.g., > $TEMP, $TMP, $APPDATA, $LOCALAPPDAT, PROGRAMFILES). Hi, see http://sourceware.org/ml/cygwin/2010-11/msg00412.html see also : http://cygwin.com/cgi-bin/search.cgi?q=ssh+Environment+Variables&cmd=Search! Regards, Cyrille Lefevre --

Re: WG: Windows Environment Variables

2010-11-24 Thread Cyrille Lefevre
s. >> Like %Programfiles% or %COMMONPROGRAMFILES% > > Security rationale: > http://cygwin.com/ml/cygwin/2010-05/msg00311.html > Suggested workaround: > http://cygwin.com/ml/cygwin/2010-05/msg00012.html see attached file: http://sourceware.org/ml/cygwin/2010-05/msg00496.html Regar

Re: Cygwin 1.7.7, User Variables, User Profiles

2010-11-24 Thread Cyrille Lefevre
fig for the client part allow : see AcceptEnv in man sshd_config for the server part Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http:/

Re: How can autossh start remote connection, if computer is off?

2010-11-11 Thread Cyrille Lefevre
specify > one "VAR=VALUE" string with the -e switch. You have to repeat the -e > switch to define multiple environment variables. > > ... -e 'AUTOSSH_NTSERVICE=yes' -e 'AUTOSSH_GATETIME=0' you may also specify -y tcpip to wait for the network

Re: cp: omitting directory, for copying only files, sed

2010-11-07 Thread Cyrille Lefevre
../test/file2.txt /path/to -n don't print anything except if asked for (see p) s|\\|/|g \ => / /^File / do the following subsitution only on mached line s///substitute 'File ' w/ nothing, yep, if the search pattern is not provided, the last one is used p pr

Re: issue with inherited handle (ssh.exe, gitk)

2010-10-29 Thread Cyrille Lefevre
stdin, so you can't do : echo password | ssh ... and if you would like to say, hey, this works on linux, remember that GNU/Linux isn't unix, but just a unix like. also remember you the GNU acronym... Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net

Re: Bash problems, strace, performance, etc.

2010-10-21 Thread Cyrille Lefevre
Le 21/10/2010 23:22, Lee D. Rothstein a écrit : > > On 10/21/2010 1:22 AM, Cyrille Lefevre wrote: > >> seems to work here ! even on cpan.1 generated from pod2man... > > Just curious, what part of 'man2pdf' did you run that indicates > that it works on your sy

Re: Bash problems, strace, performance, etc.

2010-10-20 Thread Cyrille Lefevre
seems to work here ! even on cpan.1 generated from pod2man... do you have bash-completion, if yes, get rid of it and try again. PS : where do you find the Club-G package ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com

Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-22 Thread Cyrille Lefevre
>Right Click Action->Paste/Extend/Show Menu not seen !!! %^# so, ok, copy/paste may be defined the way you want in mintty or puttycyg... Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: how to enable the very convenient copy/paste editing method in Cgywin?

2010-09-21 Thread Cyrille Lefevre
ft button. to well render utf-8, choose Lucinda Console font (bold, 8). Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/

Re: runas, su, sudo

2010-07-16 Thread Cyrille Lefevre
cygports... a sudo.sh like also exists, but I have to document it before... Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net #!/usr/bin/sh #! -*- ksh -*- # # Simulate SU command via SSH # #ident @(#) $Header: /package/cvs/exploitation/sbin/Attic/su.sh,v 1.1.2.7 2010/04/26 17:17

Q: rebaseall/rebaseperl ?

2010-07-05 Thread Cyrille Lefevre
Hi, any reasons why rebaseall and rebase perl aren't executed at compile time ? or at packaging time ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Document

Re: ssmtp wish list

2010-07-01 Thread Cyrille Lefevre
: /usr/share/doc/Cygwin/ssmtp.README ... To complete the installation you'll have to run /usr/bin/ssmtp-config package readmes and samples are in : /usr/share/doc/ssmtp where you may find sample configuration files : revaliases ssmtp.conf to known the package file list : cygchec

Re: Mail program

2010-07-01 Thread Cyrille Lefevre
egards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Mail program

2010-06-30 Thread Cyrille Lefevre
tp or msmtp... Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Mail program

2010-06-29 Thread Cyrille Lefevre
: /usr/bin/email \ -r smtp. \ -m LOGIN \ -u \ -i \ -n "" \ -f \ ... then, for both ssmtp/msmtp, the attached script should work ! I left you the implementation of the -a (attachment) option :-) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net #!/usr/bin/ksh usag

sshd generate defunct conime.exe ?

2010-06-29 Thread Cyrille Lefevre
p pids] [-u users] -ef is the default, -AadHLlOo options are currently ignored. -C, -S, -W, -p and -u options may be repeated. pids and users may be a space ou comma separated list. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net cyri...@pcvista ~/bin v2$ wmips -u cyg_serv

Re: Regression in .exe extension handling

2010-06-28 Thread Cyrille Lefevre
f the .exe when the suffix-less file conflicts with the .exe? easy for reading (':' or '#!', rem, etc. :-), does "file" is implemented as part of the cygwin1.dll. not so easy for writing... Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net

history (was Re: base-files: LOGNAME)

2010-06-25 Thread Cyrille Lefevre
aris getlogin(1) does a syscall _getlogin(2) cuserid(3) does as getpwuid(getuid()) || NULL Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: Protecting msmtp passwords

2010-05-19 Thread Cyrille Lefevre
Le 27/04/2010 09:44, Gary . a écrit : Unfortunately when I use msmtp with gnus, it seems that msmtp decides it can't ask me for a password. Is it possible to save them in some file and have them protected somehow? try msmtp-config and/or read the msmtp manual page Regards, Cyrille Le

Re: 1.7.5: sshd environment variables

2010-05-19 Thread Cyrille Lefevre
t be hard. around february 19, there was a discussion about to limit ssh environment variables not including some windows ones ! since then, I use the following script to set the missing ones at connection time... you may comment the lines containing SECONDS. it based on Kurt Franke&#

Re: Minor patch to /etc/profile

2010-05-19 Thread Cyrille Lefevre
wd#${home}}\n\033[32m${us...@${hostname} \033[33m${TILDE[(1-0${PWD%%@([!/]*|${HOME}*)}1)]:-}${PWD#${HOME}}\033[0m\n$ ') so, you can still print the file w/o side effects Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http:

Re: cron error can't switch user context

2010-04-17 Thread Cyrille Lefevre
Le 17/04/2010 01:43, Tom Schutter a écrit : On Fri 2010-04-16 17:06, Cyrille Lefevre wrote: Le 16/04/2010 20:42, Tom Schutter a écrit : http://www.cygwin.com/acronyms/#PCYMTWLL I have number of machines running Windows2003 and Cygwin 1.7.5. On most cron works. But on one (lemon) it does

Re: cron error can't switch user context

2010-04-16 Thread Cyrille Lefevre
Le 17/04/2010 00:06, Cyrille Lefevre a écrit : cygserver is not running on any machine. 2K3 may need cygserver as well as passwd -D? s/-D/-R/ sorry Cordialement, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ

Re: cron error can't switch user context

2010-04-16 Thread Cyrille Lefevre
chine. 2K3 may need cygserver as well as passwd -D? I have rerun cron-config, rebooted, etc. well, ok, you surelly have rebooted :-) I have searched the net, but most solutions seem to involve Cygwin 1.5 and no cyglsa. Does anyone have any suggestions? done. Cordialement, Cyrille Le

Re: file command

2010-04-08 Thread Cyrille Lefevre
es/ http://cygwin.com/cgi-bin2/package-grep.cgi?grep=/bin/file Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe i

Re: allow executing a path in backslash notation

2010-03-12 Thread Cyrille Lefevre
whatever the shell I've tested, the answer was : :x\nx: even on solaris 9 using /sbin/sh or hp-ux 11i using /usr/old/bin/sh Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cyg

Re: about pdksh

2010-03-10 Thread Cyrille Lefevre
Christopher Faylor a écrit : On Wed, Mar 10, 2010 at 05:25:50AM +0100, Cyrille Lefevre wrote: still not fixed, CC Igor Pechtchanski Why? 1) He is not the maintainer, v2$ tail /usr/share/doc/Cygwin/pdksh-5.2.14.README Fixed the postinstall script -- pdksh-5.2.14-2

Re: about pdksh

2010-03-09 Thread Cyrille Lefevre
Cyrille Lefevre a écrit : Hi, FYI package version : pdksh-5.2.14-3.tar.bz2 postinstall message : running: D:\Cygwin\bin\bash.exe --norc --noprofile /etc/postinstall/pdksh.sh /etc/postinstall/pdksh.sh: line 6: @(#)PD KSH v5.2.14 99/07/13.2: No such file or directory Installing default

Re: about base-files

2010-03-09 Thread Cyrille Lefevre
se forward slashes (\\ => /) proposed change (thanks to Eric Blake) : WINETC="$WINHOME/system32/drivers/etc" ... WFILE="$WINETC/`expr substr "$mketc" 1 8`" Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://c

Re: ssh + patch + $TMP

2010-03-08 Thread Cyrille Lefevre
Kurt Franke a écrit : -Ursprüngliche Nachricht- Von: Cyrille Lefevre Gesendet: 06.03.2010 23:30:57 An: cygwin@cygwin.com,kurt-fra...@web.de Betreff: Re: ssh + patch + $TMP the attached script only fork 5 processes (ps, grep, mount, find and awk), and does not use any temporary files

Re: ssh + patch + $TMP

2010-03-06 Thread Cyrille Lefevre
, the attached script only fork 5 processes (ps, grep, mount, find and awk), and does not use any temporary files, so, it should not degrade ssh logins performance. existing environment variables are not overwritten. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net #!/bin/sh

Re: 1.7.1: Problem with cygstart and arguments containing spaces

2010-03-04 Thread Cyrille Lefevre
amp;pause" works open up a windows cmd w/ "1 2" inside, then pause so, the problem seems to be Console itself ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.co

Re: test for hard links always fail with pdksh

2010-02-27 Thread Cyrille Lefevre
n ksh test expression [ expression ] -h file file is a symbolic link. -L file file is a symbolic link. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.htm

Re: ssh + patch + $TMP

2010-02-24 Thread Cyrille Lefevre
Kurt Franke a écrit : Cyrille Lefevre laposte.net> writes: Kurt Franke a écrit : I added a script 000-ssh-session-env.sh to /etc/profile.d/ to fetch the SYSTEM environment and USER environment from the registry. Some Variables like PATH are preserved. The login performance

Re: segmentation fault in /sbin/init from sysvinit package under 1.7.1

2010-02-23 Thread Cyrille Lefevre
init at the weekend which fixes the /bin/sh -> /bin/bash bug in the /bin/init-config script. thanks, any release date for 1.7.2 ? if not a precise date, at least 1 week, 1 month, etc. ? :-) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: htt

Re: ssh + patch + $TMP

2010-02-20 Thread Cyrille Lefevre
regtool or /proc/registry ? If you are interested I can email it to you. Or is it possible to post it here (Size 4897 Bytes) ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: ssh + patch + $TMP

2010-02-20 Thread Cyrille Lefevre
one ? PS : why don't you fix patch instead ? Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: any cygwin survey somewhere ?

2010-02-18 Thread Cyrille Lefevre
ks anyway for your answer. as asked by Larry, I'll setup a survey using yahoo groups whenever possible (I have some trouble right now)... any suggestions are welcome. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems

any cygwin survey somewhere ?

2010-02-18 Thread Cyrille Lefevre
rcial support ? do you know general account which use cygwin ? you may be prefer interix sfu or sua ? any other ideas ? thanks in advance ... PS : answer me directly, I'll synthetise. Cordialement, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports:

Re: Slow fork issue - Win x64

2010-02-17 Thread Cyrille Lefevre
18 01:06:52 2010 9 Thu Feb 18 01:06:53 2010 9 Thu Feb 18 01:06:54 2010 8 Thu Feb 18 01:06:55 2010 9 Thu Feb 18 01:06:56 2010 tests realised under cygwin 1.7 on a Q6600 in 32 bit mode (around 30% of cpu usage) Cordialement, Cyrille Lefevre -- mailt

Re: .bashrc file not run

2010-02-12 Thread Cyrille Lefevre
e wrong profile loaded (well, no profile at all, in fact). it's far more simple ti check for $BASH_VERSION to known if you are running bash or something else than to use a different profile. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports:

about sysvinit

2010-02-09 Thread Cyrille Lefevre
Have fun! I've also tried to use /etc/defaults/etc/inittab from initscripts-0.9-2.tar.bz2 instead of the one from init-config w/o succes. rc.sysinit seem to be launched, but not /etc/rc.d/rc (PANIC ...) cygcheck -v attached Regards, PS : don't know why I can't submit to -app

about cron

2010-02-09 Thread Cyrille Lefevre
eeds bash extensions, you must use #!/bin/bash. Regards, PS : don't know why I can't submit to -apps while I'm subscribed ! Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwi

about pdksh

2010-02-09 Thread Cyrille Lefevre
sh already in /etc/shells => VERSION=\ "..." is not bourne like shell compatible. should be VERSION="..." or VERSION=\ "..." w/ no . Regards, PS : don't know why I can't submit to -apps while I'm subscribed ! Cyrille Lefevre -- mailto:cyrille.l

about base-files

2010-02-09 Thread Cyrille Lefevre
know why I can't submit to -apps while I'm subscribed ! Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe i

about terminfo

2010-02-09 Thread Cyrille Lefevre
I'm subscribed ! Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: 1.7.1: /usr/bin/more.exe

2010-01-20 Thread Cyrille Lefevre
eis under *unix, export MODE=-cls (AIx, HP-UX, etc.) Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe inf

Re: various problems resulting from version 1.7.1

2010-01-12 Thread Cyrille Lefevre
UTF-8 instead of the default iso8859-1 one. http://code.google.com/p/puttycyg/ however, w/ LANG=C.UTF-8, the minus is correct but not the hyphen in LucindaConsole font. Regards, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems

  1   2   >