ls -l does not work correkt
Hi folks, I'm migrating from an old pc to an new with windows 7 I installed the new cygwin 1.7 an have the following problem. When I run ls -l from an Icon with the following command C:\pmI\cygwin\bin\bash.exe -c "ls -l ~/bin/links/PCBN3204/filem*;read" I get the following result lrwxrwxrwx 1 F.Braunbeck Domänen-Benutzer 3 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon -> ??/ -rwxr-xr-x 1 F.Braunbeck Domänen-Benutzer 778 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon_.lnk The link of the file is not shown. I simplified the case to demonstrate the problem. Normally I run a script from the icon. When I run ls -l ~/bin/links/PCBN3204/f* from a existing Shell I get the following result lrwxrwxrwx 1 F.Braunbeck Dom▒nen-Benutzer 53 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon -> /cygdrive/c/pm/util /sysinternals/_filemon/Filemon.exe -rwxr-xr-x 1 F.Braunbeck Dom▒nen-Benutzer 778 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon_.lnk Here I got the place where the link is pointing to. But here the umlaut are false. I checked the font on both windows and it ist the same. There are two questions now 1. How could I get the place from the link when I start a command from an Icon? 2. How could I get correct umlaut display in the normal shell? Regards Franz smime.p7s Description: S/MIME cryptographic signature
AW: ls -l does not work correkt
Corinna Vinschen - corinna-cyg...@cygwin.com wrote: > On Jun 16 10:11, cygwin.20.maillingl...@spamgourmet.com wrote: >> Hi folks, >> >> I'm migrating from an old pc to an new with windows 7 I > installed the new cygwin 1.7 an have the following problem. >> >> When I run ls -l from an Icon with the following command >> >> C:\pmI\cygwin\bin\bash.exe -c "ls -l > ~/bin/links/PCBN3204/filem*;read" >> >> I get the following result >> >> lrwxrwxrwx 1 F.Braunbeck Domänen-Benutzer 3 Jun 15 12:32 > /cygdrive/e/home/bin/links/PCBN3204/filemon -> ??/ >> [...] >> When I run ls -l ~/bin/links/PCBN3204/f* from a existing Shell I get >> the following result >> >> lrwxrwxrwx 1 F.Braunbeck Dom▒nen-Benutzer 53 Jun 15 12:32 >> /cygdrive/e/home/bin/links/PCBN3204/filemon -> >> /cygdrive/c/pm/util/sysinternals/_filemon/Filemon.exe Thank you for your fast reply. Another info about my installation. I'm must install all software with a lokal Admin user and I'm working myself with a domain user. I'm not sure if this could cause problems. > Weird. I can't reproduce this behaviour. What kind of symlink is > that? A Windows shortcut file, a SYSTEM type symlink, or a native > NTFS symlink? I created the link with ln -s. >> Here I got the place where the link is pointing to. But here the >> umlaut are false. > > The umlaut problem could be a problem of your terminal. Are > you using rxvt? How are your locale settings, $LANG, > $LC_CTYPE, etc? There's also the chance that your > passwd/group files are using another codeset than your locale > settings. I'm running the normal cygwin bash shell from the menu. The LANG variable ist set to de on that C:\pmI\cygwin1.7\Cygwin.bat When I start for the Icon The LANG variable ist not set. I hope the following infos help you to analyse the problem. If not please tell me what I can do to support you. $ file /etc/group /etc/passwd /etc/group: ISO-8859 text /etc/passwd: ISO-8859 text $ locale LANG=de LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL= Regards Franz smime.p7s Description: S/MIME cryptographic signature
AW: ls -l does not work correkt
Corinna Vinschen - corinna-cyg...@cygwin.com wrote: > On Jun 16 15:43, cygwin.20.maillingl...@spamgourmet.com wrote: >> Corinna Vinschen - corinna-cyg...@cygwin.com wrote: >>> On Jun 16 10:11, cygwin.20.maillingl...@spamgourmet.com wrote: Hi folks, I'm migrating from an old pc to an new with windows 7 I >>> installed the new cygwin 1.7 an have the following problem. When I run ls -l from an Icon with the following command C:\pmI\cygwin\bin\bash.exe -c "ls -l >>> ~/bin/links/PCBN3204/filem*;read" I get the following result lrwxrwxrwx 1 F.Braunbeck Domänen-Benutzer 3 Jun 15 12:32 >>> /cygdrive/e/home/bin/links/PCBN3204/filemon -> ??/ [...] When I run ls -l ~/bin/links/PCBN3204/f* from a existing Shell I get the following result lrwxrwxrwx 1 F.Braunbeck Dom▒nen-Benutzer 53 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon -> /cygdrive/c/pm/util/sysinternals/_filemon/Filemon.exe Thank you for your fast reply. >> >> Another info about my installation. I'm must install all > software with a lokal Admin user and I'm working myself with > a domain user. I'm not sure if this could cause problems. >> >>> Weird. I can't reproduce this behaviour. What kind of symlink is >>> that? A Windows shortcut file, a SYSTEM type symlink, or a native >>> NTFS symlink? >> I created the link with ln -s. >> Here I got the place where the link is pointing to. But here the umlaut are false. >>> >>> The umlaut problem could be a problem of your terminal. Are you >>> using rxvt? How are your locale settings, $LANG, $LC_CTYPE, etc? >>> There's also the chance that your passwd/group files are using >>> another codeset than your locale settings. >> I'm running the normal cygwin bash shell from the menu. The LANG >> variable ist set to de on that C:\pmI\cygwin1.7\Cygwin.bat >> >> When I start for the Icon The LANG variable ist not set. > > Which means it defaults to UTF-8. You should better use > LANG=de_DE.utf8 and regenerate the passwd and group files, or > you have to set the LANG variable for each such script you're > starting via a shortcut. Thank you Corinna after recreating the passwd and group and setting the LANG variable the umlaut problem disappeared. Regards Franz smime.p7s Description: S/MIME cryptographic signature
crontab installation fails?
Hi folks, I tried to install crontab on my windows7 with my admin account and get two problems. 1. Error ist the Error in openPolicy (LsaOpenPolicy returned 0xc022=STATUS_ACCESS_DENIED)! 2. cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5: Zugriff verweigert What is the fault. Have my admin account not enough permissions? Here the complete protocoll. ---protokoll bash-3.2$ /usr/bin/cron-config Do you want to install the cron daemon as a service? (yes/no) yes Enter the value of CYGWIN for the daemon: [ ] You must decide under what account the cron daemon will run. If you are the only user on this machine, the daemon can run as yourself. This gives access to all network drives but only allows you as user. To run multiple users, cron must change user context without knowing the passwords. There are three methods to do that, as explained in http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd1 If all the cron users have executed "passwd -R" (see man passwd), which provides access to network drives, or if you are using the cyglsa package, then cron should run under the local system account. Otherwise you need to have or to create a privileged account. This script will help you do so. Do you want the cron daemon to run as yourself? (yes/no) yes Error in openPolicy (LsaOpenPolicy returned 0xc022=STATUS_ACCESS_DENIED)! WARNING: Make sure you have the privilege to logon as a service. Please enter the password for user '__Install': Reenter: cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5: Zugriff verweigert Running cron_diagnose ... ... no problem found. In case of problem, examine the log file for cron, /var/log/cron.log, and the Windows event log (using /usr/bin/cronevents) for information about the problem cron is having. If you cannot fix the problem, then report it to cyg...@cygwin.com. Please run the script /usr/bin/cronbug and ATTACH its output (the file cronbug.txt) to your e-mail. WARNING: PATH may be set differently under cron than in interactive shells. Names such as "find" and "date" may refer to Windows programs. --- smime.p7s Description: S/MIME cryptographic signature
promblem sending email as normal user
Hi folk i tried to send mail as normal windows user and get the following error. $ /usr/sbin/ssmtp em...@domain.de < /tmp/mail.txt ssmtp: Cannot open mailhub:25 When I make this from the admin account everything works fine. The mail ist send. Even after chmod 7755 /usr/sbin/ssmtp I got the error. What is the fault. Regards Franz smime.p7s Description: S/MIME cryptographic signature
Install problems ssmtp
Hi folks, I have a problem with installing ssmtp. I tried to reinstall ssmtp but it doesn't help. When I check the status of the package it sayes OK. Doesn't that mean that all files of the package are installed. But when I try to list the files of the package no file is found. How could I fix it? --Here are the commands I entered to check the package bash-3.2$ cygcheck -c ssmtp Cygwin Package Information Package VersionStatus ssmtp2.61-1 OK bash-3.2$ ls -l $(cygcheck -l ssmtp) : No such file or directoryssmtp-config : No such file or directory/ssmtp.exe : No such file or directorye/doc/Cygwin/ssmtp-2.61.README : No such file or directorye/doc/ssmtp-2.61/COPYING : No such file or directorye/doc/ssmtp-2.61/INSTALL : No such file or directorye/doc/ssmtp-2.61/README : No such file or directorye/doc/ssmtp-2.61/revaliases : No such file or directorye/doc/ssmtp-2.61/ssmtp.conf : No such file or directorye/doc/ssmtp-2.61/TLS : No such file or directorye/man/man5/ssmtp.conf.5.gz : No such file or directorye/man/man8/ssmtp.8.gz Thank for any help Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cron problem with cron popup windows
Hi folk, I have the problem that I get cron popup windows. I change the cron service, so that he can interact with the desktop. This was necessary to start excel from cron. First everything was ok. But after I rebooted the PC now cron startet to open a window always when a cron job started. How can I get rid of this behaviour. Thank for any help Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Install problems ssmtp
Brian Dessent - [EMAIL PROTECTED] wrote: > Dave Korn wrote: > >> and there is of course no such file as > "/usr/bin/ssmtp-config^M". Solution: >> >> ls -l $(cygcheck -l ssmtp | d2u) > > ...which is precisely what "cygcheck -c ssmtp" does. > Specifically, it prints OK if all the files are present. > > But this is all a red herring. You said you have some kind > of problem with ssmtp but you only described an unrelated > problem with using cygcheck. Describe the actual problem -- > what are you trying to accomplish, what have you done so far > to get there, and what happens when you do that? > Sorry. I try again to describe my problem. I tried to get mail from my cron jobs, so I like to make a link from ssmt to sendmail. But there ist no file installed. I started setup an reinstalled ssmtp but the files are still missing. I deleted ssmtp with setup. And Installed ssmpt new but still no files on the disk. I didn't see any error on reinstalling and installing the ssmtp. I'm using Setup.exe version 2.573.2.2 Thank for any help Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Install problems ssmtp
Brian Dessent - [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: > >> I tried to get mail from my cron jobs, so I like to make a link from >> ssmt to sendmail. But there ist no file installed. > > What exactly do you mean by "there is no file installed" and > how did you come to this conclusion? Did you run > ssmtp-config? It will set everything up for you. > > Brian Thanks brian I found the failure I got your mail before I got the mail of Dave Korn which solved my problem. Thank you very much Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
problem installing libxml
Hi Folks, I have the problem to install libxml. Alter Starting setup as admin I proceed to the selection of the download, select the mirror http://cygwin.mirrors.hoobly.com. Enter libxml under Search and found libxml in the Gnome folder. When I select the first libxml the setup crashes How can I install libxml? I need the libxml to compile xml2. Thanks for any help Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- 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: problem installing libxml
Original-Nachricht > Datum: Thu, 08 Jul 2010 12:40:03 -0400 > Von: > +cygwin+maillinglist+eb14c9acbd.reply-to-list-only-lh#cygwin@spamgourmet.com > An: cygwin@cygwin.com > Betreff: Re: problem installing libxml > On 7/8/2010 9:47 AM, cygwin.20.maillingl...@spamgourmet.com wrote: > > Hi Folks, > > > > I have the problem to install libxml. Alter Starting setup as admin I > proceed > > to the selection of the download, select the mirror > > http://cygwin.mirrors.hoobly.com. Enter libxml under Search and found > libxml > > in the Gnome folder. > > > > When I select the first libxml the setup crashes > > > > How can I install libxml? > > > > I need the libxml to compile xml2. > > I already had this installed but reinstalling worked fine. Did you use > the latest 'setup.exe' from cygwin.com? I checked that the setup.exe which I was running is the same which I download from http://www.cygwin.com/ . Could you please tell me from which mirror you download it, so that I can try from that mirror. Thanks Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- 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: problem installing libxml
Original-Nachricht > Datum: Fri, 09 Jul 2010 12:57:15 -0400 > Von: > +cygwin+maillinglist+eb14c9acbd.reply-to-list-only-lh#cygwin@spamgourmet.com > An: cygwin@cygwin.com > Betreff: Re: problem installing libxml > On 7/9/2010 5:27 AM, cygwin.20.maillinglist wrote: > >> Von: > +cygwin+maillinglist+eb14c9acbd.reply-to-list-only-lh#cygwin@spamgourmet.com > >> On 7/8/2010 9:47 AM, cygwin.20.maillinglist wrote: > >>> Hi Folks, > >>> > >>> I have the problem to install libxml. Alter Starting setup as admin I > >>> proceed to the selection of the download, select the mirror > >>> http://cygwin.mirrors.hoobly.com. Enter libxml under Search and found > >>> libxml in the Gnome folder. > >>> > >>> When I select the first libxml the setup crashes > >>> > >>> How can I install libxml? > >>> > >>> I need the libxml to compile xml2. > >> > >> I already had this installed but reinstalling worked fine. Did you use > >> the latest 'setup.exe' from cygwin.com? > > > > I checked that the setup.exe which I was running is the same which I > download > > from http://www.cygwin.com/ . > > > > Could you please tell me from which mirror you download it, so that I > can try > > from that mirror. > > I specified cygwin.mirrors.hoobly.com since that was the one you were > having difficulty with. > Ok. I looked in the setup.ini file an found that there is no file specified for libxml. I think that the setup.exe dies because there is no file specified for libxml. So I tried several other mirrors. Under ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/ and http://mirror.cs.vt.edu/pub/cygwin/cygwin/ I could not found the libxml. Any idea where to get the libxml from. Thanks Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl -- 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
starting excel from crontab
Hi folks, I have the problem that I like to start Excel at the end of the workday from crontab. Cron is running under a local system account. The problem is that excel is started but does not popup. When I change the check box "Exchange Data with Desktop" I got always the error "*** fatal error - could not load user32, Win32 error 1114" for all cronjobs. How can I fix the problem. Thanks Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- 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: starting excel from crontab
Original-Nachricht > Datum: Wed, 21 Jul 2010 16:06:22 +0200 > Von: "Corinna Vinschen - corinna-cyg...@cygwin.com" > <+cygwin+maillinglist+27352a5def.corinna-cygwin#cygwin@spamgourmet.com> > An: cygwin@cygwin.com > Betreff: Re: starting excel from crontab > On Jul 21 11:13, cygwin.20.maillingl...@spamgourmet.com wrote: > > Hi folks, > > > > I have the problem that I like to start Excel at the end of the workday > from crontab. > > > > Cron is running under a local system account. > > > > The problem is that excel is started but does not popup. When I change > the check box "Exchange Data with Desktop" I got always the error "*** fatal > error - could not load user32, Win32 error 1114" for all cronjobs. > > > > How can I fix the problem. > > See http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview Sorry I read this already, but I'm not sure that I understood it correct. As far as I understood it this means. 1. Method would be installation cron as privileged account and do nothing else? 2. Method would be installation with telling using cyglsa packages and do nothing else? 3. Method same as method 1 but making passwd -R after setting up cron? Setup of the cron I did with admin rights. If I'm wrong please tell me. > > Does any one of the alternative methods to switch the user context work? I changed the setup of cron that a privileged account should run the cron but I got the same error on any cron entry. > http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2 I think I used this already because on initial setup I told the cron-config that I using the cyglsa package. > http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3 when I use passwd -R as normal user I got the error. Storing password failed: Function not implemented As Admin the is no error. Here the cron entries are running. I change the option at the service but still no excel comming up. I tried all but still no excel running in foreground. -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- 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
ld didn't find self compiled libxml
Hi folks I'm not an expert on compiling things for cygwin. Normally configure, make, make install work fine. But not now. I tried to compile a program which needs libxml support. I compiled and installed the libxml myself. While running configure everything is ok. The libxml is found. But when I try to build the program I get the following error. --- $ make make all-am make[1]: Entering directory `/cygdrive/c/pm/fromsource/xml2-0.4' gcc -g -O2 -o xml2.exe xml2.o -lxml /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lxml collect2: ld gab 1 als Ende-Status zurück make[1]: *** [xml2.exe] Fehler 1 make[1]: Leaving directory `/cygdrive/c/pm/fromsource/xml2-0.4' make: *** [all] Fehler 2 --- What could I do that the libxml is linked to the program? Must I convert the libxml to a dll? Thank for any hint Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail -- 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: ld didn't find self compiled libxml
Original-Nachricht > Datum: Tue, 27 Jul 2010 14:41:37 -0500 > Von: > +cygwin+maillinglist+42a33199b9.yselkowitz#users.sourceforge@spamgourmet.com > An: cygwin > Betreff: Re: ld didn\'t find self compiled libxml > http://cygwin.com/acronyms/#PCYMTWLL ! > > On Tue, 2010-07-27 at 18:42 +0200, > cygwin.20.maillingl...@spamgourmet.com wrote: > > I'm not an expert on compiling things for cygwin. Normally configure, > make, > > make install work fine. But not now. > > > > I tried to compile a program which needs libxml support. > > libxml-1.x is ancient, from the GNOME 1.x days; you shouldn't be using > it for *anything*. > > > I compiled and installed the libxml myself. While running configure > everything is ok. > > The libxml is found. But when I try to build the program > > I get the following error. > > That means your libxml is not where gcc expects it. If you configured > libxml without arguments, then it will be in /usr/local/lib, and you > would need to add -L/usr/local/lib to the link command. > > But again: you should NOT use libxml-1. Distros which ship this xml2 > program use a patch to port it to use the current libxml2, which is > already in the distro. Install cygport and libxml2-devel (and their > dependencies) with setup.exe and use the attached .cygport to build > xml2. > > Yaakov > Thank you very much. But what exact should I do with the attached file? I never saw such a file before. Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief! Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail -- 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: ld didn't find self compiled libxml
Original-Nachricht > Datum: Thu, 29 Jul 2010 09:48:54 -0500 > An: cygwin > Betreff: Re: ld didn\'t find self compiled libxml > On Thu, 2010-07-29 at 11:58 +0200, Franz wrote: > > Thank you very much. But what exact should I do with the attached file? > > I never saw such a file before. > > man cygport > > > Yaakov Thank you very much. Franz -- IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 -- 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
Lftp hang while executing batch file
Hi folks, I found that the Version 3.7.6-3 have the problem executing batchfiles. After upgrading from 3.7.6-1 my script does not longer work. I started lftp -f batchfile where in the batchfile the connection to the server And some action is done. It looks like that lftp hang while it tries to connect. I downgraded to 3.7.6-1 an everything works fine. May be someone can reproduce and fix the problem. Thanks franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lftp hang while executing batch file
Hallo Andrew, Thank you for your reply. Andrew Schulman - schulman.and...@epamail.epa.gov wrote: >> Hi folks, >> >> I found that the Version 3.7.6-3 have the problem executing >> batchfiles. After upgrading from 3.7.6-1 my script does not longer >> work. I started lftp -f batchfile where in the batchfile the >> connection to the server And some action is done. It looks like that >> lftp hang while it tries to connect. >> >> I downgraded to 3.7.6-1 an everything works fine. >> >> May be someone can reproduce and fix the problem. > > Thanks for the report, but in order for us to reproduce the > problem, wouldn't you expect to have to post the script? Please do > that. Here comes the script username password an servername did i change. - open -u usernameIsHere,passwordComesHere sftp://ftp.server.somewhere/ echo lösche tmp rm -r gielsdorf-spielt.tmp echo mkdir mkdir gielsdorf-spielt.tmp echo mirror to tmp mirror -R -I * . gielsdorf-spielt.tmp echo save Old Version mv gielsdorf-spielt gielsdorf-spielt.2009.02.19_14.31.04 echo make tmp to New Version mv gielsdorf-spielt.tmp gielsdorf-spielt echo show directory ls -- > The difference between 3.7.6-1 and -3 was very small-- all I > did was remove a single file, /usr/lib/charset.alias, that's > already provided by gettext. Can you tell me, (1) do you > have /usr/lib/charset.alias on your host, No the file is not on my machine. bash-3.2$ ls /usr/lib/charset.alias ls: cannot access /usr/lib/charset.alias: No such file or directory > and (2) do you have > gettext installed? Yes $ cygcheck.exe -d -c|grep gette gettext 0.17-3 Thanks Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
mount usb drive for all user
Hi folk, I have the problem that I could not see the files as normal user form a mounted usb drive. After the usb drive is attaced to the computer it is mountet and I could use it under windows. I could also use the mounted drive unter the admin account who installed cygwin. But as a normal user I have no access to the drive. The mount point looks like an empty directory. Cygwin is installed for all users, so that also a normal user should see the data on the drive. What could I do to get it run? Thank for any help Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
read -u how to
Hi folks I have the problem that I like to use read -u to read from file. The following script was stored under $HOME/bin/h -- #!/bin/bash set -xv ls -l $HOME/bin/h 3<$HOME/bin/h while read -u 3 do echo $REPLY done -- The output of a run is -- ls -l $HOME/bin/h 3: ls -l /cygdrive/c/home/bin/h -rwx--+ 1 F.Braunbeck Domänen-Benutzer 101 Oct 24 17:52 /cygdrive/c/home/bin/h 3<$HOME/bin/h while read -u 3 do echo $REPLY done 6: read -u 3 /cygdrive/c/home/bin/h: line 6: read: 3: invalid file descriptor: Bad file descriptor - How can I get it work so that no "Bad file descriptor" error comes out IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. Regards Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
non gui setup of cygwin possible?
Hi folks I like to know if it is possible to setup cygwin from the command line. without any user interaction after the setup is started. IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. Regards Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
AW: non gui setup of cygwin possible?
> -Ursprüngliche Nachricht- > Von: Igor Pechtchanski - [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > m] > Gesendet: Mittwoch, 9. November 2005 20:02 > An: [EMAIL PROTECTED] > Cc: cygwin@cygwin.com > Betreff: Re: non gui setup of cygwin possible? > > On Wed, 9 Nov 2005, cygwin.20.maillinglist wrote: >^ > You're missing the "B"... :-) Sorry but I didn't got the joke. I added you to the confidential User so you could write me direct to explain me what you meant. Regards Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
AW: non gui setup of cygwin possible?
> To answer the second one: setup.exe supports an unattended install mode, > where it installs everything in the Base category and upgrades installed > packages automatically. You can even use a trick to install *any* set of > packages automatically -- see my recent reply about the Cygwin package > server. I don't know if it's fully interactionless (i.e., there's that > "Installation complete" message box that may pop up at the very end), but > it should serve your needs. Thanks for your help. Regards Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Access mounted drive in ssh connecting does not work
Hi folks I have the following problem. I like to access a mounted drive in a ssh connection. situation I mounted a drive on a server \\server.domain\directory1\ directory1 on /mnt/maydrive type system (binmode,noexec) I connected from another machine to my windows-pc via ssh. I like to access file in /mnt/maydrive. When I enter mount the the output show me the same output as in a local bash. Only the network drive which are accessed via a windows drive are missing. But when I enter to /mnt/maydrive I found no file in the directory. In the local shell I could access the file Thanks for any hint. Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. Regards Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Starting Excel from crontab
Hi folks, I like to use only one scheduler under window. And I like to use crontab for that. The problem is that if I start excel from the crontab no window of excel is shown. Excel is running. I can see it in the process list. The process is running under my name. Thank for any help Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Starting Excel from crontab
+cygwin+maillinglist+eb14c9acbd.reply-to-list-only-lh#cygwin.c [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: >> Hi folks, >> >> I like to use only one scheduler under window. And I like to use >> crontab for that. The problem is that if I start excel from the >> crontab no window of excel is shown. Excel is running. I can see it >> in the process list. The process is running under my name. >> > > Did you enable the cron service to interact with the desktop? No I didn't. Now it works fine. Thank you very much. > > A: Yes. > > Q: Are you sure? > >> A: Because it reverses the logical flow of conversation. > >>> Q: Why is top posting annoying in email? I hope that I could use the this part of your signature for my signature? If not please post to the list. Franz IMPORTANT I will read replies only from the mailing list. If you send me email directly it will be deleted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: mount usb drive for all user
> -Original Message- > From: Corinna Vinschen > Sent: Wednesday, October 18, 2006 10:28 AM > To: cygwin@cygwin.com > Subject: Re: mount usb drive for all user > > On Oct 16 17:01, [EMAIL PROTECTED] wrote: > > After the USB-Drive is connected I could cd to the root > directory of > > the USB-Drive. > > But a ls does not show any file which I can see in the > Windows-Explorer. > > Maybe a permission problem? I can access my USB-Stick from > Cygwin just fine, with and without admin rights. > > Assuming your USB drive is drive F: as in your cygcheck > output, please do the following: > > $ strace -o /tmp/ls.trace ls -l /cygdrive/f > > and send the /tmp/ls.trace file to this list. Hopefully > there's some clue in it. I found the problem. My environment was to big. To make the output of strace as small a possible shrink my environment. When I then call ls everything runs ok. Thanks for the help Franz -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/