[Ready for test/1.5.1] cvs-1.11.6-2
With respect to the curr: release of cvs (1.11.5-1), this is a version bump from 1.11.5 to 1.11.6, in addition to recompiling against cygwin-1.5.1 and moving the documentation to /usr/share/*. With respect to the previously release test: version, this one is recompiled against cygwin-1.5.1 not 1.5.0, and the documentation has been moved to /usr/share/*. !WARNING WARNING WARNING WARNING WARNING! You must convert the gdbm database files in your CVSROOT directory of all locally-hosted repositories from pre-cygwin-1.5.0 to post-cygwin-1.5.1. You can do this using the 'convert-gdbm' script in the new (1.8.3-4 or newer) package. cd ${CVSROOT}/CVSROOT convert-gdbm modules.db convert-gdbm val-tabs.db But back everything up, first! No warrantee, express or implied, yadda yadda yadda. !WARNING WARNING WARNING WARNING WARNING! However, if you've already converted your databases when you upgraded to the previous test: release of cvs (cvs-1.11.6-1) then you do not need to do so again. -- Charles Wilson cygwin at removespam cwilson dot fastmail dot fm
Re: [Ready for test/1.5.1] postgresql 7.3.4-2
Chuck, On Wed, Aug 06, 2003 at 05:58:06PM -0400, Charles Wilson wrote: Jason Tishler wrote: Oops. I should have indicated that this packages is built against cypipc 2.01-1. Seems to work fine too. Thanks, Chuck. Cool -- so that means you're running the dynamically linked daemon, and your app is also dynamically linked (to cygcygipc-2.dll)? Yup! $ cygcheck /usr/bin/postgres.exe C:/Cygwin/bin/postgres.exe C:/Cygwin/bin\cygcygipc-2.dll C:/Cygwin/bin\cygwin1.dll C:\WINNT\System32\KERNEL32.dll C:\WINNT\System32\ntdll.dll Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
[Ready for test/1.5.1] jbigkit-1.5-2
* recompiled against cygwin-1.5.1 kernel * documentation moved to /usr/share/* -- Charles Wilson cygwin at removespam cwilson dot fastmail dot fm
[ITP update] proj-4.4.7-2
A simple version bump to 4.4.7, plus recompiled against 1.5.1. Still available from http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/release/proj/, or simply point setup.exe at http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/ -- Charles Wilson cygwin at removespam cwilson dot fastmail dot fm
Re: perl-5.8.1 test release
Hallo Pavel, Running the following test perl.exe caused a crash in the the Cygwin dll: [...] Yep, there are two threads tests failing from the perl testsuite. I havn't looked into this yet: Failed 5/809 test scripts, 99.38% okay. 25/76969 subtests failed, 99.97% okay. Failed TestStat Wstat Total Fail Failed List of Failed --- ../ext/POSIX/t/sigaction.t 251 4.00% 22 ../ext/threads/t/join.t 0 13912 14 116.67% 6-12 ../ext/threads/t/thread.t 5 128025 24 96.00% 14-25 op/alarm.t 255 65280 48 200.00% 1-4 op/sysio.t 391 2.56% 39 28 tests and 372 subtests skipped. Gerrit -- =^..^=
RE: XWinrc configurable server (menus/icons)
Hi all, The most recent patch looks pretty good from your description. c) Replaces %display% with 127.0.0.1:display.0 in commands Huh, I was going to say that %display% should be replaced with 127.0.0.1:0.0, but then I remembered that we know the 0.0, but we don't know that the user connected via 127.0.0.1. However, should we just choose to replace display with 127.0.0.1:d.s where d is display and s is screen? I know that some users report better performance when using their actual ip instead of lookback for DISPLAY... ... because the performance of cygwin's tcp implementation is more than twice as much as the unix domain implementation. I assume that this is caused by the additional security and emulation stuff overhead, which is needed to implement unix domain sockets on top of tcp sockets. See http://sources.redhat.com/ml/cygwin/2002-01/msg01719.html for further details. Ralf
Re: [Off topic] List of current notebooks
On Wed, Aug 06, 2003 at 10:09:28AM -0400, Harold L Hunt II wrote: All, You may have been reading my saga about troubles with laptop computers. Yesterday I put together a fairly comprehensive list of current notebooks that may be of interest to some of you. My basic requirements were SXGA+ screen (1400x1050) or greater and integrated 802.11g. Dell is left off of the list because the two Inspiron 8500s that they sent me both randomly freeze and this is a well documented problem. Anyhow, the list is here: http://www.msu.edu/~huntharo/Notebooks-20030806-0956.pdf (47 KiB) I choose the $1949 Gateway 450X. However, if 802.11G is not a requirement, then the $1678 Toshiba Satelite Pro 6100 is surely the way to go, as it is a preassembled unit that ships the same day it is ordered. FWIW, I came very close to buying a Toshiba Satellite Pro 6100 before I was scammed out of the money for the laptop that I thought I was buying. It seemed like a nice system. cgf
Re: rfe: seamless windows integration
Jack Tanner wrote: Harold L Hunt II wrote: Thanks. Let me tell you, we already have a laundry list of dream features. We just need people to start working on them. Harold, Thanks. If I wanted to hear you be dismissive and condescending, I could've just gone back and read the list archive. Dismissive and condescending? No, that was not my intention, sorry that you got that impression. I'm not a developer, but I am a user interested in the development of this project, and I'm doing what I can to contribute through testing and reporting bugs. Moreover, I have a fair amount of academic traning in human-computer interaction and user experience engineering, and my suggestions are based on a thought-out analysis. I don't doubt that you have plenty of training. However, have you read your suggestions and talked to some programmers about them? Here, lets take a look. [Yes, now you should be intrepting my remarks as generally pissy, snotty, dismissive, and condescending]. 1. X should run as a service. There's no reason for it to run as a user-launched app. This really doesn't matter and, in fact, is probably incorrect. Cygwin/XFree86 needs to interact with the display (else you could use Xvfb), so running it as a service that won't always have a desktop connected is pointless. Furthermore, a machine shared by multiple users (like a Terminal Services server) will not be able to service all users with a single instance of XFree86 running. Another point is that, I believe, services that interact with the desktop need to run under an actual user account and it would be silly to have XFree86 running under 'bill' when 'steve' is logged in. Besides, this could be done with a simple shortcut in the Startup group in the Start menu. In fact, that should be done and had all of the bugs worked out before anyone talks any further of services. 2. All X client application on one's machine should have shortcuts associated with them in the start menu, and these shortcuts should be created automatically during installation. This is icing on the cake. This is the kind of thing that Microsoft hires 500 college interns to write in the summer because it takes a hell of a lot of time and attention to detail to get it 'right', whereas the overall benefit is very small in comparison. Furthermore, this requires interacting with the Cygwin setup developers. You think I am mean? 3. Exiting X (e.g., by stopping the service) should list all cygwin processes that were launched under X and prompt the user to terminate them. For example, an ssh-agent launched from an xterm should be killed automatically. Huh? Exiting X right now kills all connected clients. There is already an Are you sure? warning dialog. Free software is all about bang for the buck; the above feature might be nice, but it only matters to marketroids. Enmity aside, it wouldn't take too long to actually consider and respond to what I suggested, and I would welcome discussion. Yes it would. It took me like 10 minutes to write this reply. I don't have to be party to any and all discussions that take place on this list. I wrote my reply and said my piece. Others were free to jump all over your email and praise it. Furthermore, you got a reply to your message from Earle indicating his interest. So, I don't see why you have to have a beef with me when you appear to already have another supporter with influence. After all of that, my position is exactly as I stated, without malice, in my original email: those suggestions will go on the wish list, below other more fundamental problems like crashes (-clipboard when copying large amouns of text) and startup failures (with -clipboard and -multiwindow). There is still a lot of architectural work that needs to be done before we will start worrying about icing the cake. Harold
RE: No keyboard with XFree86 4.0.3
On Tue, 5 Aug 2003, Lester Ingber wrote: I am using a startxwin.sh file modified (I use a copy in /usr/local/bin/startxwin.sh) as XWin -unixkill -rootless -emulate3buttons -clipboard wmaker xsetroot -solid blue xterm -sb -bg white -fg darkblue -cr red -ms red -bd red -geometry 80x84+532+0 -name center xterm -sb -bg white -fg darkblue -cr red -ms red -bd red -geometry 80x84+1033+0 -name right xterm -sb -bg white -fg darkblue -cr red -ms red -bd red -geometry 215x88-70+0 -name large So what. How is this related to the no keyboard problem? The instructions were for the windows control panel. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
First pass at script to build start menu icons
OK, it took me a little longer to get the script to this point than I would have liked, BUT I'm pretty happy with the results. Comments are welcome, flames /dev/null. #! /bin/sh # Author: Brian Gallew [EMAIL PROTECTED] TOPFOLDER=$(cygpath -A -P)/Cygwin-XFree86 #Ensure that a given program is somewhere in the current $PATH function checkpath () { c=$(which $1 2 /dev/null) test ! -z $c } # Create a shortcut for an application that draws its own windows # Takes four or five arguments: appname, description folder, the # offset of the icon , and any arguments function xapp () { app=$1 shift description=$1 shift folder=${TOPFOLDER}/$1 shift icon=--icon=/cygwin.ico test -z $2 || icon=--iconoffset=$2 shift test -d ${folder} || mkdir -p ${folder} mkshortcut ${icon} --arguments=${app}\ -display\ :0\ $@ \ --name=${folder}/${description} \ --workingdir=${HOME} /usr/X11R6/bin/run.exe } # Create a shortcut for a text-output-only application function tapp () { app=$1 shift description=$1 shift folder=${TOPFOLDER}/$1 shift test -d ${folder} || mkdir -p ${folder} mkshortcut --arguments=xterm\ -display\ :0\ -e\ sh\ -c\ \${app}\ -display\ :0\ $@\ | less\ \ --name=${folder}/${description} --icon=/cygwin.ico \ --workingdir=${HOME} /usr/X11R6/bin/run.exe test $? -eq 0 return echo $app:$description:$folder:: } #format of an entry here: #executable name:Description:sub-folder:which function to call:icon offset:arguments #If the sub-folder is empty, then the icon will be placed in $TOPFOLDER #the function to call should be either xapp or tapp #If the program provides its own icon in the executable, this is the offset for it (0 based) #The arguments (if any) will be appended to the command. X11proggies=( bitmap:Bitmap Editor::xapp:: dpsexec:Display PostScript command interface:Tools:tapp:: dpsinfo:The Display PostScript extension:Information:tapp:: editres:Xaw resource editor:Tools:xapp:: fc-list:List available FreeType fonts:Information:tapp:: glxgears:Gear Demo:Toys:xapp:: glxinfo:GLX information:Information:tapp:: ico:Bouncing Icosohedron:Toys:xapp:: oclock:Shaped Clock::xapp:: showrgb:List rgb database:Information:tapp:: texteroids:DPS demo asteroids game:Games:xapp:: viewres:Xaw resource viewer:Tools:xapp:: vncviewer:VNC viewer client::xapp:: wmagnify:magnifying glass:Tools:xapp:: xbiff:mail checker::xapp:: xcalc:Calculator::xapp:: xclock:Clock::xapp:: xconsole:Console:Tools:xapp:: xcutsel:Clipboard manipulator:Tools:xapp:: xditview:Ditroff output viewer::xapp:: xdpyinfo:Display information:Information:tapp:: xdvi:DVI viewer::xapp:: xedit:Simple file editor:Tools:xapp:: xev:X11 event debugger:Tools:xapp:: xeyes:Watches the Mouse:Toys:xapp:: xfontsel:Pick a font:Tools:tapp:: xfsinfo:The font server:Information:tapp:: xgc:X11 demo:Toys:xapp:: xkill:Kill an X11 window:Tools:xapp:: xlogo:Display the X11 logo:Toys:xapp:: xlsatoms:List available atoms:Information:tapp:: xlsclients:List all connected clients:Information:tapp:: xlsfonts:List all available fonts:Information:tapp:: xmag:Magnifying glass:Tools:xapp:: xman:Manual page reader::xapp:: xmh:GUI for the MH mail system::xapp:: xprop:Display the propertis of a window:Information:tapp:: xrefresh:Refresh all X11 clients:Tools:xapp:: xterm:X Terminal::xapp:0: xtrapinfo:The TRAP extension:Information:tapp:: xvinfo:The X-Video Extension:Information:tapp:: xwd:Dump X11 window image to file:Tools:tapp:: xwininfo:A single window:Information:tapp:: gvim:GUI for VIM::xapp:0: emacs:Editor::xapp:0: xemacs:Editor::xapp:0: idle:Python IDE::xapp:: rxvt:RXVT::xapp:0: ) for index in $(seq 0 ${#X11proggies[*]}) do a=${X11proggies[$index]} test -z $a continue # This next line breaks up the elements and set $1..$6 appropriately IFS=:;set $a;unset IFS checkpath $1 test $? -eq 0 || continue case $4 in xapp) xapp $1 $2 $3 $5 $6 ;; tapp) tapp $1 $2 $3 $6 ;; *) echo `hosed!` echo $* esac done
Re: XWinrc configurable server (menus/icons)
On Thu, Aug 07, 2003 at 05:36:10PM -0700, Earle F. Philhower III wrote: Howdy again Christopher... At 11:00 PM 8/6/2003 -0400, you wrote: I'm not really up on cygwin's process model, what would the setsid() call do? I have read the man page and I'm still not sure what's a session ID or why I'd want a new one... It would disassociate a tty from any child process. It's often done after file descriptors have been closed. I don't know for sure that it will help anything but it may stop the console windows from popping up -- at least in cygwin 1.5.x. Thanks, I added the setsid() just after closing all but STDIN/OUT/ERR and before the execl() and didn't notice any problems, so next time I put up a patch it'll have this change included. [Of course, I'm running Cygwin 1.3 and not the 1.5 you're working on...] ...so watch how it will cause cygwin to crash and burn when you port to 1.5.1... :-) cgf
winsup ChangeLog
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2003-08-06 03:39:36 Modified files: . : ChangeLog Log message: fix typo Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/winsup/ChangeLog.diff?cvsroot=uberbaumr1=1.78r2=1.79
mount (1) man page - inccorect description of -c option
Hello, The description of the --change-cygdrive-prefix option states that By default, the cygdrive-prefix applies only to the current user. Currently, mount changes by defult the system prefix. Pavel -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualitätssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: perl -MCPAN -e shell crashes w98se
Hallo Graham, Am Dienstag, 5. August 2003 um 20:26 schriebst du: perl -MCPAN -e shell + install DBI or install CPANPLUS both completely crash windows under cygwin. The files: DBI-1.37.tar.gz CPANPLUS-0.042.tar.gz are downloaded and the last action seems to have been starting zlib and doing some checksums. I have activestate also and somehow it has created an activestate dir in cygwin $HOME. I am wondering what relevance this has. Anybody experience similar ? What says which perl? And can you please send the output of cygcheck -svr as an attachment? Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: SSH session terminates with Ctl+C
Jeff Nokes wrote: I've ran into a strange issue, one of which I have not run into before with cygwin. I have a W2K workstation at work, and I use cygwin to ssh into both Solaris and RedHat Linux boxes to do development. Sometimes, while ssh'd into a remote host, I have to 'Ctl+C' out of a process when it hangs. When connected to the Solaris boxes, the Ctl+C just puts me back at the command prompt on the remote host, which is what I would expect it to do. But when I'm connected to a Linux box and I Ctl+C out of a process, not only does it kill the process on the remote Linux host, but it kills my active ssh session with that host and puts me back in the default cygwin shell in my W2K environment. If you're using CMD.EXE for your command prompt you might try setting tty in the CYGWIN environment variable. Also, give rxvt a try. Make sure that your TERM is set to Cygwin or rxvt for CMD.EXE and rxvt, repectively. You shouldn't have to explicitly set TERM to anything, it should take the correct value without forcing it. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Less fails with link error
On Wed, Aug 06, 2003 at 05:45:23PM +0200, David Balazic wrote: I just selected the latest version of less ( by clicking on its name to cycle versions ). There was no warning that it is incompatible with the cygwin version. Cycling through the versions is a dangerous thing these days - you should only do it if you know what you're doing. The version Setup proposes is the one you should normally use, because it's the one the maintainer wants you to use. The maintainer is usually right about what you should use.. You used Setup to install, didn't you? yes. Use cygcheck to get the version of less, then :) I llearned something new. rpm would catch the incompatibility though :-) versioned dependencies in Setup are a work-in-progress *and* require the maintainers to put them in the setup.hint files. Neither is magic. IIRC, rpm doesn't use any wizzardry either: versioned dependencies are the maintainer's job. As for the state of progress on versioned dependencies in Setup (before you ask) IIRC it needs testing more than anything else - but one of the Setup people will surely correct me if I'm wrong.. rlc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: What is the minimum needed to run gtar?
On Wed, Aug 06, 2003 at 02:29:44PM -0700, David A. Case wrote: On Wed, Aug 06, 2003, David Rothenberger wrote: You can find out what DLLs an executable needs by running cygcheck on it. Note that this may not give a complete list. Consider rxvt.exe: quine% cygcheck rxvt.exe Found: .\rxvt.exe Found: C:\cygwin\bin\rxvt.exe rxvt.exe .\cygwin1.dll C:\WINDOWS\System32\KERNEL32.dll C:\WINDOWS\System32\ntdll.dll C:\WINDOWS\System32\USER32.dll C:\WINDOWS\System32\GDI32.dll C:\WINDOWS\System32\ADVAPI32.dll C:\WINDOWS\System32\RPCRT4.dll This might suggest that only cygwin1.dll is needed (besides the windows stuff). However, continuing (in X, with DISPLAY set): quine% cd /usr/X11R6/bin quine% mv libX11.dll libX11.dll~ quine% back /bin quine% ./rxvt.exe failed to load libX11.dll Putting libX11.dll~ back to its original name again allows rxvt.exe to run correctly. Thus in this case (at least) cygcheck is not finding _all_ of the dll's that are needed. Think dlopen(). cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: (latest install from site) cygwin1.dll 1.3.22-dontuse-21 --bash buggy behaviours under windows 2000
* First line of script is #! /bin/bash * my login shell is bash * problems show themselves irrespective of how i invoke the script - whether ./scriptname or bash scriptname * All the mentioned problems are observed in one single script that's around 1500 lines - Original Message - From: Andrew Markebo [EMAIL PROTECTED] Just a quick question, how do you fire away the script/s? do you use a #!/bin/sh or you run bash script in your shell/whatever? /A / sandeep [EMAIL PROTECTED] wrote: | hello, | | I have come across some problems with cygwin (they repeat even with the latest | cygwin i installed two days back) while working on windows 2000. | | cygwin1.dll Product Version is 1.3.22-dontuse-21 | | bash --version shows | GNU bash, version 2.05b.0(9)-release (i686-pc-cygwin) | Copyright (C) 2002 Free Software Foundation, Inc. | | The problems are -- | | [1] for i in list-of-file-name | do | echo . $i | cat $i | done | | Sometimes the order of echoed statement and corresponding file content gets | changed and I end up getting output like | | .. file20 .. | .. file21 .. | .. file22 .. | contents of file20 | contents of file21 | contents of file22 | | [2] following problem is more weird . I have a sequence of two consecutive | statements in a bash-script | | sed -e 'sed-expression' file1 file2 | mv file2 file1 | | quite many times in a run of script 'mv' cribs about *file2 not existing* | my understanding of bash goes as -- file2 will be created/zeroed-out first and | then sed will be processed, so file2 should exist before mv executes. | as a note :- file2 doesn't exist before sed (manipulations involving file2 are | only in this place in script) | | I also tried putting an b/w two statements to ensure 'mv' doesn't happen | before sed is successfully done. that also didn't eliminate the problem. | | [3] At times some of the echo-ed statements don't find place in redirected | output file (I have no idea if this behaviour repeats on console output too). | | situation is like -- | | cp basefile tempfile | add-required-statements tempfile | | add-required-statements is a bash shell function that echoes many statements to | be put in tempfile. | what i have observed is - at times, initial 3-4 echo-ed statements don't find | place in tempfile, otherwise things are okay. | | problem used to come even earlier, when all those statements were appended | like -- | | cp basefile tempfile | echo .. tempfile | | echo tempfile | | i went for some reorganisation of script to reduce number of tempfile | checking if it eliminated the problem. | | Any clue to what's happening and why it could be happening, is welcome. Are | these problems to do with cygwin bash or with windows 2000? | | sandeep | | | | --- | Outgoing mail is certified Virus Free. | Checked by AVG anti-virus system (http://www.grisoft.com). | Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003 | | -- The Devil is so clever that he makes you think he doesn't exist. Please note, new email, @telia.com - @comhem.se --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Yes but I don't understand ...
I thought it went like this: In the beginning, there was B20, and it was GOOD. After that, it went downhill... ;-) Wayne -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: What is the minimum needed to run gtar?
David A. Case wrote: On Wed, Aug 06, 2003, David Rothenberger wrote: You can find out what DLLs an executable needs by running cygcheck on it. Note that this may not give a complete list. Consider rxvt.exe: quine% cygcheck rxvt.exe Found: .\rxvt.exe Found: C:\cygwin\bin\rxvt.exe rxvt.exe .\cygwin1.dll C:\WINDOWS\System32\KERNEL32.dll C:\WINDOWS\System32\ntdll.dll C:\WINDOWS\System32\USER32.dll C:\WINDOWS\System32\GDI32.dll C:\WINDOWS\System32\ADVAPI32.dll C:\WINDOWS\System32\RPCRT4.dll This might suggest that only cygwin1.dll is needed (besides the windows stuff). However, continuing (in X, with DISPLAY set): quine% cd /usr/X11R6/bin quine% mv libX11.dll libX11.dll~ quine% back /bin quine% ./rxvt.exe failed to load libX11.dll Putting libX11.dll~ back to its original name again allows rxvt.exe to run correctly. Thus in this case (at least) cygcheck is not finding _all_ of the dll's that are needed. True, but the use of LoadLibrary/dlopen is rare (and that is why cygcheck is unable to detect the dependency in this case). Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: What is the minimum needed to run gtar?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Larry Hall Biederman, Steve wrote: I want to allow the users I support to be able to run Cygwin tar on their Windows machines. These machines have not had any Cygwin installed; they're just bare Windows machines. I provided them tar.exe and cygwin1.dll and assumed that with these, they could run Cygwin tar sucessfully. It appears that that isn't the case: machines without Cygwin installed see different behavior than machines which have it installed. (Running tar on machines without Cygwin installed creates incorrect tar archives.) What is the minimum I need to provide to a non-Cygwin Windows machine to get Cygwin tar to run reliably? Dunno. Perhaps you need to provide some data on what's wrong with the archives made and some specifics on what you're using (cygcheck output perhaps?) and an example of the problem. A work-around might be to use Winrar - it seems to grok tar/gz files very well. I'd say that RAR is a good replacement for Winzip. The culprit is: 40 days trial version @ http://www.rarlab.com /Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'E --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
problem wit iwidgets tk/tcl and wmaker
hello All together, 1.-Background: cygwin donfiguration: Cygwin DLL version info: DLL version: 1.3.22 DL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 78 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Tue Mar 18 09:20:11 EST 2003 CVS tag: dontuse-21 Shared id: cygwin1S3 tcltk 20030214-1 WindowMaker 0.80.0-2 2.- i have two questions how to use iwidgets package from tk/tcl about crashing of wmaker 2.1.- when i start the sh /usr/share/iwidgets4.0.1/demos/catalog, i get an error messagebox , it tell me that, the library libitcl32.a could not be loaded. i modified the file /lib/itcl3.2/pkgIndex but without success. i tried with differents modification , but how i said, i did not have success: modifications #package ifneeded Itcl 3.2 [list load [file join $dir .. libitcl32.a] Itcl] package ifneeded Itcl 3.2 [list load [file join [pwd] .. libitcl32.a] itcl] #package ifneeded Itcl 3.2 [list load C:/OME_Folder/cygwin/lib/libitcl32.a Itcl] #package ifneeded Itcl 3.2 [list load [file join OME_Folder cygwin lib libitcl32.a] Itcl] #package ifneeded Itcl 3.2 [list load [file join OME_Folder cygwin lib libitcl32.a] Itcl] #package ifneeded Itcl 3.2 [list load [eval exec cygpath -u C:/OME_Folder/cygwin/lib/libitcl32.a] Itcl] #package ifneeded Itcl 3.2 [list load [eval exec cygpath -w C:/OME_Folder/cygwin/lib/libitcl32.a] Itcl] #package ifneeded Itcl 3.2 [list load [eval exec cygpath -u C:/OME_Folder/cygwin/lib/libitcl32.a] Itcl] #package ifneeded Itcl 3.2 [list load C:\\OME_Folder\\cygwin\\lib\\libitcl32.a Itcl] #package ifneeded Itcl 3.2 [list load [file join OME_Folder cygwin lib libitcl32.a] Itcl] the errormessages vary forom case to case e.g can't find package Itcl 3.2 could no load library .. invalid argument could no load library .. library or dependence library could not be found in path what can i do to resolve this problem? 2.2 About crashing of wmaker i modified the startxwin.sh XWin -fullscreen wmaker i get following error with signal 11 wmaker could not read die File under GNUstep. I know, there is a similar reporting, but no realy a solution comments what can i do to resolve too this problem thank very much Omar __ Design-Mails, Smileys, Bilder - einfach schoenere E-Mails schreiben WEB.DE FreeMail Deutschlands beste E-Mail - http://f.web.de/?mc=021143 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: OT: to be nice, or not...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jon LaBadie On Wed, Aug 06, 2003 at 07:42:04PM +0200, Hannu E K Nevalainen (garbage mail) wrote: --8-- *The point* is beeing able to launch the time/cpu-consuming task and then append the paging later. The obvious is to concatenate cat ... with the line above it - but this is NOT the answer I'm asking for. $ ( long task second task ) $ jl No, the first task doesn't start until you've finished typing. Your suggestion is like the obvious thing above, but thanks for trying. /Hannu E K Nevalainen, B.Sc. EE Microcomputer systems - 59?14'N, 17?12'E --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
OT: to be nice, or not...
Scenario: I launch a task at normal priority (nice-ness 0) When this task has finished I wish to be paged... In other words; Question: Can I have one task be postponed while another one is still executing? Is this possible? e.g. a command sequence that might take a long time: $ echo list.md5 ; find -type f | xargs md5sum -b list.md5 $ nice -n 19 cat TaskDone.wav /dev/dsp *The point* is beeing able to launch the time/cpu-consuming task and then append the paging later. The obvious is to concatenate cat ... with the line above it - but this is NOT the answer I'm asking for. /Hannu E K Nevalainen, Mariefred, Sweden --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin DLL configuration
Doru Carastan wrote: David Rothenberger wrote: Gerrit recently posted a script ... See http://www.cygwin.com/ml/cygwin/2003-07/msg01316.html. Thank you David, it did the trick. tooldir is the culprit. ifeq ($(target_alias),$(host_alias)) ifeq ($(build_alias),$(host_alias)) tooldir:=$(exec_prefix) else tooldir:=$(exec_prefix)/$(target_alias) endif else tooldir:=$(exec_prefix)/$(target_alias) endif For some reason the tooldir variable does not get set to ${exec_prefix}. The reason is that the top level Makefile defines tooldir, and passes it down through the FLAGS_TO_PASS mechanism, causing it to appear on the command line of the sub-make. And command line variable definitions override normal definitions of variables inside Makefiles. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: give args to setup in command line or ini file
Delarue David wrote: Hello I would like to know if it's possible to give args to the setup in a command line or directly in the setup.ini . What i want to do is : - launch the setup with 'install from local directory' check by default in the 'choose a download source' screen. Yes, you may use -L for now, but as of the next release of setup, it will remember the previous selection anyway. - in the 'select packages' screen i want to check the reinstall mode by default Why would you want to do such a strange thing? Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: 1.5.x goes current on 2003-08-23?
Nicholas, On Tue, Aug 05, 2003 at 02:03:02AM -0400, Charles Wilson wrote: Nicholas Wourms wrote: Perl is required for many operations, and (as I'm sure Chuck will agree) having to rebase a *critical* core application *just* to get it work is unacceptable. Hey, don't drag me into this. Rebase is (currently) a necessary evil for python and maybe perl, but I gave up maintaining perl a LONG time ago and I don't intend to stick my nose into it now. It's Gerritt's baby, and I trust him to do whatever is necessary to make stuff work. But, he's asked for help -- so help, dammit, don't carp. ^^ Exactly. On Mon, Aug 04, 2003 at 07:56:38PM -0400, Nicholas Wourms wrote: No offense to Jason, but rebase is really just papering over a much bigger infrastructure problem which isn't going away. The problem is that rebase all only takes into account the dll's installed by the installer. It certainly doesn't take into account dll's which aren't named .dll (like in Ruby which leaves them named *.so). It also won't take into account user-installed dlls or perl modules. I've managed to work around this on my Win2k machine by modifying rebase all to use `locate` and to run rebase on any .so's it finds in the Ruby dir. If rebase and rebaseall don't meet your needs, then supply the patch(es) to enhance them so they do. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: (latest install from site) cygwin1.dll 1.3.22-dontuse-21 --bash buggy behaviours under windows 2000
* All the mentioned problems are observed in one single script that's around 1500 lines A small correction to my previous mail, problem [1] is observed on bash prompt too. I was trying to check for a situation that is happening in script where output-redirection is involved. The original snippet that led me to this experiment is as follows --- echo -n Status : logfile cat results logfile echo logfile echo logfile results never contain a new line, but a simple string consisting of english alphabets (dumped into this file by some tool before). Expected output in logfile for this sequence is of the form -- Status : XXX --- Most of the times the output is as expected, but sometimes it turns out to be like Status : XXX--- | [1] for i in list-of-file-name | do | echo . $i | cat $i | done | | Sometimes the order of echoed statement and corresponding file content gets | changed and I end up getting output like | | .. file20 .. | .. file21 .. | .. file22 .. | contents of file20 | contents of file21 | contents of file22 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Win2k and cygwin memory leak
Christopher Faylor wrote: On Thu, Aug 07, 2003 at 11:32:42AM -0400, Rolf Campbell wrote: This may be a Win2000 problem, not a cygwin problem...What service pack are you running? May be? You run a bunch of programs, exit them, and Windows slowly loses memory after each exit? Hard to see how that's a cygwin problem. That may be partly true, but is also not helpful. If there is a memory leak in cygwin then tracking down exactly was is causing it would of course be a good idea, so it can be stopped. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: SSH session terminates with Ctl+C
Did you check the versions of sshd running on Solaris and Linux? FWIW, ssh into Cygwin from Cygwin shows the same results as you say you get from Solaris. But this doesn't seem to be a Cygwin problem. If checking the sshd versions doesn't shed light on the problem, I would suggest taking the question to a SSH forum, perhaps with a bent toward Linux. I understand what you are saying, but I don't think it is the case. I've actually sat physically at the Linux boxes, using X, and ssh'd to localhost and I can login just fine. I can Ctl+C all day and it doesn't kill my ssh session. I can use SecureCRT from my W2K workstation, and it doesn't kill my session. I can even use cygwin to ssh to the Linux boxes (forwarding X packets), and run an xterm on my local W2K Xserver, and Ctl+C doesn't kill my ssh session. It's only when going from the bash shell in cygwin to the remote host, and using Ctl+C that this issue happens. That's why I was thinking that something local in the cygwin environment is catching that signal, and terminating my ssh session, or something like that. In response to the issue with the TERM being set properly. I've tried leaving the default 'cygwin' tty and set it to 'vt100', the behavior is still the same. Thanks again for you help, - Jeff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: getopt output reordering
Patrick Eisenacher wrote: Hi Max, thanks for your quick response. Indeed, setting the POSIXLY_INCORRECT_GETOPT environment variable did the trick and produces a result that is in synch with the man page. Since I don't know anything about the various flavours of getopts around and what is posixly correct and what not, and I guess a lot of other users don't know neither, how about updating the man pages to be in synch with the current behaviour and adding a paragraph on the POSIXLY_INCORRECT_GETOPT stuff? PTC. Given this: ... because getopt is statically linked, this only works for programs rebuilt since this change was made, and many haven't been yet. such a patch is unlikely to be commited until after 1.5 has been released, as most stuff will have been recompiled by then. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Win2k and cygwin memory leak
What a clueless comment. H - I'll go with that!! (if it makes you feel better - or even if it doesn't) It is not denial to assert that an OS which allocates memory and doesn't free it is broken. If cygwin triggers a windows problem that does not mean that it is a cygwin problem no matter how hard that is for you to understand. Gosh, isn't there a *win* in *cygwin*?? Not that I'm demanding anything or goodness knows, making suggestions about how you 'Oh Great One' should allocate your resources - goodness *no*! But this notion that a WinDoze problem is not *also* a cyg*win* problem - is quite a *CURIOUS* one to this *clueless* simpleton - INDEED!! Seems in a way that you're saying I don't care if what I built doesn't work for this or that because it's Microsoft's problem. I really don't think you as one who is quick to let Microsoft define what he can and can't do - as you yourself have said I fix all sorts of problems in cygwin which are really windows problems So indeed you pick and choose which *Microsoft* problems to fix that keep cyg*win* from working - all along *denying* it's a cyg*win* problem . Interesting how a 'Great' mind works ;-) . Brian Kelly Christopher Faylor [EMAIL PROTECTED]@cygwin.com on 08/07/2003 01:56:16 PM Please respond to [EMAIL PROTECTED] Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: (bcc: Brian Kelly/WTC1/Empire) Subject:Re: Win2k and cygwin memory leak On Thu, Aug 07, 2003 at 12:52:53PM -0400, [EMAIL PROTECTED] wrote: Ah well, someday the denial will end, or the problem will get fixed unintentionally when some other change is made and the cygworld will go on. What a clueless comment. It is not denial to assert that an OS which allocates memory and doesn't free it is broken. If cygwin triggers a windows problem that does not mean that it is a cygwin problem no matter how hard that is for you to understand. I fix all sorts of problems in cygwin which are really windows problems but, golly gee, if I can't duplicate them, I can't fix them. And, my willingness to debug some things is limited. If it takes running a perl script every five minutes for a day to duplicate the problem, then that is not something that I'm going to do anytime soon. This is not denial. This is a refusal to take a large amount of my time to find a workaround to a windows problem. -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to [EMAIL PROTECTED] and be permanently blocked from mailing lists at sources.redhat.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ WellChoice, Inc. made the following annotations on 08/07/2003 02:35:24 PM -- Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Directory problems after fresh install of v1.3.22-1
Hi ! I just installed cygwin by downloading and running setup.exe as the administrator on my win2000pro-sp3 system. The vew page says : Latest Cygwin DLL release version is 1.3.22-1 In the setup wizard, I choose install for all users, root dir : X:\cygwin After the installation finished, i started the start menu entry for Cygwin Bash Shell pointing to X:\cygwin\cygwin.bat This is what happened in the window that appeared : bash.exe: warning: could not find /tmp, please create! bash-2.05b$ mount bash: mount: command not found bash-2.05b$ pwd /usr/bin bash-2.05b$ cd /usr bash: cd: /usr: No such file or directory bash-2.05b$ cd .. bash: cd: ..: No such file or directory I am confused. Is this normal behavior ? Regards, David --- David Balazic mailto:[EMAIL PROTECTED] HERMES Softlab http://www.hermes-softlab.com Zolajeva 30 Phone: +386 2 450 8851 SI-2000 Maribor Slovenija --- Be excellent to each other. - Bill S. Preston, Esq. Ted Theodore Logan --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin 1.5.1 libc.a link problem
Gerrit, On Tue, Aug 05, 2003 at 10:10:31PM +0200, Gerrit P. Haase wrote: Jason, thank you very much! You are very welcome. This one became quite a hang banger for me. Knowing that I assisted someone else is helping to ease the pain... :,) Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Win2k and cygwin memory leak
May I call you Jim? I may be clueless, but I'm not stupid. I would never question King Faylor's ability to find and fix, or work around a memory leak (and I even respect his decision not to) but I would certainly question yours As for the venom being spewed on this thread, all I want to say is that I spent hundreds of hours cobbling together work-arounds so I could get an open source automated infrastructure working in a large organization. Cygwin is just one piece of the puzzle - but it is a critical indispensible piece. I consider my time just as ( if not more ) valuable than anyone else's participating here. These disputed memory leaks were for me the biggest obsticle preventing me from achieving my ultimate objective - which saved my company hundreds of thousands of dollars they otherwise would have had to spend to acquire the solution from third party vendors. It would have been nice if there was an acknowledgement of this problem (cygwin's or not) rather than attempted character assassinations. But the value that Cygwin delivers for me and my organization is so valuable and irreplacible that *putting up* with the *meanness* here is small price to pay to get the answers I frequently need. Jim Drash [EMAIL PROTECTED]@cygwin.com on 08/07/2003 04:18:16 PM Sent by:[EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: (bcc: Brian Kelly/WTC1/Empire) Subject:Re: Win2k and cygwin memory leak I will be happy to find and fix your specific memory leak. My going rate is $200/hour. If that is satisfactory with you we can talk. If not, you have the source, the compiler, the debugger, find it yourself or find someone who will at a lower rate than mine. Otherwise, bugger off! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ WellChoice, Inc. made the following annotations on 08/07/2003 05:00:58 PM -- Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
getopt output reordering (was: xmlto package install question)
Talking to Tim Waugh, the author of xmlto, revealed that the order of arguments doesn't matter on his system (that's Red Hat, I guess), whereas it matters indeed on Cygwin. Investigating it a bit further revealed that Cygwin's getopt differs from what he expected: getopt -- o: xmlto -o foo bar should output this: -o 'foo' -- 'xmlto' 'bar' Cygwin's getopt outputs like this: $ getopt -- o: xmlto -o foo bar -- 'xmlto' '-o' 'foo' 'bar' Checking the archive I found a thread from back in January talking about the inability of Cygwin's getopt to do reordering of arguments. I guess we're facing here the same issue: the option arguments are not output before the non-option arguments. Was any work done wrt this issue? Is anything planned? Tim is going to update the xmlto usage information to reflect the proper order of arguments. Patrick Gerrit P. Haase schrieb: usage: xmlto FORMAT [OPTION]... XML OPTIONs are: -v verbose output (-vv for very verbose) -x stylesheet use the specified stylesheet instead of choosing one -m fragment use the XSL fragment to customize the stylesheet -o directoryput output in the specified directory instead of the current working directory It only works if you swap 'FORMAT [OPTIONS]' to '[OPTIONS] FORMAT' which is what I found in the patch included in the source package. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Win2k and cygwin memory leak
On Thu, Aug 07, 2003 at 11:32:42AM -0400, Rolf Campbell wrote: This may be a Win2000 problem, not a cygwin problem...What service pack are you running? May be? You run a bunch of programs, exit them, and Windows slowly loses memory after each exit? Hard to see how that's a cygwin problem. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Unable to bring up netscape as any other user
Never mind the question about setting the registry for Allowing service to interact with desktop... I found that a dword of 110 will do for the inetd registry entry. But I still had one question though. From the bash shell the ` (back ticks) work. But when I spawn a process and execute a shell script which contains the back ticks, the process just chokes. For example, a simple shell script like #!/bin/sh .. .. myenv=`env | grep CYGWIN` .. .. I am able to execute this script properly from the bash shell (as any user on the system). But this same script when executed via a spawned process does not work. Looks like something is broken in my background processing. Any help? Girish -Original Message- From: Menon, Girish (MED, WIPRO-GE MED) Sent: Wednesday, August 06, 2003 3:01 PM To: '[EMAIL PROTECTED]' Subject: RE: Unable to bring up netscape as any other user Also, rather than going via command line, is there any other way I can do the same setting (i.e. going via services and modifying the properties of inetd)? Any arguments to cygrunsrv or inetd or modifying the registry... -Original Message- From: Menon, Girish (MED, WIPRO-GE MED) Sent: Wednesday, August 06, 2003 1:06 PM To: '[EMAIL PROTECTED]' Subject: RE: Unable to bring up netscape as any other user Great. It worked. Now I have a slightly differnt issue. If I try to bring up netscape manually from the bash window, it comes up. But if I try to bring it up as a background process, it does not work. In my code, I tried to spawn a new netscape process, but that failed. When I modified my code to instead call netscape directly, it comes up. Here's a snippet of my code: sprintf(shellExec, %s/bin/sh.exe, getenv(SYSTEMDRIVE)); // spawn new service browser _flushall(); _spawnlp(_P_DETACH, shellExec, shellExec, netscape.exe, NULL); -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 12:01 PM To: Menon, Girish (MED, WIPRO-GE MED) Cc: [EMAIL PROTECTED] Subject: Re: Unable to bring up netscape as any other user On Wed, 6 Aug 2003, Menon, Girish (MED, WIPRO-GE MED) wrote: Up until recently, I was using an older version of cygwin (1.3.10). With the advent of the security patch for telnet, inetutils 1.3.23, I decided to upgrade my cygwin version to the latest (1.3.22) with the inetutils 1.3.23. Ever since, I have been having some problems. I installed cygwin as Administrator. If I become some other user and try to bring up netscape (which was also installed as Administrator), netscape does not come up. If I do a ps, I see the netscape task is running, but I am not able to see the browser. I am attaching the cygcheck output. Any suggestions on where I am going wrong. The netscape process would come up as a child process of the inetd service. Therefore, the service should have interaction with desktop enabled for you to see the netscape window. I've added an option for that to cygrunsrv, but inetd might not have one, so you'll have to go into the services panel and edit the properties of the inetd service to enable that. Just check the Allow service to interact with desktop checkbox. Hope this helps, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: GNU Emacs build: NTEmacs vs cygwinized
FRC wrote: xterm.c:4488: `XtNbeNiceToColormap' undeclared (first use in this function) Got it -- don't compile with Xaw3d. -- Joe Buehler -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Has ANYONE got telnet via xinetd working on 2000 *SERVER*??( or 2003)
BOY - WAS THAT PAINFUL. I did *finally* get it all working - but it sure seems like there's got to be an easier way. Some lessons learned: 1.If you were set up for inetd *before* you attempt to use xinetd, be sure to set the CYGWIN environment variable. CYGWIN='binmode tty ntsec' I had the registry modified instead for inetd and it didn't occur to me till after about 12 hours of trying everything else that this could be the culprit. 2.I found that copying the sshd to xinetd was not necessary. The default one that is put down with the xinetd install seems to work just fine. 3.Be sure to run iu-config in addition to everything else to set up the /etc environment if cygwin is truly a fresh install. 4.Make sure that /var/log is universally writable. If the xinetd service doesn't start when doing net start init then stop init service, remove /var/log/servicelog and make sure /var/log directory is writeable for all. Start init service. (Thanks to Sergey Okhapkin). Telnet/Ftp via Xinetd INSTALL - SETUP Instructions ### 1.Do a clean install (or REINSTALL) of inetutils, xinetd, sysvinit, chkconfig, and initscripts Note: inetd will NOT be running as a service, but the xinetd does need inetutils installed. Beyond simply putting the pieces on your harddisk via setup.exe, DO NOT follow any of the instructions regarding *inetd*. 2.Make sure your CYGWIN enviroment variable is set: CYGWIN='binmode tty ntsec' 3.run /bin/iu-configto set up the /etc folder. 4.run /usr/bin/init-config, NOT overwriting any config files, just install init as a service 5.cd /etc/rc.d/init.d then /usr/sbin/chkconfig --add xinetd 6.net stop init then net start init 7.telnet localhost THANKS VINCE!! # had time to try this today, works fine. steps were, 1) clean install included inetutils, xinetd, sysvinit ,chkconfig and initscripts (and vim but whatever editor you like ;) 2) run /usr/bin/init-config, NOT overwriting any config files, just to install init as a service. 3) copy /etc/rc.d/init.d/sshd to /etc/rc.d/init.d/xinetd and edit to make appropriate to xinetd (available on request) 4) cd /etc/rc.d/init.d then /usr/sbin/chkconfig --add xinetd 5) net stop init net then net start init 6) $ telnet localhost Trying 127.0.0.1... Connected to GENBRIDEVINT1.uk.circle.com. Escape character is '^]'. CYGWIN_NT-5.0 1.3.22(0.78/3/2) (GENBRIDEVINT1) (tty0) login: administrator Password: Fanfare!!! You are successfully logged in to this server!!! Vince Hoffman [EMAIL PROTECTED]@cygwin.com on 08/06/2003 11:32:29 AM Sent by:[EMAIL PROTECTED] To:'[EMAIL PROTECTED]' [EMAIL PROTECTED], Vince Hoffman [EMAIL PROTECTED] cc:[EMAIL PROTECTED] Subject:RE: Has ANYONE got telnet via xinetd working on 2000 *SERVER*?? ( or 2003) WOW! Thanks dude! You're my hero! YES - I would *GREATLY* appreciate: edit to make appropriate to xinetd (available on request) So I am hereby *requesting* it :-) as requested (find attached) its probably not a tidy as could be as i just ripped out the ssh specific bits, did %s/sshd/xinetd/g %s/SSHD/XINETD/g so remembering i did actualy have access to a redhat box using linux box using xinetd, find attached also, xinet.rh which is the redhat one with linux specific stuff cut out (checking for root user etc.) havent tested that one but it should work. hope this is enough to get yours working. On a side note, i originaly tried to use just xinetd as a service but realised there is no option to stop it forking to background so while it worked, you couldnt stop it without killing it from a command line/task manager :(. It still *seems* like I did everything here (and more than once I might add) - and that I *should* have got it working. Of course I will start fresh and follow your instructions *to the letter* and then backstep to see why I wasn't able to get it working on my own. The one thing of course that I would never have thought to do would be to copy and modify sshd to xinetd. Not exactly *intuitive*! I'll be anxious to see if this was indeed the one indispensible thing I needed to do. Again - appreciate all the assistance. I need xinetd to maximize security until we can get secure shell working from the mainframe (don't hold your breath!). Ah well, some folks just like liv'in in the past! Brian Kelly Vince Hoffman [EMAIL PROTECTED] on 08/06/2003 08:41:38 AM To:'[EMAIL PROTECTED]' [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:RE: Has ANYONE got telnet via xinetd working on 2000 *SERVER*?? ( or 2003) had time to try this today, works fine. steps were, 1)
Re: Win2k and cygwin memory leak
On Thu, Aug 07, 2003 at 05:44:08PM -0400, Rolf Campbell wrote: Christopher Faylor wrote: As described, the memory leak is obviously not in cygwin. It is in windows. I was adding some clarification to the issue by changing a may be to a definitely is. I think that this kind of clarification is more useful than your message, which essentially says If we could figure out what was causing the problem then maybe it could be fixed. Personally, I don't see how that observation is useful. Having had some experience with this, I find it highly doubtful that any useful data will come from people posting their me too experiences. If someone wants to fix this then researching the Microsoft Knowledge Base might be a place to start. A google search might also be helpful. Could it be *possible* that cygwin leaves some memory allocated? Does windows claim to free all memory allocated by a process when it exits? Even Windows 95 should be enough of an operating system that it should free memory on exit. If that was not the case, I could easily write a program that would bring the system to its knees. Of course that is easy to do with Windows 9x in any event but I haven't heard about this particular problem there. What about cygwin shared memory? I suppose it is possible that cygwin could be allocating shared memory. That would disappear when the last process which had a pointer to it went away. I haven't heard that it has been the case that memory reappears when all cygwin processes disappear. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Weak attribute unsupported?
Hello, I am trying to compile an internal test suite built originally in Linux. Under cygwin, I get multiple definition errors for functions that have the weak attribute and are overridden elsewhere. Is this generally unsupported on Windows? I've tried searching the archives and haven't found a clear-cut answer. Thanks! -Tom Johnson -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: give args to setup in command line or ini file
On Thu, 7 Aug 2003, Delarue David wrote: Hello I would like to know if it's possible to give args to the setup in a command line or directly in the setup.ini . What i want to do is : - launch the setup with 'install from local directory' check by default in the 'choose a download source' screen. - in the 'select packages' screen i want to check the reinstall mode by default Thanks. While setup has some command-line arguments, I'm not sure if there are any that do exactly what you asked about. For more information, look in the code of setup (search for Option) or Google for setup command line arguments site:cygwin.com inurl:ml inurl:cygwin-apps (but be aware that some of these messages might be out of date). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Has ANYONE got telnet via xinetd working on 2000 *SERVER*?? ( or 2003)
WOW! Thanks dude! You're my hero! YES - I would *GREATLY* appreciate: edit to make appropriate to xinetd (available on request) So I am hereby *requesting* it :-) as requested (find attached) its probably not a tidy as could be as i just ripped out the ssh specific bits, did %s/sshd/xinetd/g %s/SSHD/XINETD/g so remembering i did actualy have access to a redhat box using linux box using xinetd, find attached also, xinet.rh which is the redhat one with linux specific stuff cut out (checking for root user etc.) havent tested that one but it should work. hope this is enough to get yours working. On a side note, i originaly tried to use just xinetd as a service but realised there is no option to stop it forking to background so while it worked, you couldnt stop it without killing it from a command line/task manager :(. It still *seems* like I did everything here (and more than once I might add) - and that I *should* have got it working. Of course I will start fresh and follow your instructions *to the letter* and then backstep to see why I wasn't able to get it working on my own. The one thing of course that I would never have thought to do would be to copy and modify sshd to xinetd. Not exactly *intuitive*! I'll be anxious to see if this was indeed the one indispensible thing I needed to do. Again - appreciate all the assistance. I need xinetd to maximize security until we can get secure shell working from the mainframe (don't hold your breath!). Ah well, some folks just like liv'in in the past! Brian Kelly Vince Hoffman [EMAIL PROTECTED] on 08/06/2003 08:41:38 AM To:'[EMAIL PROTECTED]' [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:RE: Has ANYONE got telnet via xinetd working on 2000 *SERVER*?? ( or 2003) had time to try this today, works fine. steps were, 1) clean install included inetutils, xinetd, sysvinit ,chkconfig and initscripts (and vim but whatever editor you like ;) 2) run /usr/bin/init-config, NOT overwriting any config files, just to install init as a service. 3) copy /etc/rc.d/init.d/sshd to /etc/rc.d/init.d/xinetd and edit to make appropriate to xinetd (available on request) 4) cd /etc/rc.d/init.d then /usr/sbin/chkconfig --add xinetd 5) net stop init net then net start init 6) $ telnet localhost Trying 127.0.0.1... Connected to GENBRIDEVINT1.uk.circle.com. Escape character is '^]'. CYGWIN_NT-5.0 1.3.22(0.78/3/2) (GENBRIDEVINT1) (tty0) login: administrator Password: Fanfare!!! You are successfully logged in to this server!!! [EMAIL PROTECTED] ~ $ ps -e PIDPPIDPGID WINPID TTY UIDSTIME COMMAND 1684 11684 1684 con 500 13:25:25 /usr/bin/bash 2076 12076 2076? 18 13:33:22 /usr/bin/cygrunsrv 199220761992 2016? 18 13:33:22 /sbin/init 1756 11756 1756? 18 13:33:23 /usr/sbin/xinetd 195216841952508 con 500 13:39:57 /usr/bin/telnet 182417561824 1016? 18 13:39:58 /usr/sbin/in.telnetd 180418241804 15600 500 13:40:11 /usr/bin/bash 227618042276 22880 500 13:40:49 /usr/bin/ps [EMAIL PROTECTED] ~ $ Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 06 August 2003 01:28 To: [EMAIL PROTECTED] Subject: Has ANYONE got telnet via xinetd working on 2000 *SERVER*?? (or 2003) I've got invested about seven to eight total hours trying to get it working, plowing past one issue after another. I finally get a login prompt, but I can't authenticate with ANY ID, local or domain. Inetd on the other hand, works perfectly. I read folks had trouble getting similiar stuff working on 2003 Server. Could it be that 2000 server and 2003 server really aren't all that different?? Anyway, before I saddle you guys with stuff, I thought I'd first ask if *anyone* is using it successfully on 2000 *Server*. Brian Kelly WellChoice, Inc. made the following annotations on 08/05/2003 08:29:55 PM -- Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement -- Unsubscribe info:
Re: Controversial what if.... we disable ntsec by default again?
Mark Priest wrote: Max, What problems is ntsec causing? I am a relatively new user and I have not had any problems with it. In fact it is allowing me to host a more secure ssh server installation. I have been following the list for a couple of months and I have not seen many problems relating to ntsec. Most of those that I have seen regarding ntsec seem to stem from configuration errors by users rather than from anything inherent in ntsec. It is hard to comment on this without knowing what the specific issues are. [Finally replying - been busy recently] Essentially, ntsec requires an understanding of the interaction between Cygwin and NT ACLs that first time users will not necessarily have. If you have that understanding, and are willing to spend the time to get things working as you want them - great!. But for an average single-user machine, ntsec can be a hinderance. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: What is the minimum needed to run gtar?
On Wed, Aug 06, 2003 at 01:27:11PM -0400, Larry Hall wrote: Oh, OK. I didn't know that this was a restatement of that problem (http://cygwin.com/ml/cygwin/2003-07/msg00932.html). Did you try running tar on the affected systems with strace? Perhaps a comparison of the output from a machine where it's failing and the same from one that doesn't would provide some insight. Biederman, Steve wrote: For a good, concise example and test case, go back to the problem I posted on 7/16, titled tar 1.13.25 runs forever and produces nothing on this test case. That behavior is seen on a bare Windows machine with no Cygwin installed but for tar 1.13.25 and cygwin1.dll. When I installed a Cygwin build environment in order to debug the problem, the problem disappeared. But its easily reproduced on a bare Windows machine. Biederman, Steve wrote: I want to allow the users I support to be able to run Cygwin tar on their Windows machines. These machines have not had any Cygwin installed; they're just bare Windows machines. I provided them tar.exe and cygwin1.dll and assumed that with these, they could run Cygwin tar sucessfully. It appears that that isn't the case: machines without Cygwin installed see different behavior than machines which have it installed. (Running tar on machines without Cygwin installed creates incorrect tar archives.) What is the minimum I need to provide to a non-Cygwin Windows machine to get Cygwin tar to run reliably? This may not be apropos today ... Several years ago I was trying something similar, get a minimum, standalone amanda distribution. The distributed gtar was not yet 1.13.25 so I compiled my own. It needed another cygwin provided dll besides cygwin1.dll. Sorry I don't recall which one, nor do I know if that requirement still exists. jl -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/