Re: [ITP] scsh
Christopher Faylor schrieb: On Sun, Apr 29, 2007 at 02:01:50PM +0200, Reini Urban wrote: Christopher Faylor schrieb: On Sat, Apr 28, 2007 at 03:25:27PM +0200, Reini Urban wrote: Open-source Unix shell embedded within Scheme 48, running on all major Unix platforms. like...? IBM AIX (rs6000-ibm-aix, powerpc-ibm-aix), Cygwin, Linux, FreeBSD, NetBSD, 386BSD, GNU Hurd, HP-UX, SGI Irix, Mac OS X, sparc*-sun-sunos*, Solaris - Sparc and i386, and some others, like CX/UX (m88k-harris-cxux), NeXT DEC Ultrix not. I was looking for actual distributions. The debian link was in the ITP (stable, unstable and testing). I thought debian is enough. Also: http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/scsh/ http://packages.gentoo.org/ebuilds/?scsh-0.6.7 http://fink.sourceforge.net/pdb/package.php/scsh
Re: Please review and upload cron-4.1-1
On Wed, 11 Apr 2007, Corinna Vinschen wrote: On Apr 10 10:33, Pierre A. Humblet wrote: http://mysite.verizon.net/phumblet/cron-4.1-1/setup.hint http://mysite.verizon.net/phumblet/cron-4.1-1/cron-4.1-1.tar.bz2 http://mysite.verizon.net/phumblet/cron-4.1-1/cron-4.1-1-src.tar.bz2 The packaging looks good to me. We talked about the details already in PM. I really like the `cronlog' idea. I've uploaded this package and removed 3.0.1-19. Thank you *very* much for taking over cron. Igor? Do you have a gold star for Pierre handy? Or better two? Yep: http://cygwin.com/goldstars/#PAH. Apologies for the delay -- I was on vacation. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin
Please Upload: naim-0.11.8.2.1-2
http://jca.sdf1.org/cygwin/naim-0.11.8.2.1-2.tar.bz2 http://jca.sdf1.org/cygwin/naim-0.11.8.2.1-2-src.tar.bz2 http://jca.sdf1.org/cygwin/setup.hint jca
Re: Drag N Drop in Windows XP
Stanley Nguyen schrieb: Stanley Nguyen schrieb: I'm telnetting to this java app from a Windows XP machine with cygwin as my xterm server. Everything works great except drag-n-drop. Everytime I try to drag something from one panel to the other panel within the same xwindows, the mouse icon changes to the little circle with a line across like a stop sign to indicate it is not allowed. If I try using Exceed as my xterm server, then everything works ok. I don't understand your description. There is no such thing as an xterm server. Drag and Drog is governed by the window manager, so how did you start Xwin and your java application? The closest thread that I found is http://sourceware.org/ml/cygwin-xfree/2004-06/msg00023.html. The problem is I'm using telnet, not ssh. I then gave it a try with ssh -Y, it also does not work for me. The fact that it's working for Exceed to tell me that there might some limitation with Cygwin X Server but I can't find anywhere indicates that drag-n-drop is not allowed??? Drag and Drog is governed by the window manager, so how did you start Xwin and your java application? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Drag N Drop in Windows XP
I'm telnetting to this java app from a Windows XP machine with cygwin as my xterm server. Everything works great except drag-n-drop. Everytime I try to drag something from one panel to the other panel within the same xwindows, the mouse icon changes to the little circle with a line across like a stop sign to indicate it is not allowed. If I try using Exceed as my xterm server, then everything works ok. I don't understand your description. There is no such thing as an xterm server. Drag and Drog is governed by the window manager, so how did you start Xwin and your java application? The closest thread that I found is http://sourceware.org/ml/cygwin-xfree/2004-06/msg00023.html. The problem is I'm using telnet, not ssh. I then gave it a try with ssh -Y, it also does not work for me. The fact that it's working for Exceed to tell me that there might some limitation with Cygwin X Server but I can't find anywhere indicates that drag-n-drop is not allowed??? Drag and Drog is governed by the window manager, so how did you start Xwin and your java application? I use the standard startxwin.bat to start Cygwin X Server. I believe it is %RUN% XWin -multiwindow -clipboard -silent-dup-error by default. Then I telnet into my Linux box. From there, I launch my java app which is Swing-based. The java app is then open in a different window. The app is working perfect in all aspects except for Drag-N-Drop. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Drag N Drop in Windows XP
Stanley Nguyen schrieb: Drag and Drog is governed by the window manager, so how did you start Xwin and your java application? I use the standard startxwin.bat to start Cygwin X Server. I believe it is %RUN% XWin -multiwindow -clipboard -silent-dup-error by default. Then I telnet into my Linux box. From there, I launch my java app which is Swing-based. The java app is then open in a different window. The app is working perfect in all aspects except for Drag-N-Drop. Drag and Drop is working here with that setup. Which application do you use? (i tested with azureus and java 1.6, don't know if it uses swing) Maybe try -rootless instead of -multiwindow for a test. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Drag N Drop in Windows XP
Drag and Drog is governed by the window manager, so how did you start Xwin and your java application? I use the standard startxwin.bat to start Cygwin X Server. I believe it is %RUN% XWin -multiwindow -clipboard -silent-dup-error by default. Then I telnet into my Linux box. From there, I launch my java app which is Swing-based. The java app is then open in a different window. The app is working perfect in all aspects except for Drag-N-Drop. Drag and Drop is working here with that setup. Which application do you use? (i tested with azureus and java 1.6, don't know if it uses swing) Maybe try -rootless instead of -multiwindow for a test. ok, I figure out how to make this work. I have to use either fullscreen or rootless to start the XWin, then I also have to run twm. After that, drag-n-drop works. Thanks for your help -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: FW: Wide char support on cygwin
Arthi N (RBIN/ECM2) wrote on Friday, April 27, 2007 10:28 AM:: Thank you for the reply, from this reply, I shall concentrate more on cygwin. But I have included the needed header inspite of that I get the error !) error: ISO C++ forbids declaration of `wostream' with no type 2) error: `std::wostream' should have been declared inside `std' 3) error: `wostream' is neither function nor member function; cannot be decl ared friend 1)what could be the problem. 2) I had downloaded the latest cygwin from the net and installed. Is there any other library to be included while installation 3) How do I know which version of STL is getting used in cygwin. Thanks and Regards Arthi This is off topic for this list as it has nothing to do with X, you should ask again on the main cygwin list. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: FW: Wide char support on cygwin
Hello , our's is a motif application that needs to be compiled on cygwin. But since the display uses wide char, we are facing this problem. Anyway, you think I will get some positive answers in eh other group, I shall try. Thanks and Regards Arthi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Betts Sent: Monday, 30. April 2007 6:42 PM To: cygwin-xfree@cygwin.com Subject: RE: FW: Wide char support on cygwin Arthi N (RBIN/ECM2) wrote on Friday, April 27, 2007 10:28 AM:: Thank you for the reply, from this reply, I shall concentrate more on cygwin. But I have included the needed header inspite of that I get the error !) error: ISO C++ forbids declaration of `wostream' with no type 2) error: `std::wostream' should have been declared inside `std' 3) error: `wostream' is neither function nor member function; cannot be decl ared friend 1)what could be the problem. 2) I had downloaded the latest cygwin from the net and installed. Is there any other library to be included while installation 3) How do I know which version of STL is getting used in cygwin. Thanks and Regards Arthi This is off topic for this list as it has nothing to do with X, you should ask again on the main cygwin list. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Problems with Startx even after rebaseall
I am not sure if this is the appropriate group. In addition, searching through these gmane newsgroups is not straightforward since Google groups does not return them. Startx fails to initialize when it worked yesterday. I ran setup and the process may have not completed (it was late and I needed to sleep). After running setup.exe again, I navigated to the System category and reinstalled rebase. Then I reviewed the README file; kill all processes associated with cygwin; ran ash; and typed /bin/rebaseall -v; the utility performed some actions and returned without errors. I fired up a cygwin window and startx would still not initialize. The console gave me the following font error. sageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. The cygwin console appears fully functional. The console has returned some errors when running make, but these issues may be completely separate. Please give me whatever insight you may have on these scenarios. I have already spent considerable time troubleshooting these issues and need better guidance. After rebooting the computer and typing startx, cygwin gave me the following error message. Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 2048 height: 768 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null ) (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 1024 384 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. cat: winMultiWindowXMsgProc - pthread_mutex_lock () returned. /home/Ferdie/.Xauthority: No such file or directorywinInitMultiWindowWM - DISPLA Y=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di splay. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp lay. DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMes sageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
xterm application not starting correctly
Recently executed setup.exe which failed. Following a reboot of my PC, I am unable to start xterm window. X11 window pops up but no prompt is received. (Blank White window) I have uninstalled cygwin as indicated below and issue still persists http://www.cygwin.com/faq/faq_2.html#SEC20 Any suggestions ? XServer seems to be starting correctly. _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winScreenInit - Monitors do not all have same pixel format / display depth. Using primary display only. winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 32 winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY= 127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitClipboard () winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winProcEstablishConnection - winInitClipboard returned. winClipboardProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winClipboardProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. Before I performed the reinstall: === Cygwin Configuration Diagnostics Current System Time: Mon Apr 30 12:17:49 2007 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path:C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin C:\cygwin\usr\X11R6\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\ATI Technologies\ATI Control Panel c:\Program Files\Common Files\Adaptec Shared\System c:\ClarifyCRM\eFrontOffice11.5SR1.19\bin c:\ClarifyCRM\eFrontOffice11.5SR1.19\ClearConfigurator\Common Files\CCAutomation C:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 19733(##)GID: 10545(mkgroup-l-d) 0(root) 544(Administrators) 545(Users) 10545(mkgroup-l-d) Output from C:\cygwin\bin\id.exe (ntsec) UID: 19733(##)GID: 10545(mkgroup-l-d) 0(root) 544(Administrators) 545(Users) 10545(mkgroup-l-d) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER = '##' PWD = '/cygdrive/c/TEC' HOME = '/cygdrive/c/TEC' MAKE_MODE = 'unix' HOMEPATH = '\' BASE IMAGE VERSION = 'NAIT_XP_Dell_D600' MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man' APPDATA = 'C:\Documents and Settings\##\Application Data' HOSTNAME = 'CAOTTN03116' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 13 Stepping 6, GenuineIntel' WINDIR = 'C:\WINDOWS' NOTEBOOK = '1' OLDPWD = '/usr/bin' USERDOMAIN = 'AD3' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' TEMP = '/cygdrive/c/DOCUME~1/##/LOCALS~1/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' USERNAME = '##' MULTIDESK = 'C:\Documents and Settings\##\My Documents\My Received Files\shortcuts' PROCESSOR_LEVEL = '6' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' USERPROFILE = 'C:\Documents and Settings\##' PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ ' LOGONSERVER = '\\CAOTTS002' PROCESSOR_ARCHITECTURE = 'x86' !C: = 'C:\cygwin\bin' SHLVL = '1' USERDNSDOMAIN = 'AD3.AD.ALCATEL.COM' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' SMS_LOCAL_DIR
Re: Problems with Startx even after rebaseall
* Robert Neville (Mon, 30 Apr 2007 10:18:15 -0700) I am not sure if this is the appropriate group. In addition, searching through these gmane newsgroups is not straightforward since Google groups does not return them. Startx fails to initialize when it worked yesterday. I ran setup and the process may have not completed (it was late and I needed to sleep). After running setup.exe again, I navigated to the System category and reinstalled rebase. Then I reviewed the README file; kill all processes associated with cygwin; ran ash; and typed /bin/rebaseall -v; the utility performed some actions and returned without errors. I fired up a cygwin window and startx would still not initialize. The console gave me the following font error. sageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. The cygwin console appears fully functional. The console has returned some errors when running make, but these issues may be completely separate. Please give me whatever insight you may have on these scenarios. I have already spent considerable time troubleshooting these issues and need better guidance. After rebooting the computer and typing startx, cygwin gave me the following error message. Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 2048 height: 768 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null ) (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 1024 384 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. cat: winMultiWindowXMsgProc - pthread_mutex_lock () returned. /home/Ferdie/.Xauthority: No such file or directorywinInitMultiWindowWM - DISPLA Y=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di splay. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp lay. DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMes sageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! Well, if there is an winClipboardIOErrorHandler error (whatever that is) you should try starting without -clipboard says my common
Re: Problems with Startx even after rebaseall
On Mon, 30 Apr 2007 21:47:39 +0100, Thorsten Kampe [EMAIL PROTECTED] wrote: * Robert Neville (Mon, 30 Apr 2007 10:18:15 -0700) I am not sure if this is the appropriate group. In addition, searching through these gmane newsgroups is not straightforward since Google groups does not return them. Startx fails to initialize when it worked yesterday. I ran setup and the process may have not completed (it was late and I needed to sleep). After running setup.exe again, I navigated to the System category and reinstalled rebase. Then I reviewed the README file; kill all processes associated with cygwin; ran ash; and typed /bin/rebaseall -v; the utility performed some actions and returned without errors. I fired up a cygwin window and startx would still not initialize. The console gave me the following font error. sageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. The cygwin console appears fully functional. The console has returned some errors when running make, but these issues may be completely separate. Please give me whatever insight you may have on these scenarios. I have already spent considerable time troubleshooting these issues and need better guidance. After rebooting the computer and typing startx, cygwin gave me the following error message. Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command line: X :0 -multiwindow -clipboard _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0007 winSetEngine - Multi Window or Rootless = ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 2048 height: 768 depth: 32 winFinishScreenInitFB - Masks: 00ff ff00 00ff winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shar ed memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 Rules = xorg Model = pc105 Layout = us Variant = (null) Options = (null ) (--) 5 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list! Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li st! Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 1024 384 winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitMultiWindowWM - pthread_mutex_unlock () returned. cat: winMultiWindowXMsgProc - pthread_mutex_lock () returned. /home/Ferdie/.Xauthority: No such file or directorywinInitMultiWindowWM - DISPLA Y=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the di splay. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the disp lay. DetectUnicodeSupport - Windows NT/2000/XP winClipboardProc - DISPLAY=127.0.0.1:0.0 winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. waiting for X server to shut down winClipboardProc - winClipboardFlushWindowsMes sageQueue trapped WM_QUIT message, exiting main loop. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! Well, if there is an winClipboardIOErrorHandler
display ps command line parameters
Hi all, I'm trying to get parameters entered at the Cygwin command line to appear on my ps command, and failing miserably! i.e. I'm running the following process at the command line: program parameter1 In ps -s I get something like: PID TTYSTIME COMMAND 1234 con 09:00:00 /path/program ... but I'd like to be able to pick up the parameter1. So far as I can see it other ps commands on Unix have an -o args option. I've tried every option that seems to be available in Cygwin ps (v 1.11), but cannot get past this wall. Is there a way of doing this through ps (or an alternative) in Cygwin? Thanks in anticipation Andy Burgess -- _ __ __ //_ / /| /_ / /...Your friendly computer professionals __//__ / / |/__ / / web : jet-net.co.uk / phone: 01256 819531 mobile : 07770 808843 -- 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: display ps command line parameters
On 30 April 2007 12:36, [EMAIL PROTECTED] wrote: Hi all, I'm trying to get parameters entered at the Cygwin command line to appear on my ps command, and failing miserably! Is there a way of doing this through ps (or an alternative) in Cygwin? If it doesn't say it in ps --help or man ps, it doesn't do it. cheers, DaveK -- Can't think of a witty .sigline today -- 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: Regarding the Cygwin Environment variables
Hi Good morning !! Can I please know which command I should fire for getting cygcheck output? Here is etc\passwd file: == SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-PPANDAREXP2\Administrator,S -1-5-21-1433376788-2975499368-2157819948-500:/home/Administrator:/bin/ba sh biodb:unused_by_nt/2000/xp:1013:513:biodb,U-PPANDAREXP2\biodb,S-1-5-21-1 433376788-2975499368-2157819948-1013:/home/biodb:/bin/bash db2admin:unused_by_nt/2000/xp:1012:513:db2admin,U-PPANDAREXP2\db2admin,S -1-5-21-1433376788-2975499368-2157819948-1012:/home/db2admin:/bin/bash Guest:unused_by_nt/2000/xp:501:513:U-PPANDAREXP2\Guest,S-1-5-21-14333767 88-2975499368-2157819948-501:/home/Guest:/bin/bash HelpAssistant:unused_by_nt/2000/xp:1007:513:Remote Desktop Help Assistant Account,U-PPANDAREXP2\HelpAssistant,S-1-5-21-1433376788-2975499368-21578 19948-1007:/home/HelpAssistant:/bin/bash Identix:unused_by_nt/2000/xp:1008:513:U-PPANDAREXP2\Identix,S-1-5-21-143 3376788-2975499368-2157819948-1008:/home/Identix:/bin/bash SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-PPANDAREXP2\SUPPORT_388945a0,S -1-5-21-1433376788-2975499368-2157819948-1002:/home/SUPPORT_388945a0:/bi n/bash ppandare:unused_by_nt/2000/xp:28240:10545:ppandare,U-IDXDOMAIN\ppandare, S-1-5-21-1431314469-474088948-56781596-18240:/cygdrive/i:/bin/bash == I am still not able to see where things are going wrong with different environment variables . Thanks a lot Prasad Pandare -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall (Cygwin) Sent: Saturday, April 28, 2007 12:57 AM To: cygwin@cygwin.com Subject: Re: Regarding the Cygwin Environment variables Pandare, Prasad wrote: Hi Here is my problem details : snip You forgot the cygcheck output. My WAG based on the info so far is that you either aren't the same id (user) in both logins (i.e. one local and one domain - although it looks like both are domain) or environment variables are being set by some batch file that doesn't get run by 'ssh'. If you notice, while the 'ssh' session doesn't have the Java variables you mention, the 'ssh' session has at least several others (MAIL, USERPROFILE, etc) that the original session doesn't and variables with different values (PATH, HOMEDRIVE, etc). I'd recommend tracking down where the environment variables you see in the first session come from. It's also worthwhile to check your '/etc/passwd' file to see how it maps your user name to the windows SID and where your home directory is according to it. In essence, I think you have a mismatch of your environment that cannot be explained by things in the Cygwin space. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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/ -- 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/
Leafnode now that W95,98,ME is going away
With the impending non support of pre-ntfs windows is it possible that leafnode would be added to the supported packages? http://www.cygwin.com/ml/cygwin-apps/2004-04/msg00022.html http://www.cygwin.com/ml/cygwin/2004-04/msg00276.html I'm using the package that A. Alper kindly made available and so far it seems to work fine on w2k. Thanks, Wes Szumera -- 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: display ps command line parameters
[EMAIL PROTECTED] wrote: Hi all, I'm trying to get parameters entered at the Cygwin command line to appear on my ps command, and failing miserably! i.e. I'm running the following process at the command line: program parameter1 In ps -s I get something like: PID TTYSTIME COMMAND 1234 con 09:00:00 /path/program ... but I'd like to be able to pick up the parameter1. So far as I can see it other ps commands on Unix have an -o args option. I've tried every option that seems to be available in Cygwin ps (v 1.11), but cannot get past this wall. Is there a way of doing this through ps (or an alternative) in Cygwin? I use pstree -a. -- 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: Regarding the Cygwin Environment variables
Pandare, Prasad wrote: Hi Good morning !! Can I please know which command I should fire for getting cygcheck output? The problem reporting guidelines provide you with this information, as well as other important guidelines. http://cygwin.com/problems.html Here is etc\passwd file: I don't see anything obvious here. I am still not able to see where things are going wrong with different environment variables . Again, I would remind you that it is important to http://cygwin.com/acronyms/#PCYMTNQREAIYR. Don't feed the spammers. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- 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: ImageMagick display and convert fail with a Visual C++ runtime error
On Wed, 25 Apr 2007, Dmitry Golovaty wrote: Thanks, Igor. PATH is usually processed left-to-right. As an alternative to what Brian suggested, simply prepending C:\cygwin\bin to the PATH should work. C:\cygwin\bin has been in the PATH all the time; the problem seems to have been that the PATH statement contained a MATLAB directory somewhere in the middle which caused some conflict between the libraries that loaded. Notice, I said prepend, which means put in the front. In your case, it was in the end of the path, and was overridden by the preceding MATLAB directory. FWIW, the above is already done in the standard shell startup scripts, so unless you're using custom .*rc scripts, you probably attempted to invoke ImageMagick from a Windows command prompt. One word of warning for working in that mode: some of the programs in /bin are symbolic links or scripts that Windows does not understand. You're better off invoking Cygwin programs from a Cygwin shell, unless you're sure they are .exe files. I am using standard rc scripts and was invoking ImageMagick from xterm ... I have added a path-modifying statement suggested by Brian to .profile that removed the win32 Matlab directory from the PATH and this solved the problem. This is weird. The /etc/profile that comes with the base-files package prepends /usr/bin to the PATH already. My only guess is that you started the xterm with bash as a non-login shell. Try running xterm -e bash -l instead. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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/
Wide Character support in Cygwin
Hi All, Is the wide character support for GCC available in Cygwin We have tried to compile a piece of code which works on SLES 9 LINUX But the same code throws errors when compiled on cygwin. Can any one please suggest how to solve this problem The following is the code : #includeiostream #includeostream #includesstream int main ( ) { using namespace std; float f= 3.14159; const wchar_t* s= LKenavo !; // create a read/write stringbuf object on wide char // and attach it to an wistringstream object wistringstream in( ios_base::in | ios_base::out ); // tie the wostream object to the wistringstream object wostream out(in.rdbuf()); out Ltest beginning ! endl; // output f in scientific format out scientific f endl; // store the current put-pointer position wostream::pos_type pos = out.tellp(); // output s out s endl; // output the all buffer to standard output wcout in.rdbuf() endl; // position the get-pointer in.seekg(pos); // output s wcout in.rdbuf() endl; return 0; } The error I get on cygwin is : $ g++ wstreamtest.cpp wstreamtest.cpp: In function `int main()': wstreamtest.cpp:17: error: `wistringstream' undeclared (first use this function) wstreamtest.cpp:17: error: (Each undeclared identifier is reported only once for each function it appears in.) wstreamtest.cpp:17: error: expected `;' before in wstreamtest.cpp:20: error: `wostream' undeclared (first use this function) wstreamtest.cpp:20: error: expected `;' before out wstreamtest.cpp:22: error: `out' undeclared (first use this function) wstreamtest.cpp:28: error: `wostream' has not been declared wstreamtest.cpp:28: error: `pos_type' undeclared (first use this function) wstreamtest.cpp:28: error: expected `;' before pos wstreamtest.cpp:34: error: `wcout' undeclared (first use this function) wstreamtest.cpp:34: error: `in' undeclared (first use this function) wstreamtest.cpp:37: error: `pos' undeclared (first use this function) Please let me know if you require further information Regards CT -- 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: display ps command line parameters
Andy at Jet-Net Andy at jet-net.co.uk writes: In ps -s I get something like: PID TTYSTIME COMMAND 1234 con 09:00:00 /path/program Is there a way of doing this through ps (or an alternative) in Cygwin? An alternative would be to parse /proc/PID/cmdline. Arguments are separated by null bytes. Tony Richardson -- 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/
setting cygwin PATH
Hello to you the cygwin people, I'm working with cygwin. I added a directory /home/T-COFFEE/bin/ to PATH by: export PATH=/home/T-COFFEE/bin:`printenv PATH` I typed it in the cygwin command line. after that 'printenv PATH' showed the new directory. But the new directory remained only temporarily (it disappeared after closing cygwin). How do I change it permanently ? (I tried to copy the .bashrc to my HOME directory, and messed up with it) Grateful for for your kind help, Avi __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Setup.exe Problems on Vista
On Sun, 29 Apr 2007, Michael D. Adams wrote: On 4/24/07, Larry Hall (Cygwin) wrote: Michael D. Adams wrote: On 4/23/07, Dave Korn dave.korn AT artimi DOT com wrote: On 24 April 2007 00:19, Michael D. Adams wrote: snip What's going on here could be related to security changes in the way Vista handles dll and executable search paths, perhaps, but that's fairly speculative. Which reminds me. Isn't it about time this conversation had some input from cygcheck on the various systems involved? Do you just want a 'cygcheck -c' or is there another option you'd like the output from? 'cygcheck -srv', attached, not included, please. Sorry for the delay in responding. Here are the files with the output. Let me know if there are any tweaks to how I run these that you would like to see (e.g. running setup.exe with C:\cygwin\bin already in the path, etc.). cygwin-510.txt: Fresh install with setup.exe version 2.510. C:\cygwin\bin is *not* added to the path beforehand. Ran cygcheck from the windows cmd.exe in the C:\cygwin\bin directory. Note that cygcheck also emits to stderr 'id' program not found twice. (Adding C:\cygwin\bin to the path while running cygcheck doesn't fix that message.) Michael, Can you also run one from a bash shell (invoking it explicitly as /bin/cygcheck)? Also, if you change the system PATH variable, you need to restart cmd.exe, otherwise the changes won't be picked up. If c:\cygwin\bin is in the PATH as cmd.exe sees it, cygcheck should be able to find 'id'. cygwin-562.txt: Same as cygwin-510.txt except that setup.exe version 2.562 was used. BTW, the version of setup doesn't seem to matter much. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-'old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: display ps command line parameters
On Mon, 30 Apr 2007, [EMAIL PROTECTED] wrote: Hi all, I'm trying to get parameters entered at the Cygwin command line to appear on my ps command, and failing miserably! i.e. I'm running the following process at the command line: program parameter1 In ps -s I get something like: PID TTYSTIME COMMAND 1234 con 09:00:00 /path/program ... but I'd like to be able to pick up the parameter1. So far as I can see it other ps commands on Unix have an -o args option. I've tried every option that seems to be available in Cygwin ps (v 1.11), but cannot get past this wall. Is there a way of doing this through ps (or an alternative) in Cygwin? Try 'procps'. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: display ps command line parameters
Tony Richardson wrote: Andy at Jet-Net Andy at jet-net.co.uk writes: In ps -s I get something like: PID TTYSTIME COMMAND 1234 con 09:00:00 /path/program Is there a way of doing this through ps (or an alternative) in Cygwin? An alternative would be to parse /proc/PID/cmdline. Arguments are separated by null bytes. cat /proc/$pid/cmdline | xargs -0 echo um... and since Cygwin has this information, doesn't this mean that 'ps' is missing a feature that is standard to pretty much every other *nix implementation of 'ps'? (I don't have a POSIX standard handy, but I wonder if this is an unnecessary POSIX violation?) -- Matthew If you believe you received this e-mail in error, you are probably sadly mistaken, but if not, aren't you lucky? -- 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: setting cygwin PATH
Hello John ;), I did the same thing with xemacs. The problem is that it is not enough if I want the path to stay permanently. How do cygwin knows to look at this file (.bashrc) in the HOME directory ? Avi --- John Morrison [EMAIL PROTECTED] wrote: On Mon, April 30, 2007 6:24 pm, Fungazid wrote: Hello to you the cygwin people, I'm working with cygwin. I added a directory /home/T-COFFEE/bin/ to PATH by: export PATH=/home/T-COFFEE/bin:`printenv PATH` $PATH is easier than the `printenv PATH` bit :) I typed it in the cygwin command line. after that 'printenv PATH' showed the new directory. But the new directory remained only temporarily (it disappeared after closing cygwin). How do I change it permanently ? (I tried to copy the .bashrc to my HOME directory, and messed up with it) echo 'export PATH=/home/T-COFFEE/bin:$PATH' .bashrc J. -- 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/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: setting cygwin PATH
On Mon, April 30, 2007 6:53 pm, Fungazid wrote: --- John Morrison [EMAIL PROTECTED] wrote: On Mon, April 30, 2007 6:24 pm, Fungazid wrote: Hello to you the cygwin people, I'm working with cygwin. I added a directory /home/T-COFFEE/bin/ to PATH by: export PATH=/home/T-COFFEE/bin:`printenv PATH` $PATH is easier than the `printenv PATH` bit :) I typed it in the cygwin command line. after that 'printenv PATH' showed the new directory. But the new directory remained only temporarily (it disappeared after closing cygwin). How do I change it permanently ? (I tried to copy the .bashrc to my HOME directory, and messed up with it) echo 'export PATH=/home/T-COFFEE/bin:$PATH' .bashrc J. Hello John ;), I did the same thing with xemacs. The problem is that it is not enough if I want the path to stay permanently. How do cygwin knows to look at this file (.bashrc) in the HOME directory ? Hi Fungazid, (Just a netiquette point, bottom posting is expected on the cygwin lists and responses are best kept there :) ) .bashrc is run because, for a login shell, .bash_profile tells it to be. How are you starting cygwin? It should be enough for it to happen everytime... J. -- 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: display ps command line parameters
On 30 April 2007 18:48, Matthew Woehlke wrote: um... and since Cygwin has this information, doesn't this mean that 'ps' is missing a feature that is standard to pretty much every other *nix implementation of 'ps'? (I don't have a POSIX standard handy Yes you do: open browser, google posix opengroup. Vol.2, Shell and utilities, part 4: Utilities: takes us to http://www.opengroup.org/onlinepubs/009695399/utilities/ps.html which is pretty lax about requirements: he args format specifier is allowed to produce a truncated version of the command arguments. In some implementations, this information is no longer available when the ps utility is executed. The normative text is reworded to avoid use of the term must for application requirements. cheers, DaveK -- Can't think of a witty .sigline today -- 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: display ps command line parameters
Dave Korn wrote: On 30 April 2007 18:48, Matthew Woehlke wrote: um... and since Cygwin has this information, doesn't this mean that 'ps' is missing a feature that is standard to pretty much every other *nix implementation of 'ps'? (I don't have a POSIX standard handy Yes you do: open browser, google posix opengroup. Vol.2, Shell and utilities, part 4: Utilities: takes us to ...and am too lazy to look. :-) Anyway, since the information is available, and most other *nix's 'ps' provides it, any reason Cygwin's 'ps' shouldn't do the same? -- Matthew If you believe you received this e-mail in error, you are probably sadly mistaken, but if not, aren't you lucky? -- 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: setting cygwin PATH
* Fungazid (Mon, 30 Apr 2007 10:58:50 -0700 (PDT)) I did the same thing with xemacs. The problem is that it is not enough if I want the path to stay permanently. How do cygwin knows to look at this file (.bashrc) in the HOME directory ? Cygwin doesn't know. Bash knows. But only if your shell is not a login shell. Or if your ~/.bash_profile sources ~/.bashrc. -- 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: display ps command line parameters
On 30 April 2007 19:23, Matthew Woehlke wrote: Dave Korn wrote: On 30 April 2007 18:48, Matthew Woehlke wrote: um... and since Cygwin has this information, doesn't this mean that 'ps' is missing a feature that is standard to pretty much every other *nix implementation of 'ps'? (I don't have a POSIX standard handy Yes you do: open browser, google posix opengroup. Vol.2, Shell and utilities, part 4: Utilities: takes us to ...and am too lazy to look. :-) Anyway, since the information is available, and most other *nix's 'ps' provides it, any reason Cygwin's 'ps' shouldn't do the same? I believe you can probably guess the answer to this one... particularly if I tell you it starts with P and ends with TC :) cheers, DaveK -- Can't think of a witty .sigline today -- 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: setting cygwin PATH
Ugh, top-posting... Reformatted. On Mon, 30 Apr 2007, Fungazid wrote: --- John Morrison johnatmorrisondotminedotnu wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. On Mon, April 30, 2007 6:24 pm, Fungazid wrote: Hello to you the cygwin people, I'm working with cygwin. I added a directory /home/T-COFFEE/bin/ to PATH by: export PATH=/home/T-COFFEE/bin:`printenv PATH` $PATH is easier than the `printenv PATH` bit :) I typed it in the cygwin command line. after that 'printenv PATH' showed the new directory. But the new directory remained only temporarily (it disappeared after closing cygwin). How do I change it permanently ? (I tried to copy the .bashrc to my HOME directory, and messed up with it) echo 'export PATH=/home/T-COFFEE/bin:$PATH' .bashrc Hello John ;), I did the same thing with xemacs. The problem is that it is not enough if I want the path to stay permanently. How do cygwin knows to look at this file (.bashrc) in the HOME directory ? Cygwin doesn't. Bash does. See the INVOCATION section of the bash man page. This is in no way Cygwin-specific. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Freedom is just another word for nothing left to lose... -- Janis Joplin -- 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: setting cygwin PATH
--- John Morrison [EMAIL PROTECTED] wrote: Hi Fungazid, (Just a netiquette point, bottom posting is expected on the cygwin lists and responses are best kept there :) ) .bashrc is run because, for a login shell, .bash_profile tells it to be. How are you starting cygwin? It should be enough for it to happen everytime... J. Hi everybody, Thank u John, Thorsten, Igor. I will try to explain what I did: I am starting cygwin by clicking on its icon. senenv HOME is /home/ (x is my name account in windows xp). I copied the file /etc/skel.bashrc into my HOME, and added the line: export PATH=/home/T-COFFEE/bin:`printenv PATH` This didn't change nothing. I had to add this command from the command line to get a the new path temporarily. I guess I missed something ... Avi __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: ImageMagick display and convert fail with a Visual C++ runtime error
Igor Peshansky wrote: On Wed, 25 Apr 2007, Dmitry Golovaty wrote: Thanks, Igor. PATH is usually processed left-to-right. As an alternative to what Brian suggested, simply prepending C:\cygwin\bin to the PATH should work. C:\cygwin\bin has been in the PATH all the time; the problem seems to have been that the PATH statement contained a MATLAB directory somewhere in the middle which caused some conflict between the libraries that loaded. Notice, I said prepend, which means put in the front. In your case, it was in the end of the path, and was overridden by the preceding MATLAB directory. I did notice that you said prepend ... the same error occurred independent of whether the statement was at the beginning or at the end of the PATH. FWIW, the above is already done in the standard shell startup scripts, so unless you're using custom .*rc scripts, you probably attempted to invoke ImageMagick from a Windows command prompt. One word of warning for working in that mode: some of the programs in /bin are symbolic links or scripts that Windows does not understand. You're better off invoking Cygwin programs from a Cygwin shell, unless you're sure they are .exe files. I am using standard rc scripts and was invoking ImageMagick from xterm ... I have added a path-modifying statement suggested by Brian to .profile that removed the win32 Matlab directory from the PATH and this solved the problem. This is weird. The /etc/profile that comes with the base-files package prepends /usr/bin to the PATH already. My only guess is that you started the xterm with bash as a non-login shell. Try running xterm -e bash -l instead. Tried it - seems to make no difference ... Thanks again, Dmitry HTH, Igor -- 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: Puzzling local share permissions problem with ssh sessions on Win2K3
Dave Korn wrote: cygcheck.out: CYGWIN = 'ntsec' Perhaps you need smbntsec as well? Thanks! That did it.. Of course, now I need to figure out why Clearcase itself refuses to recognize that share, but that's a separate issue. Back to the coal mine.. -- 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: setting cygwin PATH
* Fungazid (Mon, 30 Apr 2007 12:16:54 -0700 (PDT)) .bashrc is run because, for a login shell, .bash_profile tells it to be. How are you starting cygwin? It should be enough for it to happen everytime... I am starting cygwin by clicking on its icon. senenv HOME is /home/ (x is my name account in windows xp). I copied the file /etc/skel.bashrc into my HOME, and added the line: export PATH=/home/T-COFFEE/bin:`printenv PATH` This didn't change nothing. I had to add this command from the command line to get a the new path temporarily. I guess I missed something ... Yes. You missed reading mine and John's answer as well as reading the bash man page. The cygwin.bat invokes a login shell. You have to source .bashrc from .bash_profile. -- 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: trying to build gdb with renamed cygwin1.dll
On 30 April 2007 21:19, Daniel Jacobowitz wrote: [ Thread redirected from gdb list ] On Mon, Apr 30, 2007 at 09:11:57PM +0100, Dave Korn wrote: Give it a try if you haven't yet. If you have, plese post the /exact/ error message, [...] ... to the Cygwin mailing list, please. Knew I had forgotten something! Yes, Fahd, the issues involved with moving gdb betwen cygwin installations are the same as with any other cygwin application, so please let's move the thread across. cheers, DaveK -- Can't think of a witty .sigline today -- 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: display ps command line parameters
Dave Korn wrote: On 30 April 2007 19:23, Matthew Woehlke wrote: Dave Korn wrote: On 30 April 2007 18:48, Matthew Woehlke wrote: um... and since Cygwin has this information, doesn't this mean that 'ps' is missing a feature that is standard to pretty much every other *nix implementation of 'ps'? (I don't have a POSIX standard handy Yes you do: open browser, google posix opengroup. Vol.2, Shell and utilities, part 4: Utilities: takes us to ...and am too lazy to look. :-) Anyway, since the information is available, and most other *nix's 'ps' provides it, any reason Cygwin's 'ps' shouldn't do the same? I believe you can probably guess the answer to this one... particularly if I tell you it starts with P and ends with TC :) Ok... Here is a P for you to TD* (* D=Decline) :-) -- Matthew If you believe you received this e-mail in error, you are probably sadly mistaken, but if not, aren't you lucky? --- ps.cc.orig 2007-04-30 17:33:46.245634000 -0500 +++ ps.cc 2007-04-30 17:57:22.907472200 -0500 @@ -18,6 +18,7 @@ #include sys/cygwin.h #include tlhelp32.h #include psapi.h +#include sys/stat.h static const char version[] = $Revision: 1.11 $; static char *prog_name; @@ -253,7 +254,7 @@ const char *ftitle = UID PIDPPID TTY STIME COMMAND\n; const char *ffmt = %8.8s%8d%8d%4s%10s %s\n; const char *ltitle = PIDPPIDPGID WINPID TTY UIDSTIME COMMAND\n; - const char *lfmt = %c %7d %7d %7d %10u %4s %4u %8s %s\n; + const char *lfmt = %c %7d %7d %7d %10u %4s %4u %8s %s; char ch; aflag = lflag = fflag = sflag = 0; @@ -405,11 +406,27 @@ printf (ffmt, uname, p-pid, p-ppid, ttynam (p-ctty), start_time (p), pname); else if (lflag) - printf (lfmt, status, p-pid, p-ppid, p-pgid, - p-dwProcessId, ttynam (p-ctty), - p-version = EXTERNAL_PINFO_VERSION_32_BIT ? p-uid32 : p-uid, - start_time (p), pname); - + { + printf (lfmt, status, p-pid, p-ppid, p-pgid, + p-dwProcessId, ttynam (p-ctty), + p-version = EXTERNAL_PINFO_VERSION_32_BIT ? p-uid32 : p-uid, + start_time (p), pname); + if (p-ppid) + { + char procpath[MAX_PATH]; + FILE *f; + snprintf(procpath, MAX_PATH, /proc/%u/cmdline, p-pid); + f = fopen(procpath, rb); + if (f) + { + int c = 1; + while (c != 0 c != EOF) c = fgetc(f); + for (;c != EOF; c = fgetc(f)) printf(%c, c?c:' '); + fclose(f); + } + } + printf(\n); + } } (void) cygwin_internal (CW_UNLOCK_PINFO); -- 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: display ps command line parameters
Matthew Woehlke wrote: Dave Korn wrote: On 30 April 2007 19:23, Matthew Woehlke wrote: Anyway, since the information is available, and most other *nix's 'ps' provides it, any reason Cygwin's 'ps' shouldn't do the same? I believe you can probably guess the answer to this one... particularly if I tell you it starts with P and ends with TC :) Ok... Here is a P for you to TD* (* D=Decline) :-) As I was saying... I clearly put the code in the wrong place, because 'ps' tells me args and 'ps -f' does not. So it needs some work... :-) -- Matthew If you believe you received this e-mail in error, you are probably sadly mistaken, but if not, aren't you lucky? -- 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/