Re: MinTTY 0.3.2
On Sun, 04 Jan 2009 19:51:53 -0600, Yaakov (Cygwin/X) yselkow...@users.sourceforge.net wrote: Andy Koppe wrote: I've uploaded MinTTY release 0.3.2 to http://code.google.com/p/mintty. Ports SVN updated accordingly. I would encourage you to ITP this, as this would be widely beneficial, and you will get more feedback as well. Package maintenance is really easy with cygport. :-) Yaakov OK, I have just downloaded the latest version and compiled it. It comes up fine. However the text font size is very small. Is there a way to make it easier to read? Indeed, is there a way to configure quite a few things. Am I missing something about documentation? Brian. -- Brian Salter-Duke Melbourne, Australia My real address is b_duke(AT)bigpond(DOT)net(DOT)au Use this for reply or followup. Registered Linux user 287938. Cygwin for Linux on PCs. http://www.cygwin.com/ -- 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: MinTTY 0.3.2
On Tue, 06 Jan 2009 05:41:33 +, Andy Koppe andy.ko...@gmail.com wrote: OK, I have just downloaded the latest version and compiled it. It comes up fine. However the text font size is very small. Is there a way to make it easier to read? Indeed, is there a way to configure quite a few things. Am I missing something about documentation? The options dialog can be reached via the context menu or the window menu (Keyboard shortcuts: menu O or Alt+Space O). Alternatively, the config file .minttyrc can be edited directly. Great. I found the menus and editing the font ot be bigger and also to get it black on white rather than white on black. I saw that a config file was called .minttyrc, but what does on put it in? Apologies for the lack of documentation. No worries, it will come. Cheers, Brian. Andy -- Brian Salter-Duke Melbourne, Australia My real address is b_duke(AT)bigpond(DOT)net(DOT)au Use this for reply or followup. Registered Linux user 287938. Cygwin for Linux on PCs. http://www.cygwin.com/ -- 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: xterm and cut paste
On Fri, 02 Jan 2009 06:56:23 +, Fergus fer...@bonhard.uklinux.net wrote: Include -clipboard as an option for XWin. e.g. run XWin -clipboard -nolisten local -multiwindow 2nul and then selected text in xterm is automatically copied to the clipboard for onward pasting. Fergus Thanks for that. I find X very confusing and mainly just want a simple xterm to run mutt, slrn and unix like-codes. I think I may have a messed up system with not having a clean upgrade to the latest X. I was using startx and I can not see where XWin is called there. Maybe I'm blind. I am now using startswin.bat and I've played with startxwin.sh. That clearly calls XWin and I have the -blipboard argument in and it works fine. However the -multiwindow causes an error and it just gives an xterm, but that is fine for now. I'll look into that later. Cheers, Brian. -- Brian Salter-Duke Melbourne, Australia My real address is b_duke(AT)bigpond(DOT)net(DOT)au Use this for reply or followup. Registered Linux user 287938. Cygwin for Linux on PCs. http://www.cygwin.com/ -- 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/
xterm and cut paste
This may have a simple answer but I can not find it. I have been using xterm in cygwin for some time. Recently I updated and it gave me a new different xterm. I have grown to like it, but there is one problem that was not there in the old version. Cut and paste works fine fine within the xterm using highlight for cut and the middle mouse button for paste. However it does not work in and out of xterm. If I use ^C to cut a section in a web page, I can not paste it into the xterm. Similarly I can not copy say a URL from the xterm into Firefox. What am I missing? Happy New Year to all, Brian. -- Brian Salter-Duke Melbourne, Australia My real address is b_duke(AT)bigpond(DOT)net(DOT)au Use this for reply or followup. Registered Linux user 287938. Cygwin for Linux on PCs. http://www.cygwin.com/ -- 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: gcc4/gfortran
On Thu, 4 Dec 2008 14:35:02 -0500, Gustavo Seabra [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 8:36 PM, Eric Blake wrote: According to Gustavo Seabra on 12/3/2008 7:38 AM: 1. Is is safe to remove the old gcc (3.*) packages and replace them by symlinks to the new gcc4 executables? Read the archives. Dave has mentioned that he is planning on a future packaging of the gcc packages that use the alternatives package, so that the symlink management of the name gcc can be done automatically to point to either gcc-3 or gcc-4. But at the moment, I'm not sure whether the gcc-4 package requires files provided by the gcc package, in which case blindly deleting all thing gcc 3.* might break gcc-4. Got it. But I was actually just planning on removing the gcc and g77 executables, and make those names point to gcc4 executables instead. It actually has nothing to do with disk space: the whole point is that, when compiling a program, I want to make sure it will *not* use g77, but gfortran instead. The way it is now, I have to specify gfortran-4 as the fortran compiler, say by using FC=/usr/bin/gfortran-4, but one can never be sure exactly how a specific 'configure' program will find its compilers. So, the removal of gcc/g77 executables and replacing by a symlink would remove any possibility for confusion. That could lead to confusion as the arguments for gfortran are not identical to those for g77. Myself, I want to have both to check that code compiles OK with both them. Brian. 2. In this case, which executables should I point the symlink to? For instance, if I were to replace g77 by a symlink to gfortran, which of the 4 gfortran executables should I use: $ locate gfortran | grep exe /bin/gfortran-4.exe /bin/i686-pc-cygwin-gfortran-4.exe These are identical copies; one is the name preferred when cross-compiling, the other when doing native compiles. Got it, thanks. But why worry about adding symlinks? Why not just rely on what the package gave you, since it works? Are you really that low on disk space? I suppose they could be made hardlinks to one another, if someone were to invest the time into patching setup.exe to attempt to make hardlinks (instead of its current behavior of blindly creating identical copies, even when the tar file specifies hardlinks). /usr/bin/gfortran-4.exe /usr/bin/i686-pc-cygwin-gfortran-4.exe These two are identical to the ones above - you need to read the manual, and remind yourself that /bin and /usr/bin are mount points that visit the same directory. Removing /bin/gfortran-4.exe would simultaneously make /usr/bin/gfortran-4.exe disappear. 3. Lastly, just a dumb question: why do we get multiple executables in the first place? I noticed that g77 also comes in multiple files: $ locate g77 | grep exe /bin/g77.exe /usr/bin/g77.exe Is that really necessary? Yes, because that's how the default mount points are set up. OK, I had missed the point about /bin and /usr/bin actually pointing to the same directory. Things are a lot clearer now. Thanks, -- Brian Salter-Duke Melbourne, Australia My real address is b_duke(AT)bigpond(DOT)net(DOT)au Use this for reply or followup. Registered Linux user 287938. Cygwin for Linux on PCs. http://www.cygwin.com/ -- 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: Compiling gcc for cygwin
On Fri, 22 Aug 2008 11:22:46 -0700, Brian Dessent [EMAIL PROTECTED] wrote: NightStrike wrote: If cygwin ever wants to be able to support newer gcc compilers, something needs to be done in this area. There are several options, That's a quite a misleading statement to make. Everything is fine for a native 4.4 using 3.4 as the bootstrap compiler. That's the whole point of the three stage bootstrap, to eliminate any influence of the bootstrap compiler on the final compiler. The problem only occurs when you build a 4.4 cross using 3.4 because by definition you can't bootstrap a cross. But even then you're fine if you first bootstrap a recent native to use to build the cross. It's really not the end of the world. Brian Indeed. gcc 4.4 works fine. I have the version that comes with gfortran. Is it likley any time soon that gcc4 and gfortran come as a standard cygwin package. Apologies if I missed this. Another Brian. -- Brian Salter-Duke Melbourne, Australia My real address is b_duke(AT)bigpond(DOT)net(DOT)au Use this for reply or followup. Registered Linux user 287938. Cygwin for Linux on PCs. http://www.cygwin.com/ -- 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: Decimal float and the Cygwin build of GFortran.
On Wed, Jul 04, 2007 at 05:19:28PM -0700, Brian Dessent wrote: Brian Salter-Duke wrote: work. Have things changed with these libraries since last year. This was, BTW, I relative new install of cyqwin. I just copied the gfortran and gcc4 executables over from an older machine. I think this is a cyqwin question. No, it's not a Cygwin question. Yes, gcc has changed. gcc 4.3.x now requires/uses gmp and mpfr in all the front ends, whereas previously they were only used in the fortran front end in 4.2.x and not at all prior to that. Thanks for this. After installing gmp and mpfr it all works fine. However I have to say that I think that this is very much a cygwin question. Knowing what packages to install before doing something is a cygwin question and I got no sense that I had to do this on the gfortran site before downloading the tar file of executables for cygwin. The change from gcc (and friends) 4.2 to 4.3 is not something that is obvious unless you are really into these things. Thanks for your help and keep up the good work. Brian. Brian -- If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed. -- Albert Einstein Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au -- 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: Decimal float and the Cygwin build of GFortran.
On Thu, Jul 05, 2007 at 09:47:28AM -0700, Brian Dessent wrote: Brian Salter-Duke wrote: However I have to say that I think that this is very much a cygwin question. Knowing what packages to install before doing something is a cygwin question and I got no sense that I had to do this on the gfortran site before downloading the tar file of executables for cygwin. The change from gcc (and friends) 4.2 to 4.3 is not something that is obvious unless you are really into these things. Thanks for your help You would have had the exact same experience on a Linux or FreeBSD system if you had downloaded a set of gcc4 binaries and ran them without their prerequisite libraries installed, and that is the sense in which I meant that it's not specific to Cygwin. Like Larry said when gcc4 stabilizes to the point where we can offer it as packages in setup.exe, then this problem won't exist as the packaging system allows us to express the dependency information necessary to automatically install the needed prerequisite packages without the user having any domain-specific knowledge. In that sense it's also a generic problem that you encounter whenever you step outside the bounds of whatever package management facility your operating system offers. I understand all this, but this case seems an odd one to me. If I am missing a library I expect to find a clear error message that it needs it, but here I just got nothing. I agree that this not a cygwin problem. I have yet to update my old gfortran 4.2. on linux to 4.3 and I guess I will have the same problem as the linux needs upgrading too. I'll know what to expect than. Brian. Brian -- 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/ -- I really didn't foresee the Internet. But then, neither did the computer industry. Not that that tells us very much, of course - the computer industry didn't even foresee that the century was going to end. -- Douglas Adams Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au -- 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: Decimal float and the Cygwin build of GFortran.
On Wed, Jul 04, 2007 at 09:19:14AM +0200, Angelo Graziosi wrote: I have build GFortran under Cygwin configuring with: ./configure --prefix=${prefix_dir} \ --enable-languages=c,fortran \ --enable-bootstrap \ --enable-libgomp \ --enable-threads \ --enable-sjlj-exceptions \ --enable-version-specific-runtime-libs \ --enable-nls \ --enable-werror \ --enable-checking=release \ --disable-libmudflap \ --disable-shared \ --disable-win32-registry \ --with-system-zlib \ --without-included-gettext \ --without-x The build gives, a few times, this warning: --- ... checking for valgrind.h... no configure: WARNING: decimal float is not supported for this target ^^^ checking whether make sets $(MAKE)... yes ... --- A few months ago this did not happen (same building procedure). So, have you an idea about this ? TIA, Angelo. Just asking in general, but are you related to the people doing the cygwin release on the gfortran web page? I downloased the exe about 2 weeks ago and it did nothing. Yes, NOTHING! gfortan --version gave the version but a gfortran complile gave no errors and no executable. I went back to a version I had a year ago on another laptop and it worked fine. Did I just have a bad snapshot? Brian. -- 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/ -- The PROPER way to handle HTML postings is to cancel the article, then hire a hitman to kill the poster, his wife and kids, and fuck his dog and smash his computer into little bits. Anything more is just extremism. -- Paul Tomblin Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au -- 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: Decimal float and the Cygwin build of GFortran
On Wed, Jul 04, 2007 at 02:37:44PM +0200, Angelo Graziosi wrote: Brian Salter-Duke wrote: Just asking in general, but are you related to the people doing the cygwin release on the gfortran web page? NO. I downloased the exe about 2 weeks ago and it did nothing. EXE ? If you mean 'gfortran-windows-20070612.exe', it is for MINGW not Cygwin. The package for Cygwin is gfortran-4.3-20070512-Cygwin-i686.tar.bz2 and it works fine. I mean gfortran-4.3-Cygwin-i686.tar.bz2 (I may have renamed it. I can not remember). That gives executables in /usr/local/gfortran. Typing gfortran -v gives after compile info:- gcc version 4.3.0 20070512 (experimental) so we are talking about the same version. Typing say:- /usr/local/gfortran/bin/gfortran -o actvte.exe actvte.f gives nothing - no executable and no errors. The 4.2 version, as I said works. It gives the version:- gcc version 4.2.0 20060808 (experimental) and typing:- /home/irun/bin/gfortran -o actvte.exe actvte.f which points to that version works fine and gives the executable. I really do not understand this. Thanks for your interest. Brian. I some times build myself GFortran and report problems (if I find them) to the lists. Cheers, Angelo. -- 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/ -- Usenet is like a herd of performing elephants with diarrhea; massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it. -- Eugene Spafford. Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au -- 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: Decimal float and the Cygwin build of GFortran.
On Wed, Jul 04, 2007 at 12:22:26PM -0700, Brian Dessent wrote: Brian Salter-Duke wrote: Just asking in general, but are you related to the people doing the cygwin release on the gfortran web page? I downloased the exe about 2 weeks ago and it did nothing. Yes, NOTHING! gfortan --version gave the version but a gfortran complile gave no errors and no executable. I went back to a version I had a year ago on another laptop and it worked fine. Did I just have a bad snapshot? You should ask this on the gfortran mailing list, not here. The wiki pages state this. I realise that and only mentioned it as it came up here. And your problem is exactly what you'd expect to happen if you don't have the correct mpfr and gmp libs installed. They are used by the sub-processes (cc1, cc1plus, f951) but not the front-end drivers (gcc, g++, gfortran), which means --version or --help would work but no actual compiling. The wiki also says this. Install the required packages (libgmp3 and libmpfr1). I'll try doing that, but why does: gcc version 4.2.0 20060808 (experimental) work. Have things changed with these libraries since last year. This was, BTW, I relative new install of cyqwin. I just copied the gfortran and gcc4 executables over from an older machine. I think this is a cyqwin question. Brian. Brian -- 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/ -- If you think education is expensive, try ignorance. The best slogan used by an education trade union. Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au -- 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: ps command
On Mon, May 21, 2007 at 10:34:50PM -0700, Brian Dessent wrote: Brian Salter-Duke wrote: because qseek is a perl script. Is there any way that I can get output of the running processes that will include the text, 'qseek'? Or can anyone suggest a work around. I need a script to be able to find out whether qseek is running, in order to start it if it is not, and leave it running if it is. I am trying again to get this code working correctly on cygwin as well as linux. Use procps. It's much more capable, e.g. procps -f. I personally use something resembling alias ps='procps aux --forest'. Brilliant. That solves my problem and the package is now working fime on cygwin and linux. By the way this very same question came up just the other week. I have been off the list for a long while until recenty. I guess procps is new compared with when I asked about this before years ago. Thanks, Brian. Brian -- 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/ -- Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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/
ps command
Apologies for asking this. I asked it many years ago and did not get an answer that allowed me to progress. I can not find the earlier replies but of course cygwin has improved since then. I have a program that runs in the background a bit like at daemon. It is called 'qseek'. I want to know whether it is running from a script. On linux I run ps in the script and grep the output to see if 'qseek' is there. On cygwin all I get is this line:- 1688 11876 36440 1004 15:03:03 /usr/bin/perl because qseek is a perl script. Is there any way that I can get output of the running processes that will include the text, 'qseek'? Or can anyone suggest a work around. I need a script to be able to find out whether qseek is running, in order to start it if it is not, and leave it running if it is. I am trying again to get this code working correctly on cygwin as well as linux. Regards, Brian. -- Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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/
Running OpenOffice from in cygwin.
I have been trying to open OpenOffice to read MSWord files from inside a script in cygwin. I figured out how to add OpenOffice to my path, but it still failed. I then went back to trying on the command line. The script had left the document in /tmp/ME3268/WSPC.doc. So:- a) In /tmp/ME3268 - swriter WSPC.doc opens fine. b) In /tmp - swriter ME3268/WSPC.doc opens fine. c) In / - swriter tmp/ME3268/WSPC.doc opens fine. d) Anywhere - swriter /tmp/ME3268/WSPC.doc does not open and leaves no messages. It seems to not like a full path. The script was of course running in my home directory and uses the full path. Is this a cygwin problem or an OpenOffice problem? Does anyone understand what is going on? I have of course found a work around, but it is messy. Regards, Brian. -- Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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: DualCores and Current Cygwin problems
On Wed, May 09, 2007 at 10:07:20AM -0400, Christopher Faylor wrote: On Wed, May 09, 2007 at 09:54:36PM +0800, Chee Kiang Goh wrote: Looking forward nevertheless to a better co-existence solution with WindowXP/DualCoreCPU. This feature had been the primary reason why I stick to cygwin over the years : FYI, there is no better coexistence solution contemplated. PTC, although, you have to wonder why we'd have to accommodate virus checkers or firewalls, which are supposed to be unobtrusive. It is indeed a bit of a worry. I have just installed Cygwin and Norton securities on a new dual-core laptop. I have seen no problems so far. Is there anything in particular I should look for? Brian. cgf -- 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/ -- Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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/
installing libncurses.a etc
I have just installed cygwin on a new laptop, so it is a very recent version. I want to try to compile an application that needs ncurses. However, configure can not find ncurses, and indeed libcurses.a and its friends are not in /usr/lib. I tried reinstalling. An old message suggested installing ncurses first and then libncurses and terminfo. The result is the same. There is nothing from ncurses in /usr/lib, but /usr/bin has:- $ ls *ncurse* cygncurses++-8.dll* cygncurses++6.dll* cygncurses5.dll* cygncurses7.dll* cygncurses++5.dll* cygncurses-8.dll* cygncurses6.dll* ncurses8-config* This was exactly the situation after the first install. I can find nothing in the archives and indeed most messages about ncurses are quite old and I expect things have changed. I am probably missing something obvious, but I can not see it. I have used cygwin for ages but have never needed ncurses before. Can anyone offer a clue. Regards, Brian. -- Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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: installing libncurses.a etc
On Mon, May 07, 2007 at 10:06:32PM -0600, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Salter-Duke on 5/7/2007 9:58 PM: I have just installed cygwin on a new laptop, so it is a very recent version. I want to try to compile an application that needs ncurses. However, configure can not find ncurses, and indeed libcurses.a and its friends are not in /usr/lib. Not everything gets installed by default. http://cygwin.com/faq/faq-nochunks.html#faq.setup.what-packages Trying this: $ cygcheck -p libncurses.a shows that you need to install: libncurses-devel Many thanks. I should have known and just downloaded everything with 'ncurses' in the name. That has put the stuff in /usr/lib. Regards, Brian. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGP/dI84KuGfSFAYARAvTQAKC/X3N88QrQZnYWO7WbinpKdHRFzwCeJaun jpijSdp5qVod/8j+D6qeuQM= =YPEL -END PGP SIGNATURE- -- Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ. -- 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/
Using -mno-cygwin flag
I have had some success with using the -mno-cygwin flag, but this more complex case is failing. The code is mostly Fortran and all the Fortran routines compiles with the -mno-cygwin flag OK. However it uses some C routines which it puts in a library. The script for doing this, modified with the -mno-cygwin flag starts off with these errors:- Beginning the DDI compilation at Wed May 4 18:09:43 AUSCST 2005 Compiling common object: soc_create.o gcc -DLINUX -O3 -mno-cygwin -fstrict-aliasing -I./include -DDDI_SOC -DMAX_SMP_PROCS=8 -DMAX_NODES=32 -c ./src/soc_create.c -o ./obj/soc_create.o In file included from src/soc_create.c:21: include/mysystem.h:34:28: sys/resource.h: No such file or directory include/mysystem.h:73:23: pthread.h: No such file or directory include/mysystem.h:81:21: netdb.h: No such file or directory include/mysystem.h:82:26: sys/socket.h: No such file or directory include/mysystem.h:83:26: netinet/in.h: No such file or directory include/mysystem.h:84:27: netinet/tcp.h: No such file or directory Now I think it is looking in /usr/include/mimgw. Is that right? Before line 34 of mysystem.h there are several include files which are in /usr/include/mingw or /usr/include/mingw/sys. However the ones it flags above are not there, although they are in /usr/include or /usr/include/sys. Now, I did not install any of the mingw stuff deliberately. When I came to use -mno-cygwin, I found they were already there. However, am I missing something? Or is there another explanation of the above errors. Everything compiles OK without the -mno-cygwin flag and the code runs under cygwin fine. Regards to all, Brian. -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://members.iinet.net.au/~linden1/brian/ -- 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: Using -mno-cygwin flag
On Wed, May 04, 2005 at 03:00:37AM -0700, Brian Dessent wrote: Brian Salter-Duke wrote: Beginning the DDI compilation at Wed May 4 18:09:43 AUSCST 2005 Compiling common object: soc_create.o gcc -DLINUX -O3 -mno-cygwin -fstrict-aliasing -I./include -DDDI_SOC -DMAX_SMP_PROCS=8 -DMAX_NODES=32 -c ./src/soc_create.c -o ./obj/soc_create.o In file included from src/soc_create.c:21: include/mysystem.h:34:28: sys/resource.h: No such file or directory include/mysystem.h:73:23: pthread.h: No such file or directory include/mysystem.h:81:21: netdb.h: No such file or directory include/mysystem.h:82:26: sys/socket.h: No such file or directory include/mysystem.h:83:26: netinet/in.h: No such file or directory include/mysystem.h:84:27: netinet/tcp.h: No such file or directory This is working just the way it's supposed to. I don't think you fully understand what the -mno-cygwin flag means. Cygwin provides the unix/posix emulation layer, things like the berkeley sockets API and pthreads[*] that you are missing above. When you use -mno-cygwin, you are using a completely different compiler. Mingw has no emulation layer, that's the minimalist part. When you use mingw, you get a standard C runtime library (provided by MSVCRT, i.e. Windows), the bare win32 API, and not much else. No berkeley sockets. No pthreads. None of the stuff that Cygwin provides. -mno-cygwin does not just make things that doesn't depend on the cygwin DLL, it removes Cygwin from the equation entirely. I did understand that. If I understand you correctly, one can not use Mingw from inside cygwin to produce working code that uses sockets and pthreads. Is that correct? This code does use sockets and pthreads although I do not strictly need them as it is code that uses them to run in parallel and I only want to run on one processor. Oh well, I can still use it in cygwin. Thanks for your help. Brian. Brian [*] Yes I know of projects like pthreads-win32. But that's neither Cygwin nor mingw, really. --godpcjfpnnceejebejnh Content-Type: message/rfc822; name=cygwin.107248 Content-Disposition: attachment; filename=cygwin.107248 -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://members.iinet.net.au/~linden1/brian/ -- 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/
Where is source for dos2unix
Where is the source code for dos2unix? The executable is in the cygutils-1.2.7-1 tarball, but the source code is not in the cygutils-1.2.7-1-src tarball. Is this just an error with this version. Should I look in an earlier version of cygutils? -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia Phone 03-93992847. http://members.iinet.net.au/~linden1/brian/ -- 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: Fwd: Re: Printing postscript file
On Fri, Mar 29, 2002 at 01:53:38PM -0500, Christopher Faylor wrote: On Fri, Mar 29, 2002 at 01:49:22PM -0500, Larry Hall (RFK Partners, Inc) wrote: Date: Fri, 29 Mar 2002 13:43:18 -0500 To: Paul Dilip K NPRI [EMAIL PROTECTED] From: Larry Hall (RFK Partners, Inc) [EMAIL PROTECTED] Subject: Re: Printing postscript file Cc: [EMAIL PROTECTED] At 01:37 PM 3/29/2002, you wrote: I have a postscript graphics file draw.ps. If I give the command- notepad /p draw.ps- it prints few pages of postscript language text. I am sending the file to a postscript printer. Can anyone suggest please. Run the file through the ghostscript and send the output to the printer directly. Never mind. I misread the question... AFAICT, you might have thought that it had something to do with cygwin. I don't see how 'notepad /p' relates to cygwin at all. Because, as was discussed some time ago, it seems the only way some of us can print from cygwin. However, I will try Larry's idea of using lpr from cyutils. I thought I had lpr and it did not work, but it is the WINNT/system32/lpr. Brian. cgf --ppbjbjnakkkdfmngkang Content-Type: message/rfc822 Content-Disposition: inline; filename=cygwin.47443 -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia. Phone 08-89881600.Fax 08-89881302.http://lacebark.ntu.edu.au/ -- 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: Printing locally
On Mon, Mar 04, 2002 at 11:22:51AM -0500, Larry Hall (RFK Partners, Inc) wrote: At 07:24 PM 3/3/2002, Brian Salter-Duke wrote: On Sun, Mar 03, 2002 at 10:49:53AM -, fergus at bonhard dot uklinux dot net wrote: What about this? Any good? If the file a.txt is DOS terminated, try cp a.txt prn OR cat a.txt prn and if a.txt is Unix-terminated, try cat a.txt | unix2dos prn Fergus This was a good suggestion but it still does not work. It just does nothing as does directing the output to PRINT or LPT1. The file a.txt if put into Notepad either in dos or unix format prints fine. Hm, then there must be some issue locally. I have used both cat file.txt prn I have noticed that if you have the printer window open, it has a brief message saying the file has no name but is being spooled. Nothing prints. and cat file.txt //machine name/printer share name Does this work only if the printer is remote. I replaced machine name by BSALTERDUKE1 which is what the printer test page saying machine name is and printer share name by CanonBJC-1000SP which is what the same page says is the printer name. The printer is local. It reports that it can not find that node. with no problems in the past. If one or both of these don't work for you, you may be stuck trying to debug it. In anticipation of your next question, you might try running one or both of these with 'strace'. See strace --help for more details of the options. The output may give you an idea of where things are going wrong for you. I tried all sorts of options and got no output with any of them. I private message from someone else suggested:- notepad /p file.txt This works! Cheers, Brian. -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia. Phone 08-89881600.Fax 08-89881302.http://lacebark.ntu.edu.au/ -- 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: Printing locally.
On Sat, Mar 02, 2002 at 11:40:47PM -0500, David Means wrote: I don't have my cygwin machine handy, so I've got to ask: how about this: cat a.txt /cygdrive/c/WINNT/lpt1 that's probably not the ultimate solution, but does it work? No. It reports nothing and does nothing. There is nothing in any printer queue. PRINT a.txt reports that full path/a.txt is currently being printed, but again nothing happens and there is nothing in the queues. Thanks for the suggestion. I remain very puzzled. Brian. David On Sat, 2002-03-02 at 21:52, Brian Salter-Duke wrote: On Sat, Mar 02, 2002 at 02:45:57AM -0500, Paul McFerrin wrote: Brian: I used to be able to print from cygwin by refering to /dev/lpt1 -paul mcferrin There is no /dev directory! which lpt1 gives /cygdrive/c/WINNT/lpt1, but typing lpt1 file gives permission denied and looking in WINNT with Windows Explorer I do not find it. I'm even more puzzled. Cheers, Brian. [my original query about how to print to a local printer deleted.] -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia. Phone 08-89881600.Fax 08-89881302.http://lacebark.ntu.edu.au/ -- 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/ -- No trees were killed in the sending of this message. However, a large number of electrons were terribly inconvenienced. -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia. Phone 08-89881600.Fax 08-89881302.http://lacebark.ntu.edu.au/ -- 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: Printing locally
On Sun, Mar 03, 2002 at 10:49:53AM -, fergus at bonhard dot uklinux dot net wrote: What about this? Any good? If the file a.txt is DOS terminated, try cp a.txt prn OR cat a.txt prn and if a.txt is Unix-terminated, try cat a.txt | unix2dos prn Fergus This was a good suggestion but it still does not work. It just does nothing as does directing the output to PRINT or LPT1. The file a.txt if put into Notepad either in dos or unix format prints fine. Cheers, Brian. -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia. Phone 08-89881600.Fax 08-89881302.http://lacebark.ntu.edu.au/ -- 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/
Printing locally.
Gygwin is a great product and it allows me to do much unix work but on top of windows. I am essentially a unix person. Now I am trying to simply print text mutt mail messages to a local printer plugged into the back of my machine, which is running Windows2000. I have read the FAQ and searched the mailing list archives. Most of what I find refers to remote printing or clever stuff using a2ps etc. My problem is that I do not know how to refer to the printer. This is probably my lack of knowledge of Win2000. Here is the bit in the FAQ:- FAQAlternatively, on NT, you can use the Windows `print' command. (It does FAQnot seem to be available on Win9x.) Type FAQbash$ print /\? FAQfor usage instructions (note the `?' must be escaped from the shell). OK, I do this and get:- $ PRINT /\? Prints a text file. PRINT [/D:device] [[drive:][path]filename[...]] /D:device Specifies a print device. OK, so I have PRINT. If I type PRINT a.txt where a.txt is a simple text file, it says it has printed it, but nothing prints. What does /D:device mean? I can find nothing to help me on this. FAQFinally, you can simply `cat' the file to the printer's share name: FAQbash$ cat myfile //host/printer What does //host/printer mean? I have seen this with remote printing, but I just want to print to the default printer plugged into the back of my machine. It is called CanonBJC-1000SP. How do I refer to it? I would much appreciate some help on this point. Regards, Brian. -- Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Honorary Fellow in Chemistry, NT University, Darwin, NT 0909, Australia. Phone 08-89881600.Fax 08-89881302.http://lacebark.ntu.edu.au/ -- 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/
Mutt and iconv
The latest version of mutt in the unstable branch is 1.3.24. This is now beta and it is the recommended version to use. Could this be added to cygwin? It is much better than the old 1.2.5 version. I tried to compile it it but I do not have iconv. Even with --without-iconv on configure it fails because I do not have iconv. Is iconv part of gygwin and I just missed it? Or can I get it from somewhere else? Regards, Brian. -- Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847. http://www.smps.ntu.edu.au/ -- 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: can't link fortran executable
On Mon, Nov 05, 2001 at 07:39:51PM +0200, Andrey Khavryuchenko wrote: after an earlier post that contained:- $ g77 -o chngc.exe *.o [...] wrtrasmol.o: In function `wrtrasmol_': wrtrasmol.o(.text+0x35): undefined reference to `s_wsfe' wrtrasmol.o(.text+0x3d): undefined reference to `e_wsfe' wrtrasmol.o(.text+0x4a): undefined reference to `s_wsfe' wrtrasmol.o(.text+0x61): undefined reference to `do_fio' wrtrasmol.o(.text+0x69): undefined reference to `e_wsfe' wrtrasmol.o(.text+0x76): undefined reference to `s_wsfe' wrtrasmol.o(.text+0x8d): undefined reference to `do_fio' wrtrasmol.o(.text+0xa4): undefined reference to `do_fio' wrtrasmol.o(.text+0xac): undefined reference to `e_wsfe' wrtrasmol.o(.text+0xb9): undefined reference to `s_wsfe' wrtrasmol.o(.text+0xc1): undefined reference to `e_wsfe' wrtrasmol.o(.text+0x10c): undefined reference to `s_copy' wrtrasmol.o(.text+0x11c): undefined reference to `s_wsfe' wrtrasmol.o(.text+0x133): undefined reference to `do_fio' wrtrasmol.o(.text+0x154): undefined reference to `e_wsfe' wrtrasmol.o(.text+0x191): undefined reference to `do_fio' /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(main.o)(.text+0x38):main.c: undefined reference to `MAIN__' collect2: ld returned 1 exit status What's set up wrong? What's missing? Just noticed. Strange, but if I build using $ g77 -o chngc.exe *.f everything goes ok. Does anyone understand what is going on here. I have a very complex makefile for a very complex program. It gives the undefine MAIN error as above (not the others), but I have been able to link other complex situations. The solution of compiling all the *.f in one go is not really possible without a lot of work. The whole system and the makefiles are not designed that way. So I am stuck unless I can understand this. Regards, Brian. -- Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED] Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia. Phone 08-89466702. Fax 08-89466847. http://www.smps.ntu.edu.au/ -- 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/