1.3.9: setitimer/getitimer granularity
Hello folks, I want to poll some sockets other machines deliver data to. I have to wait a maximum amount of time until ALL sockets should have received an arbitrary amount of data, to put the incoming data into time slots. So I have to do subsequent poll()s or select()s, each with a timeout of the remaining time from the previous one. With Linux, I can use select() for this: it returns the time remaining. But the manpage stated this is not portable. I have tried to get the remaining time with setitimer/getitimer, but that doesn't seem to work with Cygwin. Anyway, with Linux, it works well. The code snippet is like below: #include #include int subsequent_poll(struct pollfd connections[], unsigned int connection_count, int timeout); { struct itimerval timer; unsigned int i; for(i=0;irevent=0; connections[i]->event=POLLIN; } timer.it_interval.tv_sec=0; timer.it_interval.tv_usec=0; timer.it_value.tv_sec=timeout / 1000; timer.it_value.tv_usec=(timeout-timer.it_value.tv_sec*1000)*1000; setitimer(ITIMER_REAL,&timer,NULL); poll(connections,connection_count,timeout); getitimer(ITIMER_REAL,&timer); return (timer.it_value.tv_sec * 1000 + timer.it_value.tv_usec / 1000); } The problem is, getimer returns only values which are a multiple of 1000(and, oddly, sometimes a value of -296), so the granularity is only one second. This happens for a value of timeout below or above 1000, all the same. Is there any way to get around this problem, or does select() in Cygwin works like in Linux? That will be portable enough for now. Thanks, Jan Kandziora -- 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/
setup.exe : latest snapshot
The latest snapshot of setup.exe setup-20020317.exe seems to be free of all the screen presentation problems that afflicted earlier versions in W98/SE. Is its size an accident or a necessary consequence of the cure? setup.exe218,112 setup-20020224.exe 353,792 setup-20020225.exe 354,816 setup-20020315.exe 355,328 setup-20020317.exe 3,326,321 Fergus -- 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: setup.exe : latest snapshot
[EMAIL PROTECTED] wrote: > > The latest snapshot of setup.exe setup-20020317.exe seems to be free of all > the screen presentation problems that afflicted earlier versions in W98/SE. > Is its size an accident or a necessary consequence of the cure? > That's an accident. Try downloading setup-20020317.exe again. $ ls -l setup*exe -rwxrwxrwx1 root None 354816 Feb 26 01:06 setup-20020225.exe -rwxrwxrwx1 root None 128512 Mar 15 18:57 setup-20020315-upx.exe -rwxrwxrwx1 root None 355328 Mar 15 18:57 setup-20020315.exe -rwxrwxrwx1 root None 355328 Mar 17 12:40 setup-20020317.exe -rwxrwxrwx1 root None 218112 Dec 20 17:31 setup.exe > setup.exe218,112 > > setup-20020224.exe 353,792 > setup-20020225.exe 354,816 > setup-20020315.exe 355,328 > > setup-20020317.exe 3,326,321 > > Fergus > > -- > 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/ -- Med venlig hilsen / Kind regards Hack Kampbjørn -- 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: setup.exe : latest snapshot
Hello fergus, Monday, March 18, 2002, 10:00:50 AM, you wrote: fbun> Is its size an accident or a necessary consequence of the cure? fbun> setup.exe218,112 fbun> setup-20020224.exe 353,792 fbun> setup-20020225.exe 354,816 fbun> setup-20020315.exe 355,328 fbun> setup-20020317.exe 3,326,321 Looks like the debugging info was not stripped... -- 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: autoconf-2.53-1
The autoconf package has been updated from version 2.52c-1 to version 2.53-1. Recall that this package is not the REAL autoconf. It's a set of wrapper scripts that call the REAL autoconf from autoconf-stable or autoconf-devel, depending on the needs of your target. See this message http://cygwin.com/ml/cygwin/2001-12/msg00100.html Changes: o Add an 'autom4te' wrapper to handle the corresponding program that is a new part of the "real" autoconf-2.53 o You don't need the "real" autoconf-2.53 to use this wrapper package. So don't worry that your autoconf-devel package is "only" at version 2.52-4. -- Chuck Wilson 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 'autoconf' from the 'Devel' category. You may need to click the "Full" button if it doesn't show up. 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. In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is already updated. In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. 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. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** To unsubscribe to 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: terminal is not fully functional ***Rootdir problems***
Howdy and thanks for the response! I have changed ROOTDIR so it is now "C:\cygwin" but I am still getting these problems: When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not my user directory) and some of my commands are not working. For example: Robert Mark Bram@DIJONG ~ $ pwd /cygdrive/c Robert Mark Bram@DIJONG ~ $ man ls | less WARNING: terminal is not fully functional - (press RETURN) Any other ideas please!!?? Rob :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Markebo Sent: Monday, 18 March 2002 6:48 PM To: Robert Mark Bram Cc: Cygwin Subject: Re: terminal is not fully functional ***Rootdir problems*** | So what do I do? It seems that both Rose and Cygwin want to use rootdir, and | Cygwin has a hard time using Rose's version. Well then set the global ROOTDIR to what cygwin want... And well if Rose doesn't like that.. blame rose ;-) Or edit the batch-file that fires up bash and set ROOTDIR to what cygwin wants there, or do it the other way around for Rose.. /Andy -- The eye of the beholder rests on the beauty! -- 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: terminal is not fully functional ***Rootdir problems***
/ "Robert Mark Bram" <[EMAIL PROTECTED]> wrote: | Howdy and thanks for the response! | | I have changed ROOTDIR so it is now "C:\cygwin" but I am still getting these | problems: BTW My rootdir isn't set to anything, try and not setting it. | When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not | my user directory) and some of my commands are not working. For example: | Robert Mark Bram@DIJONG ~ | $ pwd | /cygdrive/c Check the cygwin.bat file, I think you will see a cd there or something.. I think that you have to tell it to cd to your homedrive.. BTW Where is your 'homedrive'? | Robert Mark Bram@DIJONG ~ | $ man ls | less | WARNING: terminal is not fully functional | - (press RETURN) Hmm do a echo $TERM and see what it says.. /Andy -- The eye of the beholder rests on the beauty! -- 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: terminal is not fully functional ***Rootdir problems***
- Original Message - From: "Robert Mark Bram" <[EMAIL PROTECTED]> To: "Andrew Markebo" <[EMAIL PROTECTED]>; "Cygwin" <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 4:26 AM Subject: RE: terminal is not fully functional ***Rootdir problems*** > Howdy and thanks for the response! > > I have changed ROOTDIR so it is now "C:\cygwin" but I am still getting these > problems: > > When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not > my user directory) and some of my commands are not working. For example: > Robert Mark Bram@DIJONG ~ > $ pwd > /cygdrive/c > > Robert Mark Bram@DIJONG ~ > $ man ls | less > WARNING: terminal is not fully functional > - (press RETURN) > > > Any other ideas please!!?? > > Rob > :) I'm a Cygwin newbie, although a long time UNIX/Linux user, but here's an idea: check that you have ncurses cygcheck --check-setup | grep ncurses and maybe try reinstalling them libncurses5 5.2-1 libncurses6 5.2-8 ncurses 5.2-8 You could also check that `env | grep -i term` output makes sense to you HTH Oleg -- 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 start-up options
Hi I'm curious, how does everyone start cygwin? I use a shortcut "C:\cygwin\bin\rxvt.exe -sl 200 -fg white -bg black -geometry 110x43+0+0 -backspacekey ^H -fn 8x16 -e /bin/bash --login -i", starting in "C:\cygwin\bin" (the geometry matches my screen resolution) Is there a smarter/faster way to start cygwin? Thanks -- 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: copying and pasting in rxvt
On Sun, Mar 17, 2002 at 09:14:59PM -0500, Oleg wrote: > Hi > > How can I get copying and pasting to work in rxvt like it does under X? I > want to be able to slect text with the left button and paste it with the > middle button ("emulated" actually: I just press both left and right buttons > at the same time). I used to have it work on my other computer (laptop). The > setup seems to be identical, but it doesn't work now. Try putting: "\e[2~": paste-from-clipboard in your .inputrc. With this, copy/paste work perfectly in rxvt for me. Regards Lars Munch -- 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 start-up options
On Mon, Mar 18, 2002 at 04:57:36AM -0500, Oleg wrote: > Hi > > I'm curious, how does everyone start cygwin? I use a shortcut > "C:\cygwin\bin\rxvt.exe -sl 200 -fg white -bg black -geometry > 110x43+0+0 -backspacekey ^H -fn 8x16 -e /bin/bash --login -i", starting in > "C:\cygwin\bin" (the geometry matches my screen resolution) Is there a > smarter/faster way to start cygwin? I use the following in my shortcut: C:\cygwin\bin\run.exe C:\cygwin\bin\rxvt.exe -e /bin/bash --login -i And then I have this in my .Xresources (for rxvt) ! rxvt settings rxvt*font: 9x15 rxvt*cursorColor: MediumOrchid3 rxvt*background: grey15 rxvt*foreground: wheat3 rxvt*saveLines: 1500 rxvt*pointerColor: MediumOrchid3 rxvt*visualBell: off rxvt*scrollBar_right: true rxvt*colorBD: Yellow3 rxvt*colorUL: MediumOrchid3 rxvt*scrollColor: grey15 rxvt*troughColor: grey11 rxvt*termName: rxvt rxvt*modifier: mod1 ! color0 - color7 are normal colors. The defaults are, respectively ! black, red, green, yellow, blue, magenta, cyan, and white rxvt*color0: grey15 rxvt*color1: IndianRed rxvt*color2: MediumSeaGreen rxvt*color3: Yellow3 rxvt*color4: SteelBlue4 rxvt*color5: MediumOrchid3 rxvt*color6: Cyan3 rxvt*color7: White ! color8 - color 15 are bold colors if the bold attribute is enabled. ! The defaults are, respectively ! black, red, green, yellow, blue, magenta, cyan, and white rxvt*color8: grey15 rxvt*color9: IndianRed rxvt*color10: MediumSeaGreen rxvt*color11: Yellow3 rxvt*color12: SteelBlue4 rxvt*color13: MediumOrchid3 rxvt*color14: Cyan3 rxvt*color15: White Regards Lars Munch -- 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: terminal is not fully functional ***Rootdir problems***
Hi again Andrew! I have Cygwin DLL version 1.3.10 - I downloaded it only last week! > | I have changed ROOTDIR so it is now "C:\cygwin" but I am still getting these > | problems: > > BTW My rootdir isn't set to anything, try and not setting it. Tried this and it had no effect! >| When I run Cygwin it is putting me in a home directory of "/cygdrive/c" (not >| my user directory) and some of my commands are not working. For example: >| Robert Mark Bram@DIJONG ~ >| $ pwd >| /cygdrive/c > Check the cygwin.bat file, I think you will see a cd there or > something.. I think that you have to tell it to cd to your > homedrive.. cygwin.bat contents as follows: @echo off C: chdir \cygwin\bin bash --login -i But that bash login should change me to my home directory shouldn't it? > Where is your 'homedrive'? >From the output of set: HOME=/cygdrive/c HOMEDRIVE=C: HOMEPATH='\' HOSTNAME=DIJONG I found out that I am already beginning from the 'HOMEDRIVE'. I started a new prompt and got this output: Robert Mark Bram@DIJONG ~ $ PWD /cygdrive/c Robert Mark Bram@DIJONG ~ $ echo $HOMEDRIVE C: Robert Mark Bram@DIJONG ~ $ cd $HOMEDRIVE Robert Mark Bram@DIJONG ~ $ pwd /cygdrive/c Robert Mark Bram@DIJONG ~ $ > | Robert Mark Bram@DIJONG ~ > | $ man ls | less > | WARNING: terminal is not fully functional > | - (press RETURN) > Hmm do a echo $TERM and see what it says.. *** Here is something intereseting: Robert Mark Bram@DIJONG ~ $ echo $TERM nutc Robert Mark Bram@DIJONG ~ $ set | grep TERM TERM=nutc TERMCAP='C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap' TERMINFO='C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo' Robert Mark Bram@DIJONG ~ "nutc" is something Rational Rose changed - it installed a directory called "nutc" for itself. What should term be? Thank you once again for your help! Rob -- 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: terminal is not fully functional ***Rootdir problems***
Hi Oleg and thank you for your help! >I'm a Cygwin newbie, although a long time UNIX/Linux user, but here's an >idea: check that you have ncurses >cygcheck --check-setup | grep ncurses >and maybe try reinstalling them > >libncurses5 5.2-1 >libncurses6 5.2-8 >ncurses 5.2-8 I tried this, with the following output: Robert Mark Bram@DIJONG ~ $ cygcheck --check-setup | grep ncurses libncurses5 5.2-1 libncurses6 5.2-8 ncurses 5.2-8 Robert Mark Bram@DIJONG ~ $ What does ncurses do?? Creative error messages? :) > >You could also check that `env | grep -i term` output makes sense to you mm.. this seems to be where Andrew was pointing to as well: Robert Mark Bram@DIJONG ~ $ env | grep -i term TERMINFO=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo TERMCAP=C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\etc\termcap TERM=nutc Robert Mark Bram@DIJONG ~ $ Rational Rose has altered these variables for itself. It seems I have to claim them back, but what should I change them to? Rob :) -- 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: terminal is not fully functional ***Rootdir problems***
| | > Where is your 'homedrive'? | | >From the output of set: | HOME=/cygdrive/c | HOMEDRIVE=C: | HOMEPATH='\' | HOSTNAME=DIJONG Try to set HOME so it points to the place you want to have 'home'. Maybe you also need HOMEDRIVE and HOMEPATH set too, but I only think HOME. If you unset HOME, I think most cygwin stuff would go for the path in /etc/passwd [...] | > Hmm do a echo $TERM and see what it says.. | | *** Here is something intereseting: | | Robert Mark Bram@DIJONG ~ | $ echo $TERM | nutc Bingo, Rational probably sets the TERM environment variable in the global environment, either change it in your cygwin.bat (or wherever you fire up cygwin toold from) or remove the Rational settings. The problem is that when firing up bash, cygwin notices that TERM is already set, and therefore defaults to that instead of 'cygwin' as it wants. unset it in the batch file also.. You might need to finger with TERMCAP and TERMINFO, should be enuff unsetting them in the batch-file. /Andy -- The eye of the beholder rests on the beauty! -- 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: terminal is not fully functional ***Rootdir problems***
[...] | What does ncurses do?? Creative error messages? :) ncurses is library that replaces curses, generic interface for moving around the cursor in a text-terminal, drawing text-lines and so on. Works on many terminal-types. Not the problem here, well a bit of the problem could it be, ncurses doesn't know of the terminal nutc, so it bails out :-) [...] | Rational Rose has altered these variables for itself. It seems I have to | claim them back, but what should I change them to? Hmm don't think I gave a good quick answer in my long mail here comes, the variables you want to claim, set them to what you want them to be in your cygwin.bat, or what you fire up cygwin in.. Variables like TERM, HOME and so on, unset most of the variables Rational does.. /Andy -- The eye of the beholder rests on the beauty! -- 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: terminal is not fully functional ***Rootdir problems***
Perfect! Some massaging in the batch file and I can keep Rose happy too.. Thank you Andrew and Oleg for your advice! Rob :) -- 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: Installing from local directory -- trying to avoid massive duplication of effort
> -Original Message- > From: Phil Edwards [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 15, 2002 8:27 PM > To: Jesper Eskilson > Cc: [EMAIL PROTECTED] > Subject: Re: Installing from local directory -- trying to > avoid massive > duplication of effort > > > On Fri, Mar 15, 2002 at 08:48:01AM +0100, Jesper Eskilson wrote: > > I've been looking for this script. Come to papa! ;-) > > > > Won't this leave out the necessary updates to the registry? > Or does mount > > take care of that? > > The latter; the only entries in the registry are the mount points. Isn't there also entries in /etc/setup that may be needed to be able to update later on? (of course in case we would like to avoid full scripted re-install in case of upgrade or if someone need one more package). Bernard Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel:+33 (0) 1 47 68 80 80 Fax:+33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [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: Installing from local directory -- trying to avoid massive duplication of effort
> -Original Message- > From: Bernard Dautrevaux [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 12:27 AM > Isn't there also entries in /etc/setup that may be needed to > be able to update later on? (of course in case we would like > to avoid full scripted re-install in case of upgrade or if > someone need one more package). Yes, and thus the concept of a scriptable setup.exe Rob -- 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/
Newby startup problem - no telnet
I have installed Cygwin as per the user guide, run startxwin.sh as instructed and got the expected gui showing. However, I can't connect to any remote boxes because I don't have either telnet (in /usr/bin) or ssh. Any ideas what I might have missed during the installation? Cheers, Alyn. Alyn W. Ashworth Emphasys Computer Consultants Ltd.
Re: Newby startup problem - no telnet
/ "Alyn Ashworth" <[EMAIL PROTECTED]> wrote: | I have installed Cygwin as per the user guide, run startxwin.sh as instructed and |got the expected gui showing. However, I can't connect to any remote boxes because I |don't have either telnet (in /usr/bin) or ssh. | | Any ideas what I might have missed during the installation? You missed installing the cygwin openssh package. /Andy -- The eye of the beholder rests on the beauty! -- 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: copying and pasting in rxvt
On Sun, Mar 17, 2002 at 09:14:59PM -0500, Oleg wrote: > Hi > > How can I get copying and pasting to work in rxvt like it does under X? I > want to be able to slect text with the left button and paste it with the > middle button ("emulated" actually: I just press both left and right buttons > at the same time). I used to have it work on my other computer (laptop). The > setup seems to be identical, but it doesn't work now. The emulated 3rd button only works if you massage the configuration files to do this (like linux system installers do). Otherwise you might like to try Shift-Left Click. (BTW, if you've got a wheel mouse, the wheel counts as a 3rd button.) __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.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/
Start up script
Hi all! Today I have spent a few hours debugging cygwin.bat which starts up Cygwin and runs DOS commands. How can I set up a starting script that will be run in Cygwin? Thanks! Rob :) :-} ;-> -- 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 start-up options
Oleg, Montag, 18. März 2002 15:32:41, du schriebst: > I'm curious, how does everyone start cygwin? I use a shortcut > "C:\cygwin\bin\rxvt.exe -sl 200 -fg white -bg black -geometry > 110x43+0+0 -backspacekey ^H -fn 8x16 -e /bin/bash --login -i", starting in > "C:\cygwin\bin" (the geometry matches my screen resolution) Is there a > smarter/faster way to start cygwin? Faster: "C:\cygwin\bin\bash --login -i" , starting in "C:\cygwin\bin" Smarter: No. Gerrit -- $ make signature make: *** No rule to make target `signature'. Stop. -- 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: copying and pasting in rxvt
Lars, Montag, 18. März 2002 15:37:33, du schriebst: >> How can I get copying and pasting to work in rxvt like it does under X? I >> want to be able to slect text with the left button and paste it with the >> middle button ("emulated" actually: I just press both left and right buttons >> at the same time). I used to have it work on my other computer (laptop). The >> setup seems to be identical, but it doesn't work now. > Try putting: > "\e[2~": paste-from-clipboard > in your .inputrc. But this belongs to the 'insert' key on the keyboard. Cut&Paste with mouse is built in rxvt, double-click/triple-click to copy word/line to the clipboard, left click somewhere and following right-click to mark the whole area (and immediately copit to the clipboard) and to paste (or with the above entry in .inputrc) And while editing .inputrc, consider to add some more goodies: $ cat .inputrc # This file is read by the 'readline' library # (the library which bash uses for its command- # line editing facility) # Make Home work "\e[7~": beginning-of-line # Make End work "\e[8~": end-of-line # Make Delete work "\e[3~": delete-char # make Insert work "\e[2~": paste-from-clipboard Gerrit -- $ make signature make: *** No rule to make target `signature'. Stop. -- 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: Start up script
At 09:28 AM 3/18/2002, Robert Mark Bram wrote: >Hi all! > >Today I have spent a few hours debugging cygwin.bat which starts up Cygwin >and runs DOS commands. > >How can I set up a starting script that will be run in Cygwin? > >Thanks! > >Rob Check out documentation on bash (i.e. man bash). It describes all the script files bash looks at. Documentation is your friend. :-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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 start-up options
"Gerrit P. Haase" <[EMAIL PROTECTED]> writes: > Faster: "C:\cygwin\bin\bash --login -i" , starting in "C:\cygwin\bin" > Smarter: No. Smarter: ssh fred@doos. You don't need to get-up and walk over to the windows box (not even be at same site the windows box is at). You get to keep your favourite, programmable window manager. :-) 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: Start up script
| How can I set up a starting script that will be run in Cygwin? Eh exactly what do you want?? A starting script that will be run in cygwin, you mean you want to doubleclick a .sh file and it will be thrown on bash?? Or?? /Andy -- The eye of the beholder rests on the beauty! -- 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: Installing from local directory -- trying to avoid massive du plication of effort
On Mon, Mar 18, 2002 at 02:27:15PM +0100, Bernard Dautrevaux wrote: >> On Fri, Mar 15, 2002 at 08:48:01AM +0100, Jesper Eskilson wrote: >> > I've been looking for this script. Come to papa! ;-) >> > >> > Won't this leave out the necessary updates to the registry? >> Or does mount >> > take care of that? >> >> The latter; the only entries in the registry are the mount points. > >Isn't there also entries in /etc/setup that may be needed to be able to >update later on? (of course in case we would like to avoid full scripted >re-install in case of upgrade or if someone need one more package). If you are going to actually use *setup* to update things later, then, yes. Again, as I keep saying, over and over and over, this isn't brain surgery. You could create the entries in /etc/setup with a shell script, too. I'm trying to dispell the myth that setup is doing anything magical that couldn't be done with normal utilities. The things that setup buys you are a gui front-end, dependency checking, and automatic downloading. If you just need to repeatedly install a standard bunch of packages, you don't need to do any of that. cgf -- Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.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: terminal is not fully functional ***Rootdir problems***
On Mon, Mar 18, 2002 at 04:37:18PM +1100, Robert Mark Bram wrote: >Howdy all! > >I am running Cygwin on Win2K and I have also installed Rational Rose. > >When installed, Rational Rose changed my rootdir variable to this: >ROOTDIR='C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT' Cygwin does not use the ROOTDIR environment variable. I don't know why you think it does. cgf -- Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.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: splint on Cygwin?
David, Montag, 18. März 2002 16:10:05, du schriebst: >> I want to build it on Cygwin, would be nice to have here;) >> >> I'm getting this error during compiletime: >> >> make[3]: Entering directory `/splint-3.0.1.6/src' >> grep "FLG_" flags.def > Headers/flag_codes.gen > It looks like this step to build flag_codes.gen isn't working. The file > Headers/flag_codes.gen should contain: > FLG_NULL, > FLG_NULLDEREF, [...] It is working, I found that a second compile (after deleting the executable, no make clean) it compiles without errors. Maybe a problem with the timing, I have two processors and add -j3 to the make flags to make use of both of them. However after compiling again I get lots of segmentation faults. Most of them with this error: *** Segmentation Violation *** Location (not trusted): Command Line *** Last code point: llmain.c:1165 *** Previous code point: llmain.c:902 *** Please report bug to [EMAIL PROTECTED] But also some other places: > *** Segmentation Violation > *** Location (not trusted): alias.lcl:9:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] > > *** Segmentation Violation > *** Location (not trusted): alias2.lcl:6:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] > > *** Segmentation Violation > *** Location (not trusted): alias3.lcl:14:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] > > *** Segmentation Violation > *** Location (not trusted): alias4.lcl:12:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] > > *** Segmentation Violation > *** Location (not trusted): alias4.lcl:12:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] > > *** Segmentation Violation > *** Location (not trusted): alias5.lcl:10:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] *** FAIL *** And: > *** Segmentation Violation > *** Location (not trusted): args.lcl:8:1 > *** Last code point: lcltokentable.c:55 > *** Previous code point: lcltokentable.c:55 > *** Please report bug to [EMAIL PROTECTED] *** FAIL *** and some more with lcltokentable.c. Maybe the stack is too small? We have 2MB here. Gerrit -- $ make signature make: *** No rule to make target `signature'. Stop. -- 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: cURL 7.9.5-1
cURL has been updated to version 7.9.5-1. There are a few new or updated features, as well as a whole host of bugfixes in this version. There was no cygwin release of version 7.9.4, due to some bugs discovered within hours of that version's release. Complete release announcements with details are on the curl website: 7.9.4: http://curl.haxx.se/mail/archive-2002-02/0011.html 7.9.5: http://curl.haxx.se/mail/archive-2002-03/0052.html -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- To update your installation, click on the "Install Cygwin now" link on the http://sources.redhat.com/cygwin/ web page. This downloads setup.exe to your system. Then, run setup and answer all questions. Note that downloads are not allowed from sources.redhat.com (a.k.a. cygwin.com) due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, mirrors.rcn.net is already up-to-date. This is a reliable and high-bandwidth mirror site. Anywhere else, please select something appropriate from the list of mirror sites included with setup.exe. If your choice doesn't have the latest version of this package, you can either wait for the site to be updated or select another mirror. If you have questions or comments, please send them to the Cygwin mailing list: <[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] -- Kevin Roth -- 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: terminal is not fully functional
Robert, Montag, 18. März 2002 16:53:54, du schriebst: > start button | > settings | > control panel | > passwords and users | > clicked on my id | > properties | > changed my username from "Robert Mark Bram" to "RobertMarkBram". Hmmm, Windows is a little picky about changes... > I noticed that when I rebooted and started up Cygwin, it still put me in a > home directory of /Robert Mark Bram. Have you regenerated your /etc/passwd file? > Now when I run Cygwin it is putting me in a directory "/cygdrive/c" and some > of my commands are not working. For example: > Robert Mark Bram@DIJONG ~ > $ pwd > /cygdrive/c That is because this is your HOMEPATH setting somewhere in windows. Try adding s.th. like this to /etc/profile: unset HOME unset HOMEPATH at the beginning after the PATH declaration. > Robert Mark Bram@DIJONG ~ > $ man ls | less > WARNING: terminal is not fully functional > - (press RETURN) Hmmm. No idea. Move all your stuff from /home/Robert Mark Bram to /home/RobertMarkBram, regenerate /etc/passwd: $ mkpasswd -l > /etc/passwd or $ mkpasswd -d > /etc/passwd Gerrit -- $ make signature make: *** No rule to make target `signature'. Stop. -- 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: copying and pasting in rxvt
Hi Gerrit, ># Make Home work >"\e[7~": beginning-of-line ># Make End work >"\e[8~": end-of-line ># Make Delete work >"\e[3~": delete-char ># make Insert work >"\e[2~": paste-from-clipboard is there any documentation for the key mappings ? I tried without success to bind something to ALT+CurUp or ALT+CurDown. Even more, is there any way identifying the keys of the number block ? 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: copying and pasting in rxvt
Jorg, Here's what I did: I used "od -c" to determine what are the actual sequences generated by the keys I cared to map and then wrote a .inputrc file based on that. Here's a hint, RXVT and the Windows console do not agree fully on key mappings (nor are the completely distinct). Here's the ".inputrc" file I use. It works both with RXVT and the Windows console: -==--==--==--==--==--==--==--==- # set completion-ignore-case on # Console: # F1 - F5 "\M-[[A""fg %1\C-M" "\M-[[B""fg %2\C-M" "\M-[[C""fg %3\C-M" "\M-[[D""fg %4\C-M" "\M-[[E""fg %5\C-M" # RXVT: # F1 - F4 "\M-[11~" "fg %1\C-M" "\M-[12~" "fg %2\C-M" "\M-[13~" "fg %3\C-M" "\M-[14~" "fg %4\C-M" "\M-[15~" "fg %5\C-M" # Both Console and RXVT: # F6 - F12 "\M-[17~" "fg %6\C-M" "\M-[18~" "fg %7\C-M" "\M-[19~" "fg %8\C-M" "\M-[20~" "fg %9\C-M" "\M-[21~" "fg %10\C-M" "\M-[23~" "fg %11\C-M" "\M-[24~" "fg %-\C-M" # Console: "\M-[1~": beginning-of-line # Home "\M-[4~": end-of-line # End # RXVT: "\M-[7~": beginning-of-line # Home "\M-[8~": end-of-line # End # Both Console and RXVT: "\M-[2~": paste-from-clipboard# Insert # "\M-[5~"# Page-Up "\M-[3~": delete-char # Delete # "\M-[6~"# Page-Down -==--==--==--==--==--==--==--==- The attachment is the same file in Unix EOL format with tabs intact. The tabs are meant to be set at four-column intervals. I suppose most people will find my use of the Fn keys unimaginative, but at least you now know what sequences they generate on each emulator. Randall Schulz Mountain View, CA USA At 08:19 2002-03-18, =?ISO-8859-15?Q?=22Schaible=2C_J=F6rg=22?= wrote: >Hi Gerrit, > > ># Make Home work > >"\e[7~": beginning-of-line > ># Make End work > >"\e[8~": end-of-line > ># Make Delete work > >"\e[3~": delete-char > ># make Insert work > >"\e[2~": paste-from-clipboard > >is there any documentation for the key mappings ? I tried without success >to bind something to ALT+CurUp or ALT+CurDown. Even more, is there any way >identifying the keys of the number block? > >Regards, >Jörg .inputrc 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: Telneting/ftping to cygwin
On Mon, Mar 11, 2002 at 01:54:48PM +, David Starks-Browning wrote: >On Monday 11 Mar 02, Corinna Vinschen writes: >> On Mon, Mar 11, 2002 at 10:18:47AM +, John Beranek wrote: >> > Corinna Vinschen wrote: >> > >On Fri, Mar 08, 2002 at 04:05:01PM +, Don Sharp wrote: >> > > >> > >>I can confirm that there is a problem. I telnetted from a linux box to >> > >>my cygwin on NT4 setup which has an up to date cygwin1.dll (see cygcheck >> > >>output) >> > >> >> > >>On the cygwin side I get a pop-up >> > >> >> > >>bash.exe "The application failed to initialise properly (0x022) > >> Well, a "me too" isn't actually helpful. Helpful would be if >> somebody who has that problem would debug that. Gdb and strace >> are your friend. > >I have the same problem. I notice it's only been reported on NT 4. >Corinna and Chris, are you unable to reproduce it on NT4, or are you >not running NT 4? It just occurred to me that this could be a protection problem, either with the cygwin DLL or with one of the executables that are being run. Do you have the same problem when you type in a command window: set CYGWIN=ntsec bash ls -l /bin/cygwin1.dll ? You should see that cygwin1.dll is executable in this scenario. 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: Telneting/ftping to cygwin
I was having this problem too. After carefully read the inetutil.readme file, I followed the instruction and inserted the required registry key and granted the required priviledges to the user. Then the telnet work perfectly and no more "failed to init". Hope this help. Nemo. At 01:08 AM 3/19/2002, you wrote: >On Mon, Mar 11, 2002 at 01:54:48PM +, David Starks-Browning wrote: > >On Monday 11 Mar 02, Corinna Vinschen writes: > >> On Mon, Mar 11, 2002 at 10:18:47AM +, John Beranek wrote: > >> > Corinna Vinschen wrote: > >> > >On Fri, Mar 08, 2002 at 04:05:01PM +, Don Sharp wrote: > >> > > > >> > >>I can confirm that there is a problem. I telnetted from a linux box to > >> > >>my cygwin on NT4 setup which has an up to date cygwin1.dll (see > cygcheck > >> > >>output) > >> > >> > >> > >>On the cygwin side I get a pop-up > >> > >> > >> > >>bash.exe "The application failed to initialise properly (0x022) > > > >> Well, a "me too" isn't actually helpful. Helpful would be if > >> somebody who has that problem would debug that. Gdb and strace > >> are your friend. > > > >I have the same problem. I notice it's only been reported on NT 4. > >Corinna and Chris, are you unable to reproduce it on NT4, or are you > >not running NT 4? > >It just occurred to me that this could be a protection problem, either >with the cygwin DLL or with one of the executables that are being run. > >Do you have the same problem when you type in a command window: > > set CYGWIN=ntsec > bash > ls -l /bin/cygwin1.dll > >? > >You should see that cygwin1.dll is executable in this scenario. > >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/ -- 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: copying and pasting in rxvt
Jörg, Montag, 18. März 2002 18:58:50, du schriebst: > Hi Gerrit, >># Make Home work >>"\e[7~": beginning-of-line >># Make End work >>"\e[8~": end-of-line >># Make Delete work >>"\e[3~": delete-char >># make Insert work >>"\e[2~": paste-from-clipboard > is there any documentation for the key mappings ? I tried without success to > bind something to ALT+CurUp or ALT+CurDown. Even more, is there any way > identifying the keys of the number block ? man readline (though e.g. paste-from-clipboard is not in there IIRC). 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/
login account is "Administrator" not "username"
I am logged in as user "jdoe" and have administrator rights on a WinNT box. I installed the most recent stable cygwin on this box (logged in as user "jdoe"), usable for "all". However, the cygwin shell tells me: ~ $ whoami Administrator and gives me the following environment variable settings: USER=Administrator USERNAME=jdoe and consequently: ~ $ pwd /home/Administrator Obviously cygwin logs me in as "Administrator" instead of "jdoe", even though I logged in as user jdoe under WinNT (USERNAME=jdoe in a DOS box). Is there a way to change/avoid this? I tried installing cygwin as "usable only for me" but it's just the same. I've tried the registry, FAQ and mailing list archives to no avail. A problem arises when I use cvs for example, as it gets my username from the env variable USER and all my files get checked in from user "Administrator" as opposed to "jdoe". I could of course hack around this, but maybe there is a simpler solution? Thanks for any help, Michael -- 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: login account is "Administrator" not "username"
Look at the file /etc/passwd. Is your jdoe username in there? If you are in a windows NT domain, and jdoe is a domain user, you will need to type "mkpasswd -u jdoe >> /etc/passwd" from a bash shell to create an entry for jdoe. Alternately you can use "mkpasswd -d >> /etc/passwd" to populate the passwd file with all domain users. HTH, Peter Bleyer, Michael wrote: > I am logged in as user "jdoe" and have administrator rights on a WinNT box. > I installed the most recent stable cygwin on this box (logged in as user > "jdoe"), usable for "all". > > However, the cygwin shell tells me: > ~ $ whoami > Administrator > > and gives me the following environment variable settings: > USER=Administrator > USERNAME=jdoe > > and consequently: > ~ $ pwd > /home/Administrator > > > Obviously cygwin logs me in as "Administrator" instead of "jdoe", even > though I logged in as user jdoe under WinNT > (USERNAME=jdoe in a DOS box). > Is there a way to change/avoid this? I tried installing cygwin as "usable > only for me" but it's just the same. > I've tried the registry, FAQ and mailing list archives to no avail. > > A problem arises when I use cvs for example, as it gets my username from the > env variable USER and all my files get checked in from user "Administrator" > as opposed to "jdoe". I could of course hack around this, but maybe there is > a simpler solution? > > Thanks for any help, > Michael > > > > -- > 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/
debugging an rm/sh/make/cygwin corner case
I am hoping some people can give me ideas on how to debug a problem I am having with rm when invoked from cygwin's make.exe, which is using sh as its shell. Basically, when I call "rm -r -f" from a makefile, it gives me errors about "Permission Denied, Directory Not Empty". This is the same error that I get when I try to manually rm a directory when I have a separate shell cd'd there. I think that somehow make or sh are cd'ed into the directory I am trying to rm, so it cannot be removed. I am a newbie at debugging, so I am looking for specific ideas to try to narrow down the problem to one particular thing; i.e. sh, make, rm, or cygwin1.dll. I have tried replacing rm and the cygwin1.dll with different versions, but I get the same error. I also tried replacing sh with bash, same error. I plan on trying different versions of make and sh, but if anyone can suggest what to strace or which files I can plug printfs into, I would really appreciate it. TIA, Peter -- 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: login account is "Administrator" not "username"
> -Original Message- > From: Bleyer, Michael [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 18, 2002 7:13 PM > To: '[EMAIL PROTECTED]' > Subject: login account is "Administrator" not "username" > > > > I am logged in as user "jdoe" and have administrator rights > on a WinNT box. > I installed the most recent stable cygwin on this box (logged > in as user > "jdoe"), usable for "all". > > However, the cygwin shell tells me: > ~ $ whoami > Administrator > > and gives me the following environment variable settings: > USER=Administrator > USERNAME=jdoe If you are on NT and logged in as Domain user (not a local user) this may be related to the /etc/passwd setting. As already discussed on this list you get strange results when logged in as a Domain user if you keep th enormal /etc/passwd and /etc/group files as created initially by Cygwin. You *must* in this case be sure you have an entry for your user/group in the proper files. For that there is two solutions: 1) You have a relatively small NT Domain (less than a thousand user perhaps) and you can simply do: $ mkpasswd -d -l > /etc/passwd $ mkgroup -d -l > /etc/group This will last for a minute or so (for about 100 entries it takes less than 10 seconds) and you should be up and running. 2) You have a *huge* NT Domain; then just create the entries needed in /etc/passwd (/etc/group should be sufficiently small to be created normally): $ mkgroup -d -l > /etc/group $ mkpasswd -l > /etc/passwd $ mkpasswd -u jdoe -d >> /etc/passwd > > and consequently: > ~ $ pwd > /home/Administrator > Here you should then get your normal NT home (%HOMEDRIVE%%HOMEPATH%) > > Obviously cygwin logs me in as "Administrator" instead of "jdoe", even > though I logged in as user jdoe under WinNT > (USERNAME=jdoe in a DOS box). > Is there a way to change/avoid this? I tried installing > cygwin as "usable > only for me" but it's just the same. > I've tried the registry, FAQ and mailing list archives to no avail. > > A problem arises when I use cvs for example, as it gets my > username from the > env variable USER and all my files get checked in from user > "Administrator" > as opposed to "jdoe". I could of course hack around this, but > maybe there is > a simpler solution? > > Thanks for any help, You're welcome Bernard Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel:+33 (0) 1 47 68 80 80 Fax:+33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [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: debugging an rm/sh/make/cygwin corner case
At 01:18 PM 3/18/2002, Peter Buckley wrote: >I am hoping some people can give me ideas on how to debug a problem I am having with >rm when invoked from cygwin's make.exe, which is using sh as its shell. Basically, >when I call "rm -r -f" from a makefile, it gives me errors about "Permission Denied, >Directory Not Empty". This is the same error that I get when I try to manually rm a >directory when I have a separate shell cd'd there. I think that somehow make or sh >are cd'ed into the directory I am trying to rm, so it cannot be removed. > >I am a newbie at debugging, so I am looking for specific ideas to try to narrow down >the problem to one particular thing; i.e. sh, make, rm, or cygwin1.dll. I have tried >replacing rm and the cygwin1.dll with different versions, but I get the same error. I >also tried replacing sh with bash, same error. I plan on trying different versions of >make and sh, but if anyone can suggest what to strace or which files I can plug >printfs into, I would really appreciate it. Have you tried creating the smallest makefile that will reproduce the problem and then running that under strace? Make sure nothing else (not even a Windows process) has the directory open. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/
sendmsg problems
So I'm trying to work out a way to have socket passing using DuplicateHandle. Unfortunately I don't think that sendmsg works correctly. I use socketpair to create a pair of connected Unix Domain sockets. Then I fork. Then I create a socket which I want to pass to the child. But when I call sendmsg on the original socketpair thing it returns -1, a Bad Address. I don't set msg_name in the msghdr because the socket is already connected. So I went into the sources and sure enough sendmsg is implemented by calling sendto using the msg_name that's being passed, and since message name is null the call dies. I know that calling sendmsg, on a socketpair after a fork, with no name works on Unix. Is there any way around this? Thanks, David Euresti -- 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/
cygrunsrv && win2k service failure actions
Windows 2000 has added "service failure actions" that can be taken when a service fails. Details are available at http://www.win2000mag.com/Articles/Print.cfm?ArticleID=8943 and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2k/html/shc.asp I would find it helpful to be able to use the failure actions (and will write code to do so), but have a couple stumbling blocks in my way. The first problem has to do with the fact that various structures and functions are not defined in . It is missing (at least) the macros LPSERVICE_FAILURE_ACTIONS and SERVUCE_CONFIG_FAILURE_ACTIONS; and the function prototypes for QueryServiceConfig2() and ChangeServiceConfig2(). It looks as though I can define those in and be done with it. Is there other glue code that needs to go into a DLL somewhere to bridge over to the Windows DLL's? The second problem has to do with portability. Since the service failure actions are new to Win2k's SCM, what is the recommended method for ensuring compatibility within cygrunsrv.exe? Do we need a new cygrunsrv2.exe that implements these new interfaces? Or is there a graceful way to make it so that the same executables and DLL's can be used on NT4 and 2000 with NT4 just returning an error when the functions are called? Thanks much for any guidance, Mike -- 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: login account is "Administrator" not "username"
Thanx for your quick advice (it works). May I suggest an extension (add to FAQ?): change the batch file cygwin.bat as follows: ### snip ### @echo off C: chdir \cygwin bin\grep -q %USERNAME%: etc\passwd IF ERRORLEVEL 1 GOTO setuppass goto start :setuppass bin\mkpasswd -l > etc\passwd bin\mkpasswd -d | grep %USERNAME% >> etc\passwd :start chdir \cygwin\bin bash --login -i ### snap ### This checks if the WinNT domain USERNAME is already in the passwd file. If not, it gets appended. So this works automatically even with a user switching machines (first time login) without the necessity to add all domain users to every machine. Of course in big domains mkpasswd -d causes a delay, but that will only happen once during first-time login. Alternatively, how about an option/script that runs from setup.exe, by default asking to add the current WinNT user to the passwd file? greetings, Michael -- 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/
cron usage...
Hello, Sorry to bother you, but I am trying to get cron to work on my Windows 2000 machine. I installed cron as instructed here: http://www.cygwin.com/ml/cygwin-announce/2001/msg00077.html which was: cygrunsrv -I cron -p /usr/sbin/cron -a -D My $(id) was: uid=500(Administrator) gid=513(None) groups=513(None) If I now go to services, "cron" is listed as a service, but is not running. When I try to start it, I get an error from the Microsoft Management Console: "Could not start the cron service on Local Computer. The service did not return an error. This could be an internal Windows error or an internal service error. If the problem persists, contact your system administrator." Do you have any suggestions for how to get cron working? I would really appreciate it. Thank you, Christopher Paulicka [EMAIL PROTECTED] = [EMAIL PROTECTED] Artifex in Batik Group Hewlett-Packard EPS EMSO 1501 Page Mill Road, 1603 (6L-W61) Palo Alto, CA 94305 Phone: (650)857-2336 Fax: (650)852-8061 __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.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/
Any chance of upping MAX_DELQUEUES_PENDING?
Why is MAX_DELQUEUES_PENDING set only to 100? Sometimes I want to delete more than 100 files (quite often in fact). Any good reason for this or is it an arbitary limit? If so, could it be upped to something a bit larger please? It seems the current limit of 100 was chosen arbitarily by Geoffrey Noer in 1998. Just out of curiosity, why is there a deletion queue in the first place? Also, Geoffrey mentions that having an array of a fixed size is bad in the FIXME comment at the top of delqueue.cc. Is there any reason this has not been re-implemented as a linked list (for example), yet? (other than lack of contributors to do it) Chris -- 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: Any chance of upping MAX_DELQUEUES_PENDING?
At 04:22 PM 3/18/2002, Chris January wrote: >Why is MAX_DELQUEUES_PENDING set only to 100? Sometimes I want to delete >more than 100 files (quite often in fact). Any good reason for this or is it >an arbitary limit? If so, could it be upped to something a bit larger >please? >It seems the current limit of 100 was chosen arbitarily by Geoffrey Noer in >1998. >Just out of curiosity, why is there a deletion queue in the first place? >Also, Geoffrey mentions that having an array of a fixed size is bad in the >FIXME comment at the top of delqueue.cc. Is there any reason this has not >been re-implemented as a linked list (for example), yet? (other than lack of >contributors to do it) See the FAQ entry: Why do I get a message saying Out of Queue slots? http://cygwin.com/faq/faq_4.html#SEC65 It's an oldie but a goodie! ;-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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: Any chance of upping MAX_DELQUEUES_PENDING?
On Mon, Mar 18, 2002 at 09:22:43PM -, Chris January wrote: >Why is MAX_DELQUEUES_PENDING set only to 100? Sometimes I want to delete >more than 100 files (quite often in fact). Any good reason for this or is it >an arbitary limit? If so, could it be upped to something a bit larger >please? >It seems the current limit of 100 was chosen arbitarily by Geoffrey Noer in >1998. >Just out of curiosity, why is there a deletion queue in the first place? >Also, Geoffrey mentions that having an array of a fixed size is bad in the >FIXME comment at the top of delqueue.cc. Is there any reason this has not >been re-implemented as a linked list (for example), yet? (other than lack of >contributors to do it) Actually this should be handled by the new cygwin daemon code in the future. Currently, setting up the limit means increasing the size of cygwin's shared memory region. If you read the reference that Larry provided, you'll see that this queue is only used in specific cases. It isn't used for every deletion. Check out the code in unlink() for details. 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: input stream crash with gcc 3.1
> I have recently compiled the latest 3.1 branch (grabbed directly via cvs) > for cygwin (1.3.9) and am having problems when using anything related at > all > to input streams. See this: http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00841.html then try rebuilding libstdc++ with #define _GLIBCPP_AVOID_FSEEK added to /libstdc++-v3/config/os/newlib/bits/os_defines.h Danny http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool. -- 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/
termcap problem in RXVT?
I have installed CygWin on numerous machines using teh nice setup program at cygwin.com. Recently, however, I have installed CygWin on two machines (one a W2K machine and the other a Win98SE machine) and when I tried to run rxvt I got strange behavior for the prompt. If I bring up a bash shell immediately after installing, then type "rxvt" at the bash prompt, this is what shows up in the rxvt console: --- start --- \[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ --- end --- I am at a loss to explain what to do. This has not happened to me in prior cygwin installs. I checked the FAQ and the mailing list archives for March, but could not find any reference to anything new that should have caused this. Jon <> 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/
proftpd and fetchmail on cygwin?
Hello, Has anyone tried the above two apps on the latest cygwin? If so, how did you get them to work? Thanks. Dave. -- 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: termcap problem in RXVT?
Jon, For whatever reason, you've managed to invoke /bin/sh (ash) instead of BASH in the RXVT emulator context. Ash doesn't interpret the escape sequences in the PS1 variable set up by /etc/profile to make the prompt conform to someone's idea of utility and aesthetic merit. I don't know why on this machine you're getting a different shell than on the others, but I'd investigate spurious or extraneous settings of the SHELL environment variable, possibly originating at the Windows system level. Randall Schulz Mountain View, CA USA At 15:20 2002-03-18, BERNDT, JON wrote: >I have installed CygWin on numerous machines using teh nice setup program >at cygwin.com. Recently, however, I have installed CygWin on two machines >(one a W2K machine and the other a Win98SE machine) and when I tried to >run rxvt I got strange behavior for the prompt. If I bring up a bash shell >immediately after installing, then type "rxvt" at the bash prompt, this is >what shows up in the rxvt console: > >--- start --- >\[\033]0;\w\007 >\033[32m\]\u@\h \[\033[33m\w\033[0m\] >$ >--- end --- > >I am at a loss to explain what to do. This has not happened to me in prior >cygwin installs. I checked the FAQ and the mailing list archives for >March, but could not find any reference to anything new that should have >caused this. > >Jon -- 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/
Live Life to the Fullest! Secrets revealed...
I'll make you a promise. READ THIS E-MAIL TO THE END! - follow what it says to the letter - and you will not worry whether a RECESSION is coming or not, who is President, or whether you keep your current job or not. Yes, I know what you are thinking. I never responded to one of these before either. One day though, something just said "you throw away $25.00 going to a movie for 2 hours with your girlfriend". "What the heck." Read on. It's true. Every word of it. It is legal. I checked. Simply because you are buying and selling something of value. Order with in two weeks and get 2 bulk E-mail programs free!!! AS SEEN ON NATIONAL TV: Making over half million dollars every 4 to 5 months from your home. THANK'S TO THE COMPUTER AGE AND THE INTERNET ! == BE AN INTERNET MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say ''Bull'', please read the following. This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet, a national weekly news program recently devoted an entire show to the investigation of this program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are ''absolutely NO Laws prohibiting the participation in the program and if people can "follow the simple instruction" they are bound to make some mega bucks with only $25 out of pocket cost''. DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER. This is what one had to say: '' Thanks to this profitable opportunity". I was approached many times before but each time I passed on it. I am so glad I finally joined just to see what one could expect in return for the minimal effort and money required. To my astonishment, I received a total $ 610,470.00 in 21 weeks, with money still coming in''. Pam Hedland, Fort Lee, New Jersey. == Another said: "this program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and Wa-laa . 3 weeks later the money started to come in. First month I only made $240.00 but the next 2 months after that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over $710,000.00 and I am playing it again. The key to success in this program is to follow the simple steps and NOT change anything." More testimonials later but first, === PRINT THIS NOW FOR YOUR FUTURE REFERENCE $$$ If you would like to make at least $500,000 every 4 to 5 months easily and comfortably, please read the following...THEN READ IT AGAIN and AGAIN !!! $$$ FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED! INSTRUCTIONS: =Order all 5 reports shown on the list below = For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail problems. ===WHEN YOU PLACE YOUR ORDER, MAKE SURE === ===YOU ORDER EACH OF THE 5 REPORTS! === You will need all 5 reports so that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5 = $25.00. Within a few days you will receive, via e-mail, each of the 5 reports from these 5 different individuals. Save them on your computer so they will be accessible for you to send to the 1,000's of people who will order them from you. Also make a floppy of these reports and keep it on your desk in case something happens to your computer. IMPORTANT - DO NOT alter the names of the people who are listed next to each report, or their sequence on the list, in any way other than what is instructed below in step '' 1 through 6 '' or you will loose out on the majority of your profits. Once you understand the way this works, you will also see how it does not work if you change it. Remember, this method has been tested, and if you alter it, it will NOT work !!! People have tried to put their friends/relatives names on all five thinking they could get all the money. But it does not work this way. Believe us, some have tried to be greedy and then nothing happened. So Do Not try to change anything other than what is instructed. Because if you do, it will not work for you. Remember, honesty reaps the reward!!! This IS a legitimate BUSINESS. You are offering a product for sale and getting paid for it. Treat it as such and you will be VERY profitable in a short period of time. 1.. After you have ordered all 5 reports, take this advertisement and
Re: termcap problem in RXVT?
I am running Win2k and have always had this rxvt problem. The other problem is the keyboard arrow for bash command history do not seem to work either. What happens when you type "echo $TERM"? Do you get rxvt or something else? On Mon, 18 Mar 2002, BERNDT, JON wrote: > I have installed CygWin on numerous machines using teh nice setup program at > cygwin.com. Recently, however, I have installed CygWin on two machines (one > a W2K machine and the other a Win98SE machine) and when I tried to run rxvt > I got strange behavior for the prompt. If I bring up a bash shell > immediately after installing, then type "rxvt" at the bash prompt, this is > what shows up in the rxvt console: > > --- start --- > \[\033]0;\w\007 > \033[32m\]\u@\h \[\033[33m\w\033[0m\] > $ > --- end --- > > I am at a loss to explain what to do. This has not happened to me in prior > cygwin installs. I checked the FAQ and the mailing list archives for March, > but could not find any reference to anything new that should have caused > this. > > Jon > > > <> > -- 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: termcap problem in RXVT?
On Mon, 18 Mar 2002 15:34:20 -0800 Randall R Schulz <[EMAIL PROTECTED]> wrote: >Jon, > >For whatever reason, you've managed to invoke /bin/sh >(ash) instead of BASH in the RXVT emulator context. Ash >doesn't interpret the escape sequences in the PS1 >variable set up by /etc/profile to make the prompt >conform to someone's idea of utility and aesthetic merit. Oops! I should have done this: rxvt -exec bash -login -i & I think. Sorry for the confusion, but thanks for the quick heads up. Jon -- 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: termcap problem in RXVT?
I get the same rxvt behavior, so I start it with `rxvt -e /bin/bash` Oleg - Original Message - From: "Randall R Schulz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 6:34 PM Subject: Re: termcap problem in RXVT? > Jon, > > For whatever reason, you've managed to invoke /bin/sh (ash) instead of BASH > in the RXVT emulator context. Ash doesn't interpret the escape sequences in > the PS1 variable set up by /etc/profile to make the prompt conform to > someone's idea of utility and aesthetic merit. > > I don't know why on this machine you're getting a different shell than on > the others, but I'd investigate spurious or extraneous settings of the > SHELL environment variable, possibly originating at the Windows system level. > > Randall Schulz > Mountain View, CA USA > > > At 15:20 2002-03-18, BERNDT, JON wrote: > >I have installed CygWin on numerous machines using teh nice setup program > >at cygwin.com. Recently, however, I have installed CygWin on two machines > >(one a W2K machine and the other a Win98SE machine) and when I tried to > >run rxvt I got strange behavior for the prompt. If I bring up a bash shell > >immediately after installing, then type "rxvt" at the bash prompt, this is > >what shows up in the rxvt console: > > > >--- start --- > >\[\033]0;\w\007 > >\033[32m\]\u@\h \[\033[33m\w\033[0m\] > >$ > >--- end --- > > > >I am at a loss to explain what to do. This has not happened to me in prior > >cygwin installs. I checked the FAQ and the mailing list archives for > >March, but could not find any reference to anything new that should have > >caused this. > > > >Jon > > > -- > 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: Start up script
Howdy all! Read the documentation.. made my .bashrc script! Here it is so far: function ll { ls -l } function m { man $1 | less } Any one have any other nice tricks they use in theirs? Rob :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Markebo Sent: Tuesday, 19 March 2002 2:18 AM To: Robert Mark Bram Cc: Cygwin Subject: Re: Start up script | How can I set up a starting script that will be run in Cygwin? Eh exactly what do you want?? A starting script that will be run in cygwin, you mean you want to doubleclick a .sh file and it will be thrown on bash?? Or?? /Andy -- The eye of the beholder rests on the beauty! -- 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: Start up script
- Original Message - From: "Robert Mark Bram" <[EMAIL PROTECTED]> To: "Andrew Markebo" <[EMAIL PROTECTED]> Cc: "Cygwin" <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 8:21 PM Subject: RE: Start up script > Howdy all! > > Read the documentation.. made my .bashrc script! > > Here it is so far: > > function ll > { >ls -l > } alias ls='/bin/ls --color -F' alias l='ls' alias ll='ls -l' alias la='ls -A' alias d='cd' alias p='cd -' alias s='cd ..' alias g='grep' alias G='grep -i' alias me='ps -u `whoami`' alias h='history' alias c='clear' alias x='exit' alias e='vim' are the ones I use often. No need for "function" BTW Oh, and don't forget the all-time most important piece of .bashrc setup when you are logged in as someone else: Run echo "echo sleep 1 >> .bashrc" >> .bashrc #(damn this system gets slower every time I log in :) HTH Oleg > function m > { >man $1 | less > } > > > > > Any one have any other nice tricks they use in theirs? > > Rob -- 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/
I Noticed Your Online Business...
Hello there, If you are like me you are always looking for new and better ways to achieve FINANCIAL FREEDOM. Take a few minutes to check out the business I have found to be the best of them all. A few months back I joined a program and then...promptly forgot about it. You may have done this yourself sometime...you intend to work the program but then get caught in your day-to-day activities and it's soon forgotten. The program was free to join so maybe I just didn't take it very seriously. Anyway, near the end of the month I received a letter from my Team Captain (Tim Meraw) informing me that I had more than 1000 PAID members in my downline! As you can imagine, I was very skeptical. After all, how could I have more than 1000 paid members under me in a program that I had never promoted? I took the time to check out the site...then wrote to Tim asking for confirmation that these were paid members and not just free sign-ups...like me :) Well, it was true...I had 1543 paid members in my downline. This in a program that I had never worked! All I had to do was upgrade to a paid membership before the end of the month and I would have my position locked in and a downline of 1543 people. You can bet I wasted no time in getting my membership upgraded! I can tell you, if I had known what was happening with this program, I would have become an active paid member months ago! With this program, you will get a HUGE downline of PAID MEMBERS . My Team Captain's check, which is a minimum of $750 (and growing monthly), arrives every month...on time. How would you like to lock your position in FREE while you check out this opportunity and watch your downline grow? It's Really Easy: +++ ** To SIGN UP FREE: E-mail me at [EMAIL PROTECTED] with the following ***REQUIRED*** info.. On the Subject Line: PLEASE SEND ME MY FREE MEMBERSHIP In the message body: - Your FIRST and LAST NAME - Another email address if you prefer not to use this one. *** + We will confirm your position +and send you a special report as soon as possible, also Your Free Member Number. This is a ONE TIME mailing - your name is already on our exclude list. I'll get you entered and let you know how you can keep track of your growing downline. That's all there's to it. No obligation. No risk. Do it Now! I'll then send you info, and you can make up your own mind. Warm regards , Don, P.S. After having several negative experiences with network marketing companies I had pretty much given up on them. This company is different--it offers value, integrity, and a REAL opportunity to have your own home-based business... and finally make real money on the 'Net. Their revolutionary Vertical Integration plan is amazing and GUARANTEES that you will have PAID members placed in your downline. Don't pass this up..you can sign up and test-drive the program for FREE. Just join Post launch now for FREE. Nothing more to it. You have nothing to lose and potentially a LOT to gain. = DISCLAIMER== THIS IS NOT SPAM, YOU ARE RECEIVING THIS INFORMATION BECAUSE : A) You submitted a classified ad or link at one of my pages or you posted your e-mail address in a public domain. B) You sent email to one of my addresses in the past or C) We are on the same list. If you were not the intended recipient of this message, Please accept my apologies and delete. Under Bill s.1618 TITLE III passed by the 105th US Congress this letter cannot be considered spam as long as the sender includes contact information and a method of removal. To be removed, e-mail me at [EMAIL PROTECTED] and type 'REMOVE' in the subject line. Thank you, Don B. =DISCLAIMER== -- 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: Start up script
Oleg, At 18:06 2002-03-18, Oleg wrote: >- Original Message - >... > >are the ones I use often. No need for "function" BTW You'll need functions when it's not sufficient to have the parameters to a command simply tacked onto the end of the alias expansion. If I recall, this is one place where BASH is not capable something CSH can do: namely support the full syntax of !-expansions within an alias. >Oh,and don't forget the all-time most important piece of .bashrc setup >when you are logged in as someone else: Run > >echo "echo sleep 1 >> .bashrc" >> .bashrc > >#(damn this system gets slower every time I log in :) > >HTH >Oleg Randall Schulz Mountain View, CA USA -- 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: Start up script
I meant that there was no need for "function" in both of the examples given by the previous poster. Yes, of course "function" has more functionality than "alias", but here, it's an overkill. Consider alias l='ls' vs function l() { /bin/ls $@; } HTH Oleg - Original Message - From: "Randall R Schulz" <[EMAIL PROTECTED]> To: "Oleg" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 9:28 PM Subject: Re: Start up script > Oleg, > > At 18:06 2002-03-18, Oleg wrote: > >- Original Message - > >... > > > >are the ones I use often. No need for "function" BTW > > You'll need functions when it's not sufficient to have the parameters to a > command simply tacked onto the end of the alias expansion. > > If I recall, this is one place where BASH is not capable something CSH can > do: namely support the full syntax of !-expansions within an alias. > > > >Oh,and don't forget the all-time most important piece of .bashrc setup > >when you are logged in as someone else: Run > > > >echo "echo sleep 1 >> .bashrc" >> .bashrc > > > >#(damn this system gets slower every time I log in :) > > > >HTH > >Oleg > > Randall Schulz > Mountain View, CA USA > > > -- > 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: RE: input stream crash with gcc 3.1
I tried this #define (in the newlib bits directory - cygwin uses newlib right?), reconfigured and recompiled gcc 3.1, but the same problem occurs - segmentation fault on the simplest bit of code that uses cin or ifstream or stringstream. ( cout etc. works fine by the way). I'll repeat the code snippet for clarification: main() { std::string frog; std::cin >> frog; assert( 0 ); } (it doesn't get to the assert and segment faults) Any other ideas? :-/ - Q-Games, Dylan Cuthbert. http://www.q-games.com/personal/utils - Original Message - From: "Danny Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 8:08 AM Subject: Fwd: RE: input stream crash with gcc 3.1 > > From: Danny Smith <[EMAIL PROTECTED]> > > Subject: RE: input stream crash with gcc 3.1 > > To: [EMAIL PROTECTED] > > CC: [EMAIL PROTECTED] > > > > > I have recently compiled the latest 3.1 branch (grabbed directly via > > cvs) > > > for cygwin (1.3.9) and am having problems when using anything related > > at > > > all > > > to input streams. > > > > See this: > > http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00841.html > > then try rebuilding libstdc++ with > > > > #define _GLIBCPP_AVOID_FSEEK > > added to /libstdc++-v3/config/os/newlib/bits/os_defines.h > > > > Danny > > > > http://movies.yahoo.com.au - Yahoo! Movies > > - Vote for your nominees in our online Oscars pool. > > > > http://movies.yahoo.com.au - Yahoo! Movies > - Vote for your nominees in our online Oscars pool. -- 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: [ECOS] copy redboot to floppy on cgywin
On Mon, Mar 18, 2002 at 07:20:07PM -0800, max wrote: >OK that's an inappropriate example. >Back to my original question. My cygwin is of version >1.3.10. The command dd failed because it does know >/dev/fd0. > >$ dd conv=sync if=install/bin/redboot.bin of=/dev/fd0 >dd: opening `/dev/fd0': No such file or directory >(instruction from Redboot User Guide) What does the 'mount' command display? Do you still have /dev/fd0 "mounted"? 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: [ECOS] copy redboot to floppy on cgywin
OK that's an inappropriate example. Back to my original question. My cygwin is of version 1.3.10. The command dd failed because it does know /dev/fd0. $ dd conv=sync if=install/bin/redboot.bin of=/dev/fd0 dd: opening `/dev/fd0': No such file or directory (instruction from Redboot User Guide) --- Robert Collins <[EMAIL PROTECTED]> wrote: > /dev/fd0 is a device, not a filesystem. You can't cd > to /dev/fd0 anymore > than you can cd to /dev/clipboard. > > Rob > > -- > Before posting, please read the FAQ: > http://sources.redhat.com/fom/ecos > and search the list archive: > http://sources.redhat.com/ml/ecos-discuss > __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.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: [ECOS] copy redboot to floppy on cgywin
--- Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Mon, Mar 18, 2002 at 07:20:07PM -0800, max wrote: > >OK that's an inappropriate example. > >Back to my original question. My cygwin is of > version > >1.3.10. The command dd failed because it does know > >/dev/fd0. > > > >$ dd conv=sync if=install/bin/redboot.bin > of=/dev/fd0 > >dd: opening `/dev/fd0': No such file or directory > >(instruction from Redboot User Guide) > > What does the 'mount' command display? Do you still > have /dev/fd0 > "mounted"? I tried in both cases: $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) \\.\a on /dev/fd0 type user (binmode) a: on /a type user (textmode) c: on /ecos-c type user (textmode) c: on /c type user (textmode) home@DEFAULT /tmp/build/redboot $ umount /dev/fd0 home@DEFAULT /tmp/build/redboot $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) a: on /a type user (textmode) c: on /ecos-c type user (textmode) c: on /c type user (textmode) home@DEFAULT /tmp/build/redboot $ dd conv=sync if=install/bin/redboot.bin of=/dev/fd0 dd: opening `/dev/fd0': No such file or directory > > cgf same __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.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: RE: input stream crash with gcc 3.1
I just tried this too. Same result. I have been chasing (without success) some libstdc++-v3 testsuite failures that are similar. That discusion is on the libstdc++ mailing list. The advice was to try recompiling libtsdc++-v3 with CXXFLAGS="-g -O0" and use the debugger. This got me a little further into the code. -Original Message- From: Dylan Cuthbert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19 March 2002 2:11 To: Danny Smith; Cygwin@Cygwin. Com Subject: Re: RE: input stream crash with gcc 3.1 I tried this #define (in the newlib bits directory - cygwin uses newlib right?), reconfigured and recompiled gcc 3.1, but the same problem occurs - segmentation fault on the simplest bit of code that uses cin or ifstream or stringstream. ( cout etc. works fine by the way). I'll repeat the code snippet for clarification: main() { std::string frog; std::cin >> frog; assert( 0 ); } (it doesn't get to the assert and segment faults) Any other ideas? :-/ - Q-Games, Dylan Cuthbert. http://www.q-games.com/personal/utils - Original Message - From: "Danny Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 8:08 AM Subject: Fwd: RE: input stream crash with gcc 3.1 > > From: Danny Smith <[EMAIL PROTECTED]> > > Subject: RE: input stream crash with gcc 3.1 > > To: [EMAIL PROTECTED] > > CC: [EMAIL PROTECTED] > > > > > I have recently compiled the latest 3.1 branch (grabbed directly via > > cvs) > > > for cygwin (1.3.9) and am having problems when using anything related > > at > > > all > > > to input streams. > > > > See this: > > http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00841.html > > then try rebuilding libstdc++ with > > > > #define _GLIBCPP_AVOID_FSEEK > > added to /libstdc++-v3/config/os/newlib/bits/os_defines.h > > > > Danny > > > > http://movies.yahoo.com.au - Yahoo! Movies > > - Vote for your nominees in our online Oscars pool. > > > > http://movies.yahoo.com.au - Yahoo! Movies > - Vote for your nominees in our online Oscars pool. -- 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: [ECOS] copy redboot to floppy on cygwin
--- Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Mon, Mar 18, 2002 at 07:55:37PM -0800, max wrote: > > > >--- Christopher Faylor <[EMAIL PROTECTED]> wrote: > >> On Mon, Mar 18, 2002 at 07:20:07PM -0800, max > wrote: > >> >OK that's an inappropriate example. > >> >Back to my original question. My cygwin is of > >> version > >> >1.3.10. The command dd failed because it does > know > >> >/dev/fd0. > >> > > >> >$ dd conv=sync if=install/bin/redboot.bin > >> of=/dev/fd0 > >> >dd: opening `/dev/fd0': No such file or > directory > >> >(instruction from Redboot User Guide) > >> > >> What does the 'mount' command display? Do you > still > >> have /dev/fd0 > >> "mounted"? > >I tried in both cases: > > > >$ mount > >C:\cygwin\bin on /usr/bin type system (binmode) > >C:\cygwin\lib on /usr/lib type system (binmode) > >C:\cygwin on / type system (binmode) > >\\.\a on /dev/fd0 type user (binmode) > >a: on /a type user (textmode) > >c: on /ecos-c type user (textmode) > >c: on /c type user (textmode) > > > >home@DEFAULT /tmp/build/redboot > >$ umount /dev/fd0 > > > >home@DEFAULT /tmp/build/redboot > >$ mount > >C:\cygwin\bin on /usr/bin type system (binmode) > >C:\cygwin\lib on /usr/lib type system (binmode) > >C:\cygwin on / type system (binmode) > >a: on /a type user (textmode) > >c: on /ecos-c type user (textmode) > >c: on /c type user (textmode) > > > >home@DEFAULT /tmp/build/redboot > >$ dd conv=sync if=install/bin/redboot.bin > of=/dev/fd0 > >dd: opening `/dev/fd0': No such file or directory > > 1) try restarting bash and trying again. > > 2) Try 'type dd' to ensure that you're running the > right version >of dd. $ type dd dd is hashed (/usr/bin/dd) > > 3) You are doing this on NT, right? I don't know if > raw I/O support >works on 95/98/Me. I am on 98. If not how can make redboot boot floppy? Anyone donr it? > > cgf __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.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/
Not all mans available
Hi all! When I try "man read" or "man diff" I am told by Cygwin "No manual entry for read" or "No manual entry for diff". Was there a setup option with Cygwin I didn't include in order to get all the manuals? Is there a way for to download them? Thanks! Rob :) :-} ;-> -- 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: input stream crash with gcc 3.1
Hmm.. I noticed some talk on a mailing list somewhere about problems with locales... could it be to do with input streams trying to look up locale info and getting null ptrs as a result? I'll try compiling libstdc++-v3 with -g and -O0 and see how far I can get - does gdb 5.1 work ok with gcc 3.1 output? Regards - Q-Games, Dylan Cuthbert. http://www.q-games.com "Billinghurst, David (CRTS)" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I just tried this too. Same result. I have been chasing (without success) some libstdc++-v3 testsuite failures that are similar. That discusion is on the libstdc++ mailing list. The advice was to try recompiling libtsdc++-v3 with CXXFLAGS="-g -O0" and use the debugger. This got me a little further into the code. -Original Message- From: Dylan Cuthbert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19 March 2002 2:11 Subject: Re: RE: input stream crash with gcc 3.1 I tried this #define (in the newlib bits directory - cygwin uses newlib right?), reconfigured and recompiled gcc 3.1, but the same problem occurs - segmentation fault on the simplest bit of code that uses cin or ifstream or stringstream. ( cout etc. works fine by the way). I'll repeat the code snippet for clarification: main() { std::string frog; std::cin >> frog; assert( 0 ); } (it doesn't get to the assert and segment faults) Any other ideas? :-/ - Q-Games, Dylan Cuthbert. http://www.q-games.com/personal/utils - Original Message - From: "Danny Smith" <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 8:08 AM Subject: Fwd: RE: input stream crash with gcc 3.1 > > From: Danny Smith <[EMAIL PROTECTED]> > > Subject: RE: input stream crash with gcc 3.1 > > To: [EMAIL PROTECTED] > > CC: [EMAIL PROTECTED] > > > > > I have recently compiled the latest 3.1 branch (grabbed directly via > > cvs) > > > for cygwin (1.3.9) and am having problems when using anything related > > at > > > all > > > to input streams. > > > > See this: > > http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00841.html > > then try rebuilding libstdc++ with > > > > #define _GLIBCPP_AVOID_FSEEK > > added to /libstdc++-v3/config/os/newlib/bits/os_defines.h > > > > Danny > > > > http://movies.yahoo.com.au - Yahoo! Movies > > - Vote for your nominees in our online Oscars pool. > > > > http://movies.yahoo.com.au - Yahoo! Movies > - Vote for your nominees in our online Oscars pool. -- 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/
[ANNOUNCEMENT] Setup.exe update
Hi folk, A new release of setup.exe has been made. As usual it's accessible at http://www.cygwin.com/setup.exe. It includes the following key new features: * New GUI that should be less prone to 'disappearing'. * Can download from multiple mirrors - use CTRL-Click or Shift-Click in the mirror site dialog. * Updated chooser that allows full installs with ease, as well as source only installs of packages. as well as numerous bug-fixes and under-the-hood improvements. Thanks go out to all the contributors to this version, which includes (In reverse date order): Me! Michael Chase Jason Tishler Christopher Faylor Corinna Vinschen Gary R. Van Sickle Jan Nieuwenhuizen ... sorry if I've missed anyone Cheers, Rob -- 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: Not all mans available
I once asked along same lines and I was told that originally in GNU info was going to be the replacement to man system... Why I am not sure but that must have not worked out really well since half the stuff info digs up seems to be manpages but without the eyecandy (highlighting and underline). Even when at the bottom of the manpage it says, see info for complete documentation, info still digs up same old manpage. The hypertext abilities are nice to have of course, if there is a lot of cross-references and see-also's. More directly to your query, I don't think there are any spare manpages or info files anywhere. There is also documentation in /usr/doc but you will not find diff there. Documentation to diff is in info format but I was unable to get to it through the top menu of info. 'info diff' doesn't work either, info --file=diff works. I think I am missing out on something very basic here because this doesn't seem very natural to me (after 'man', I guess). As for 'read' thats a bash inbuilt command and it is part of the bash manpage or info page. Here info vindicates itself, navigating to the right section is much easier through hyperlinks than linear text of manpage. - Original Message - From: "Robert Mark Bram" <[EMAIL PROTECTED]> To: "Cygwin" <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 3:35 PM Subject: Not all mans available > Hi all! > > When I try "man read" or "man diff" I am told by Cygwin "No manual entry for > read" or "No manual entry for diff". > > Was there a setup option with Cygwin I didn't include in order to get all > the manuals? > > Is there a way for to download them? > > Thanks! > > Rob > > :) > :-} > ;-> > > > -- > 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: [ANNOUNCEMENT] Setup.exe update
I tried the new SETUP.EXE. The problem is it doesn't recognize my previous installation or rather my previous downloads! Instead it creates another folder named according to the server it connected and download the packages into it. Anyone can help me with this? Thanks, Benny Ng - Original Message - From: "Robert Collins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 2:27 PM Subject: [ANNOUNCEMENT] Setup.exe update > Hi folk, > A new release of setup.exe has been made. As usual it's > accessible at http://www.cygwin.com/setup.exe. > > It includes the following key new features: > * New GUI that should be less prone to 'disappearing'. > * Can download from multiple mirrors - use CTRL-Click or Shift-Click in > the mirror site dialog. > * Updated chooser that allows full installs with ease, as well as source > only installs of packages. > > as well as numerous bug-fixes and under-the-hood improvements. > > Thanks go out to all the contributors to this version, which includes > (In reverse date order): > > Me! > Michael Chase > Jason Tishler > Christopher Faylor > Corinna Vinschen > Gary R. Van Sickle > Jan Nieuwenhuizen > > ... sorry if I've missed anyone > > Cheers, > Rob > > > -- > 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: [ANNOUNCEMENT] Setup.exe update
> -Original Message- > From: Hotmail [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 19, 2002 5:41 PM > To: [EMAIL PROTECTED] > Subject: Re: [ANNOUNCEMENT] Setup.exe update > Importance: High > > > I tried the new SETUP.EXE. The problem is it doesn't > recognize my previous installation or rather my previous > downloads! Instead it creates another folder named according > to the server it connected and download the packages into it. > Anyone can help me with this? > > Thanks, > > Benny Ng Benny, it will recognise and use your existing installation and download cache. What it won't do is add to it. Rob -- 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: possible project/research project
Just a curiousity... I've a mental concept I've been batting around for a while - about how can we drastically increase configure and related script performance on cygwin... AFAICT the largest performance issue is fork() and exec(). File access is quite fast, as is networking. Unix sockets are a go slow given Ralf's testing :p but that's about it. So, what I'm thinking could be done is: Create a new shell. For the most common current causes of fork()/exec(), make those commands internal. Specifically, make all expression evaluation (such as `basename foo`) done in-process (i.e. C-style code:{save_context();evalute (expression);pop_context(result);}, only spawning commands where they are not internal. (Currently, AFAIK, ash and bash use sub-shells quite commonly). Now that would be a maintenance and coding nightmare - repeating lots of other folk's work, and having to get bug compatability as well no thanks. What if, instead of rewriting all those helper commands, we *) Make each one into a library - ie cygshellbasename0.dll. - with a well-defined interface (say execute (int argc, char **argv), AND no ABI changes! *) Replace the current binary with a façade that uses the .dll. *) in the shell, look for the library *before* calling the binary, thus saving a spawn() *) Ideally, adapt an existing shell rather than starting new (I'm not a reinvent-ze-wheel) kinda guy. Now I imagine that if done _properly_ the upstream authors won't object too much to librarization, so the amount of code to be written is significantly shrunk. I've not seen a specific project to accomplish this (in google/freshmeat/sourceforge) - but I figure that cygwin is _such_ a prime platform for it that if one exists, and I'd be repeating work, I'll find someone who knows it here Anyway, this is (obviously) a long-term proposition, but if two or three folk from here would be interested in collaborating on such a project... Cheers, Rob -- 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: Any chance of upping MAX_DELQUEUES_PENDING?
> See the FAQ entry: > > Why do I get a message saying Out of Queue slots? > http://cygwin.com/faq/faq_4.html#SEC65 > > It's an oldie but a goodie! ;-) Which suggests I should remove the warning about it possibly being out of date. I'll fix that. Thanks for the reference. David (Cygwin FAQ 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/
Re: Start up script
I think clever (or not so clever) examples of .bashrc or whatever are off-topic for this list, unless it is something specifically relevant to Cygwin. David -- 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 variable: impact of options under Win9x
Hello, I am hoping that I'll get some helpful hints by posting this. I've been running Cygwin under Win98SE for months now without the CYGWIN env variable set in Windows at all. I have FAT and FAT32 partitions. My mounts are all binmode. Now I am looking at setting CYGWIN thus: SET CYGWIN=export noenvcache glob:ignorecase title nostrip_title winsymlinks tty What sort of surprises or changes in behavior (that I might not have realized were changeable behavior, i.e. things that I'd not taken heed of until now) might I experience? Since this is the Cygwin List rather than another and its character is what it is, I'll type out explicitly that: I am posting this because I have a feeling of less than perfect comprehension of the uses and ramifications of the parameters to CYGWIN, even after reading http://cygwin.com/cygwin-ug-net/using-cygwinenv.html. I am particularly keen on knowing what might not work in just the same way as before (under a default condition on Win98SE, that is in which there is no setting for CYGWIN at all) due to the last parameter "tty". The document at the url given above indicates that "[it is] not compatible with some Windows applications." I find that quite vague and am most unsure how concerned to be about it. I am also keen on assuring myself that not mentioning "ntea" or "ntsec" is fine; that those options would do nothing under Win98 anyway, and that Cygwin applications will run fine with them not set (i.e., *sshd*)?? My Cygwin installation at this moment: Cygwin DLL version info: DLL version: 1.3.10 DLL epoch: 19 [...] Build date: Mon Feb 25 11:14:34 EST 2002 Shared id: cygwin1S3 Thanks, Soren Andersen -- 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/