Re: copying and pasting in the terminal window?
mwoehlke == mwoehlke [EMAIL PROTECTED] writes: mwoehlke Awesome? It appears to be xterm No, it's rxvt. Different program. mwoehlke which needs an X server True for xterm; false for rxvt. mwoehlke And I see exactly zero ways in which it is an mwoehlke improvement over Console. For Emacs users, the keyboard is somewhat better: various combinations of keys that include Escape actually get sent to Emacs. I forget which though. -- Paul Graham is right. --Shriram Krishnamurthi -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: copying and pasting in the terminal window?
Igor == Igor Peshansky [EMAIL PROTECTED] writes: For Emacs users, the keyboard is somewhat better: various combinations of keys that include Escape actually get sent to Emacs. I forget which though. Igor Ctrl-C and Ctrl-Space. But you can achieve the same effect Igor by adding tty to $CYGWIN, at which point the differences Igor between rxvt and Console really do become a matter of taste I'm 95% sure that there are other combinations that indeed work better with rxvt, but frankly I'm too lazy to find out what they are. I don't use Cygwin Emacs anyway (I use Win32 emacs, with Cygwin's bash, find, rm, cp, etc.) Igor FWIW, my main gripe with Console is that it doesn't Igor understand line wrapping, so cutting and pasting a line that Igor wraps multiple times results in multiple lines. Yup. And as far as I know, there's no way to tell the console please save the accumulated scrollback into a file. But then I don't think rxvt can do that either :-) Igor But I constantly run an X server and use xterms instead of Igor rxvt I almost never run Cygwin X. Years ago when I tried, it was fairly unstable. I'm sure it's better now, but ... habit. Igor -- Igor Paul Graham is right. Igor --Shriram Krishnamurthi Igor Igor Points on the nice inside joke here, though. :-) Funny, I just deleted that entry from my quotes file -- I thought it was both too obscure, and too sycophantic :-) -- Two degrees in be-bop, a Ph.D. in swing -- Lowell George, Fred Martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: copying and pasting in the terminal window?
John == John Salerno [EMAIL PROTECTED] writes: John Hi everyone. I just installed cygwin on WinXP and I'm John wondering if there is a way to copy and paste in the command John prompt, like in Linux? Sure. But it's a feature of cmd.exe, not of Cygwin. In other words, you can do what I'm about to describe on _any_ Windows box. Right-click the System icon in the upper-left corner of the window; choose Properties. Click the Options tab (that's the leftmost tab). Make sure the QuickEdit Mode checkbox is checked (it might already be; I'm not sure). Now click OK a couple times to dismiss the various dialogs. From now on, in that particular window at least, you can select text with left-click + drag, then copy that selected to the clipboard with right-click. John I figured the cygwin terminal would look and act more like John the bash shell A terminal is one thing; a shell is a different thing. Unless I'm quite mistaken, you _are_ running the bash shell in the Windows terminal. If you want, you can install the rxvt package, which provides an alternative to the Windows terminal. Selection and copying work differently in it, I imagine. John but so far it doesn't for me. Does this mean I'm still John using a DOS prompt? (Despite the $ prompt instead of C:\)? At least one of the two of us is very confused. As I said, a terminal and a shell are two different things. I think you're using the shell you expect -- as evidenced by the $ prompt -- and a terminal that you're unfamiliar with. My advice above about copy-n-paste should help some; otherwise try rxvt. There might even be other options besides those two. -- This movie doesn't scrape the bottom of the barrel. This movie isn't the bottom of the barrel. This movie isn't below the bottom of the barrel. This movie doesn't deserve to be mentioned in the same sentence with barrels. Roger Ebert on Freddy Got Fingered -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Those nasty bundled Cygwin's
Gosh, thanks for the well-written description! Sure sounds like a lot of work, though :-| -- ... belief in the omniscient hacker is indistinguishable from belief in a Supreme Being. There is simply no argument one can give that will dissuade a true believer, yet when the believer is asked for a demonstration he is unable to produce one. -- Michael Shamos -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Those nasty bundled Cygwin's
I installed the FreeNX Windows client (http://freenx.berlios.de/), hoping to access my server machine remotely. I didn't know it at the time, but the Windows client includes a Cygwin DLL -- and it clobbered by existing Cygwin installation, somehow (I forget the details -- I think it modified important registry settings). Clearly FreeNX's documentation is lacking, in that it didn't warn me about this. But I was wondering -- how _is_ a vendor such as FreeNX supposed to distribute software that depends on Cygwin? How can they avoid having their own, separate, Cygwin installation on the user's machine? -- In the movie Ghostbusters, there's a sign in the background of one scene that says, Danger! 10,000 Ohms! I cannot explain to laymen why people like me think that is uproariously funny. -- Steven den Beste -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Those nasty bundled Cygwin's
Larry == Larry Hall (Cygwin) [EMAIL PROTECTED] writes: Larry This has also been discussed before. If you'd like to Larry understand the options, I'd recommend reviewing the email Larry archives for threads on this issue. Thanks; I assume you mean the thread that starts with this message http://article.gmane.org/gmane.os.cygwin/22549 ? -- When a cryptographer and a symbologist get together, it usually ends in tears. A. O. Scott, reviewing 'The Da Vinci Code' in the New York Times -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: keychain doesn't properly cache ssh key
Dominik == Dominik Hoffmann [EMAIL PROTECTED] writes: Dominik Is anyone aware of anything that would help me to get Dominik keychain work adequately? You have to source the files that keychain creates, like this: $ . ~/.keychain/hostname-sh -- Native Americans used every part of the buffalo, including the wings. -- Darren New -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: find dir expr1 -o expr2 does not work
find common -type f -o -type l (get nothing here ) Your problem is with find, not with Cygwin. Try find common -type f -o -type l -print -- As economics is known as The Miserable Science, software engineering should be known as The Doomed Discipline -- Edsger Dijkstra -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin and Emacs: How to exit?
Try putting set CYGWIN=tty in your c:\cygwin\cygwin.bat. -- This delightful, self-describing sentence, created 16 February 2005 in honor of Katie Drake, has seven As, three Bs, four Cs, six Ds, forty-five Es, fifteen Fs, five Gs, thirteen Hs, eighteen Is, one J, three Ks, four Ls, one M, twenty-three Ns, sixteen Os, one P, one Q, nineteen Rs, thirty-one Ss, twenty-four Ts, eight Us, four Vs, three Ws, four Xs, six Ys, and one Z. -- Me -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: hook scripts in Subversion..
Take a look at http://subversion.tigris.org/faq.html#hook-debugging -- Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry. -- Eric Raymond -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Invoking Miktex in Cygwin
Tong == Tong Wang [EMAIL PROTECTED] writes: Tong Hi you guys, I have Miktex installed( in C:\Program Files), Tong and am trying to invoke Latex.exe from Shell and Tong got some trouble. Heres what I did : 1. make a Tong soft link by: ln -s 'C:\Program Tong Files\texmf\miktex\bin\latex.exe' /usr/local/bin 2. Tong run latex: latex myfile.tex Tong Then I got the following error message: This is pdfeTeX, Tong Version 3.141592-1.21a-2.2 (Web2C 7.5.4) kpathsea: Tong Running mktexfmt latex.fmt /usr/bin/mktexfmt: line 333: Tong /texconfig/tcfmgr: No such file or directory fmtutil: Tong config file `fmtutil.cnf' not found. I can't find the Tong format file `latex.fmt'! Tong but I do have C:\Program Tong Files\localtexmf\miktex\fmt\latex.efmt And I am sure that Tong the Miktex works fine for other editor like WinEdt. I've never used mixtex, so I'm just making this up. But: it's possible that mixtex has accidentally invoked the Cygwin version of pdfeTeX, instead of its own. Try putting miktex's directory on the front of your PATH, like this: $ PATH=/cygdrive/c/Program Files/texmf/miktex/bin:$PATH latex myfile.tex -- Humor can be dissected as a frog can, but the thing dies in the process and the innards are discouraging to any but the pure scientist. --E.B. White -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Request for a version/ revision/ release number for the whole Cygwin release/ distribution
For what it's worth, I'm at this very moment moving my company's build system away from Cygwin, for precisely reason number 4: I cannot tell customers which Cygwin version to get. -- The one thing that unites all human beings, regardless of age, gender, religion, economic status or ethnic background, is that deep down inside, we all believe that we are above average drivers. -- Dave Barry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash is very, very stable
Phil == Phil Betts writes: Phil Under cygwin, this breaks down. The output from echo is not Phil correctly interleaved with the output of the external Phil command Phil b) the external commands are run asynchronously as Phil background tasks. Did you see the patch at http://cygwin.com/ml/cygwin/2004-09/msg00882.html? I predict it will fix your problem. -- Adelle Davis used to say that she never saw anyone get cancer who drank a quart of milk daily, as she did. She stopped saying that when she died of cancer in 1974. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash returns incorrect process status
This patch also fixes a long-standing problem that I've had: My .bash_profile is rather complex (actually, it sources .bashrc, which is where most of the complexity is), and at the end it runs a program called `keychain'. That program always does some output and sometimes does some input. Before I applied this patch, most (but not all) of the time, keychain appeared to run in the background -- that is, I'd see a prompt from bash, implying that it had finished executing commands from its startup files, but then I'd see output from keychain. Worse, if keychain wanted to read input, it seemed to hear only a garbled version of what I typed (in fact, the input that it wants is my password, and would always claim I'd mistyped it). With the patch, however, it works perfectly. -- Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry. -- Eric Raymond -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash returns incorrect process status
Larry == Larry Hall [EMAIL PROTECTED] writes: Larry You forgot to include the patch. Actually, I was attempting to follow up to an existing post that contained the patch; I assumed that it would be easy to navigate from my article to that previous one. In any case, here is the original post (which includes the patch) on the web: http://cygwin.com/ml/cygwin/2004-09/msg00882.html -- Hamburgers! The cornerstone of any nutritious breakfast. -- Jules {From Pulp Fiction} -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: bash script doesn't wait for commands to complete -- me too
Dolton == Dolton Tony AB [EMAIL PROTECTED] writes: So, if you are starting more than around 62 subprocesses then things probably won't work right. cgf Dolton Thanks for that. However, although the problem occurs Dolton most frequently with more subprocesses, I occasionally see Dolton it with as few as 2 subprocesses, so I don't think the Dolton limit is coming into play. I haven't tried more than 50 Dolton subprocesses, as I knew there was a hard limit Tony I've seen similar behavior in my .bash_profile -- one of the last things it does is invoke keychain, which almost always winds up running in the background. It's true that my .bash_profile starts a large number of processes, but I don't start any of them in the background intentionally -- that is, none of the commands in .bash_profile nor .bashrc end with a single `'. I've also occasionally seen commands that I've started by hand at the command line execute as if they were in the background. I've never been able to come up with a simple reliable recipe to reproduce the problem, though. -- If you can't change your underwear, can you be sure you have any? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Need a copy of bash.bat
Bob == Bob Kuhfahl [EMAIL PROTECTED] writes: Bob My install seems to not lay this down. Can someone post a Bob copy; anything just to get started. Thanks! I think you're confused -- Cygwin doesn't install a file named bash.bat. It does, however, install bash.exe. -- Okay, a word about VoteHere: This is the company that has no visible means of support. It doesn't seem to sell anything. -- Bev Harris, blackboxvoting.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to delete rogue nul files
I've been using this: #!/usr/bin/env perl use warnings; use strict; use Data::Dumper; die This program is only useful on Cygwin.\n unless ($^O eq cygwin); my $filename = shift; $filename =~ s(/nul$)()i; $filename = qx(realpath $filename); chomp $filename; $filename = qx(cygpath -w $filename); chomp $filename; $filename = q(.\\) . $filename; $filename .= \\nul; if (unlink $filename) { print Removed $filename.\n; } else { warn Can't unlink $filename: $!; } -- A DRE voting system is one of the simplest computer applications you could imagine. It just adds by one. -- Brit Williams, emeritus professor of computer science -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Rebaseall fails with error 6 ...
I've had rebaseall fail with error 6, even when (as far as I knew) there were no running processes that had any Cygwin DLL mapped. (I also made sure the DLL was writable). Out of frustration I completely uninstalled, then reinstalled, all of Cygwin, and that fixed the problem :-) I now suspect that rebooting would have sufficed. (But I don't regret reinstalling -- for some reason it's much faster now, even though I'm using the same versions of all the DLLs) -- Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry. -- Eric Raymond -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: PLEASE TEST: Latest Cygwin snapshot == 1.5.10 alpha
For what it's worth, the snapshot appears to fix a problem that I've had building CVS guile -- briefly: the built guile would (when used to build the documentation) immediately die with an error message from Windows. I'd be happy to provide more details if anyone's interested. -- If you can't change your underwear, can you be sure you have any? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: problems with autoconf and libiconv
Ricardo == Ricardo Varela [phobeo] Ricardo writes: Ricardo ... checking for iconv_open in -liconv... no I don't think the iconv library defines a function named iconv_open. Try `libiconv_open' instead. -- |\ _,,,---,,_ ZZZzz /,`.-'`'-. ;-;;,_ |,4- ) )-,_. ,\ ( `'-' '---''(_/--' `-'\_) fL -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Application failed to initialize (0xc0000022)
This has burned me often enough that I've made a little shell function that reminds me: if [ $OSTYPE = cygwin ]; then unzip () { command unzip $@ echo If you are unzipping DLLs, be sure to make them executable. /dev/stderr } fi -- If you can't change your underwear, can you be sure you have any? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: gcc -mno-cygwin finds the wrong include files
Hi, could someone please confirm that this is a bug, and not a problem that exists only on this computer. I just tried it, and got reasonable-looking output: # 1 stdin # 1 built-in # 1 command line # 1 stdin # 1 /lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h 1 3 4 # 158 /lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h 3 4 typedef int ptrdiff_t; # 220 /lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h 3 4 typedef unsigned int size_t; # 332 /lib/gcc-lib/i686-pc-mingw32/3.3.1/include/stddef.h 3 4 typedef short unsigned int wchar_t; # 2 stdin 2 Hi, when I use the following command gcc finds the wrong include file. $ echo #include stddef.h | gcc -mno-cygwin -E - # 1 stdin # 1 built-in # 1 command line # 1 stdin # 1 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h 1 3 4 # 158 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h 3 4 typedef int ptrdiff_t; # 220 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h 3 4 typedef unsigned int size_t; # 332 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/include/stddef.h 3 4 typedef short unsigned int wchar_t; # 2 stdin 2 -- I said, `Shut up!' Ms. Glass recalled ... `You do not! Oh my God! Oh my God! Oh my God!' So I went to Nina, my boss, and said, `Oh my God! Oh my God! Oh my God!' --- Julie Salamon, in the New York Times -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: proposal for using windows truetype fonts
Ralf == Ralf Habacker [EMAIL PROTECTED] writes: Ralf # Create a symbolic link for the windows truetype fonts ln Ralf -sf $SYSTEMROOT/Fonts /usr/X11R6/lib/X11/fonts/truetype Is the environment variable SYSTEMROOT guaranteed to be defined? If not, you might be able to use WINDIR instead. -- Hamburgers! The cornerstone of any nutritious breakfast. -- Jules {From Pulp Fiction}
Re: Remove Cygwin entirely from Windows 2000 Server SP3
Corinna == Corinna Vinschen [EMAIL PROTECTED] writes: Corinna There shouldn't be any cyg* files in the system folder. Corinna If you want to have it entirely clean, you'd have to Corinna delete all registry keys */Software/Cygnus Corinna Solutions/Cygwin with * being HKLM as well as all HKU Corinna subkeys of users which have used Cygwin. I've never had a problem with this, but: oughtn't he ensure that all Cygwin services are stopped before he deletes c:\cygwin? If not, I fear he'll get access denied errors when trying to delete the relevant .exe and .dlls. -- Tobacco: It's not just for killing children anymore. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: I cannot read a pdf file with gv
RM == R Manitra [EMAIL PROTECTED] writes: RM Actually, when I try to view pdf file I got a dialog box pops RM up with the following error message: I just had a similar problem -- I couldn't open certain PDF documents with gv. (I was able to open them with no trouble with xpdf, but I don't remember if Cygwin includes that program.) I don't know if my problem is the same as yours, but in any case, here's what I learned: There are a number of different versions of the PDF standard, and apparently GhostScript can only deal with some of them. I found that it worked just fine with version 1.3, but couldn't open version 1.5 (I never tried version 1.4). You can see which version your file is by simply running the `file' command, like this: $ file doc.pdf doc.pdf: PDF document, version 1.3 $ -- Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. John F. Woods
Re: Okay, I feel stupid
Matthew == Matthew L Mandalek [EMAIL PROTECTED] writes: Matthew How do I use cygwin to start a X console on my XP machine Matthew like I get on the Rad Hat Fedora console? startxwin.bat -- But users will not now with glad cries glom on to a language that gives them no more than what Scheme or Pascal gave them. -- Guy Steele, http://www.sun.com/research/jtech/pubs/98-oopsla-growing.ps
Re: NTEmacs problem with Cygwin DLL 1.5.6-1?
John == John Harrison [EMAIL PROTECTED] writes: John M-x find-name-dired Find-name (directory): c:/tmp/ Find-name John (filename wildcard): * John I recieve John c:/tmp/: find . \( -name '*' \) -exec ls -ld {} \; John drwxr-xr-x 2 jwharris None 0 Mar 20 2003 rmid.log John at which point the find appears to hang. John Is anyone else experiencing this problem? Yes, but the recent snapshots fix it, so I assume that the next release of cygwin1.dll will also fix it. -- Adelle Davis used to say that she never saw anyone get cancer who drank a quart of milk daily, as she did. She stopped saying that when she died of cancer in 1974. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: snapshot now == 1.5.7 soon, please try
For what it's worth, the snapshot seems to fix a couple of problems that I didn't understand, couldn't reliably reproduce, and wasn't able to describe :) -- A hacker would consider being asked to write add x to y giving z instead of z = x+y as something between an insult to his intelligence and a sin against God. -- Paul Graham (http://paulgraham.com/popular.html) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [ANNOUNCEMENT] new package: fltk-1.1.4
Great! I sometimes used to build flwm for Cygwin; I assume it will now be easier for me to do that. -- The whole point of loud music is to make it possible to date without talking. -- Roger Ebert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: perl-5.8.1-1 problem: TW.dll is 182 megabytes
cgf == Christopher Faylor [EMAIL PROTECTED] writes: cgf On Thu, Aug 28, 2003 at 08:50:57AM -0700, Peter J. Stieber wrote: This perl is a test release which requires cygwin-1.5.3. cgf This is my fault. I somehow made 5.8.1 the default. I've cgf fixed this now but it will take a while to propagate to cgf mirrors. I suffered from that problem, so I re-ran setup, which reasonably replaced version 5.8.1 with 5.8.0-4. However, the installation is taking forever -- the setup screen shows that it's copying the file /usr/lib/perl5/5.8.0/cygwin-multi-64int/auto/Encode/TW/TW.dll, and that file seems to be growing without bound (it's at 182 megabytes as I write this). I too worked around the problem by backing off to perl 5.6.1. -- A hacker would consider being asked to write add x to y giving z instead of z = x+y as something between an insult to his intelligence and a sin against God. -- Paul Graham (http://paulgraham.com/popular.html) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: 1.5 is coming... please test away!
Elfyn == Elfyn McBratney [EMAIL PROTECTED] writes: Elfyn Now what would be nice(tm), is if users of these packages Elfyn could test them out[1] as much as possible before they go Elfyn current, so as to make sure they're working OK (for you, at Elfyn least). Here's what I did and saw when trying out the Experimental stuff. Executive summary: some packages failed to be downloaded, and postinstall stuff didn't run. * Ensured I was starting with a clean machine (Win2K Pro, service pack 4, with all critical updates from windowsupdate.com) by removing the c:\cygwin directory, and the registry keys HKEY_CURRENT_USER\Software\Cygnus Solutions and HKEY_LOCAL_MACHINE\Software\Cygnus Solutions. * Ran http://www.cygwin.com/setup.exe: ** Hit Next five times in a row ** chose http://mirrors.xmission.com as the download site ** hit Alt-X to choose the Exp version ** hit Alt-N to start the downloads, waited, then hit Enter to click the Finish button. To my surprise, I saw no console window appear to run the postinstall stuff. * clicked the new Cygwin icon on the desktop * typed `uname -a'. This causes a message box to appear, titled uname.exe - Unable to Locate DLL. The DLL in question was cygintl-2.dll. * dismissed the popup and typed cat /etc/passwd. The shell responded with bash: cat: command not found. * exited bash, and started plain cmd.exe. Typed cd /c c:\cygwin\etc; then typed dir. I expected to see lots of files, in particular passwd and group; instead all I saw was one directory, named setup. -- Yahoo uses Javascript in a few places, though not many. I once asked someone there how this worked out, and he said they ended up learning a lot about different browser versions. --Paul Graham (http://www.paulgraham.com/road.html) Seen on http://www.ccs.neu.edu/home/matthias/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ssh with keys to Cygwin/Openssh on Windows XP
Jeffrey == Jeffrey Hood [EMAIL PROTECTED] writes: Jeffrey Thanks everyone for all of the help... it seems that my Jeffrey problem was a permission one, and combined the last post, Jeffrey I figured it out... it seems that all of the files in Jeffrey ~/.ssh need to be owned by SYSTEM.SYSTEM (which strikes Jeffrey me as strange, the only thing I can figure out is that Jeffrey the sshd service is running as the SYSTEM user...) and Jeffrey once I chmod'd them to SYSTEM.SYSTEM, public key Jeffrey authentication works as it should... I've been having the same problem as you, so I just tried that workaround. It didn't work -- and I made sure to stop and restart the SSHD service after doing the chmod. Hmph. -- In the practice of computing, where we have so much latitude for making a mess of it, mathematical elegance is not a dispensable luxury, but a matter of life and death. -- Edsger W. Dijkstra: My Hopes of Computing Science (EWD 709) http://www.cs.utexas.edu/users/EWD/ewd07xx/EWD709.PDF -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
xmllint -dtdvalid fails to report invalid XML
This is libxml2 2.5.7. Here's the input DTD, and the input XML: 10:21:47 [EMAIL PROTECTED] examples]$ cat /tmp/tiny.dtd !ELEMENT Foo (Bar+) !ELEMENT Bar (#PCDATA) 10:25:42 [EMAIL PROTECTED] examples]$ cat /tmp/tiny.xml !DOCTYPE Foo PUBLIC /tmp/tiny.dtd Foo /Foo Here's xmllint working properly (with the `-valid' switch): 10:20:52 [EMAIL PROTECTED] examples]$ xmllint -noout -valid /tmp/tiny.xml /tmp/tiny.xml:2: validity error: Element Foo content does not follow the DTD Expecting (Bar)+, got () /Foo ^ Here's xmllint failing, by not reporting an error: 10:20:45 [EMAIL PROTECTED] examples]$ xmllint -noout -dtdvalid /tmp/tiny.dtd /tmp/tiny.xml 10:20:46 [EMAIL PROTECTED] tmp]$ echo $? 0 I could not repro this problem on Linux, using the same version of libxml2. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: perl 5.8.0 debugger requires double ENTER key to act on commands: cygwin 1.3.22
Gerrit suggests: See the second link above, try to set: $ export PERLIO=perlio in your environment. This also fixes a problem I've had for a long time: I was unable to install Bundle::LWP from CPAN with 5.8.0-2 (many self-tests failed). -- I ... don't want programming to be really interesting any more than I want my toaster to be really interesting. I want my toaster to get the job done and I do not want to hear about exciting new tungesten alloys in the heating wires nor do I want to subscribe to Toaster Today magazine. -- Daniel Weinreb [EMAIL PROTECTED], ll1 mailing list -- 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/
emacs -nw : M-C-K does nothing
CYGWIN_NT-5.0 alpha 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin Emacs 21.2-12 I have set CYGWIN to tty nontsec, if it matters. When I start `emacs -q -nw' from a Win32 console, I see these problems: * Meta-Control-K does nothing. For example, I type F1 c M-C-k, expecting to see something in the mode line that tells me what that key does ... instead I see Describe key briefly: , implying that, after I typed F1 c, Emacs hasn't even heard me hit a key at all. The meta key is not completely broken, however; Emacs hears M- as ESC-, which is fine; in fact that's better than some GNU/Linux consoles. * Emacs hears Control-SPC as SPC. * control-H erases the previous character, but I expected it to run help-for-help (like the startup screen said it would). This isn't too serious, since erasing the previous character is reasonable, and help-for-help is on F1 F1. Under rxvt, Emacs hears Control-SPC as C-@, which is fine with me, but the other problems are still there. -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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: Win32 emacs, Cygwin emacs...and PATH
Elfyn == Elfyn McBratney [EMAIL PROTECTED] writes: I want to be able to type emacs and have it run my Win32 emacs. Put this in your .bashrc: function emacs () { /c/path-to/win32-emacs/emacs.exe $@ } -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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: please try the latest snapshot
cgf == Christopher Faylor [EMAIL PROTECTED] writes: cgf The latest snapshot should fix some /etc handling problems cgf (thanks to ideas and code from Pierre Humblet), like the cgf dreaded BSOD. Where can I read more about that BSOD problem? I'm getting blue-screens myself and would like to see if the problem you fixed seems like the problem I've been having. -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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/
The application failed to initialize properly (0xc0000022) -- cause and cure
I think this is unrelated to previous messages on this list with a similar subject. Instead, it pertains to a problem that I encountered and solved myself; I thought it might benefit others to hear about it, so here it is. The symptom is that I was trying to start a non-Cygwin program that I'd just built, and saw the above-mentioned popup. It didn't occur to me for a long time that the problem had anything to do with Cygwin, since neither the program -- nor the DLLs on which it depended -- used Cygwin. However, I *had* installed those DLLs by using Cygwin's unzip to unpack a ZIP file. I then noticed that if I simply did chmod +x *.dll on those DLLs, the problem went away. I figure unzip set the permissions on those DLLs to 0640, which seems reasonable from Cygwin's point of view ... unfortunately, though, NT requires those DLLs to be executable; hence the infuriatingly obtuse error popup. -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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/
Emacs: completion of buffer names ignores case
I'm using emacs-21.2-10. I frequently want to switch to the buffer named `*shell*', so I type C-x b * s h e SPC RET expecting that, since `*shell*' is the only buffer whose name begins with `*she', the SPC will cause its complete name (`*shell*') to appear in the minibuffer, and the RET will cause Emacs to switch to it. Instead, when there's a buffer named `*Shell Command Output*', the name doesn't complete fully: after I hit RET, I'm looking at a brand-new buffer named `*shell'. This isn't what I wanted :( It's as if Emacs has decided to ignore case when completing what I've typed. Indeed, if I type TAB instead of RET, I see Click mouse-2 on a completion to select it. In this buffer, type RET to select the completion near point. Possible completions are: *Shell Command Output* *shell* Now, I can understand that Emacs would ignore case when completing file names on Windows, since Windows itself doesn't distinguish file names by case. But since Emacs does distinguish buffer names by case, I expect it, when completing buffer names, to ignore a buffer whose name differs in case from what I've typed. Is this a bug? -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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/
HOME set to / [Was: cygwin-1.3.16-1]
For what it's worth, I too had this problem on Windows 2000, but I was able to work around it by putting set HOME=/home/Administrator into my cygwin.bat. -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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: Re[2]: Frequent crashes in 2.194.2.22 setup.exe
Pavel == Pavel Tsekov [EMAIL PROTECTED] writes: Pavel Are you sure that you're using 2.194.2.22 ? Yes, that's what it says on the splash screen. Pavel Setup.Exe causes Application Error at 0x78001750 Pavel http://www.cygwin.com/ml/cygwin/2002-03/msg01135.html Pavel Does this seem to be what your are currently experiencing ? The behavior they describe is slightly different than what I'm seeing -- in my case, the crash happens after I've done precisely these steps: * start setup.exe * click the Next button six times in a row The last message I see from setup, before it crashes, is downloading setup.ini. But the bug you referred to above happens earlier: the last thing he reports seeing is Downloading... mirrors.lst 0% (0k/4k) 0.0 kb/s In other words, he appears to have clicked the Next button only *five* times, not six. I own a copy of Visual Studio 6, and am willing to install it, if that's of any use. And I may have (I'm not sure) a complete Cygwin development environment already installed ... if not, then if you can point me to an older copy of setup.exe (one that will work for me) I could download the complete environment, then presumably I could help you debug this. Note that I've never done development under Cygwin, so I'm semi-clueless. -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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: Re[4]: Frequent crashes in 2.194.2.22 setup.exe
Pavel == Pavel Tsekov [EMAIL PROTECTED] writes: Pavel I've earlier today submited a patch for this and you just Pavel have to wait until the new setup.exe is released. Sounds good to me! Thanks very much. -- PGP Fingerprint: 3E7B A3F3 96CA 8958 ACC5 C8BD 6337 0041 C01C 5276 -- 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/
Frequent crashes in 2.194.2.22 setup.exe
The last bunch of times that I've run setup, it gets an access violation. Here's the dump from Dr. Watson (I've omitted the symbol table because it's huge, but can easily send it to anyone who's interested): Application exception occurred: App: (pid=127) When: 4/9/2002 21:0:50.844 Exception number: c005 (access violation) * System Information * Computer Name: VMWARE User Name: Administrator Number of Processors: 1 Processor Type: x86 Family 6 Model 5 Stepping 0 Windows Version: 4.0 Current Build: 1381 Service Pack: 6 Current Type: Uniprocessor Free Registered Organization: Confounded Computer Company Registered Owner: Eric Hanchrow * Task List * 0 Idle.exe 2 System.exe 20 smss.exe 30 CSRSS.exe 34 WINLOGON.exe 40 SERVICES.exe 43 LSASS.exe 66 SPOOLSS.exe 76 RPCSS.exe 82 VMwareService.e.exe 91 PSTORES.exe 89 mstask.exe 84 nddeagnt.exe 123 EXPLORER.exe 106 VMwareTray.exe 126 LOADWC.exe 118 TASKMGR.exe 57 CMD.exe 60 NTVDM.exe 127 setup.exe 114 DRWTSN32.exe 0 _Total.exe (0040 - 0040) (77f6 - 77fbe000) dll\ntdll.dbg (77dc - 77dff000) dll\advapi32.dbg (77f0 - 77f5f000) dll\kernel32.dbg (77e7 - 77ec5000) dll\user32.dbg (77ed - 77efc000) dll\gdi32.dbg (77e1 - 77e67000) dll\rpcrt4.dbg (7178 - 7180a000) COMCTL32.dbg (77b2 - 77bd1000) dll\ole32.dbg (77c4 - 77d7b000) dll\shell32.dbg (776d - 776d8000) dll\wsock32.dbg (776b - 776c4000) dll\ws2_32.dbg (7800 - 7803d000) (776a - 776a7000) dll\ws2help.dbg (7130 - 71306000) dll\msidle.dbg (74ff - 74ffe000) dll\rnr20.dbg (7766 - 7766f000) dll\msafd.dbg (7769 - 77699000) dll\wshtcpip.dbg (77bf - 77bf7000) dll\rpcltc1.dbg State Dump for Thread Id 0x93 eax=00917010 ebx=01402020 ecx=00917000 edx= esi=00235478 edi=03fc eip=77e72397 esp=0022f650 ebp=0022f66c iopl=0 nv up ei pl zr na po nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs= efl=00010246 function: InvalidateRect 77e7237e b89e11 mov eax,0x119e 77e72383 8d542404 lea edx,[esp+0x4] ss:00e8e057= 77e72387 cd2e int 2e 77e72389 c20c00 ret 0xc 77e7238c b88511 mov eax,0x1185 77e72391 8d542404 lea edx,[esp+0x4] ss:00e8e057= 77e72395 cd2e int 2e 77e72397 c21400 ret 0x14 * Stack Back Trace * FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name 0022f66c 7179d548 0022f690 user32!InvalidateRect 0022f6d0 7179d32f 00235700 0001 0022f760 0022f920 COMCTL32!PropertySheetW 0022f6e8 7179ffb8 0022f6fc 0009 0028 COMCTL32!PropertySheetW 0022f730 0042d093 0022f760 0022f920 0022f760 0042cad8 COMCTL32!PropertySheetA * Raw Stack Dump * 0022f650 40 07 e8 77 90 f6 22 00 - 00 00 00 00 00 00 00 00 ..w... 0022f660 00 00 00 00 68 f6 22 00 - fc 03 00 00 d0 f6 22 00 h. 0022f670 48 d5 79 71 90 f6 22 00 - 00 00 00 00 00 00 00 00 H.yq... 0022f680 00 00 00 00 8c 55 23 00 - 78 54 23 00 f0 53 23 00 .U#.xT#..S#. 0022f690 44 01 b2 00 00 02 00 00 - 00 00 00 00 e4 01 9b 01 D... 0022f6a0 4c 87 13 00 59 04 00 00 - 9a 03 00 00 66 01 00 00 L...Y...f... 0022f6b0 00 00 00 00 00 00 00 00 - ff ff ff ff 44 01 b2 00 D... 0022f6c0 f8 65 7f 71 60 90 7e 71 - 09 00 00 00 00 00 00 00 .e.q`.~q 0022f6d0 e8 f6 22 00 2f d3 79 71 - 00 57 23 00 01 00 00 00 .../.yq.W#. 0022f6e0 60 f7 22 00 20 f9 22 00 - 30 f7 22 00 b8 ff 79 71 `.. ..0yq 0022f6f0 fc f6 22 00 09 00 00 00 - 00 00 00 00 28 00 00 00 ...(... 0022f700 a0 01 80 00 00 00 00 00 - 00 00 40 00 90 f7 22 00 ..@ 0022f710 8c b9 40 00 09 00 00 00 - 00 00 00 00 d0 63 8f 00 ..@..c.. 0022f720 7c cf 42 00 40 00 00 00 - 84 0e 8f 00 d0 63 8f 00 |.B.@c.. 0022f730 90 f7 22 00 93 d0 42 00 - 60 f7 22 00 20 f9 22 00 .B.`.. .. 0022f740 60 f7 22 00 d8 ca 42 00 - 84 0e 8f 00 20 f9 22 00 `B. .. 0022f750 00 00 00 00 70 00 00 00 - 60 fb 22 00 00 00 00 00 p...`.. 0022f760 28 00 00 00 a0 01 00 00 - 00 00 00 00 00 00 40 00 (.@. 0022f770 90 f7 22 00 8c b9 40 00 - 09 00 00 00 00 00 00 00 .@. 0022f780 d0 63 8f 00 7c cf 42 00 - 20 f9 22 00 f0 fa 22 00 .c..|.B. . State Dump for Thread Id 0x92 eax=008e1f10 ebx=32322e31 ecx=008e449c edx=009807f6 esi=0012 edi=2e343931 eip=78001628 esp=00c8fd24 ebp=00c8fd44 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs