RE: Open bash at the current explorer directory?
This works fine except that I get the windows short form of the directories in the CFH variable. I've tried filtering through cygpath but no luck. Any suggestion? :-? > -Original Message- > From: Frantisek Dufka [mailto:[EMAIL PROTECTED]] > Sent: den 18 september 2002 10:56 > To: [EMAIL PROTECTED] > Subject: Re: Open bash at the current explorer directory? > > > I don't know how to do it without using .bashrc, but this > works for me > (current cygwin, NT 4.0) > > Registry key contains: > > D:\cygwin\bin\rxvt.exe -sb -sr -sl 16384 -fn fixedsys -fg > gray -bg black > -e /bin/env CFH="%1" /bin/bash --login > > .bashrc contains > > if [ "$CFH" != "" ] ; then > cd "$CFH" > unset CFH > fi > > No temporary files, bash.exe or .bash_profile is not executed twice. > Also looks like cygpath -u is not needed, DOS paths seem to > work in cd > command. > > Frantisek > > - > * John Daniel Doucette <[EMAIL PROTECTED]> [13-09-02 15:23]: > > I am using Win2000 Pro, SP3. Is there a way to invoke an > interactive bash > > shell at a particular directory, without using a .bashrc > or similar > file? > > I.e. on the command lie alone? The --login and -c options > appear to be > > mutually exclusive. I would like to be able browse quickly to a > directory > > with explorer, option/right click on the directory, then > select a custom > > "open with cygwin" option, and have the bash shell open at that > > directory. Has anyone tried this? > > Read this from the archive. > http://www.cygwin.com/ml/cygwin/2002-05/msg01648.html > > HTH > Jens > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > Thanks, I realized it's a symbolic link shortly after I sent the message. Ok. > However, something did go wrong with the installation. I ended up with > invalid symbolic links in /bin (e.g., /usr/bin/initex was a symbolic link > to "bin/tex.exe"). Yes, that is correct. Oh, wait a minute, to bin/tex.exe you say. That bug has just been fixed by the new release (20020911-1), that was uploaded yesterday just after you posted your message, so I assumed you already got the new release. Could you try upgrading? > Also, any attempt to run latex failed with a '(Fatal format file > error; I'm stymied)'. > > This was still a problem after I completely uninstalled and reinstalled > the tetex packages (tetex-base, tetex-bin, tetex-extra, tetex, and > libkpathsea3). > Running 'texconfig confall; texconfig rehash; texconfig init; texconfig > dvips printcmd -' fixed the 'Fatal error' problem, This is all very strange. Did you install using setup.exe? I'm sure you know that these commands are run (and must be run) during postinstall. > but the invalid symbolic links are still there. What links do you think are invalid? If it's serious, I might have to make a new release. > This sequence of texconfig commands is, for some reason, commented > out from the /etc/postinstall/post-tetex.sh, but is present in > /etc/postinstall/post-texmf.sh, and I assume has been run (there is > no log of the postinstall script invocations, is there?). post-tetex.sh is something very old. post-texmf.sh should have been run. If it has, it gets renamed to post-texm.sh.done. The setup log should mention running it, but there is no log, or failure indication during the run of setup.exe if anything goes wrong, afaik. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Is there a command for creating shortcuts on the desktop?
Try this: ln -s /bin/bash.exe --target-directory=`cygpath -D` bash > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 6:41 AM > To: [EMAIL PROTECTED] > Subject: Is there a command for creating shortcuts on the desktop? > > > I've been doing things like creating template files, finding where > Cygwin is installed via Cygpath, and modifying the template with sed > and copying it to the appropriate user desktop directory. > > I don't suppose there's an existing command for doing this? > > luke > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ada binary for cygwin
Jason schrieb: > Hello, > With your permission, I can post the binaries to a not-so limited location, say... > http://web.mit.edu/~jalonso/gnat.html > Shall I do this? Yes, please. > Does anyone have a better idea? Announce it at cygwin.com then. I can also put it up at my server if you want a mirror? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: tetex suite 20020911-1
The teTeX suite, a TeX distribution for UNIX compatible systems, has been updated to version 20020911-1. This is a bugfix release. Omega has been omitted from this release (as per upstream development, it will be back, next time). TeTex is split up and packaged in seven parts. Three packages for executables and runtime libraries: tetex-bin, libkpathsea3, tetex-x11. Three packages for the texmf tree: tetex-base, tetex-doc, and tetex-extra. And a development package: tetex-devel. As tetex-base is very big (>10MB), there's an additional package: tetex-tiny, that provides a very small (~2MB) functional texmf tree. If you select tetex-base or tetex-tiny, that should take care of dependencies and provide a working teTeX setup. The executables and runtime libraries: tetex-bin and libkpathsea3, are always required. To get a functional TeX/LaTeX setup, you also need a texmf tree. You can choose from tetex-base or tetex-tiny. NOTE: The tetex-tiny and tetex-base packages overlap. If you choose for a full teTeX installation, or just install everything of Cygwin, both will be installed, which should be fine. Please don't uninstall one of them, there should be no need to do so. If you do, you must reinstall the remaining other package. After a successful installation of tetex (tetex-bin + libkpathsea3, and one of tetex-tiny or tetex-base), you should be able to run, eg, latex sample2e dvips -o sample2e.ps sample2e If you install XFree86 tetex-x11 and ghostscript-x11, you may even view the output just like you would do on UNIX: xdvi sample2e.dvi & If you're unlucky, read /usr/share/doc/tetex-bin-20020530-3/INSTALL or /etc/postinstall/post-texmf.sh[.done]. If necessary, edit /usr/share/texmf/web2c/texmf.cnf, run texconfig confall texconfig rehash texconfig init and see what happens. Please send questions or comments on teTeX to the Cygwin mailing list at: [EMAIL PROTECTED] [However, if you're having problems related to LilyPond, please write to [EMAIL PROTECTED]] Please don't email the authors directly. Enjoy, Jan. INSTALLATION: To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'tetex-base' or 'tetex-tiny' from the 'Publishing' category. Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection, and already up to date. In Japan, use ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ . In Denmark, http://mirrors.sunsite.dk/cygwin/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package you can either wait for the site to be updated or find another mirror. Please send questions or comments to the Cygwin mailing list at: [EMAIL PROTECTED] If you want to subscribe go to: http://cygwin.com/lists.html. I would appreciate if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. CAVEATS: * After installation, /etc/postintall/post-texmf.sh[.done] gets executed, to configure teTeX and generate the format files. If anything goes wrong, you may want to look at this script, or rerun it after you fixed stuff. * Kpathsea has been patched to not search down UNC paths by default. Problems with configuration settings may trigger searches into the `hosts' `//share' and `//texmf', which is not what you want. If you're using TeX over the network, make sure your configuration is fixed, and set environment variable `KPSE_SEARCH_UNC'. Requirements and DLLs. TeTeX and LilyPond depend on a number of library packages, but as it seems, they sometimes do not get selected automagically. teTeX requires: ash cygwin ed grep jpeg libkpathsea3 libncurses6 libpng12 tiff sed termcap zlib LilyPond requires: bash libguile12 libiconv2 libintl2 libkpathsea3 python tetex-bin, and tetex-tiny or tetex-base DLL Package cygguile-12.dll libguile12 cygintl-2.dlllibintl2 cygiconv-2.dll libiconv2 cygltdl-3.dlllibltdl3 cygpcre.dll pcre cygpng12.dll libpng12 cygtiff3.dll tiff Also, the more general info on missing DLLs may be helpful: http://cygwin.com/faq/faq_4.html#SEC32 http://cygwin.com/ml/cygwin/2002-01/msg01619.html CHANGES: tetex-bin (20020911-1) unstable; urgency=low * new upstream version. * texk/kpathsea/mktex.opt: Use dirsep ':' instead
Cscript.exe no longer executable
Sirs, I recently installed the latest version of OpenSSH on our W2K test system which ships with Cygwin1.dll V 1.3.12. I now find that we can no longer execute any VBS scripts from an SSH session as the cscript.exe gives an error: "The application could not be initialized correctly (0xc005) Click on OK to terminate the application" when we try to initialise it. I have a work around from a previously reported problem which is to load an older version of the dll (1.3.10) which allows us to execute these scripts but unfortunately gives us another problem in that it takes around 30 seconds to setup the ssh connection. Can we have a fix for 1.3.12 to allow us to execute cscript.exe without suffering the delays in the login process. Thanks. > Jim > ___ > BT Computing Partners > Intelligent Systems Management >[EMAIL PROTECTED] > > ___ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Request:
Hi, One solution could be to use the steps in this article: http://www.olemiss.edu/helpdesk/itnews/200111/win2000.html Regards, /Nenad > -Original Message- > From: venkatramana reddy [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 10:44 PM > To: [EMAIL PROTECTED] > Subject: Request: > > > Hi, > I am Reddipalli,i have got some problem with my laptop after > installing > cygwin. > let me clearly explain you about the problem. > I have laptop with Windows XP OS. I have downloaded cygwin > package on to my > Laptop. > At cygwin command tool i entered passwd and i entered anew > passwd. It has > changed my passwd. > It has changed my XP passwdord also. Now it is not letting me into my > laptop. > Could u please tell me is there any way i can recover my old > passwd or reset > the passwd so that i can login to my account. > Please reply to this mail as soon as possible. > Thanx, > Reddipalli. > > > _ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
(OT) RE: Request:
I know this is off topic now but... Ive used the disk from http://home.eunet.no/~pnordahl/ntpasswd/ a few times on NT and 2K, not certain on XP although its meant to be the same as 2K. If you have idiots with local admin access its damm handy. -Original Message- From: Nenad Antic (EAB) [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 10:43 To: 'venkatramana reddy' Cc: [EMAIL PROTECTED] Subject: RE: Request: Hi, One solution could be to use the steps in this article: http://www.olemiss.edu/helpdesk/itnews/200111/win2000.html Regards, /Nenad > -Original Message- > From: venkatramana reddy [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 10:44 PM > To: [EMAIL PROTECTED] > Subject: Request: > > > Hi, > I am Reddipalli,i have got some problem with my laptop after > installing > cygwin. > let me clearly explain you about the problem. > I have laptop with Windows XP OS. I have downloaded cygwin > package on to my > Laptop. > At cygwin command tool i entered passwd and i entered anew > passwd. It has > changed my passwd. > It has changed my XP passwdord also. Now it is not letting me into my > laptop. > Could u please tell me is there any way i can recover my old > passwd or reset > the passwd so that i can login to my account. > Please reply to this mail as soon as possible. > Thanx, > Reddipalli. > > > _ > Join the world's largest e-mail service with MSN Hotmail. > http://www.hotmail.com > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
sevg using perl 5.8.0
I had this same problem on 5.6.1 as well, and installed 5.8.0 hoping it would go away. I run a script that opens mysql and it gets a seg fault. Here is the script: #!/usr/local/bin/perl -w use strict; use Getopt::Std; use DBI qw( :utils :sql_types ); my $dbh = DBI->connect( "dbi:mysql:logdb;host=localhost", "root", undef, { PrintError => 1, RaiseError => 1, AutoCommit => 1 } ); unless ( $dbh ) { print "$0: $DBI::errstr\n"; exit; } /d/src/admin/logdb> perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.3.12(0.5432), archname=cygwin-multi-64int uname='cygwin_nt-5.0 kmbestst 1.3.12(0.5432) 2002-07-06 02:16 i686 unknown ' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O2 -Dman3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.1.1 20020718 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt -lutil perllibs=-lcrypt -lutil libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Jul 24 2002 18:47:09 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /d/src/admin/logdb> Here is the stackdump: /d/src/admin/logdb> more perl.exe.stackdump Exception: STATUS_ACCESS_VIOLATION at eip=20348A9C eax= ebx=8DB9E5D0 ecx=007E edx=10124014 esi=E36E7974 edi= ebp=0004 esp=0022F34C program=c:\kits\cygwin\bin\perl.exe cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023 Stack trace: Frame Function Args 1420 [main] perl 2456 handle_exceptions: Error while dumping state (probably corrupted stack) /d/src/admin/logdb> When i try to run it with perl -d, I get this: /d/src/admin/logdb> perl -d test.pl Loading DB routines from perl5db.pl version 1.19 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. Also, It gets a segv when running CPAN, after it goes through all of the CPAN questions. When I was on 5.6.1, the problems were similar, though perl -d worked better and i could run my test program with it and get a perl stack trace. If this is helpful, i can reinstall 5.6.1 and post that trace. I'm running win2000, SP2 (5.0.2195). Other perl programs seem to work ok. SHould I just reinstall all of cygwin, or is there anything else I can check? Thanks, Francis -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Package review status
Hi Robert, > Right, well I'll happily run generate checksums of what I download, and > if the poster to here posts the expected checksums, in a gpg signed > message, then we can be fairly sure that whomever sent the email, > created the package files. > > Generating trust in a specific GPG signature takes time or a web of > trust, and is a related-but-separate discussion. I think that my GPG key > is well associated with me by now :] (Either that, or a very persistence > mimic :};}). One way would be for maintainers to follow a similar > approach and consistently sign their emails. YMMV. yes, but I need your public key to verify that you are really YOU. Where did you put your public key, I tried some keyservers but couldn't find you. Many "Robert Collins", but not with [EMAIL PROTECTED] . Bye Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D msg09754/pgp0.pgp Description: PGP signature
Re: sevg using perl 5.8.0
Francis schrieb: > I had this same problem on 5.6.1 as well, and installed 5.8.0 > hoping it would go away. > I run a script that opens mysql and it gets a seg fault. > Here is the script: What does 'cygcheck -svr' shows? I.e. make sure that there is only one cygwin1.dll in your system and what version of Cygwin is installed? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sevg using perl 5.8.0
Sorry to trouble you, false alarm, I found the problem. I had another version of Perl in my path. Francis At 04:31 09/25/02, Gerrit P. Haase wrote: >Francis schrieb: > > > I had this same problem on 5.6.1 as well, and installed 5.8.0 > > hoping it would go away. > > > I run a script that opens mysql and it gets a seg fault. > > Here is the script: > >What does 'cygcheck -svr' shows? > >I.e. make sure that there is only one cygwin1.dll >in your system and what version of Cygwin is installed? > > >- >=^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Package review status
On Wed, 2002-09-25 at 21:27, Volker Quetschke wrote: > Hi Robert, > > Right, well I'll happily run generate checksums of what I download, and > > if the poster to here posts the expected checksums, in a gpg signed > > message, then we can be fairly sure that whomever sent the email, > > created the package files. > > > > Generating trust in a specific GPG signature takes time or a web of > > trust, and is a related-but-separate discussion. I think that my GPG key > > is well associated with me by now :] (Either that, or a very persistence > > mimic :};}). One way would be for maintainers to follow a similar > > approach and consistently sign their emails. YMMV. > yes, but I need your public key to verify that you are really YOU. > > Where did you put your public key, I tried some keyservers but couldn't > find you. Many "Robert Collins", but not with [EMAIL PROTECTED] . Ah yes, I had not uploaded a recent copy with the appropriate subkeys. I've uploaded a new version, should replicate shortly :}. [EMAIL PROTECTED] is the primary email on the old copy, if you want to grab that. Also, you could try keyserver-options auto-key-retrieve in your gnupg options file, I find it very useful. Cheers, Rob signature.asc Description: This is a digitally signed message part
Re: Package review status
Hi! Sorry, replied to the wrong mailing list in the first place. > Hi Robert, > >> Right, well I'll happily run generate checksums of what I download, and >> if the poster to here posts the expected checksums, in a gpg signed >> message, then we can be fairly sure that whomever sent the email, >> created the package files. >> >> Generating trust in a specific GPG signature takes time or a web of >> trust, and is a related-but-separate discussion. I think that my GPG key >> is well associated with me by now :] (Either that, or a very persistence >> mimic :};}). One way would be for maintainers to follow a similar >> approach and consistently sign their emails. YMMV. > > yes, but I need your public key to verify that you are really YOU. > > Where did you put your public key, I tried some keyservers but couldn't > find you. Many "Robert Collins", but not with [EMAIL PROTECTED] . Bye Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D msg09758/pgp0.pgp Description: PGP signature
Re: newer bintuils
"Alan Hourihane" wrote in message amnb7e$7k5$[EMAIL PROTECTED]">news:amnb7e$7k5$[EMAIL PROTECTED]... > Anyone know when the new binutils will be out with Egor's > fixes for auto-import of arrays ? Anyone know the expected ETA for this ? I think we need a new cygwin dll for this too first though - don't we? Alan. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: newer bintuils
--- Alan Hourihane <[EMAIL PROTECTED]> wrote: > "Alan Hourihane" wrote in message > amnb7e$7k5$[EMAIL PROTECTED]">news:amnb7e$7k5$[EMAIL PROTECTED]... > > Anyone know when the new binutils will be out with Egor's > > fixes for auto-import of arrays ? > > Anyone know the expected ETA for this ? No, because Egor's application for copyright assignment is currently stuck in the Russian Postal System. We could be in for a long wait... > I think we need a new cygwin dll for this too first though - don't > we? Yes, you are correct. However there are currently some pthread issues which are being resolved before this happens. Anyhow, as previously mentioned, we are probably in for a long wait. Cheers, Nicholas __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Tired with the Windows XP search Facility, Check this out
http://www.findfilesxp.com This program is up to 100 times faster than the XP search, with much more functionality. It has many more features like multiple string searches (With replace options), and can prieview Movies, Pictures and ascii (Text) files, Can search selected drives and folders (and NOT search too). Its also free to try, and only $10 to buy. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: newer bintuils
On Wed, 25 Sep 2002, Nicholas Wourms wrote: > > --- Alan Hourihane <[EMAIL PROTECTED]> wrote: > > "Alan Hourihane" wrote in message > > amnb7e$7k5$[EMAIL PROTECTED]">news:amnb7e$7k5$[EMAIL PROTECTED]... > > > Anyone know when the new binutils will be out with Egor's > > > fixes for auto-import of arrays ? > > > > Anyone know the expected ETA for this ? > > No, because Egor's application for copyright assignment is currently > stuck in the Russian Postal System. We could be in for a long > wait... > Could he fax it? Would that be acceptable? J. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cygpath returns garbage if DOS/win2k input environment variable is too long?
Hi, The following problem occurred to me: 1) In my win2k, I set (a long) Java CLASSPATH 2) under cygwin I want to convert it (in my .tcshrc) an it fails. If I do it on the command line, it looks like the following: rhauser@PCGF590K:~> cygpath --unix "$CLASSPATH" ô??a? Admitted, the path is long: .:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/i1 8n.j ar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/j aws. jar;/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/ rt.j ar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/s unrs asign.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/li b/dt .jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/lib/htm lcon verter.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/l ib/t ools.jar My questions: 1) is there a way to see an error-message from cygpath (a log file or some way to see stderr if there is any of that)? 2) I did a work-around with assembling the path again in my .tcshrc. This is not convenient. Any better ideas...? Many thx in advance and rgds Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
cscript errors out from daemon
win2k cygwin 1.3.12-2 (See attached file: cygcheck.out) I am trying to run a bash script than in turn calls a vbscript from cron using cscript.exe. I get a dialog box displaying an error about cscript not being able to initialize. Application popup: cscript.exe - Application Error : The application failed to initialize properly (0xc005). Click on OK to terminate the application. I have also noticed that I cannot run cscript after logging in via telnet or ssh. I am assuming that cygwin has a problem of running cscript from within a daemon? Is there any solution to be able to run cscript from cron, ssh, telnet, etc? Thank you, Brandon Saxe cygcheck.out Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
On Wed, Sep 25, 2002 at 05:49:16PM +0200, Ralf Hauser wrote: >Hi, > >The following problem occurred to me: > >1) In my win2k, I set (a long) Java CLASSPATH >2) under cygwin I want to convert it (in my .tcshrc) an it fails. If I do it >on the command line, it looks like the following: >rhauser@PCGF590K:~> cygpath --unix "$CLASSPATH" >???a? >Admitted, the path is long: >.:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/i1 >8n.j >ar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/j >aws. >jar;/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/ >rt.j >ar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/jre/lib/s >unrs >asign.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/li >b/dt >.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/lib/htm >lcon >verter.jar:/cygdrive/c/data/MyDocRalf/bin/Java/jbuilder/JBuilder7/jdk1.3.1/l >ib/t >ools.jar > >My questions: >1) is there a way to see an error-message from cygpath (a log file or some >way to see stderr if there is any of that)? >2) I did a work-around with assembling the path again in my .tcshrc. This is >not convenient. Any better ideas...? Fix cygpath? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
Ralf, You're trying to convert a PATH (or PATH-like) variable, not a single file or directory name. Include the "-p" option. Randall Schulz Mountain View, CA USA At 08:49 2002-09-25, Ralf Hauser wrote: >Hi, > >The following problem occurred to me: > >1) In my win2k, I set (a long) Java CLASSPATH >2) under cygwin I want to convert it (in my .tcshrc) an it fails. If I do it >on the command line, it looks like the following: >rhauser@PCGF590K:~> cygpath --unix "$CLASSPATH" > >... > >My questions: >1) is there a way to see an error-message from cygpath (a log file or some >way to see stderr if there is any of that)? >2) I did a work-around with assembling the path again in my .tcshrc. This is >not convenient. Any better ideas...? > >Many thx in advance and rgds Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cscript errors out from daemon
Brandon, I don't see the problem on my w2k system : ~$ssh dan@localhost . Fanfare!!! You are successfully logged in to this server!!! ~$cscript.exe Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Usage: CScript scriptname.extension [option...] [arguments...] Options: [] As to debugging your problem, I suggest: 1) login via telnet/ssh and type: which cscript This is WINNT/system32/cscript on my system. 2) try getting a dump of the crashed CSCRIPT. Run/Install Dr Watson as default debugger, and instruct it to create a dumpfile: c:\> drwtsn32 -i Send me a zipped version of the dump file, or try to debug it yourself using windbg from the free Microsoft "Debugging Tools for Windows" Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 5:55 PM To: [EMAIL PROTECTED] Subject: cscript errors out from daemon win2k cygwin 1.3.12-2 (See attached file: cygcheck.out) I am trying to run a bash script than in turn calls a vbscript from cron using cscript.exe. I get a dialog box displaying an error about cscript not being able to initialize. Application popup: cscript.exe - Application Error : The application failed to initialize properly (0xc005). Click on OK to terminate the application. I have also noticed that I cannot run cscript after logging in via telnet or ssh. I am assuming that cygwin has a problem of running cscript from within a daemon? Is there any solution to be able to run cscript from cron, ssh, telnet, etc? Thank you, Brandon Saxe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
On Wed, 25 Sep 2002, Jan Nieuwenhuizen wrote: > Igor Pechtchanski <[EMAIL PROTECTED]> writes: > > > However, something did go wrong with the installation. I ended up with > > invalid symbolic links in /bin (e.g., /usr/bin/initex was a symbolic link > > to "bin/tex.exe"). > > Yes, that is correct. Oh, wait a minute, to bin/tex.exe you say. > That bug has just been fixed by the new release (20020911-1), that was > uploaded yesterday just after you posted your message, so I assumed > you already got the new release. Could you try upgrading? Maybe I should, before bringing up any more issues. I have these problems with tetex-20020530-3. > > Also, any attempt to run latex failed with a '(Fatal format file > > error; I'm stymied)'. > > > > This was still a problem after I completely uninstalled and reinstalled > > the tetex packages (tetex-base, tetex-bin, tetex-extra, tetex, and > > libkpathsea3). > > > Running 'texconfig confall; texconfig rehash; texconfig init; texconfig > > dvips printcmd -' fixed the 'Fatal error' problem, > > This is all very strange. Did you install using setup.exe? I'm sure > you know that these commands are run (and must be run) during postinstall. Yes, I installed using setup.exe. Maybe the format file just got corrupted somehow... > > but the invalid symbolic links are still there. > > What links do you think are invalid? If it's serious, I might have to > make a new release. I meant the links to "bin/*" in /usr/bin... Let me upgrade to the new version, though, before blowing the whistle. > > This sequence of texconfig commands is, for some reason, commented > > out from the /etc/postinstall/post-tetex.sh, but is present in > > /etc/postinstall/post-texmf.sh, and I assume has been run (there is > > no log of the postinstall script invocations, is there?). > > post-tetex.sh is something very old. post-texmf.sh should have been > run. If it has, it gets renamed to post-texm.sh.done. The setup log > should mention running it, but there is no log, or failure indication > during the run of setup.exe if anything goes wrong, afaik. Ok, then. I had tetex installed for at least 8 months now, so post-tetex.sh could have been left over from an old installation. Oh, and by the way, all the scripts in my /etc/postinstall/ have the .done suffix - I was just interpolating the names... So post-texmf.sh did run. In fact, I also see the log entry to that regard. I'll try the upgrade to 20020911-1 now and report the results here. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
--- Ralf Hauser <[EMAIL PROTECTED]> wrote: > 1) is there a way to see an error-message from cygpath (a log file or some > way to see stderr if there is any of that)? > 2) I did a work-around with assembling the path again in my .tcshrc. This is > not convenient. Any better ideas...? My only thought is to wrap the cygpath command in a shell script: cygpath --unix $CLASSPATH 2>&1 >>mylog You might be able to do this within your .tcshrc with a little tweaking. (Sorry, not a tcsh user.) cygpath uses the MAXPATH (1024 for win9x??) __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygpath returns garbage if DOS/win2k input environment variable is too long?
Thx! Unfortunately still only the same garbage in the mylog file. Apparently, no warning goes to stderr? > -Original Message- > From: Joshua Daniel Franklin [mailto:[EMAIL PROTECTED]], [EMAIL PROTECTED] > Sent: Mittwoch, 25. September 2002 18:44 > --- Ralf Hauser <[EMAIL PROTECTED]> wrote: > > 1) is there a way to see an error-message from cygpath (a log > file or some > > way to see stderr if there is any of that)? > > 2) I did a work-around with assembling the path again in my > .tcshrc. This is > > not convenient. Any better ideas...? > > My only thought is to wrap the cygpath command in a shell script: > > cygpath --unix $CLASSPATH 2>&1 >>mylog > > cygpath uses the MAXPATH (1024 for win9x??) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygpath returns garbage if DOS/win2k input environment variable is too long?
Ralf, In addition to the need to use "-p" in this case (which I mentioned earlier--you did see that message, didn't you?), you should quote your $CLASSPATH variable reference. You might want to scrutinize you scripts to make sure they're "space-tolerant." Many Unix-land scripts are written under the assumption that there are no characters in variable names and arguments that are special to the shell that interprets that script. Under Windows, this is often a bad assumption and a space is the most common (but by no means the only) character that violates that assumption. Note that it's not easy for "cygpath" to issue errors when you misuse it, since anything you pass in can be converted between Unix and Windows or DOS formats. But if you ask it to perform the wrong conversion, you shouldn't expect the right result. About the only diagnostic it could provide would be for the use of characters that are forbidden in Windows file names (\, /, :, *, ?, <, >, |). Randall Schulz Mountain View, CA USA At 09:55 2002-09-25, Ralf Hauser wrote: >Thx! Unfortunately still only the same garbage in the mylog file. >Apparently, no warning goes to stderr? > > > -Original Message- > > From: Joshua Daniel Franklin [mailto:[EMAIL PROTECTED]], >[EMAIL PROTECTED] > > Sent: Mittwoch, 25. September 2002 18:44 > > --- Ralf Hauser <[EMAIL PROTECTED]> wrote: > > > 1) is there a way to see an error-message from cygpath (a log > > file or some > > > way to see stderr if there is any of that)? > > > 2) I did a work-around with assembling the path again in my > > .tcshrc. This is > > > not convenient. Any better ideas...? > > > > My only thought is to wrap the cygpath command in a shell script: > > > > cygpath --unix $CLASSPATH 2>&1 >>mylog > > > > cygpath uses the MAXPATH (1024 for win9x??) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: bash window title - can I add hostname to it?
- Original Message - From: "Zieg, Mark" <[EMAIL PROTECTED]> To: "'Gord Wait'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 11:27 PM Subject: RE: bash window title - can I add hostname to it? > This does that for me: > > export PS1="\[\e]2;\h:\w\007\e[1;36m\]\h [\[\e[1;35m\]\w\[\e[1;36m\]] \u $ > \[\e[1;33m\]" > > (Note that you need to have such a prompt on every computer you telnet to, > as well -- they're the ones that send the ANSI sequences to your terminal > client to set the title.) I suppose you can alias telnet, rsh and the likes to change title before connecting to the remote box. > > -Original Message- > From: Gord Wait [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 5:04 PM > To: [EMAIL PROTECTED] > Subject: bash window title - can I add hostname to it? > > > I've been starting to use the telnet feature in cygwin's inetutils a lot > lately, > and it would be great if I could learn how to set the label of the bash > window > to include hostname as well as the current directory it displays now. > I can't tell which of the two bash windows is which since both are running a > 24 hour long FPGA compile.. > > Is there a way to do this? > I'd be happy if it was a copy of the "PS1" value.. > > Gord Wait > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to get GnuPG and EGD to work together under Cygwin?
Volker Quetschke <[EMAIL PROTECTED]> writes: > > Has anyone managed to get GnuPG and EGD (the Entropy Gathering Daemon -- > > http://egd.sourceforge.net/) to work together under Cygwin? > never tried ;-) but it should be possible. Did you read the annoncement > concerning gnupg 1.0.7-3? > > http://cygwin.com/ml/cygwin/2002-08/msg01059.html > > The relevant part is: > > * Fixed the use of loadable modules. Now all modules can be loaded with the > --load-extension= command. The standard build will link > rndlinux statically, but if you run > $ ./configure --enable-static-rnd=none > then also the rndegd random generator modules will be build as a loadable > module. Attention! Now you have to call gpg with --load-extension=rnd??? > to make it work properly. > > Actually, I never tried, but it may work. Please let me know if it does. I got it to work. I downloaded the GnuPG source code from the Cygwin Web site, configured with --enable-static-rnd=egd --disable-dev-random and now it works fine with EGD. I had to alter EGD to gather data using commands appropriate for Windows rather than UNIX (e.g., "ps -W" instead of "vmstat", "netstat -a -n -p tcp" instead of "netstat -ant"). One fun way to get good entropy is to use this gathering command: wget -O - http://www.earthwatch.com/SKYWATCH/images/IRUS2D.jpg It fetches a periodically-updated ~50 KB JPEG weather satellite image of North America. The opportunities for gathering entropy from Webcams are abundant, and the weather is nicely chaotic! Talk about the "butterfly effect" on the weather! Now a butterfly flapping its wings in Japan can affect GnuPG key generation around the world. -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
On Wed, 25 Sep 2002, Igor Pechtchanski wrote: > On Wed, 25 Sep 2002, Jan Nieuwenhuizen wrote: > > > That bug has just been fixed by the new release (20020911-1), that was > > uploaded yesterday just after you posted your message, so I assumed > > you already got the new release. Could you try upgrading? > > Maybe I should, before bringing up any more issues. I have these problems > with tetex-20020530-3. > > [snip] > > I'll try the upgrade to 20020911-1 now and report the results here. Ok, just upgraded to 20020911-1, and everything seems to work. Thanks for all the help. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: bash window title - can I add hostname to it?
> > > to include hostname as well as the current directory it displays now. > > > > export PS1="\[\e]2;\h:\w\007\e[1;36m\]\h [\[\e[1;35m\]\w\[\e[1;36m\]] \u $ > > \[\e[1;33m\]" > > > > (Note that you need to have such a prompt on every computer you telnet to, > > as well -- they're the ones that send the ANSI sequences to your terminal > > client to set the title.) > > I suppose you can alias telnet, rsh and the likes to change title before > connecting to the remote box. If you did that, then the first time the remote box attempted to update the directory in the title (part of the user's existing functionality), then the hostname would be presumably overwritten. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How is Cygwin's version stamp (currently 1.3.12-2) determined?
About three or four weeks ago, I downloaded and installed Cygwin 1.3.12-2. Today, I re-ran setup.exe, and it downloaded several newer packages, yet the Web site still claims that this is Cygwin 1.3.12-2. What are the criteria for changing the Cygwin revision stamp? -- Francis Litterio [EMAIL PROTECTED] http://world.std.com/~franl/ GPG and PGP public keys available on keyservers. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: How is Cygwin's version stamp (currently 1.3.12-2) determined?
A change in the cygwin dll. > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > > About three or four weeks ago, I downloaded and installed Cygwin > 1.3.12-2. Today, I re-ran setup.exe, and it downloaded several newer > packages, yet the Web site still claims that this is Cygwin 1.3.12-2. > > What are the criteria for changing the Cygwin revision stamp? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated rxvt-2.7.2-14
Hi, rxvt is a replacement for the Windows command window. This version fixes: - memory leak in -13 version that could cause Windows to run out of resources. Please update if you have version 2.7.2-13. Thanks for your patience. -steve --Install instructions-- To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. Note that we have recently stopped downloads from sources.redhat.com (aka cygwin.com) due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. The setup.exe program will figure out what needs to be updated on your system and will install newer packages automatically. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question, the Cygwin mailing list is the appropriate place. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > Ok, just upgraded to 20020911-1, and everything seems to work. > Thanks for all the help. Good to hear that. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
On Wed, 25 Sep 2002, Jan Nieuwenhuizen wrote: > Igor Pechtchanski <[EMAIL PROTECTED]> writes: > > > Ok, just upgraded to 20020911-1, and everything seems to work. > > Thanks for all the help. > > Good to hear that. > Jan. Jan, There was a suspicious message printed while running the postinstall script, but it didn't seem to affect anything. The message was "texconfig: cannot create directory /cygdrive/c/DOCUME~1/igor/LOCALS~1/Temp/texdirNNN: file exists with a different case", where NNN is some number. Just thought I'd bring it to your attention, in case it's important. My $CYGWIN is set to "check_case:strict ntsec notitle". Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How is cygwin's version stamp (currently 1.3.12-2) determined?
On Wed, Sep 25, 2002 at 02:19:17PM -0400, Francis Litterio wrote: >About three or four weeks ago, I downloaded and installed Cygwin >1.3.12-2. Today, I re-ran setup.exe, and it downloaded several newer >packages, yet the Web site still claims that this is Cygwin 1.3.12-2. > >What are the criteria for changing the Cygwin revision stamp? >From the website: What Is Cygwin? Cygwin is a UNIX environment, developed by Red Hat, for Windows. It consists of two parts: # A DLL (cygwin1.dll) which acts as a UNIX emulation layer providing substantial UNIX API functionality. # A collection of tools, ported from UNIX, which provide UNIX/Linux look and feel. . . . What's New and How Do I Get it? The latest net releases of the Cygwin DLL are numbered 1.1.x or 1.3.x. 1.n.x versions of the Cygwin DLL are newer than previous beta Bxx (i.e. B19, B20, B20.1) versions. The last commercial release was v1.0 which was only released on CD-ROM and is no longer available. Red Hat has no current plans to release a new commercial CD. The Red Hat GNUpro release version is currently 1.2.x and is available only with Red Hat support contracts. . . . Note that the 1.n.x version numbering refers only to the Cygwin DLL. Individual packages like bash, gcc, less, etc. are released independently of the DLL. The setup.exe utility, which is downloaded when you click on the above link, tracks the versions of all installed components and provides the mechanism for installing or updating everything. Run this program any time you want to install a cygwin package. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin and short windows filenames (Was RE: Open bash at the currentexplorer directory?)
Gunnar, You're right, this is a problem. Cygwin should be able to handle windows short form of directory names just as well as the long ones... For some reason it doesn't ('cd /cygdrive/c/PROGRA~1' results in "cd: /cygdrive/c/PROGRA~1: No such file or directory"). This is happening in most shells (sh, bash, tcsh), so I'm assuming it's a 'chdir()' problem. This only seems to happen if "check_case:strict" is part of $CYGWIN. Passing a short windows filename to other programs, e.g., vi, also fails with check_case:strict and succeeds with check_case:relaxed/adjust. I used a pair of short programs to test chdir(): cdtest.c and cdtestnative.c. cdtest.c called chdir(), and cdtestnative.c called SetCurrentDirectory(), which chdir() uses internally. Both "cdtest 'c:\Program Files'" and "cdtestnative 'c:\Program Files'" succeeded. "cdtest 'c:\PROGRA~1'" failed, whereas "cdtestnative 'c:\PROGRA~1'" succeeded. I'm attaching both programs, and the strace output for three runs of cdtest: "cdtest 'c:\Program Files'" (cdtest_ProgramFiles.strace), "cdtest 'c:\PROGRA~1'" (cdtest_PROGRA~1.strace), and "cdtest 'c:\PROGRA~1'" with check_case:adjust in effect (cdtest_PROGRA~1_adjust.strace). >From the output, it looks like conv_to_win32_path() is not behaving correctly with short names. Can someone check on this? Igor On Wed, 25 Sep 2002, [iso-8859-1] Gunnar Boström wrote: > This works fine except that I get the windows short form of the > directories in the CFH variable. > I've tried filtering through cygpath but no luck. > Any suggestion? > > :-? > > > -Original Message- > > From: Frantisek Dufka [mailto:[EMAIL PROTECTED]] > > Sent: den 18 september 2002 10:56 > > To: [EMAIL PROTECTED] > > Subject: Re: Open bash at the current explorer directory? > > > > I don't know how to do it without using .bashrc, but this > > works for me (current cygwin, NT 4.0) > > > > Registry key contains: > > > > D:\cygwin\bin\rxvt.exe -sb -sr -sl 16384 -fn fixedsys -fg > > gray -bg black -e /bin/env CFH="%1" /bin/bash --login > > > > .bashrc contains > > > > if [ "$CFH" != "" ] ; then > > cd "$CFH" > > unset CFH > > fi > > > > No temporary files, bash.exe or .bash_profile is not executed twice. > > Also looks like cygpath -u is not needed, DOS paths seem to > > work in cd command. > > > > Frantisek > > > > - > > * John Daniel Doucette <[EMAIL PROTECTED]> [13-09-02 15:23]: > > > I am using Win2000 Pro, SP3. Is there a way to invoke an interactive bash > > > shell at a particular directory, without using a .bashrc or similar file? > > > I.e. on the command lie alone? The --login and -c options appear to be > > > mutually exclusive. I would like to be able browse quickly to a directory > > > with explorer, option/right click on the directory, then select a custom > > > "open with cygwin" option, and have the bash shell open at that > > > directory. Has anyone tried this? > > > > Read this from the archive. > > http://www.cygwin.com/ml/cygwin/2002-05/msg01648.html > > > > HTH > > Jens -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 #include int main(int ac, char *av[]) { char *dir = (ac<2)?"c:\\":av[1]; char buf[80]; int res = chdir(dir); printf("Current dir: %s\n", getcwd(buf, 80)); return res; } #include #include int main(int ac, char *av[]) { char *dir = (ac<2)?"c:\\":av[1]; char buf[80]; int res = SetCurrentDirectory(dir); int res1 = GetCurrentDirectory(80, buf); printf("Current dir: %s\n", buf); return res; } cdtest_ProgramFiles.strace.bz2 Description: Binary data cdtest_PROGRA~1.strace.bz2 Description: Binary data cdtest_PROGRA~1_adjust.strace.bz2 Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How is Cygwin's version stamp (currently 1.3.12-2) determined?
Francis Litterio wrote: > > What are the criteria for changing the Cygwin revision stamp? The Cygwin DLL is analogous to the Linux kernel: its version number scheme is independent of the version number of the packages that run under it. You can upgrade packages independently of the Cygwin DLL, at least until there's an ABI change. Currently there is no one packaging cohesive "releases" under a single version number like the Linux distributors do. It hasn't seemed necessary. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is there a command for creating shortcuts on the desktop?
On Wed, 25 Sep 2002 14:41:14 +1000 (EST) [EMAIL PROTECTED] wrote: > I've been doing things like creating template files, finding where > Cygwin is installed via Cygpath, and modifying the template with sed > and copying it to the appropriate user desktop directory. > > I don't suppose there's an existing command for doing this? man mkshortcut -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin and short windows filenames (Was RE: Open bash at the current explorer directory?)
On Wed, Sep 25, 2002 at 03:33:01PM -0400, Igor Pechtchanski wrote: >You're right, this is a problem. Cygwin should be able to handle >windows short form of directory names just as well as the long ones... >For some reason it doesn't ('cd /cygdrive/c/PROGRA~1' results in "cd: >/cygdrive/c/PROGRA~1: No such file or directory"). This is happening >in most shells (sh, bash, tcsh), so I'm assuming it's a 'chdir()' >problem. This only seems to happen if "check_case:strict" is part of >$CYGWIN. Passing a short windows filename to other programs, e.g., vi, >also fails with check_case:strict and succeeds with >check_case:relaxed/adjust. It's not really surprising that this would fail with strict case checking. If you look at the code for strict case checking then you'll see that there is no provision for doing a "It failed this check, I'd better check the short name, too". In fact, since strict case checking is supposed to make cygwin behave slightly more like UNIX, which has no such thing as a short name, then you could call this a feature. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Open bash at the current explorer directory?
Gunnar, I assume your $CYGWIN contains "check_case:strict", since that is the setting in which the short paths won't work. They will work if $CYGWIN contains "check_case:adjust". So, you can use the following sequence in your .bashrc to get the correct form of the windows path: if [ -n "$CFH" ] ; then CFH="$(export CYGWIN="$CYGWIN check_case:adjust";cygpath -w -l "$CFH")" cd "$CFH" unset CFH fi Hope this helps, Igor On Wed, 25 Sep 2002, [iso-8859-1] Gunnar Boström wrote: > This works fine except that I get the windows short form of the > directories in the CFH variable. > I've tried filtering through cygpath but no luck. > Any suggestion? > > :-? > > > -Original Message- > > From: Frantisek Dufka [mailto:[EMAIL PROTECTED]] > > Sent: den 18 september 2002 10:56 > > To: [EMAIL PROTECTED] > > Subject: Re: Open bash at the current explorer directory? > > > > > > I don't know how to do it without using .bashrc, but this > > works for me > > (current cygwin, NT 4.0) > > > > Registry key contains: > > > > D:\cygwin\bin\rxvt.exe -sb -sr -sl 16384 -fn fixedsys -fg > > gray -bg black > > -e /bin/env CFH="%1" /bin/bash --login > > > > .bashrc contains > > > > if [ "$CFH" != "" ] ; then > > cd "$CFH" > > unset CFH > > fi > > > > No temporary files, bash.exe or .bash_profile is not executed twice. > > Also looks like cygpath -u is not needed, DOS paths seem to > > work in cd > > command. > > > > Frantisek > > > > - > > * John Daniel Doucette <[EMAIL PROTECTED]> [13-09-02 15:23]: > > > I am using Win2000 Pro, SP3. Is there a way to invoke an > > interactive bash > > > shell at a particular directory, without using a .bashrc > > or similar > > file? > > > I.e. on the command lie alone? The --login and -c options > > appear to be > > > mutually exclusive. I would like to be able browse quickly to a > > directory > > > with explorer, option/right click on the directory, then > > select a custom > > > "open with cygwin" option, and have the bash shell open at that > > > directory. Has anyone tried this? > > > > Read this from the archive. > > http://www.cygwin.com/ml/cygwin/2002-05/msg01648.html > > > > HTH > > Jens > > > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
can't chmod files that I own
I have read the documentation on 'ntsec', but I still don't understand why I can't chmod files that I own. I noticed this when using cvs. For example: $cvs update cvs server: Updating . U blah.cpp cvs update: cannot change mode of ./blah.cpp: Invalid argument $ ls -l total 54 drwxrwxrwx2 Administ None 4096 Sep 25 14:47 CVS -rw-rw-rw-1 1119 None 871 Sep 25 14:15 blah.cpp Here is another example that doesn't involve cvs: $ whoami perry $ echo text > temp $ ls -l total 1 -rwxrwxrwx1 1119 None5 Sep 25 14:56 temp $ chown Administrator temp $ chmod -x temp $ ls -l total 1 -rw-rw-rw-1 Administ None5 Sep 25 14:56 temp perry cannot chmod a file owned by perry, but perry can change the file's ownership to Administrator and then chmod the file. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Is there a command for creating shortcuts on the desktop?
On 25 Sep, Michael A Chase wrote: > On Wed, 25 Sep 2002 14:41:14 +1000 (EST) [EMAIL PROTECTED] wrote: > > > I've been doing things like creating template files, finding where > > Cygwin is installed via Cygpath, and modifying the template with sed > > and copying it to the appropriate user desktop directory. > > > > I don't suppose there's an existing command for doing this? > > man mkshortcut Just read the man page - thanks, Michael, that sounds perfect! luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Package review status
Hi! >>So your ID from the keyservers is: FBD3EB8E, but your mail is signed from >>KeyID C2C97282. (I don't find this ID on the keyserver) >> >>So, who wrote this mail for you? ;-) > Me... I don't doubt that, but I get: $ gpg --search-keys [EMAIL PROTECTED] gpg: searching for "[EMAIL PROTECTED]" from HKP server wwwkeys.de.pgp.net Keys 1-5 of 5 for "[EMAIL PROTECTED]" (1) Robert Collins <[EMAIL PROTECTED]> 1024 created 2002-07-19, key FBD3EB8E (2) Robert Collins <[EMAIL PROTECTED]> 1024 created 2002-07-19, key FBD3EB8E (3) Robert Collins <[EMAIL PROTECTED]> 1024 created 2002-07-19, key FBD3EB8E (4) Robert Collins <[EMAIL PROTECTED]> 1024 created 2002-07-19, key FBD3EB8E (5) Robert Collins <[EMAIL PROTECTED]> 1024 created 2002-07-19, key FBD3EB8E Enter number(s), N)ext, or Q)uit > 1 gpg: requesting key FBD3EB8E from HKP keyserver wwwkeys.de.pgp.net gpg: key FBD3EB8E: invalid subkey binding > -^^^ gpg: key FBD3EB8E: not changed gpg: Total number processed: 1 gpg: unchanged: 1 I will double check this tomorrow on a "real" unix, maybe gpg on cygwin has a problem. Would be good to know ;-) Bye Volker -- PGP/GPG key (ID: 0x9F8A785D) available from wwwkeys.de.pgp.net key-fingerprint 550D F17E B082 A3E9 F913 9E53 3D35 C9BA 9F8A 785D msg09789/pgp0.pgp Description: PGP signature
Re: newer bintuils
"Nicholas Wourms" wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > --- Alan Hourihane wrote: > > "Alan Hourihane" wrote in message > > amnb7e$7k5$[EMAIL PROTECTED]">news:amnb7e$7k5$[EMAIL PROTECTED]... > > > Anyone know when the new binutils will be out with Egor's > > > fixes for auto-import of arrays ? > > > > Anyone know the expected ETA for this ? > > No, because Egor's application for copyright assignment is currently > stuck in the Russian Postal System. We could be in for a long > wait... > > > I think we need a new cygwin dll for this too first though - don't > > we? > > Yes, you are correct. However there are currently some pthread > issues which are being resolved before this happens. Anyhow, as > previously mentioned, we are probably in for a long wait. That's unfortunate, because we won't be able to make shared libXt, libXmu and libXaw for Cygwin/XFree86 until we do get them. (Unless some serious hacking around the arrays goes on, not something I relish doing). Guess we'll have to wait. sigh. Alan. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
Hi, I upgraded my tetex just now (20020911) and the diagnostic that caught my attention was that the "readlink" command could not be found. If the post-install command output is logged, I cannot find it. Is it kept somewhere? The only lines in the files "setup.log" and "setup.log.full" in "/var/log" that mention "readlink" are these ominous ones from setup.log.full: unlink D:/cygwin/bin//readlink.exe unlink D:/cygwin/usr/man/man1/readlink.1 Randall Schulz Mountain View, CA USA At 11:59 2002-09-25, you wrote: >On Wed, 25 Sep 2002, Jan Nieuwenhuizen wrote: > > > Igor Pechtchanski <[EMAIL PROTECTED]> writes: > > > > > Ok, just upgraded to 20020911-1, and everything seems to work. > > > Thanks for all the help. > > > > Good to hear that. > > Jan. > >Jan, >There was a suspicious message printed while running the postinstall >script, but it didn't seem to affect anything. The message was "texconfig: >cannot create directory /cygdrive/c/DOCUME~1/igor/LOCALS~1/Temp/texdirNNN: >file exists with a different case", where NNN is some number. Just >thought I'd bring it to your attention, in case it's important. My >$CYGWIN is set to "check_case:strict ntsec notitle". > Igor -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Package review status
On Thu, Sep 26, 2002 at 01:02:41AM +0200, Volker Quetschke wrote: >Hi! >>>So your ID from the keyservers is: FBD3EB8E, but your mail is signed from >>>KeyID C2C97282. (I don't find this ID on the keyserver) >>> >>>So, who wrote this mail for you? ;-) >>Me... >I don't doubt that, but I get: > >$ gpg --search-keys [EMAIL PROTECTED] >gpg: searching for "[EMAIL PROTECTED]" from HKP server >wwwkeys.de.pgp.net >Keys 1-5 of 5 for "[EMAIL PROTECTED]" >(1) Robert Collins <[EMAIL PROTECTED]> 1024 > created 2002-07-19, key FBD3EB8E >(2) Robert Collins <[EMAIL PROTECTED]> 1024 > created 2002-07-19, key FBD3EB8E >(3) Robert Collins <[EMAIL PROTECTED]> 1024 > created 2002-07-19, key FBD3EB8E >(4) Robert Collins <[EMAIL PROTECTED]> 1024 > created 2002-07-19, key FBD3EB8E >(5) Robert Collins <[EMAIL PROTECTED]> 1024 > created 2002-07-19, key FBD3EB8E >Enter number(s), N)ext, or Q)uit > 1 >gpg: requesting key FBD3EB8E from HKP keyserver wwwkeys.de.pgp.net >gpg: key FBD3EB8E: invalid subkey binding >> -^^^ >gpg: key FBD3EB8E: not changed >gpg: Total number processed: 1 >gpg: unchanged: 1 > >I will double check this tomorrow on a "real" unix, maybe gpg on cygwin >has a problem. Would be good to know ;-) Actually, I would first suggest taking this off list. If it turns out to be a cygwin problem then you can discuss things here. I think that speculating about someone's personal gpg keys is remarkably off-topic for this list otherwise. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
This is probably due to the fact that usr/bin/readlink.exe and usr/man/man1/readlink.1 were included (erroneously, I guess) in the tetex-bin-20020530-3 distribution, instead of listing a dependency on cygutils. The new distrib corrects that problem, but uninstalling the old one resulted in losing readlink. As this is not something that can be fixed in the tetex package, people will probably just have to reinstall cygutils. For the future, it would probably be a good idea to have the output of the postinstall scripts logged somewhere (setup.log.full?). Is setup.exe responsible for running the scripts? Also, for the package builder, it might be nice to get a warning if there are file clashes in some packages. This is probably more of a challenge... Igor On Wed, 25 Sep 2002, Randall R Schulz wrote: > Hi, > I upgraded my tetex just now (20020911) and the diagnostic that caught my > attention was that the "readlink" command could not be found. > > If the post-install command output is logged, I cannot find it. Is it kept > somewhere? The only lines in the files "setup.log" and "setup.log.full" in > "/var/log" that mention "readlink" are these ominous ones from setup.log.full: > > unlink D:/cygwin/bin//readlink.exe > unlink D:/cygwin/usr/man/man1/readlink.1 > > Randall Schulz > Mountain View, CA USA > > > At 11:59 2002-09-25, you wrote: > >On Wed, 25 Sep 2002, Jan Nieuwenhuizen wrote: > > > > > Igor Pechtchanski <[EMAIL PROTECTED]> writes: > > > > > > > Ok, just upgraded to 20020911-1, and everything seems to work. > > > > Thanks for all the help. > > > > > > Good to hear that. > > > Jan. > > > >Jan, > >There was a suspicious message printed while running the postinstall > >script, but it didn't seem to affect anything. The message was "texconfig: > >cannot create directory /cygdrive/c/DOCUME~1/igor/LOCALS~1/Temp/texdirNNN: > >file exists with a different case", where NNN is some number. Just > >thought I'd bring it to your attention, in case it's important. My > >$CYGWIN is set to "check_case:strict ntsec notitle". > > Igor > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygpath returns garbage if DOS/win2k input environment variable is too long?
Looks like you'll have to take Chris' advice and at least look at the cygpath source. Does it work with a shorter CLASSPATH? Oh, and follow Randy's advice about the --path option, too. --- Ralf Hauser <[EMAIL PROTECTED]> wrote: > Thx! Unfortunately still only the same garbage in the mylog file. > Apparently, no warning goes to stderr? > > -Original Message- > > From: Joshua Daniel Franklin [mailto:[EMAIL PROTECTED]], > [EMAIL PROTECTED] > > Sent: Mittwoch, 25. September 2002 18:44 > > --- Ralf Hauser <[EMAIL PROTECTED]> wrote: > > > 1) is there a way to see an error-message from cygpath (a log > > file or some > > > way to see stderr if there is any of that)? > > > 2) I did a work-around with assembling the path again in my > > .tcshrc. This is > > > not convenient. Any better ideas...? > > > > My only thought is to wrap the cygpath command in a shell script: > > > > cygpath --unix $CLASSPATH 2>&1 >>mylog > > > > cygpath uses the MAXPATH (1024 for win9x??) > __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Lost /bin/latex?
Igor, At 17:07 2002-09-25, you wrote: >This is probably due to the fact that usr/bin/readlink.exe and >usr/man/man1/readlink.1 were included (erroneously, I guess) in the >tetex-bin-20020530-3 distribution, instead of listing a dependency on >cygutils. The new distrib corrects that problem, but uninstalling the old >one resulted in losing readlink. As this is not something that can be >fixed in the tetex package, people will probably just have to reinstall >cygutils. All well and good (and now that you mention it, I think I remember reading about this glitch a while back), but doesn't that create a bit of a catch-22 for the tetex post-install script when it attempts to invoke readlink? How is it possible to get that to run correctly? Must I reinstall cygutils (obviously yes) and then also reinstall tetex? Well, I tried that, and to the best of my ability to scan the stuff whizzing by in the post-install script's window, the diagnostic about a missing readlink did not appear. It seems that the overall impression of the post-install activity as it flashed before my eyes was rather different than what I remember from upgrading tetex earlier today. I wonder how critical that readlink is to the overall activity and success of the tetex post-install script(s)? All's well that ends... I guess. Randall Schulz Mountain View, CA USA >For the future, it would probably be a good idea to have the output of the >postinstall scripts logged somewhere (setup.log.full?). Is setup.exe >responsible for running the scripts? > >Also, for the package builder, it might be nice to get a warning if there >are file clashes in some packages. This is probably more of a >challenge... > Igor > >On Wed, 25 Sep 2002, Randall R Schulz wrote: > > > Hi, > > I upgraded my tetex just now (20020911) and the diagnostic that caught my > > attention was that the "readlink" command could not be found. > > > > If the post-install command output is logged, I cannot find it. Is it kept > > somewhere? The only lines in the files "setup.log" and "setup.log.full" in > > "/var/log" that mention "readlink" are these ominous ones from > setup.log.full: > > > > unlink D:/cygwin/bin//readlink.exe > > unlink D:/cygwin/usr/man/man1/readlink.1 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Test 59 - please ignore
Test - please ignore. --- I WILL FIRMLY 2ND Jonas Jensen's good suggestion (http://www.cygwin.com/ml/cygwin/2000-07/msg00206.html) for THE NEED TO MOVE DISCUSSIONS TO USENET, instead of, else in addition to, the present Mailing lists (www.cygwin.com/lists.html). --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Moving cygwin discussions to Usenet? (e.g., alt.os.cygwin)
Regarding the thread "Moving to Usenet?" (www.cygwin.com/ml/cygwin/2000-07/msg00275.html) (which I found by via www.google.com/search?q=site:cygwin.com+usenet to see who else also wanted discussions on Usenet): I WILL FIRMLY 2ND Jonas Jensen's good suggestion (http://www.cygwin.com/ml/cygwin/2000-07/msg00206.html) for THE NEED TO MOVE DISCUSSIONS TO USENET, instead of, else in addition to, the present Mailing lists (www.cygwin.com/lists.html). While the mailing lists are an impressive and honorable effort, one doesn't want to have to sign up and manage a whole huge email list to just involved in a few issues. It's very off-putting, a waste of bandwidth, and only cost-effective if you're really involved. While it might be okay for those already heavy involved (so they might not want to change anything), it definitely puts off newcomers, probably hundreds or thousands of people who would otherwise get involved (and so may not be hear to speak up). To avoid the flood of emails I'd get if I'd subscribe, I'm having to read the EMAIL list with a WEB browser, yet reply via email; that wasn't the intended use; but I would never want to store, sort thru, thread, and search the flood of emails I would get if I subscribed; Google is much better for that. And for the millions of users on web email as Yahoo and Hotmail, such advanced filtering and threading of email typically isn't even possible, even if the user had the space to do it. Email lists CAN work for an initial small number of very involved people, but not for a large crowd who are mostly loosely involved. And, in response to Chris Faylor ([EMAIL PROTECTED])'s concern that "sources.redhat.com does not have the software, the capacity, or the manpower to operate a news server" ("However, if you think that this is a good idea, please do look into setting up something like an alt.os.cygwin newsgroup"), with today's tricks, MOVING TO USENET MAY NOT BE AS DIFFICULT AS IT APPEARS. http://groups.google.com allows users to read and post to Usenet without subscribing to anything (so simple to use and no load on the source servers). All you'd have to do is to find someone to host the master copy of the Usenet group, and you'd be set. I'm not experienced with hosting or starting a Usenet group, but if you're already (thankfully) going to the trouble to archive this email list on www.cygwin.com (which also DOES take the actual traffic of readers), it wouldn't seem that much harder to set up a real server. However, though I don't know if he'll do it, MY GOOD FRIEND Matt Bartley (see CC), who has extensive Usenet experience, MIGHT BE INTERESTED in helping with this, since he loves Linux & Unix, and something like www.cygwin.com which, clearly and strongly, brings this wonderful Unix stuff into the Windows world should make him very happy. AND I WILL DONATE USE OF AN EXCHANGE SERVER for this purpose, if someone with Usenet experience will set it up. (Unless it's enormous bandwidth with no funding for it (which doesn't seem likely if the postings which can be fed to other Usenet servers for reading)). At Cytex, we're willing to donate Windows hosting for those who will help get it working. See www.Cytex.com/Hosting/4Help for other offers. -Mike Parker, www.Cytex.com/go/MBParker/Seeking Aside: The only apparent advantage of mailing lists that I see offhand that it can better hide the email addresses from spammers (as www.cygwin.com/ml is attempting to do by the email address expansions (e.g., "cygwin at sourceware dot cygnus dot com") in the web archive above), but since once the spammers have gotten your email address once it's all over (since they share lists), I think a much better approach is to instead focus on methods to filter your email from spammers, possibly by something like a service which requires a user, in response to their first email attempt, to register their address with you (which they (a human) can easily do via a web form, but would take way to much time for a spammer to do for each address). Maybe someone's heard of such a thing? Michael B. Parker, MIT '89 * Computer & IT Consulting ...from Coding to Design to Setup & Repair. Since 1994. See www.Cytex.com * High-Tech? Romantic? Making a difference? --Want some tips & secrets? See this month's www.Cytex.com/go/MBParker/Seeking -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ftp and ncftp hangs: any ideas?
Newest version installed off the web today, previous version 6 mos ago did not have the problem. Symptom: ftp hangs after ls, or get, or put. It hangs AFTER completing the operation. (overrun?) Systems: Win 98 (cygwin) talking to Linux. Other: I thought it might be related to rxvt, so I switched back to the dos shell: it still hangs under bash. I tried ncftp, often it will run without hanging, however if I set "passive" or other switches it too will hang. It seems like if I set any options for it, it hangs the same way. I tried redirecting the console (
Re: cscript errors out from daemon
Thanks for the help. I upgraded cygwin, but that didn't work. I then went to the windows update website and updated IE and Windows Script Host version went to 5.6 from 5.1. Now it works fine. Thanks again. Brandon - Original Message - From: "Dan Vasaru" <[EMAIL PROTECTED]> To: "Brandon Saxe" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 3:45 PM Subject: RE: cscript errors out from daemon > Brandon, > > Updating cygwin may be a good idea. You could also try installing a cvs > snapshot version of cygwin and see if that helps. > > To get drwatson output, just run "drwtsn32 -i". After that, all crashes > should result in a dump file which you can view by simply starting > "drwtsn32" without -i. > > Try runnning "cygcheck -svr" *while* logged in via ssh. > And, also while logged in via ssh, try "which cscript" to make sure there's > no other cscript in your path. > > > Dan > > -Original Message- > From: Brandon Saxe [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 9:40 PM > To: Dan Vasaru > Subject: Re: cscript errors out from daemon > > > I have drwatson installed, but how do i get it to create a dump. The error > is just a popup dialog window that gives the message and has an OK button. > The event is also recorded to the EventLog with Source of 'Application > Popup' > > Cscript works on another computer here at work. It is running NT 4.0 sp6. > Maybe I should run the latest setup.exe and get the latest cygwin dll?? > > Brandon Saxe > > - Original Message - > From: "Dan Vasaru" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 25, 2002 12:13 PM > Subject: RE: cscript errors out from daemon > > > > Brandon, > > > > I don't see the problem on my w2k system : > > > > ~$ssh dan@localhost > > . > > Fanfare!!! > > You are successfully logged in to this server!!! > > ~$cscript.exe > > Microsoft (R) Windows Script Host Version 5.6 > > Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. > > > > Usage: CScript scriptname.extension [option...] [arguments...] > > > > Options: > > [] > > > > As to debugging your problem, I suggest: > > > > 1) login via telnet/ssh and type: > > which cscript > > This is WINNT/system32/cscript on my system. > > 2) try getting a dump of the crashed CSCRIPT. Run/Install Dr Watson as > > default debugger, and instruct it to create a dumpfile: > > c:\> drwtsn32 -i > > > > Send me a zipped version of the dump file, or try to debug it yourself > > using windbg from the free Microsoft "Debugging Tools for Windows" > > > > Dan > > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf > > Of [EMAIL PROTECTED] > > Sent: Wednesday, September 25, 2002 5:55 PM > > To: [EMAIL PROTECTED] > > Subject: cscript errors out from daemon > > > > > > win2k > > cygwin 1.3.12-2 > > > > (See attached file: cygcheck.out) > > > > I am trying to run a bash script than in turn calls a vbscript from cron > > using cscript.exe. I get a dialog box displaying an error about cscript > not > > being able to initialize. Application popup: cscript.exe - Application > > Error : The application failed to initialize properly (0xc005). Click > > on OK to terminate the application. > > > > I have also noticed that I cannot run cscript after logging in via telnet > > or ssh. I am assuming that cygwin has a problem of running cscript from > > within a daemon? > > > > Is there any solution to be able to run cscript from cron, ssh, telnet, > > etc? > > > > Thank you, > > Brandon Saxe > > > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Bug reporting: http://cygwin.com/bugs.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
newbie question
how to activate cron in cygwin? begin:vcard n:Darmawan;Ony Sixta tel;fax:+62 21 39836545 tel;work:+62 21 39836556 x-mozilla-html:TRUE url:http://www.dagang2000.com org:PT. Indosatcom Adimarga;Development version:2.1 email;internet:[EMAIL PROTECTED] note:-\|/- adr;quoted-printable:;;Menara Kebon Sirih lt. 15=0D=0AJl. Kebon Sirih 17 - 19;Jakarta Pusat;DKI Jakarta;10340;Indonesia fn:Ony S Darmawan end:vcard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cvs cygwin1.dll
On Sun, 22 Sep 2002 12:40:54 -0400, Christopher Faylor <[EMAIL PROTECTED]> wrote: >>>On Fri, Sep 20, 2002 at 11:26:42AM +, Guy Harrison wrote: On Wed, 18 Sep 2002 15:35:53 -0400, Christopher Faylor <[EMAIL PROTECTED]> wrote: >> >>Shame us non-developers can't get it "readonly". >>http://cygwin.com/ml/cygwin-developers/2002-09/msg00071.html > >Yeah. Life's a bitch, isn't it? Yep! >Anyway, you are looking at the wrong message. > >Remember this? Yes, sorry. I neglected to acknowledge your comment. Too many dratted interruptions around here. >On Fri, Sep 20, 2002 at 11:56:57AM -0400, Christopher Faylor wrote: >>I suspect that this is actualy due to a deadlock in the code init.cc >>which was recently discussed in cygwin-developers. > >If you look at my message which immediately follows the one that you mention >which actually *mentions init.cc*, you will see the cause of at least one >deadlock-on-exit in cygwin. > >Robert Collins has vowed to fix this problem this weekend. Until then, >however, I have commented out the code in question. Okidoki. >>>I don't think it has anything to do with suspended threads. You can >>>certainly verify this by adding code to kill the threads specifically, >>>though, and see what happens. >> >>I did. I declared threads[1]. All the work gets shoved onto >>cygthread::simplestub which neither suspends nor stays resident. > >Not the same thing at all. I don't follow the implication. Had the fault been in info->func() then ::simplestub would have done same. It didn't. Explicitly terminating the thread would bypass the dll detach/race thereby imposing a much greater impact on code behaviour. >>Hung process: >> >>Name-Pid-Pri-Thd--HndMem-User-Time---Kernel-Time---Elapsed-Time >>sh---344---4---1---67---1832---0:00:00.020---0:00:00.0800:02:29.935 >>--VM--WS---WS-PkPriv---Faults-NonP-Page-PageFile >>--351732183219641476--4923---21-1476 >>-Tid-PriCswtchState-User-Time---Kernel-Time---Elapsed-Time >>-548---4-1---Wait:Suspended---0:00:00.000---0:00:00.0000:02:29.825 >> >>Relevent log: >> >>Quick Key: >> 90 GetCommandLine() chars >>[n/32] =threads[n] of NTHREADS=32 >>mti=main_thread_id >>nam=ignore fixed on "mti" here >>sdc=SD_count (member added to cygthread class) suspend count >>av =threads[].avail >>id =threads[].id >>h =threads[].h >>sus=another suspend count >>gle=GetLastError() for failed "sus" >> >><344/509> cli(90):J:\cygwin\bin\sh.exe >>pid=344 tid=509[0/32]{mti:509}: nam=[main] sdc=-999 av=877 id=0 h=296 >>sus=2 gle=0 >>pid=344 tid=509[1/32]{mti:509}: nam=[main] sdc=-999 av=212 id=0 h=300 >>sus=2 gle=0 >>pid=344 tid=509[2/32]{mti:509}: nam=[main] sdc=-999 av=894 id=0 h=304 >>sus=2 gle=0 >>pid=344 tid=509[3/32]{mti:509}: nam=[main] sdc=-999 av=482 id=0 h=308 >>sus=2 gle=0 >> >>The ::SuspendThread() and ::ResumeThread() calls in cygthread.cc assign >>their result directly to SD_count. I set it explicity to silly negative >>values at these points: >> >>-999 in cygthread::runner() after their ::CreateThread() >>-99 in cygthread::stub just prior to init_exceptions() >>-2 cygthread::exit_thread ::SetEvent() >>- cygthread::stub ::ExitThread() >> >>Nothing else touches 'SD_count'. The above output is generated by a >>function 'SD_DumpLiving()' inserted immediately prior to ::ExitProcess() >>within _pinfo::exit(). >> >>Our hung process is definately suspended. > >Not necessarily. I see nothing in the above which would disprove the >theory that this is the problem which I raised in cygwin-developers. Of >course, I am not 100% sure that I understand the above data. No worries. One big multi meg file or [ahem] 16,000+ tiny ones. Didn't think I ought to post that. The main point is (non-static) cygthread::SD_count is explicitly initialised by me. I've often seen the later members of the threads[] array zero. I've looked into that aspect a bit more. Other perfectly functional processes are having this occur. For instance, the "sig" thread isn't always getting allocated into threads[NTHREADS-1] but earlier up and threads["sig"+1]..threads[NTHREADS-1] are all zero. AFAIKT this isn't a bug, the current cygthread::new() code looks able to cope. I mention it on the off-chance that being able to "new cygthread" prior to all threads[] being "up" is contrary to design (I set SD_count non-zero in cygthread::init). >However, >I'm not going to devote too much time to studying it since there is an >obvious problem in the cygwin DLL now and you haven't, AFAICT, addressed >that. This makes your analysis suspect until you generate a version of >the DLL without the already known problem. If you don't think threads[1] served any useful purpose then so be it. >However, if you want to provide an actual analysis of how the thread >could be in a suspended state with someone waiting for it, that would be >welcome. If I
Help me : "ssh localhost" fail
hi, I followed every step in http://tech.erdelynet.com/cygwin-sshd.html to install cygwin. My OS is Win2K. See the operation below.(my words is insede []) [finnally.] >ssh localhost ssh:connect to address 127.0.0.1 port 22: connection refused [Then, I tried to remove sshd and add again. ] >cygrunsrv -R sshd >pwd /cygdrive/c/cywin >cygrunsrv -I sshd --path ./usr/sbin/sshd.exe >ssh-host-config -y [. ..] [after inputting CYGWIN=ntsec tty] cygrunsrv: Error installing a service: OpenService :Win32 error 1073 The specified service already exists. [But if I run the ssh localhost again, it prompt same error as original] I am new to this. the server did not start at all? or I need other configure on user ID? can somebody help me? chang __ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygpath returns garbage if DOS/win2k input environment variable is too long?
Randall, Thanks, the "-p" option solved the problem. Rgds r. "Randall R Schulz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ralf, > > You're trying to convert a PATH (or PATH-like) variable, not a single file > or directory name. Include the "-p" option. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Open bash at the current explorer directory?
I only have ntsec in $CYGWIN. I tried your advise below but "cygpath -w -l" returns garbage! The very first problem is that env CFH="%1" in the register inserts the short windows form. Is it possible to force windows to insert the long form? :-) > -Original Message- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] > Sent: den 25 september 2002 23:02 > To: Gunnar Boström > Cc: [EMAIL PROTECTED] > Subject: RE: Open bash at the current explorer directory? > > > Gunnar, > I assume your $CYGWIN contains "check_case:strict", since that is the > setting in which the short paths won't work. They will work > if $CYGWIN > contains "check_case:adjust". So, you can use the following > sequence in > your .bashrc to get the correct form of the windows path: > > if [ -n "$CFH" ] ; then >CFH="$(export CYGWIN="$CYGWIN check_case:adjust";cygpath > -w -l "$CFH")" >cd "$CFH" >unset CFH > fi > > Hope this helps, > Igor > > On Wed, 25 Sep 2002, [iso-8859-1] Gunnar Boström wrote: > > > This works fine except that I get the windows short form of the > > directories in the CFH variable. > > I've tried filtering through cygpath but no luck. > > Any suggestion? > > > > :-? > > > > > -Original Message- > > > From: Frantisek Dufka [mailto:[EMAIL PROTECTED]] > > > Sent: den 18 september 2002 10:56 > > > To: [EMAIL PROTECTED] > > > Subject: Re: Open bash at the current explorer directory? > > > > > > > > > I don't know how to do it without using .bashrc, but this > > > works for me > > > (current cygwin, NT 4.0) > > > > > > Registry key contains: > > > > > > D:\cygwin\bin\rxvt.exe -sb -sr -sl 16384 -fn fixedsys -fg > > > gray -bg black > > > -e /bin/env CFH="%1" /bin/bash --login > > > > > > .bashrc contains > > > > > > if [ "$CFH" != "" ] ; then > > > cd "$CFH" > > > unset CFH > > > fi > > > > > > No temporary files, bash.exe or .bash_profile is not > executed twice. > > > Also looks like cygpath -u is not needed, DOS paths seem to > > > work in cd > > > command. > > > > > > Frantisek > > > > > > - > > > * John Daniel Doucette <[EMAIL PROTECTED]> > [13-09-02 15:23]: > > > > I am using Win2000 Pro, SP3. Is there a way to invoke an > > > interactive bash > > > > shell at a particular directory, without using a .bashrc > > > or similar > > > file? > > > > I.e. on the command lie alone? The --login and -c options > > > appear to be > > > > mutually exclusive. I would like to be able browse > quickly to a > > > directory > > > > with explorer, option/right click on the directory, then > > > select a custom > > > > "open with cygwin" option, and have the bash shell open at that > > > > directory. Has anyone tried this? > > > > > > Read this from the archive. > > > http://www.cygwin.com/ml/cygwin/2002-05/msg01648.html > > > > > > HTH > > > Jens > > > > > > > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Bug reporting: http://cygwin.com/bugs.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ [EMAIL PROTECTED] > ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > "Water molecules expand as they grow warmer" (C) Popular > Science, Oct'02, p.51 > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cygpath returns garbage if DOS/win2k input environment variable is too long?
Hi Ralf, > 1) In my win2k, I set (a long) Java CLASSPATH > 2) under cygwin I want to convert it (in my .tcshrc) an it > fails. If I do it > on the command line, it looks like the following: > rhauser@PCGF590K:~> cygpath --unix "$CLASSPATH" > ô??a? [...] > > My questions: > 1) is there a way to see an error-message from cygpath (a log > file or some > way to see stderr if there is any of that)? first of all: Even if cygpath would not indicate some buffer overflow, you cannot use cygpath to convert Java class paths, unfortunately. If cygpath has to convert a path it uses an internal function of the Cygwin DLL that expects *real* paths and a Java class path typically have some jar files in it. I am not sure, whether this shoulkd be really fixed in the Cygwin DLL, since the called function uses internal path caching (at least what I saw from a *very* quick look) and the cache might not get filled with non-directory elements. This would require to implement the necessary functionality in cygpath. I already have it on my list, since I will change to Java development at some time, but the task is currently not scheduled. Anyone else may implenet it before *I* need it . OTOH, you might not convert yout path to --unix anyway, since I doubt that you have a JVM or Java compiler (except gjc) that understands cygwin paths. > 2) I did a work-around with assembling the path again in my > .tcshrc. This is > not convenient. Any better ideas...? You could write a shell function that is generally able to do it. Regards, Jörg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: tail -f will not work with IIS generated log files
Re: "Re: tail -f will not work with IIS generated log files" (http://www.cygwin.com/ml/cygwin/2000-10/msg01480.html) Well, the subject says it all. And the reason Robert C. gives (IIS pre-allocates a lot of buffer-space at the end of it's logs) would also explain why I get these odd errors: tail: ex020925.log: file truncated $ tail -f ex020926.log|grep -i '192.168.1.1' Binary file (standard input) matches Bit of bummer because getting "tail" to monitor IIS was the VERY reason I downloaded and installed www.CyGWin.com . I'm wondering: 1) When might someone fix this? (extend "tail" to deal with the IIS log tricks, and thus making a more powerful "tail") tail doesn't display so is surely stripping out pre-allocated buffer space at the end (perhaps because, in MS-DOS, it's preceded by a ^Z), but not going back to see if that space it skipped has changed, or just not noticing any changes because , as Robert suggested, it's probably just looking at the size of the file. What it probably should be looking at first is the mod-date, and when that changes, continue outputting it's output at the point where it found no more valid text, NOT necessarily the end of the file. This minor redesign could then be folded back into the Gnu sources, for a more powerful tail for everyone. It's certainly imaginable that other logs might pre-allocate end buffer space to ensure fast writes. 2) What's the workaround? Implementing "tail -f" via "less" or "Perl" (as http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&keyword s=libfile-tail-perl and www.google.com/search?q=%22tail+%2Df%22+perl+OR+less)? In particular, what are people doing in the meantime to monitor their IIS logs? Thanks, -Mike Parker High-Tech? Romantic? Making a difference? --Want some good tips & secrets? See this month's www.Cytex.com/go/MBParker/Seeking -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: tail -f will not work with IIS generated log files
> Bit of bummer because getting "tail" to monitor IIS was the VERY reason I > downloaded and installed www.CyGWin.com . I'm wondering: > > 1) When might someone fix this? It will get fixed as soon as you submit a patch for it! Seriously. All of the cygwin people work on a volunteer basis. We all have lives/jobs to contend with, and contribute to cygwin when we can. If you have a feature you must have, implement it. It's that simple. >(extend "tail" to deal with the IIS log > tricks, and thus making a more powerful "tail") tail doesn't display so is > surely stripping out pre-allocated buffer space at the end (perhaps because, > in MS-DOS, it's preceded by a ^Z), but not going back to see if that space > it skipped has changed, or just not noticing any changes because , as Robert > suggested, it's probably just looking at the size of the file. What it > probably should be looking at first is the mod-date, and when that changes, > continue outputting it's output at the point where it found no more valid > text, NOT necessarily the end of the file. This minor redesign could then > be folded back into the Gnu sources, for a more powerful tail for everyone. I agree, it sounds simple. I eagerly await your changes. cheers, -Matt Smith cygwin textutils maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/