From D.Schlatterbeck@SCHMID-RHYNER.CH Tue Jul 1 13:28:00 2003 From: D.Schlatterbeck@SCHMID-RHYNER.CH (D Schlatterbeck) Date: Tue, 01 Jul 2003 13:28:00 -0000 Subject: xmodmap with XWin -query Message-ID: Scanning mail archives I didn't find something helpful starting XWin with an option for other than an US-keyboard when starting XWin with the "-query remotehost" - option=20 to access a remote xdm-login. Since my experience is negligible I need a somewhat=20 detailed description. Up to now I tried to launch xmodmap xmodmap.de and setxkbmap de. putting those commands into the script before the XWin-command leads to "unable to open display"- message. Putting it after the XWin-command leads to=20 execution after termination. starting XWin with &-option also doesn't work. Both variants work fine starting XWin with a local Window manager. Any suggestions? dirk Dr. Dirk Schlatterbeck Product Development UV- and Waterbased Varnishes/Adhesives Office Address: Schmid Rhyner AG Print Finishing Soodring 29 CH-8134 Adliswil tel: +41 1 71 26-273 fax: +41 1 709 08 04 e-mail: d.schlatterbeck@schmid-rhyner.ch www.schmid-rhyner.ch From fma@doe.carleton.ca Tue Jul 1 18:01:00 2003 From: fma@doe.carleton.ca (Shing-Fat Fred Ma) Date: Tue, 01 Jul 2003 18:01:00 -0000 Subject: Cygwin/Xfree86 is not working In-Reply-To: <1057066121.23373.ezmlm@cygwin.com> from "cygwin-xfree-digest-help@cygwin.com" at Jul 01, 2003 01:28:41 PM Message-ID: <200307011801.h61I1O416393@malawi.doe.carleton.ca> > Date: Mon, 30 Jun 2003 10:36:12 -0400 (EDT) > From: "Federico.Vazquez@usdoj.gov" > Message-Id: <"CIVEX09-030630143518Z-47235*/PRMD=USDOJ/ADMD= /C=US/"@MHS> > > Hi everyone. I have installed xfree86 in a windows nt sp6. > > I open a cygwin session. > > I type > > $ sh startxwin.sh > > ssh-agent: not found > I have no name!@CIV-FVAZQUEZ /usr/X11R6/bin > > The cygwin/xfree86:0.0 started but > > I cannot open any xterm. Hi, Federico, Just a wild guess. Did you install the OpenSSH package when you installed Cygwin? Fred -- Fred Ma, fma@doe.carleton.ca Carleton University, Dept. of Electronics 1125 Colonel By Drive, Ottawa, Ontario Canada, K1S 5B6 From freemyer-ml@NorcrossGroup.com Tue Jul 1 20:54:00 2003 From: freemyer-ml@NorcrossGroup.com (Greg Freemyer) Date: Tue, 01 Jul 2003 20:54:00 -0000 Subject: associations (remote??) Message-ID: <1057093417.10033.5.camel@david.internal.NorcrossGroup.com> I currently run cygwin/XFree86/KDE on my Win2K machine. I then 'ssh -X' over to a Linux box and run evolution. That works great most of the time. I can also run the konqueror directly on my PC, or remotely on the Linux box. If an e-mail has a url in it, I can cut and paste the url to konqueror and it works fine. My problem is I can't right click on the url and cause it to open konqueror. I don't even know where it should run. Do I need to setup some associations? If so, how and where? Thanks Greg -- Greg Freemyer From jim.george@blueyonder.co.uk Tue Jul 1 22:21:00 2003 From: jim.george@blueyonder.co.uk (Jim George) Date: Tue, 01 Jul 2003 22:21:00 -0000 Subject: Cygwin as a Server to XClients Message-ID: Folks, I realise that there has been a similar topic already posted in this group but I have a couple of twists to this that I think requires a new subject. I wish to use my Win2K Server as an xdm server for my daughters Linux box and wifes Mac OSX (running XDarwin). There are two reasons for this; 1) My daughters Linux box is _very_ slow and she may pick up some speed for certain applications that have been ported. 2) If there is a version of OpenOffice that I can run on the Cygwin server then my entire household could _finally_ share an office suite. Can anyone tell me if either or both of these are achievable and how I go about doing it? -- Thanks in advance, Jim From huntharo@msu.edu Tue Jul 1 23:22:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 01 Jul 2003 23:22:00 -0000 Subject: I am back Message-ID: <3F0217A0.2030102@msu.edu> Well, I am back. We had a great time. If any patches were submitted or anything needs to be brought to my attention, please send a reminder to the list for me. I can't possibly wade through 2 weeks of emails :) Thanks, Harold From modhak@yahoo.com Wed Jul 2 00:40:00 2003 From: modhak@yahoo.com (Modha Kumar) Date: Wed, 02 Jul 2003 00:40:00 -0000 Subject: cannot open xterm Message-ID: <20030702004051.88567.qmail@web10205.mail.yahoo.com> Hi I installed cygwin-xfree and put desktop icons. I want to be able to install sunone appserver on solaris machine. I want to get display of the installer etc... ( I am not a unix person so please bear with my description) 1.I click on the desktop icon i get username@hostname~ 2.Now I telent to solaris box and connect as root. 3.set DISPLAY=hostname:0.0 4.export DISPLAY 5.I search for xterm and I find it in two places ./usr/openwin/bin/xterm ./usr/share/lib/terminfo/x/xterm 6. ./usr/share/lib/terminfo/x/xterm complained it cannot execute. I did a chmod +x on it Went to the directory ./usr/share/lib/terminfo/x and did a ./xterm I get this "./xterm: syntax error at line 1: `^Z^A$%!\212^A' unexpected" 7. Now I try ./usr/openwin/bin/xterm went to the directory ./usr/openwin/bin/ and did ./xterm . I get "./xterm Xt error: Can't open display:" 8. I read in http://www.cygwin.com/ml/cygwin-xfree/2002-10/msg00052.html about xhost went to / and did ./usr/openwin/bin/xhost + hostname came out with a message ./usr/openwin/bin/xhost: unable to open display "" can anyone please tell me where I am going wrong. Thanks Modhak __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From John.Peters@csiro.au Wed Jul 2 05:35:00 2003 From: John.Peters@csiro.au (John.Peters@csiro.au) Date: Wed, 02 Jul 2003 05:35:00 -0000 Subject: Conflict with -multiwindow and xfig? Message-ID: <49AA3A3C863E5B4C911320AEF99E5DA303D2721C@wing-ep.tip.csiro.au> Running cygwin's "xfig" locally from an xterm on XWin-Test-91 started with SET DISPLAY=127.0.0.1:1 ... start /B XWin-Test91.exe :1 -kb -multiwindow ... crashes with a window saying: "XWin-Test91.exe has generated errors and will be closed by Windows". XWin-Test91.exe.stackdump says: Exception: STATUS_ACCESS_VIOLATION at eip=610403F0 There are no obvious complaints in tmp/XWin.log xfig works fine on the same system started without -multiwindow. The system is Windows2000-sr4. I think all cygwin files are up to date. There is only one cygwin1.dll. Am I missing something or is this a bug? Thanks for a very robust system. ----------------------------------------------------------------- John Peters CSIRO National Measurement Laboratory PO Box 218 Phone: +61 2 9413 7503 Lindfield NSW 2070 Fax: +61 2 9413 7202 Australia Email: John.Peters@csiro.au ----------------------------------------------------------------- From alexander.gottwald@s1999.tu-chemnitz.de Wed Jul 2 10:08:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 02 Jul 2003 10:08:00 -0000 Subject: I am back In-Reply-To: <3F0217A0.2030102@msu.edu> References: <3F0217A0.2030102@msu.edu> Message-ID: n Tue, 1 Jul 2003, Harold L Hunt II wrote: > Well, I am back. We had a great time. Welcome back. How was Paris? > If any patches were submitted or anything needs to be brought to my > attention, please send a reminder to the list for me. I can't possibly > wade through 2 weeks of emails :) In the first week we had an incredible high traffic. One week brought as much postings as a whole month did before ;) bye ago From Borge.Strand@sintef.no Wed Jul 2 13:38:00 2003 From: Borge.Strand@sintef.no (=?iso-8859-1?Q?Strand_B=F8rge?=) Date: Wed, 02 Jul 2003 13:38:00 -0000 Subject: Problems installing font Message-ID: <26AF0D77A98E09478A577B2248F72338A9173B@sintefxch1.sintef.no> Having recently installed cygwin/XFree, I try to ssh to an HP workstation (asterix) running Mentor Graphics. The program crashes due to a font error. I'm able to run an xterm from the same machine, so X is enabled in ssh. What I need to know is how to procede; what kind of font file should I obtain, how should I install the fonts on my Cygwin system? Best regards, B?rge Strand SINTEF Electronics and Cybernetics Dump: SINTEF asterix ~> // Design Manager v8.6_4.14 Fri Apr 16 23:48:41 PDT 1999 // EDDM v8.6_4.8 Sat Dec 19 12:57:47 PST 1998 // Falcon Framework v8.6_4.14 Fri Apr 16 21:30:13 PDT 1999 // // Copyright (c) Mentor Graphics Corporation, 1982-1999, All Rights Reserved. // UNPUBLISHED, LICENSED SOFTWARE. // CONFIDENTIAL AND PROPRIETARY INFORMATION WHICH IS THE // PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS. // // Mentor Graphics software executing under HP Precision Architecture HP-UX. // // // WARNING: Font loading failed. Please see the following notes for more information. // NOTE: Xhost = 'asterix', // NOTE: Xserver = 'x.x.x.x', // NOTE: font name = 'dm.icons', // NOTE: font package = 'registry'. // Fonts are configured incorrectly // Cannot initialize device driver. // Error: Invalid font requested (from: Core/VFONT/vfont 09) From jc.gervais@videotron.ca Wed Jul 2 15:12:00 2003 From: jc.gervais@videotron.ca (Jean-Claude Gervais) Date: Wed, 02 Jul 2003 15:12:00 -0000 Subject: XWin and -multiplemonitors works once, but not twice? Message-ID: <1057158724.14285.5.camel@localhost.localdomain> When I run XWin with the following: start /B XWin -engine 1 -nowinkill -multiplemonitors -nodecoration -rootless -clipboard It does open and span both my monitors. If I close XWin and start it again, however, it only displays on the first monitor. The log file claims that both monitors are not running at the same resolution/bit depth. This is untrue. Any ideas why this might be happening? Thanks! From nvasconcelos@genius.org.br Wed Jul 2 15:44:00 2003 From: nvasconcelos@genius.org.br (nvasconcelos@genius.org.br) Date: Wed, 02 Jul 2003 15:44:00 -0000 Subject: 1.3.22/W2000: XDMCP connect problem. Message-ID: Again. - Nivaldo Antonio Portela de Vasconcelos nvasconcelos@genius.org.br / +55 (92) 614-6607 - ----- Forwarded by Nivaldo Vasconcelos/genius on 02/07/2003 11:43 ----- |---------+----------------------------> | | Nivaldo | | | Vasconcelos | | | | | | 27/06/2003 14:07 | | | | |---------+----------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: cygwin-xfree@cygwin.com | | cc: | | Subject: 1.3.22/W2000: XDMCP connect problem. | >--------------------------------------------------------------------------------------------------------------| Hi All, As mentioned in the subject, I'm using the version Cygwin 1.3.22 under Windows 2000. I'm trying connect a Linux server running Conectiva Linux 9 (CL9) + KDM as display manager. At the moment win only a gray screen when to connect with it. To connect I'm using the follow line command: XWin -fullscreen -query 103.1.50.63 -from 103.1.50.132 There's attached too the /tmp/XWin.log. I'm already using this same Cygwin with another Linux servers (Conectiva Linux 8 and RH9). And, another gay here can use that server (CL9) from a Cygwin client. Have you idea about ?? Best regards, Nivaldo - Nivaldo Antonio Portela de Vasconcelos nvasconcelos@genius.org.br / +55 (92) 614-6607 - (See attached file: XWin.log) -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 1962 bytes Desc: not available URL: From patl@curl.com Wed Jul 2 18:01:00 2003 From: patl@curl.com (Patrick J. LoPresti) Date: Wed, 02 Jul 2003 18:01:00 -0000 Subject: multiwindow + XDMCP + X0.hosts == crash In-Reply-To: References: Message-ID: Kensuke Matsuzaki writes: > I can't reproduce that bug. > Please send /tmp/XWin.log I forgot to mention that this is on a CPU with hyperthreading enabled. I suspect SMP has something to do with the bug... Also, when I reproduced the problem from a Cygwin shell, I got a message I had not seen before: 3 [main] XWin 3440 pthread_conf::Signal: Released too many threads - 1 now 1 originally I probably missed this before because I was running XWin.exe from a .bat file. Anyway, the crash still happens. My /tmp/XWin.log file is appended. What can I do next to help fix this? Thanks! - Pat ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Multi Window => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - User w: 1024 h: 768 winCreateBoundingWindowWindowed - Current w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 738 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 738 1024 winCreateBoundingWindowWindowed - WindowClient w 1024 h 738 r 1024 l 0 b 738 t 0 winCreateBoundingWindowWindowed - Returning winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 738 depth: 32 winAllocateFBShadowGDI - Dibsection width: 1024 height: 738 depth: 32 size image: 3022848 winAllocateFBShadowGDI - Created shadow stride: 1024 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () null screen fn ReparentWindow null screen fn RestackWindow winFinishScreenInitFB - Calling winInitWM. InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitWM - Returning. winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. winInitMultiWindowWM - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Hello winMultiWindowXMsgProc - Calling pthread_mutex_lock () (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, 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/100dpi/, removing from list! winPointerWarpCursor - Discarding first warp: 512 369 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned winInitMultiWindowWM - pthread_mutex_lock () returned. DetectUnicodeSupport - Windows NT/2000/XP winInitMultiWindowWM - Calling setlocale () winInitMultiWindowWM - setlocale () returned winInitMultiWindowWM - XInitThreads () returned. winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XInitThreads () returned. winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winMultiWindowWMErrorHandler - ERROR: BadWindow (invalid Window parameter) winMultiWindowWMErrorHandler - ERROR: BadWindow (invalid Window parameter) winMultiWindowWMErrorHandler - ERROR: BadWindow (invalid Window parameter) From hurds@sasktel.net Wed Jul 2 18:25:00 2003 From: hurds@sasktel.net (Steven Hurd) Date: Wed, 02 Jul 2003 18:25:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? Message-ID: <1302bd135c22.135c221302bd@qlo.com> I've noticed numerous threads regarding the use of Alt-Tab switching in XFree86... to summarize, people say that passing Alt-Tab through to the WM would result in users not being able to get back to windows from full-screen mode. However, both Alt-Esc and Ctrl-Esc will bring you back into the windows interface. So I don't see why Alt-Tab being OPTIONALLY disabled is an issue. Could someone please enlighten me? From huntharo@msu.edu Wed Jul 2 18:29:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Jul 2003 18:29:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: <1302bd135c22.135c221302bd@qlo.com> References: <1302bd135c22.135c221302bd@qlo.com> Message-ID: <3F032466.30402@msu.edu> Steven, There's not going to be much action on this until someone implements it. It wouldn't take much coding (10 lines, maybe). There is the possibility that Alt+Tab can only be trapped on NT-based OSes, but that isn't much more to worry about. Harold Steven Hurd wrote: > I've noticed numerous threads regarding the use of > Alt-Tab switching in XFree86... to summarize, people > say that passing Alt-Tab through to the WM would > result in users not being able to get back to windows > from full-screen mode. > > However, both Alt-Esc and Ctrl-Esc will bring you back > into the windows interface. So I don't see why Alt-Tab > being OPTIONALLY disabled is an issue. > > Could someone please enlighten me? From tim@oasis.com Wed Jul 2 20:26:00 2003 From: tim@oasis.com (Tim Baggett) Date: Wed, 02 Jul 2003 20:26:00 -0000 Subject: Problems installing font Message-ID: <01c101c340d8$45d75780$0d1410ac@pc13> Borge, I have Mentor Graphics Design Architect running under Cygwin/Xfree86 after installing the Mentor fonts. I hope this tutorial will help you and others get up and running. I may have some typos in the commands, so watch out, but it should be accurate enough for you to get the idea of what needs to be done. First you have to extract the Mentor fonts from the Mentor installation on your Unix/Linux system. The instructions below roughly follow the instructions provided in the following URL: http://wwww.hummingbird.com/exceedusers/Jan1999/0031.html Run the Mentor font extraction tool: mkdir /tmp/Mentor $MGC_HOME/bin/mgc_font_collect -v -p /tmp/Mentor cd /tmp tar -zcvf mentor_fonts.tgz Mentor Now, transfer the mentor_fonts.tgz file to /tmp your Cygwin machine, and install the fonts into /usr/X11R6/lib/X11/fonts/Mentor: cd /usr/X11R6/lib/X11/fonts tar -zxvf /tmp/mentor_fonts.tgz Next, create compressed PCF fonts and build a fonts.dir font database for the Mentor directory: cd Mentor gzip * mkfontdir . Now all you need to do is add the new Mentor font directory path at the end your font path: xset fp+ /usr/X11R6/lib/X11/fonts/Mentor This needs to be done once each time your run the Xfree server - I haven't yet figured out how to make the new font path permanent. I need to research XF86Config a little better, but it appears Xfree86 does not use XF86Config. It's handled differently under Windows than Linux. Manybe someone can offer some tips. Now, run your Mentor tool from your remote host, and watch it pop up with the correct icons! Once you have installed the Mentor fonts on one Cygwin/Xfree machine, you can simply archive the Mentor fonts directory and unarchive them on other machines you want to install: tar -zcvf /tmp/mentor_xfree_fonts.tgz /usr/X11R6/lib/X11/fonts/Mentor tar -zxvf /tmp/mentor_xfree_fonts.tgz -C / Don't forget to xset the font path! Here's another resource I fount very helpful: http://xfree86.org/4.2.0/fonts2.html#2 Happy designing! Regards, Tim From thomas.d.rice2@boeing.com Wed Jul 2 21:13:00 2003 From: thomas.d.rice2@boeing.com (Rice, Thomas D) Date: Wed, 02 Jul 2003 21:13:00 -0000 Subject: Seg Fault when I try to run OTB with XFree Message-ID: I posed this problem to a OTB mailing list to no avail, so maybe somebody here can help. I recently installed Cygwin and XFree86 in an attempt to get OneSAF Testbed (OTB) running. I have heard from many people that they were able to get it running and I was able to get it to compile but when I run I get a segmentation fault when the GUI is trying to come up. Here is the error: System crashed. Scheduler was idle. An unexpected signal was received. max system bytes = 39432192 system bytes = 39432192 in use bytes = 39430136 Segmentation fault And here's what I got running it with gdb $ gdb ./otbsaf GNU gdb 2003-03-03-cvs (cygwin-special) Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) run -nonet Starting program: /cygdrive/d/otb/src/otbsaf/otbsaf.exe -nonet warning: HEAP[otbsaf.exe]: warning: Heap block at 0023E898 modified at 0023F3DA past requested size of b3a Program received signal SIGTRAP, Trace/breakpoint trap. 0x77f9eeaa in ?? () (gdb) c Continuing. warning: HEAP[otbsaf.exe]: warning: Invalid Address specified to RtlReAllocateHeap( 230000, 23e8a0 ) Program received signal SIGTRAP, Trace/breakpoint trap. 0x77f9eeaa in ?? () (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x00d26343 in _XmFormFindPreferred (f=0x11d20e00, cw=0x0, cg=0x0) at Form.c:1505 1505 Form.c: No such file or directory. in Form.c I don't know if this helps or not, I'm new to Cygwin and XFree so I just staring at the screen randomly pushing buttons now. Thanks, Tom From gpekme1@lsu.edu Wed Jul 2 22:01:00 2003 From: gpekme1@lsu.edu (Gerald Pekmezi) Date: Wed, 02 Jul 2003 22:01:00 -0000 Subject: XWin on non-system partition Message-ID: Thanks in advance for any help. I had the "bright" idea to dedicate a whole partition to Cygwin (D:\usr, D:bin etc.). Now XWin refuses to run. I initially assumed I was missing something simple like setting an environment variable, and posted to the main cygwin group. I have since come to believe this is an X problem after all and will add a post here. It seems that during my cygwin installation everything was installed in D: (D:\usr, D:\bin etc), except for usr\X11R6\lib\X11\fonts. which was instead installed as C:\cygwin\usr\X11R6\lib\X11\fonts . When I restore the latter XWin will run however it refuses to do so if C:\cygwin\usr\X11R6\lib\X11\fonts does not exist. I did add the font directory to D:\usr\X11R6\lib\X11\, but it did not make a difference. Am I creating more trouble than it is worth by installing in D:\ rather than C:\cygwin? From huntharo@msu.edu Wed Jul 2 22:37:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 02 Jul 2003 22:37:00 -0000 Subject: XWin on non-system partition In-Reply-To: References: Message-ID: <3F035EA6.6070602@msu.edu> Gerald, Personally, I would have put Cygwin in d:\cygwin, not d:\... but that is a personal choice. Using d:\cygwin means that you won't have to modify startxwin.bat, if that is your startup method of choice. Your problem with the fonts directory is due to an explicit binary-mode mount that we use for the fonts directory. Your previous installation of Cygwin/XFree86 left over this mount point that points at c:\cygwin\usr\X11R6\lib\X11\. You can use 'umount' and 'mount' to remove this mount and recreate it, or you can use 'regedit' to manually edit the mount point, which may be easier for you... but I am not about to describe how to do it (only chose this option if you feel you can handle it). Hope that helps, Harold Gerald Pekmezi wrote: > Thanks in advance for any help. > > I had the "bright" idea to dedicate a whole partition to Cygwin (D:\usr, > D:bin etc.). > Now XWin refuses to run. I initially assumed I was missing something simple > like setting an environment variable, and posted to the main cygwin group. > > I have since come to believe this is an X problem after all and will add a > post > here. > It seems that during my cygwin installation everything was installed in D: > (D:\usr, D:\bin etc), except for usr\X11R6\lib\X11\fonts. which was instead > installed as C:\cygwin\usr\X11R6\lib\X11\fonts . When I restore the latter > XWin will run however it refuses to do so if > C:\cygwin\usr\X11R6\lib\X11\fonts does not exist. I did add the font > directory to D:\usr\X11R6\lib\X11\, but it did not make a difference. > > Am I creating more trouble than it is worth by installing in D:\ rather than > C:\cygwin? > > From pechtcha@cs.nyu.edu Wed Jul 2 23:20:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 02 Jul 2003 23:20:00 -0000 Subject: CYGWIN_ROOT Question -- Attn: XFree86-fnts maintainer In-Reply-To: Message-ID: Gerald, Well, this is not a bug in setup.exe, but it looks like a bug in the postinstall scripts for the XFree86-f??? packages. Basically, the scripts re-mount /usr/X11R6/lib/X11/fonts to force a binary mount. They use `cygpath -w` to find the Windows path of the fonts directory. Unfortunately, they do it *before* unmounting the old one, so if you change the Cygwin installation root between the runs of the scripts, they will still refer to the old directory. The fix (for the postinstall scripts) is to unmount the directory *first*, and then run `cygpath -w`. The corrected postinstall scripts would each look like this: #!/bin/sh FONTDIR=/usr/X11R6/lib/X11/fonts umount -u $FONTDIR 2>/dev/null WFONTDIR=`cygpath -w $FONTDIR` mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR The same changes as a patch (for XFree86-fnts.sh) are below. Hopefully this makes its way into the fonts package. Until it does, you could simply "umount -u /usr/X11R6/lib/X11/fonts", and re-install all of the XFree86-f??? packages that you need using setup.exe. Igor ============================================================================== --- XFree86-fnts.sh-orig 2002-04-28 02:11:37.000000000 -0400 +++ XFree86-fnts.sh 2003-07-02 19:16:29.000000000 -0400 @@ -1,6 +1,6 @@ #!/bin/sh FONTDIR=/usr/X11R6/lib/X11/fonts -WFONTDIR=`cygpath -w $FONTDIR` umount -u $FONTDIR 2>/dev/null +WFONTDIR=`cygpath -w $FONTDIR` mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR ============================================================================== On Wed, 2 Jul 2003, Gerald Pekmezi wrote: > Thanks for the reply > > I have come to believe this is an X problem after all and will add a post > there. > It seems that during my cygwin installation everything was installed in D: > (D:\usr, D:\bin etc), except for usr\X11R6\lib\X11\fonts. which was instead > installed as C:\cygwin\usr\X11R6\lib\X11\fonts . When I restore the latter > XWin will run however it refuses to do so if > C:\cygwin\usr\X11R6\lib\X11\fonts does not exist. I did add the font > directory to D:\usr\X11R6\lib\X11\, but it did not make a difference. > Possible bug in cygwin setup.exe? > > "Larry Hall" wrote in message news:3F02E9F7.6010505@cygwin.com... > > Gerald Pekmezi wrote: > > > > > Thanks in advance for helping. > > > > > > I originally had Linux RH9 installed on the second partition of my > > > primary (and at the time only) harddrive. I have since dedicated a > > > secondary hard drive to Linux, and figured I would completely > > > dedicate the partition to Cygwin (D:\). However I have begun to > > > suspect that setting CYGWIN_ROOT to D:\ is not sufficient (XWin > > > refuses to run, I don't think its an X problem, but if it is I guess > > > this post will be moved). > > > My question is whether there is a quick fix to this or whether it is > > > more trouble than it is worth. > > > > Hm. Now that's a good one. Perhaps my memory is failing me but in all > > the years I've been using Cygwin, I don't ever recall CYGWIN_ROOT being > > officially used. Perhaps you should back up and start over with: > > > > > > and > > -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From pechtcha@cs.nyu.edu Wed Jul 2 23:26:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 02 Jul 2003 23:26:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: <3F032466.30402@msu.edu> Message-ID: On Wed, 2 Jul 2003, Harold L Hunt II wrote: > There is the possibility that Alt+Tab can only be trapped on NT-based > OSes, but that isn't much more to worry about. Harold, Win98, at least, has a Misc tab in shortcut properties, that lists Windows shortcut keys to ignore (let the application handle). Alt-Tab is one of them. Thus, you could instruct the users set up a shortcut to XWin.exe and let it handle Alt-Tab, even if XWin.exe can't capture it itself. Igor P.S. I'm not sure Win95/ME have this feature. On Wed, 2 Jul 2003, Harold L Hunt II wrote: > Steven, > > There's not going to be much action on this until someone implements it. > > It wouldn't take much coding (10 lines, maybe). > > There is the possibility that Alt+Tab can only be trapped on NT-based > OSes, but that isn't much more to worry about. > > Harold > > Steven Hurd wrote: > > > I've noticed numerous threads regarding the use of > > Alt-Tab switching in XFree86... to summarize, people > > say that passing Alt-Tab through to the WM would > > result in users not being able to get back to windows > > from full-screen mode. > > > > However, both Alt-Esc and Ctrl-Esc will bring you back > > into the windows interface. So I don't see why Alt-Tab > > being OPTIONALLY disabled is an issue. > > > > Could someone please enlighten me? -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From duncric@iit.edu Thu Jul 3 05:36:00 2003 From: duncric@iit.edu (Richard D. Duncan) Date: Thu, 03 Jul 2003 05:36:00 -0000 Subject: Problem compiling with xlib using GCC and newest Cygwin/Xfree86 Message-ID: <60dcc1608cdc.608cdc60dcc1@iit.edu> I installed the latest release (or at least whatever the newest release available on the website) of Cygwin/XFree86 today, but I?m having troubles with GCC and Xlib. When I try to include Xlib.h and go to compile, I get a very long slew of errors, mostly saying things like ? ?Window? is used as a type but is not defined as a type.? and so on with Atom, Font, Pixmap, etc. Next I get a list of about 20 syntax errors in Xlib.h, then errors in my code since types like Display and functions like XCreateSimpleWindow don?t work. I?m not trying to do anything fancy just yet, so I?ve only got like 5 lines of code opening a window and mapping it, but it obviously isn?t working. Any help would be appreciated. And if this issue has been addressed before, I?m sorry. I?m new to the list and tried searching for this problem but couldn?t find any instances of it in the archives. Richard Duncan From celine.renard@actemium.com Thu Jul 3 07:34:00 2003 From: celine.renard@actemium.com (celine.renard@actemium.com) Date: Thu, 03 Jul 2003 07:34:00 -0000 Subject: PseudoColor and private colormap Message-ID: C?line RENARD ACTEMIUM Le Havre Parc d'activit?s B.P. 117 76330 NOTRE-DAME-DE-GRAVENCHON - FRANCE email : celine.renard@actemium.com Tel : (33) 02 32 84 10 48 Standard : (33) 02 32 84 10 10 Telecopie : (33) 02 32 84 10 00 ----- R?achemin? par Celine Renard/NDG/MCII le 03/07/03 09:50 ----- Celine Renard Pour : cygwin-xfree@cygwin.com 16/06/03 cc : 15:13 Objet : PseudoColor and private colormap Hello, I create my own private colormap and store the new colors in it. But the XWin server does not display them. The XWin server displays them when I switch applications with What must I do to enforce the XWin server to display them ? C?line RENARD From mbardiaux@peaktime.be Thu Jul 3 08:32:00 2003 From: mbardiaux@peaktime.be (Michel Bardiaux) Date: Thu, 03 Jul 2003 08:32:00 -0000 Subject: PseudoColor and private colormap References: Message-ID: <3F03E9C8.3000503@peaktime.be> celine.renard@actemium.com wrote: > C?line RENARD ACTEMIUM Le Havre Parc d'activit?s B.P. 117 76330 > NOTRE-DAME-DE-GRAVENCHON - FRANCE > > email : celine.renard@actemium.com Tel : (33) 02 32 84 10 48 Standard > : (33) 02 32 84 10 10 Telecopie : (33) 02 32 84 10 00 ----- > R?achemin? par Celine Renard/NDG/MCII le 03/07/03 09:50 ----- > > Celine Renard > Pour : cygwin-xfree@cygwin.com > 16/06/03 cc : > 15:13 Objet : PseudoColor and private colormap > > > > > > > Hello, > > I create my own private colormap and store the new colors in it. But > the XWin server does not display them. The XWin server displays them > when I switch applications with What must I do to > enforce the XWin server to display them ? > > > C?line RENARD > > Isn't this the normal *X* behavior? ISTR the server+wm set as *the* colormap, the one installed on the window having the focus. Hence one would observe exactly the same problem in a pure-X environment with 2 windows having different colormaps. This is the famous 'colormap flashing' (and the reason why I avoid PseudoColor like the plague; nowadays almost any X-capable hardware has 24-bits TrueColor and it is much easier to emulate color-mapping than to use the X mechanisms for it). -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41 From Ralf.Habacker@freenet.de Thu Jul 3 11:21:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Thu, 03 Jul 2003 11:21:00 -0000 Subject: I am back In-Reply-To: <3F0217A0.2030102@msu.edu> Message-ID: <007401c34155$43917e60$0a1c440a@BRAMSCHE> Hi Harold, > > Well, I am back. We had a great time. > > If any patches were submitted or anything needs to be brought to my > attention, please send a reminder to the list for me. I can't possibly > wade through 2 weeks of emails :) > Yes, there is something. Based on the xwin Testserver release 91 I had send a path, which fixes some segfaults of which you have created a XWin-Test91-DEBUG.exe.bz2. (See http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00136.html) After that I had send in an additional patch based on the one before: http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html It would be nice, if a new test server release could be build. It's very nice to see KDE-cygwin apps running in a win32 window. :-) Thanks Ralf From jim.george@blueyonder.co.uk Thu Jul 3 11:41:00 2003 From: jim.george@blueyonder.co.uk (Jim George) Date: Thu, 03 Jul 2003 11:41:00 -0000 Subject: OpenOffice for Cygwin/Xfree Message-ID: Folks, is there a version of OpenOffice for Xfree under Cygwin? I want to be able to run OpenOffice on X-Terminals served by my Win2K server running Xfree/Cygwin. -- TIA, Jim George From daveburch@fuse.net Thu Jul 3 13:12:00 2003 From: daveburch@fuse.net (Dave Burch) Date: Thu, 03 Jul 2003 13:12:00 -0000 Subject: Running OpenOffice from Linux server to Win98 workstations Message-ID: <007101c34164$c58aaa40$0a01a8c0@FAMILY> Greetings. I am a consultant to a small school in need of a IT overhaul. I have some HP-UX experience, but am new to the Linux world (like most people, I guess). We are trying to extend the life of a bunch of Pentium/Windows 98 workstations with 32 mB RAM by replacing Microsoft Office with OpenOffice (or StarOffice, free since my client is a school). Since 64mB RAM is the nominal requirement, I'm wondering if I can make better use of the meager desktop hardware by running OpenOffice on the Linux server and displaying it on the desktops using the Windows version of XFree86. 1. Would this configuration work? 2. Would it perform better on 32mB workstations than running OpenOffice locally? 3. Would I need to use Linux Terminal Services? Thanks, Dave Burch Hamilton, Ohio From alexander.gottwald@s1999.tu-chemnitz.de Thu Jul 3 13:40:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 03 Jul 2003 13:40:00 -0000 Subject: Running OpenOffice from Linux server to Win98 workstations In-Reply-To: <007101c34164$c58aaa40$0a01a8c0@FAMILY> References: <007101c34164$c58aaa40$0a01a8c0@FAMILY> Message-ID: On Thu, 3 Jul 2003, Dave Burch wrote: > Greetings. I am a consultant to a small school in need of a IT overhaul. I > have some HP-UX experience, but am new to the Linux world (like most people, > I guess). > > We are trying to extend the life of a bunch of Pentium/Windows 98 > workstations with 32 mB RAM by replacing Microsoft Office with OpenOffice > (or StarOffice, free since my client is a school). Since 64mB RAM is the > nominal requirement, I'm wondering if I can make better use of the meager > desktop hardware by running OpenOffice on the Linux server and displaying it > on the desktops using the Windows version of XFree86. > > 1. Would this configuration work? I should work. > 2. Would it perform better on 32mB workstations than running OpenOffice > locally? With low memory you will have a always swapping computer. This is very slow. Over a 10Mbit or better 100Mbit network, you can work remote with only little latency than worting on the linux host. > 3. Would I need to use Linux Terminal Services? The userguide should help you with this: http://xfree86.cygwin.com/docs/ug/using-remote-session.html http://xfree86.cygwin.com/docs/ug/using-remote-apps.html bye ago From cgf-idd@cygwin.com Thu Jul 3 14:35:00 2003 From: cgf-idd@cygwin.com (Christopher Faylor) Date: Thu, 03 Jul 2003 14:35:00 -0000 Subject: [ADMINISTRIVIA] sources.redhat.com/gcc.gnu.org/cygwin.com moving this weekend Message-ID: <20030703143057.GA25635@redhat.com> The system will be moving to a new co-lo on Saturday so the IP address will be changing and there will be some downtime. I haven't been given exact times but I suspect that this will probably happen in late morning EST. I don't expect more than a couple of hours downtime at most. FYI, cgf -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to aaaspam@sourceware.org and be permanently blocked from mailing lists at sources.redhat.com From Song@SelkirkFinancial.com Thu Jul 3 17:51:00 2003 From: Song@SelkirkFinancial.com (VSong) Date: Thu, 03 Jul 2003 17:51:00 -0000 Subject: Startup Sequence... Message-ID: What is the cygwin startup sequence? I know of three ways that you can start the X-Server: startx, startxwin.bat, and startxwin.sh. My understanding is that when you start X .xsession or .xinitrc are run when you start X. Is this true? I've tried changing my .xsession file, but this didn't seem to do anything, so in the end I changed hte startxwin.bat. Victor From LHMACDONALD@PARTNERS.ORG Thu Jul 3 19:44:00 2003 From: LHMACDONALD@PARTNERS.ORG (Macdonald, Luke H) Date: Thu, 03 Jul 2003 19:44:00 -0000 Subject: cannot use Xfree86 Message-ID: > Hi, > I installed Xfree86 4.2.1 onto my windows 2k box at work which has Cygwin up > and running normally. Every time I try to start X, it crashes. These are the > commands I tried, followed by the respective error message or a description of > what happens. > $ X , and $xwin > -in these cases, a window called Cygwin/Xfree86 -0:0 opens, which looks like a > linux environment. However, the mouse buttons do nothing and no terminals > open, i.e. this window is useless. > $xinit > - the same window opens, and immediately closes. The bash terminal reads: > waiting for X server to shut down > $startx > - the same window opens, but this time there are drop down menus on mouse > clicks, and a clock. However, the window quickly closes and the following > message appears in the cygwin bash terminal: > > cat: //.Xauthority: No such file or directory > X connection to :0.0 broken (explicit kill or server shutdown). > > waiting for X server to shut down XIO: fatal IO error 113 > (Connection > on X server ":0.0" > after 58 requests (49 known processed) with 0 events > remaining. > > I've tried to generate the .Xauthority file with $xauth generate 0:0 . > xauth: creating new authority file /.Xauthority > xauth: (argv):1: unable to open display "0:0". > > What is going on here? I appreciate any help. > > Luke > > From thomas.d.rice2@boeing.com Thu Jul 3 20:23:00 2003 From: thomas.d.rice2@boeing.com (Rice, Thomas D) Date: Thu, 03 Jul 2003 20:23:00 -0000 Subject: cannot use Xfree86 Message-ID: Does your bash prompt say 'i have no name', if so your ID in /etc/passwd is too large, it has to be less than 65536 (16 bit). Your ID is the third field (separated by ':') on the line with your login. I was getting the same useless window that you are describing and this was what my problem is. If this is what's wrong, just change the ID to something < 65536. Tom Rice Boeing RTS-Comanche -----Original Message----- From: Macdonald, Luke H [mailto:LHMACDONALD@PARTNERS.ORG] Sent: Thursday, July 03, 2003 2:45 PM To: 'cygwin-xfree@cygwin.com' Subject: cannot use Xfree86 > Hi, > I installed Xfree86 4.2.1 onto my windows 2k box at work which has Cygwin up > and running normally. Every time I try to start X, it crashes. These are the > commands I tried, followed by the respective error message or a description of > what happens. > $ X , and $xwin > -in these cases, a window called Cygwin/Xfree86 -0:0 opens, which looks like a > linux environment. However, the mouse buttons do nothing and no terminals > open, i.e. this window is useless. > $xinit > - the same window opens, and immediately closes. The bash terminal reads: > waiting for X server to shut down > $startx > - the same window opens, but this time there are drop down menus on mouse > clicks, and a clock. However, the window quickly closes and the following > message appears in the cygwin bash terminal: > > cat: //.Xauthority: No such file or directory > X connection to :0.0 broken (explicit kill or server shutdown). > > waiting for X server to shut down XIO: fatal IO error 113 > (Connection > on X server ":0.0" > after 58 requests (49 known processed) with 0 events > remaining. > > I've tried to generate the .Xauthority file with $xauth generate 0:0 . > xauth: creating new authority file /.Xauthority > xauth: (argv):1: unable to open display "0:0". > > What is going on here? I appreciate any help. > > Luke > > From LHMACDONALD@PARTNERS.ORG Thu Jul 3 20:45:00 2003 From: LHMACDONALD@PARTNERS.ORG (Macdonald, Luke H) Date: Thu, 03 Jul 2003 20:45:00 -0000 Subject: cannot use Xfree86 Message-ID: Tom, Your solution was right on the mark, and you fixed another problem I had wanted to fix -- the 'i have no name' bash prompt. Thanks, Luke -------------------------------- From: "Rice, Thomas D" To: Date: Thu, 3 Jul 2003 15:23:12 -0500 Subject: RE: cannot use Xfree86 Reply-to: cygwin-xfree at cygwin dot com Does your bash prompt say 'i have no name', if so your ID in /etc/passwd is too large, it has to be less than 65536 (16 bit). Your ID is the third field (separated by ':') on the line with your login. I was getting the same useless window that you are describing and this was what my problem is. If this is what's wrong, just change the ID to something < 65536. Tom Rice Boeing RTS-Comanche From nihua@yahoo.com Fri Jul 4 02:13:00 2003 From: nihua@yahoo.com (Hua Ni) Date: Fri, 04 Jul 2003 02:13:00 -0000 Subject: help: IO Error 113 Message-ID: <20030704021300.98468.qmail@web41609.mail.yahoo.com> Hello, I am new XFree86. I installed it simply using cygwin install. And then copied .xinitrc to the home directory as specified in the online manual without any modification. Then I cd into /usr/X11R6/bin and run startx. The windows comes up OK with three terminals and one clock. When I exit the window, I got following error message in the cygwin window: $ startx waiting for X server to shut down xterm: fatal IO error 113 (Connection aborted ) or KillClient on X server ":0.0" X connection to :0.0 broken (explicit kill or server shutdown). XIO: fatal IO error 113 (Connection aborted) on X server ":0.0" after 12738 requests (12729 known processed) with 0 events remaining. Please help. Hua Ni __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From klesmen@teleinfo.de Fri Jul 4 06:45:00 2003 From: klesmen@teleinfo.de (Klemens Meyer) Date: Fri, 04 Jul 2003 06:45:00 -0000 Subject: Startup Sequence... In-Reply-To: References: Message-ID: <3F05227D.3030406@teleinfo.de> VSong wrote: > What is the cygwin startup sequence? I know of three ways that you can > start the X-Server: startx, startxwin.bat, and startxwin.sh. My > understanding is that when you start X .xsession or .xinitrc are run when > you start X. Is this true? I've tried changing my .xsession file, but this > didn't seem to do anything, so in the end I changed hte startxwin.bat. The .xinitrc is only read when you use startx. On most *nix systems it is the normal way to start the X-Server. Startx starts the server and looks for .xinitrc and executes it. When .xinitrc exits, the X-Server will be terminated too. That is very convenient because you do not have to care about the server. I recommend using startx because almost every bit of documentation relies on this startup method. It makes live a great deal easier. -- Ever wondered where I work? Try this: http://www.map-scout.de/myMap.asp?G=332EBA4E8A73442294C50D02C0FB9C7A&S=0 From sam.edgeZZZ@lineone.net Fri Jul 4 07:59:00 2003 From: sam.edgeZZZ@lineone.net (Sam Edge) Date: Fri, 04 Jul 2003 07:59:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: References: <3F032466.30402@msu.edu> Message-ID: <1kcagvs4v5cqq0hsadtsjg692prssl1i6v@4ax.com> Igor Pechtchanski wrote in in gmane.os.cygwin.xfree on Wed, 2 Jul 2003 19:26:44 -0400 (EDT): > On Wed, 2 Jul 2003, Harold L Hunt II wrote: > > There is the possibility that Alt+Tab can only be trapped on NT-based > > OSes, but that isn't much more to worry about. > Win98, at least, has a Misc tab in shortcut properties, that lists Windows > shortcut keys to ignore (let the application handle). Alt-Tab is one of > them. Thus, you could instruct the users set up a shortcut to XWin.exe > and let it handle Alt-Tab, even if XWin.exe can't capture it itself. > P.S. I'm not sure Win95/ME have this feature. I think you'll find that the Misc property page is only available with shortcuts to DOS-mode applications. Windows-native executables like XWin.exe don't have it. -- Sam Edge From colin.harrison@virgin.net Fri Jul 4 12:07:00 2003 From: colin.harrison@virgin.net (Colin Harrison) Date: Fri, 04 Jul 2003 12:07:00 -0000 Subject: Baseline for patches, was RE: I am back Message-ID: <000001c34224$ca6fdb50$0200a8c0@straightrunning.com> Yoo, Further to Ralf's comment:- http://cygwin.com/ml/cygwin-xfree/2003-07/msg00023.html I've got a few minor patches from the baseline of xoncygwin. I think Ralf's patches are applied there. We have got this baseline split due to the new XFree version being trialled on xoncygwin. Shall I submit my changes against xoncygwin or rework them against the original Test91 release? Colin From pechtcha@cs.nyu.edu Fri Jul 4 14:35:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 04 Jul 2003 14:35:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: <1kcagvs4v5cqq0hsadtsjg692prssl1i6v@4ax.com> Message-ID: On Fri, 4 Jul 2003, Sam Edge wrote: > Igor Pechtchanski wrote in > in gmane.os.cygwin.xfree on Wed, 2 Jul 2003 19:26:44 -0400 (EDT): > > > On Wed, 2 Jul 2003, Harold L Hunt II wrote: > > > There is the possibility that Alt+Tab can only be trapped on NT-based > > > OSes, but that isn't much more to worry about. > > > Win98, at least, has a Misc tab in shortcut properties, that lists Windows > > shortcut keys to ignore (let the application handle). Alt-Tab is one of > > them. Thus, you could instruct the users set up a shortcut to XWin.exe > > and let it handle Alt-Tab, even if XWin.exe can't capture it itself. > > P.S. I'm not sure Win95/ME have this feature. > > I think you'll find that the Misc property page is only available with > shortcuts to DOS-mode applications. Windows-native executables like > XWin.exe don't have it. Yes, you're right. However, after some more digging, it seems that keyboard hooks (perhaps similar to what Harold suggested earlier?) *can* be used on Win9x to intercept hotkeys (e.g., Alt-Tab) in Win32 apps. I haven't found the exact instructions on MSDN, though... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From joakim@erdfelt.net Fri Jul 4 20:40:00 2003 From: joakim@erdfelt.net (Joakim Erdfelt) Date: Fri, 04 Jul 2003 20:40:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: References: Message-ID: <3F05E647.8080300@erdfelt.net> Igor Pechtchanski wrote: >Yes, you're right. However, after some more digging, it seems that >keyboard hooks (perhaps similar to what Harold suggested earlier?) *can* >be used on Win9x to intercept hotkeys (e.g., Alt-Tab) in Win32 apps. I >haven't found the exact instructions on MSDN, though... > Igor > Wouldn't the vnc / tightvnc win32 servers have an example of this hook? Since their full-screen mode does intercept those keys. In fact, the only key they make available to escape the vnc session is Ctrl-ESC. All others are sent down the vnc path. Would it be ethical (or within license) to borrow that code? /* joakim */ From bijumaillist@yahoo.com Fri Jul 4 20:59:00 2003 From: bijumaillist@yahoo.com (=?iso-8859-1?q?Biju=20G=20C?=) Date: Fri, 04 Jul 2003 20:59:00 -0000 Subject: Memory access error in XWin -multiwindow Message-ID: <20030704205925.23319.qmail@web14609.mail.yahoo.com> Harold, I am facing an issue of Memory access error in XWin -multiwindow mode see http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00294.html So Ralf pointed me to http://cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html After seeing that patch, I have just gone thru XWin Source and found, at lot of place we call memory alloc and not testing the return value. I am attaching the list & extracts from programs I dont know all of those will make any issue. I did not checked whether it is properly "free()"-ed And also I did not checked the functions which receives allocated memory another function as return value or thru a passed argument to the called function. List of variables:- in winmultiwindowwm.c pXMsgArg at function winInitWM in winmultiwindowwindow.c vlist at function winMoveXWindow vlist at function winResizeXWindow in winmultiwindowicons.c iconData at function winScaleXBitmapToWindows image at function winXIconToHICON imageMask at function winXIconToHICON mask at function winXIconToHICON in winmultiwindowclass.c *res_name at function winMultiWindowGetClassHint *res_role at function winMultiWindowGetWindowRole in winconfig.c ret at function winNormalizeName in winclipboardxevents.c pszUTF8 at function winClipboardFlushXEvents pszReturnData at function winClipboardFlushXEvents pwszUnicodeStr at function winClipboardFlushXEvents hGlobal at function winClipboardFlushXEvents in winclipboardtextconv.c pszDestBegin / pszDest at function winClipboardUNIXtoDOS ####### EXTRACTS FROM PROGRAMS ########## ####### NEXT FILE ########## winmultiwindowwm.c Bool winInitWM (void **ppWMInfo, pthread_t *ptWMProc, pthread_t *ptXMsgProc, pthread_mutex_t *ppmServerStarted, int dwScreen) { WMProcArgPtr pArg = (WMProcArgPtr) malloc (sizeof(WMProcArgRec)); WMInfoPtr pWMInfo = (WMInfoPtr) malloc (sizeof(WMInfoRec)); XMsgProcArgPtr pXMsgArg = (XMsgProcArgPtr) malloc (sizeof(XMsgProcArgRec)); /* Bail if the input parameters are bad */ if (pArg == NULL || pWMInfo == NULL) { ErrorF ("winInitWM - malloc fail.\n"); return FALSE; } ####### NEXT FILE ########## winmultiwindowwindow.c void winMoveXWindow (WindowPtr pWin, int x, int y) { XID *vlist = malloc(sizeof(long)*2); (CARD32*)vlist[0] = x; (CARD32*)vlist[1] = y; ConfigureWindow (pWin, CWX | CWY, vlist, wClient(pWin)); free(vlist); } /* * winResizeXWindow - */ void winResizeXWindow (WindowPtr pWin, int w, int h) { XID *vlist = malloc(sizeof(long)*2); (CARD32*)vlist[0] = w; (CARD32*)vlist[1] = h; ConfigureWindow (pWin, CWWidth | CWHeight, vlist, wClient(pWin)); free(vlist); } ####### NEXT FILE ########## winmultiwindowicons.c static void winScaleXBitmapToWindows (int iconSize, int effBPP, PixmapPtr pixmap, unsigned char *image) { ........ iconData = malloc (xStride * pixmap->drawable.height); miGetImage ((DrawablePtr) &(pixmap->drawable), 0, 0, pixmap->drawable.width, pixmap->drawable.height, ZPixmap, 0xffffffff, iconData); HICON winXIconToHICON (WindowPtr pWin) { ......... image = (unsigned char * ) malloc (stride * iconSize); imageMask = (unsigned char *) malloc (stride * iconSize); mask = (unsigned char *) malloc (maskStride * iconSize); ####### NEXT FILE ########## winmultiwindowclass.c int winMultiWindowGetClassHint (WindowPtr pWin, char **res_name, char **res_class) { .... (*res_name) = malloc (len_name + 1); int winMultiWindowGetWindowRole (WindowPtr pWin, char **res_role) { .... (*res_role) = malloc (len_role + 1); ####### NEXT FILE ########## winconfig.c char * winNormalizeName (const char *s) { ...... ret = malloc (strlen (s) + 1); ####### NEXT FILE ########## winclipboardxevents.c Bool winClipboardFlushXEvents (HWND hwnd, Atom atomClipboard, Atom atomLocalProperty, Atom atomUTF8String, Atom atomCompoundText, Atom atomTargets, Atom atomDeleteWindow, int iWindow, Display *pDisplay, Bool fUnicodeSupport) { ........ pszUTF8 = (char *) malloc (iUTF8); /* Don't need +1 */ WideCharToMultiByte (CP_UTF8, ........... if (iCount > 0) { pszReturnData = malloc (strlen (ppszTextList[0]) + 1); strcpy (pszReturnData, ppszTextList[0]); } else { pszReturnData = malloc (1); pszReturnData[0] = 0; } ........... pwszUnicodeStr = (wchar_t*) malloc (sizeof (wchar_t) * (iUnicodeLen + 1)); /* Do the actual conversion */ MultiByteToWideChar (CP_UTF8, 0, pszReturnData, -1, pwszUnicodeStr, iUnicodeLen); ........ /* Allocate global memory for the X clipboard data */ if (fUnicodeSupport) hGlobal = GlobalAlloc (GMEM_MOVEABLE, sizeof (wchar_t) * (iUnicodeLen + 1)); else hGlobal = GlobalAlloc (GMEM_MOVEABLE, strlen (pszReturnData) + 1); /* Obtain a pointer to the global memory */ pszGlobalData = GlobalLock (hGlobal); if (pszGlobalData == NULL) { ........ ####### NEXT FILE ########## winclipboardtextconv.c void winClipboardUNIXtoDOS (unsigned char **ppszData, int iLength) { ....... /* Allocate a new string */ pszDestBegin = pszDest = malloc (iLength + iNewlineCount + 1); ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ From Ralf.Habacker@freenet.de Fri Jul 4 21:50:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Fri, 04 Jul 2003 21:50:00 -0000 Subject: Memory access error in XWin -multiwindow In-Reply-To: <20030704205925.23319.qmail@web14609.mail.yahoo.com> Message-ID: <00c901c34276$41daac50$0a1c440a@BRAMSCHE> Hi Biju, > I am facing an issue of Memory access error in XWin -multiwindow mode > see http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00294.html > > So Ralf pointed me to http://cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html > > After seeing that patch, I have just gone thru XWin Source and found, > at lot of place we call memory alloc and not testing the return value. > I am attaching the list & extracts from programs > I dont know all of those will make any issue. > > I did not checked whether it is properly "free()"-ed You can try the mem_watch library on http://sourceforge.net/project/showfiles.php?group_id=27249. It allows checking of memory related calls on cygwin with minimal effort. After installing this package, relink the Xserver with the following line: $ make LDFLAGS="-Wl,--whole-archive -Wl,-lmemwatch -Wl,--no-whole-archive" Then start Xwin and you can see all memory related calls and there calling address. See an example output below (you can get more informations through the INSTALL file of the memwatch release). $ ./test MemWatch hooks installed (set MEMWATCH=1 env var to enable debugging) Memory Checker report ===================== number of calls: malloc : 3 calloc : 1 realloc : 0 free : 1 used memory : 350 unfree'd memory areas address size calladdr 0a040488 300 00401afc 0a040448 20 00401ac7 0a040460 30 00401ad9 ============================== 350 compile this application with debugging symbols and try addr2line to get the source line of the relating call addr2line -e ./test.exe May be that helps. Cheers Ralf From pechtcha@cs.nyu.edu Fri Jul 4 23:59:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 04 Jul 2003 23:59:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: <3F05E647.8080300@erdfelt.net> Message-ID: On Fri, 4 Jul 2003, Joakim Erdfelt wrote: > Igor Pechtchanski wrote: > > >Yes, you're right. However, after some more digging, it seems that > >keyboard hooks (perhaps similar to what Harold suggested earlier?) *can* > >be used on Win9x to intercept hotkeys (e.g., Alt-Tab) in Win32 apps. I > >haven't found the exact instructions on MSDN, though... > > Igor > > > Wouldn't the vnc / tightvnc win32 servers have an example of this hook? > Since their full-screen mode does intercept those keys. > In fact, the only key they make available to escape the vnc session is > Ctrl-ESC. All others are sent down the vnc path. > > Would it be ethical (or within license) to borrow that code? > > /* joakim */ Actually, I did eventually find an example on MSDN that it would be perfectly ethical to borrow from, IMO: . Harold also posted an example of a keyboard hook a while ago -- the only question was whether this will work on Win9x, and the MSDN example seems to suggest that it will. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From philippe.bastiani@wanadoo.fr Sat Jul 5 21:04:00 2003 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Sat, 05 Jul 2003 21:04:00 -0000 Subject: multiwindow - transparent applications Message-ID: Hi, I would like to understand why the transparent applications (oclock, xeyes, ...) do not appear with the XP style! Is it a configuration problem ? a+ -- Philippe Bastiani From huntharo@msu.edu Mon Jul 7 02:51:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 07 Jul 2003 02:51:00 -0000 Subject: CYGWIN_ROOT Question -- Attn: XFree86-fnts maintainer In-Reply-To: References: Message-ID: <3F08E02A.1080209@msu.edu> Igor, Thanks. That looks like a good idea. Harold Igor Pechtchanski wrote: > Gerald, > > Well, this is not a bug in setup.exe, but it looks like a bug in the > postinstall scripts for the XFree86-f??? packages. Basically, the scripts > re-mount /usr/X11R6/lib/X11/fonts to force a binary mount. They use > `cygpath -w` to find the Windows path of the fonts directory. > Unfortunately, they do it *before* unmounting the old one, so if you > change the Cygwin installation root between the runs of the scripts, they > will still refer to the old directory. > > The fix (for the postinstall scripts) is to unmount the directory *first*, > and then run `cygpath -w`. The corrected postinstall scripts would each > look like this: > > #!/bin/sh > > FONTDIR=/usr/X11R6/lib/X11/fonts > umount -u $FONTDIR 2>/dev/null > WFONTDIR=`cygpath -w $FONTDIR` > mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR > > The same changes as a patch (for XFree86-fnts.sh) are below. > > Hopefully this makes its way into the fonts package. Until it does, you > could simply "umount -u /usr/X11R6/lib/X11/fonts", and re-install all of > the XFree86-f??? packages that you need using setup.exe. > Igor > ============================================================================== > --- XFree86-fnts.sh-orig 2002-04-28 02:11:37.000000000 -0400 > +++ XFree86-fnts.sh 2003-07-02 19:16:29.000000000 -0400 > @@ -1,6 +1,6 @@ > #!/bin/sh > > FONTDIR=/usr/X11R6/lib/X11/fonts > -WFONTDIR=`cygpath -w $FONTDIR` > umount -u $FONTDIR 2>/dev/null > +WFONTDIR=`cygpath -w $FONTDIR` > mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR > ============================================================================== > > On Wed, 2 Jul 2003, Gerald Pekmezi wrote: > > >>Thanks for the reply >> >>I have come to believe this is an X problem after all and will add a post >>there. >>It seems that during my cygwin installation everything was installed in D: >>(D:\usr, D:\bin etc), except for usr\X11R6\lib\X11\fonts. which was instead >>installed as C:\cygwin\usr\X11R6\lib\X11\fonts . When I restore the latter >>XWin will run however it refuses to do so if >>C:\cygwin\usr\X11R6\lib\X11\fonts does not exist. I did add the font >>directory to D:\usr\X11R6\lib\X11\, but it did not make a difference. >>Possible bug in cygwin setup.exe? >> >>"Larry Hall" wrote in message news:3F02E9F7.6010505@cygwin.com... >> >>>Gerald Pekmezi wrote: >>> >>> >>>>Thanks in advance for helping. >>>> >>>>I originally had Linux RH9 installed on the second partition of my >>>>primary (and at the time only) harddrive. I have since dedicated a >>>>secondary hard drive to Linux, and figured I would completely >>>>dedicate the partition to Cygwin (D:\). However I have begun to >>>>suspect that setting CYGWIN_ROOT to D:\ is not sufficient (XWin >>>>refuses to run, I don't think its an X problem, but if it is I guess >>>>this post will be moved). >>>>My question is whether there is a quick fix to this or whether it is >>>>more trouble than it is worth. >>> >>>Hm. Now that's a good one. Perhaps my memory is failing me but in all >>>the years I've been using Cygwin, I don't ever recall CYGWIN_ROOT being >>>officially used. Perhaps you should back up and start over with: >>> >>> >>>and >>> > > From huntharo@msu.edu Mon Jul 7 02:57:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 07 Jul 2003 02:57:00 -0000 Subject: Baseline for patches, was RE: I am back In-Reply-To: <000001c34224$ca6fdb50$0200a8c0@straightrunning.com> References: <000001c34224$ca6fdb50$0200a8c0@straightrunning.com> Message-ID: <3F08E192.4020805@msu.edu> Colin, Please submit patches against xoncygwin (SourceForge CVS tree). Thanks, Harold Colin Harrison wrote: > Yoo, > > Further to Ralf's comment:- > > http://cygwin.com/ml/cygwin-xfree/2003-07/msg00023.html > > I've got a few minor patches from the baseline of xoncygwin. > I think Ralf's patches are applied there. > We have got this baseline split due to the new XFree version being trialled > on xoncygwin. > > Shall I submit my changes against xoncygwin or rework them against the > original Test91 release? > > Colin From huntharo@msu.edu Mon Jul 7 03:00:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 07 Jul 2003 03:00:00 -0000 Subject: Alt-Esc works, why can't we pass Alt-Tab to the WM? In-Reply-To: References: Message-ID: <3F08E231.3000409@msu.edu> Igor, Huh... well, if it requires a keyboard hook then it really is kinda complex to add this "Alt-Tab" catching behavior. As far as adding a keyboard/mouse hook in general, I am kinda stuck on that one. I can't decide if it is better to build a small DLL with Visual Studio with a defined interface that XWin.exe uses (if it can load the DLL), or if it is better (or even a good idea) to try to build a small hook DLL with MinGW. Any comments? Harold Igor Pechtchanski wrote: > On Fri, 4 Jul 2003, Sam Edge wrote: > > >>Igor Pechtchanski wrote in >>in gmane.os.cygwin.xfree on Wed, 2 Jul 2003 19:26:44 -0400 (EDT): >> >> >>>On Wed, 2 Jul 2003, Harold L Hunt II wrote: >>> >>>>There is the possibility that Alt+Tab can only be trapped on NT-based >>>>OSes, but that isn't much more to worry about. >> >>>Win98, at least, has a Misc tab in shortcut properties, that lists Windows >>>shortcut keys to ignore (let the application handle). Alt-Tab is one of >>>them. Thus, you could instruct the users set up a shortcut to XWin.exe >>>and let it handle Alt-Tab, even if XWin.exe can't capture it itself. >>>P.S. I'm not sure Win95/ME have this feature. >> >>I think you'll find that the Misc property page is only available with >>shortcuts to DOS-mode applications. Windows-native executables like >>XWin.exe don't have it. > > > Yes, you're right. However, after some more digging, it seems that > keyboard hooks (perhaps similar to what Harold suggested earlier?) *can* > be used on Win9x to intercept hotkeys (e.g., Alt-Tab) in Win32 apps. I > haven't found the exact instructions on MSDN, though... > Igor From huntharo@msu.edu Mon Jul 7 03:02:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 07 Jul 2003 03:02:00 -0000 Subject: Memory access error in XWin -multiwindow In-Reply-To: <00c901c34276$41daac50$0a1c440a@BRAMSCHE> References: <00c901c34276$41daac50$0a1c440a@BRAMSCHE> Message-ID: <3F08E2AA.8020207@msu.edu> Both of these approaches look interesting. Thanks Biju and Ralf. Harold Ralf Habacker wrote: > Hi Biju, > > >>I am facing an issue of Memory access error in XWin -multiwindow mode >>see http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00294.html >> >>So Ralf pointed me to http://cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html >> >>After seeing that patch, I have just gone thru XWin Source and found, >>at lot of place we call memory alloc and not testing the return value. >>I am attaching the list & extracts from programs >>I dont know all of those will make any issue. >> >>I did not checked whether it is properly "free()"-ed > > > You can try the mem_watch library on > http://sourceforge.net/project/showfiles.php?group_id=27249. > It allows checking of memory related calls on cygwin with minimal effort. > > After installing this package, relink the Xserver with the following line: > > $ make LDFLAGS="-Wl,--whole-archive -Wl,-lmemwatch -Wl,--no-whole-archive" > > Then start Xwin and you can see all memory related calls and there calling > address. > > See an example output below (you can get more informations through the INSTALL > file of the memwatch release). > > $ ./test > MemWatch hooks installed (set MEMWATCH=1 env var to enable debugging) > > Memory Checker report > ===================== > number of calls: > malloc : 3 > calloc : 1 > realloc : 0 > free : 1 > > used memory : 350 > > unfree'd memory areas > > address size calladdr > > 0a040488 300 00401afc > 0a040448 20 00401ac7 > 0a040460 30 00401ad9 > ============================== > 350 > > compile this application with debugging symbols and try > addr2line to get the source line of the relating call > > addr2line -e ./test.exe > > May be that helps. > > Cheers > Ralf From huntharo@msu.edu Mon Jul 7 03:03:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 07 Jul 2003 03:03:00 -0000 Subject: multiwindow - transparent applications In-Reply-To: References: Message-ID: <3F08E304.8020504@msu.edu> Because my implementation of non-rectangularly shaped windows for -multiwindow mode is a hack. Harold Philippe Bastiani wrote: > Hi, > > I would like to understand why the transparent applications (oclock, xeyes, > ...) do not appear with the XP style! > Is it a configuration problem ? > a+ From jbarilla@princeton.edu Mon Jul 7 16:05:00 2003 From: jbarilla@princeton.edu (Joseph Barillari) Date: Mon, 07 Jul 2003 16:05:00 -0000 Subject: -multiwindow + XP = nonstop Xwin.exe crashes Message-ID: <878yramifj.fsf@bigbox.barillari.org> Hi. When I run Xwin in the experimental -multiwindow mode ("xinit -- -multiwindow -clipboard"), on Windows XP, Windows regularly throws up a dialog indicating that Xwin "has encountered a problem and needs to close," inviting me to send an error report to Microsoft. Strangely enough, Xwin continues to work despite the error message (if I drag the dialog box offscreen so it doesn't get in the way.), with one exception: I can't change the window manager focus. Any keystrokes I type go into the window that was focused at the time of the error message, regardless of where I click. Even more strangely, the error message sometimes appears even when Xwin isn't presently active. The last crash message occured while I was browsing the web using a Windows-native build of Mozilla. (Most of my X programs are running on remote machines over SSH tunnels, if that might have anything to do with it.) Is this a known bug in Xwin? If it is not, any suggestions on how to diagnose it would be much appreciated. Thanks in advance, --Joe -- Joseph Barillari -- http://barillari.org From arnechaa@online.no Mon Jul 7 17:16:00 2003 From: arnechaa@online.no (=?iso-8859-1?Q?Arne_Christian_H=E5rseth?=) Date: Mon, 07 Jul 2003 17:16:00 -0000 Subject: Fw: Bug in Cygwin/XFree86 Frequently Asked Questions Message-ID: <000801c344ab$0f67e7b0$6b0010ac@corp.telenor.no> Hi! I am not an expert on bash and sh but I could only make the cygwin-sfree-fax topic 4.7 and 4.8 work with sh, not bash, so I assume it should be corrected as suggested in my mail below? Best regards Arne H??rseth PS: I do not subscripe to this list. ----- Original Message ----- From: "Harold L Hunt II" To: "Arne Christian H??rseth" Sent: Monday, July 07, 2003 5:07 AM Subject: Re: Bug in Cygwin/XFree86 Frequently Asked Questions Arne, Can you send this to cygwin-xfree@cygwin.com? Your suggestion seems correct, but I would like other people to see it and add their thoughts. Thanks for contributing, Harold Arne Christian H??rseth wrote: > Hi! > > I see that you have the last revision of the Cygwin/XFree86 Frequently Asked > Questions so I take the chance on sending this to you. Hope it is OK? > > I think there is a bug in > http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-bash-extended-cha > rs. > The description in 4.7 and 4.8 is said to cover bash but it actually only > works for sh. With bash you need to make a .bashrc instead of inputrc > containing something like this: > > if test "$PS1" > then > PS1='\h(\u) \W \!\$ ' > bind \ > 'set meta-flag on' \ > 'set convert-meta off' \ > 'set output-meta on' \ > 'set show-all-if-ambiguous on' \ > 'set expand-tilde on' > fi > > This also adds a nice prompt. > > Best regards > Arne Christian H??rseth > From pechtcha@cs.nyu.edu Mon Jul 7 17:24:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Mon, 07 Jul 2003 17:24:00 -0000 Subject: Fw: Bug in Cygwin/XFree86 Frequently Asked Questions In-Reply-To: <000801c344ab$0f67e7b0$6b0010ac@corp.telenor.no> Message-ID: Arne, There's an entry in the main Cygwin FAQ that may be of interest: . Igor On Mon, 7 Jul 2003, Arne Christian H??rseth wrote: > Hi! > > I am not an expert on bash and sh but I could only make the cygwin-sfree-fax > topic 4.7 and 4.8 work with sh, not bash, so I assume it should be corrected > as suggested in my mail below? > > Best regards > Arne H??rseth > > PS: I do not subscripe to this list. > > ----- Original Message ----- > From: "Harold L Hunt II" > To: "Arne Christian H??rseth" > Sent: Monday, July 07, 2003 5:07 AM > Subject: Re: Bug in Cygwin/XFree86 Frequently Asked Questions > > Arne, > > Can you send this to cygwin-xfree@cygwin.com? Your suggestion seems > correct, but I would like other people to see it and add their thoughts. > > Thanks for contributing, > > Harold > > Arne Christian H??rseth wrote: > > > Hi! > > > > I see that you have the last revision of the Cygwin/XFree86 Frequently > Asked > > Questions so I take the chance on sending this to you. Hope it is OK? > > > > I think there is a bug in > > > http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-bash-extended-cha > > rs. > > The description in 4.7 and 4.8 is said to cover bash but it actually only > > works for sh. With bash you need to make a .bashrc instead of inputrc > > containing something like this: > > > > if test "$PS1" > > then > > PS1='\h(\u) \W \!\$ ' > > bind \ > > 'set meta-flag on' \ > > 'set convert-meta off' \ > > 'set output-meta on' \ > > 'set show-all-if-ambiguous on' \ > > 'set expand-tilde on' > > fi > > > > This also adds a nice prompt. > > > > Best regards > > Arne Christian H??rseth -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From huntharo@msu.edu Mon Jul 7 17:27:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 07 Jul 2003 17:27:00 -0000 Subject: Fw: Bug in Cygwin/XFree86 Frequently Asked Questions In-Reply-To: References: Message-ID: <3F09AD53.206@msu.edu> Igor, Is his suggestion correct? If so, I will need to update the Cygwin/XFree86 FAQ. Thanks, Harold Igor Pechtchanski wrote: > Arne, > > There's an entry in the main Cygwin FAQ that may be of interest: > . > Igor > > On Mon, 7 Jul 2003, Arne Christian H??rseth wrote: > > >>Hi! >> >>I am not an expert on bash and sh but I could only make the cygwin-sfree-fax >>topic 4.7 and 4.8 work with sh, not bash, so I assume it should be corrected >>as suggested in my mail below? >> >>Best regards >>Arne H??rseth >> >>PS: I do not subscripe to this list. >> >>----- Original Message ----- >>From: "Harold L Hunt II" >>To: "Arne Christian H??rseth" >>Sent: Monday, July 07, 2003 5:07 AM >>Subject: Re: Bug in Cygwin/XFree86 Frequently Asked Questions >> >>Arne, >> >>Can you send this to cygwin-xfree@cygwin.com? Your suggestion seems >>correct, but I would like other people to see it and add their thoughts. >> >>Thanks for contributing, >> >>Harold >> >>Arne Christian H??rseth wrote: >> >> >>>Hi! >>> >>>I see that you have the last revision of the Cygwin/XFree86 Frequently >> >>Asked >> >>>Questions so I take the chance on sending this to you. Hope it is OK? >>> >>>I think there is a bug in >>> >> >>http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-bash-extended-cha >> >>>rs. >>>The description in 4.7 and 4.8 is said to cover bash but it actually only >>>works for sh. With bash you need to make a .bashrc instead of inputrc >>>containing something like this: >>> >>>if test "$PS1" >>>then >>> PS1='\h(\u) \W \!\$ ' >>> bind \ >>> 'set meta-flag on' \ >>> 'set convert-meta off' \ >>> 'set output-meta on' \ >>> 'set show-all-if-ambiguous on' \ >>> 'set expand-tilde on' >>>fi >>> >>>This also adds a nice prompt. >>> >>>Best regards >>>Arne Christian H??rseth > > From Ralf.Habacker@freenet.de Mon Jul 7 18:26:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Mon, 07 Jul 2003 18:26:00 -0000 Subject: Memory access error in XWin -multiwindow In-Reply-To: <00c901c34276$41daac50$0a1c440a@BRAMSCHE> Message-ID: <001601c344b5$3e804970$375c07d5@BRAMSCHE> Ralf Habacker wrote: > After installing this package, relink the Xserver with the following line: > > $ make LDFLAGS="-Wl,--whole-archive -Wl,-lmemwatch -Wl,--no-whole-archive" > I just noticed two little issue with linking xwin: 1. The above link line is a link line using default Makefiles, but unfortunally Xwin uses not this standard. So you have to use the following. make EXTRA_LOAD_FLAGS="-Wl,--whole-archive -Wl,-lmemwatch -Wl,--no-whole-archive -Wl, -debug" XWin.exe 2. I have overseeen, that Xwin does not support stderr output, so there are not results for xwin. I've uploaded an updated mem_watch (release 1.1) to http://sourceforge.net/project/showfiles.php?group_id=27249. MEMWATCH_OUTPUT=/c/temp/test.log ./test Ralf From pechtcha@cs.nyu.edu Mon Jul 7 18:28:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Mon, 07 Jul 2003 18:28:00 -0000 Subject: Fw: Bug in Cygwin/XFree86 Frequently Asked Questions In-Reply-To: <3F09AD53.206@msu.edu> Message-ID: Harold, His suggestion is equivalent to having a .inputrc with the lines he passes to "bind". Two of the options ("show-all-if-ambiguous" and "expand-tilde") have nothing to do with 8-bit characters, the other three are the same as in the FAQ entry. In other words, the FAQ entry *is* correct, and don't bother changing it. As for the distinction between bash and sh -- .inputrc is used by the readline library, and, FWICS, ash (the /bin/sh in Cygwin) does not use readline at all (but bash does). So I don't see why the FAQ suggestion didn't work for Arne in bash, and how it could possibly work in sh (unless he tried it on Linux, where /bin/sh is a symlink to bash, which still doesn't explain why it didn't work in bash). Igor On Mon, 7 Jul 2003, Harold L Hunt II wrote: > Igor, > > Is his suggestion correct? If so, I will need to update the > Cygwin/XFree86 FAQ. > > Thanks, > > Harold > > Igor Pechtchanski wrote: > > > Arne, > > > > There's an entry in the main Cygwin FAQ that may be of interest: > > . > > Igor > > > > On Mon, 7 Jul 2003, Arne Christian Hrseth wrote: > > > > > >>Hi! > >> > >>I am not an expert on bash and sh but I could only make the cygwin-sfree-fax > >>topic 4.7 and 4.8 work with sh, not bash, so I assume it should be corrected > >>as suggested in my mail below? > >> > >>Best regards > >>Arne Hrseth > >> > >>PS: I do not subscripe to this list. > >> > >>----- Original Message ----- > >>From: "Harold L Hunt II" > >>To: "Arne Christian Hrseth" > >>Sent: Monday, July 07, 2003 5:07 AM > >>Subject: Re: Bug in Cygwin/XFree86 Frequently Asked Questions > >> > >>Arne, > >> > >>Can you send this to cygwin-xfree@cygwin.com? Your suggestion seems > >>correct, but I would like other people to see it and add their thoughts. > >> > >>Thanks for contributing, > >> > >>Harold > >> > >>Arne Christian Hrseth wrote: > >> > >>>Hi! > >>> > >>>I see that you have the last revision of the Cygwin/XFree86 > >>>Frequently Asked Questions so I take the chance on sending this to > >>>you. Hope it is OK? > >>> > >>>I think there is a bug in > >>>http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-bash-extended-chars. > >>>The description in 4.7 and 4.8 is said to cover bash but it actually only > >>>works for sh. With bash you need to make a .bashrc instead of inputrc > >>>containing something like this: > >>> > >>>if test "$PS1" > >>>then > >>> PS1='\h(\u) \W \!\$ ' > >>> bind \ > >>> 'set meta-flag on' \ > >>> 'set convert-meta off' \ > >>> 'set output-meta on' \ > >>> 'set show-all-if-ambiguous on' \ > >>> 'set expand-tilde on' > >>>fi > >>> > >>>This also adds a nice prompt. > >>> > >>>Best regards > >>>Arne Christian Hrseth -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From gp@familiehaase.de Tue Jul 8 06:52:00 2003 From: gp@familiehaase.de (Gerrit P. Haase) Date: Tue, 08 Jul 2003 06:52:00 -0000 Subject: gtk2 on cygwin ( --with-gdktarget=win32, only ) In-Reply-To: <20581.1057559625@www42.gmx.net> References: <153140753743.20030705110032@familiehaase.de> <20581.1057559625@www42.gmx.net> Message-ID: <186392600339.20030708085759@familiehaase.de> Hallo S, I redirected this thread to cygwin-xfree. > Anyway, having the stuff working after over 2 months digging, now I turned > to test some apps :)) (which, by the way, are just a few -- most of gtk2 apps > are "gnomed" or at least libgnomecanvas and/or libgnomeprint dependant). BTW, are there some other great applications besides dia and bluefish (which I already have running) you have found for testing glib-2.0? Gerrit -- =^..^= From colin.harrison@virgin.net Tue Jul 8 08:23:00 2003 From: colin.harrison@virgin.net (Colin Harrison) Date: Tue, 08 Jul 2003 08:23:00 -0000 Subject: Minor patches for xoncygwin Message-ID: <000001c3452a$3076a250$0200a8c0@straightrunning.com> Hi, Here's my collection of minor patches for xoncygwin (SourceForge CVS). Mostly related to multiwindow mode. 1) Now we have only one timer for out-off client mouse communications, I've reworked Earle's mouse-up fix into the latest code. Combined with a reduction in the polling time from 500 to 10ms this gives a much better mouse response for me and fixes the mouse button-up problems. I've only tried this on XP and if used on win98 etc, polling will only reduce down to 50ms. I've tried a hook solution to this (using a dll compiled via Visual Studio) and didn't get much of an improvement on this easier (but inelegant) fix. The dll hook suffers the complication of needing to be compiled in cygwin (which I never tried!) and, for me, was not always consistent in feeding the messages for all mouse movement (I'm still looking into why). Earle's patch was:- http://cygwin.com/ml/cygwin-xfree/2003-05/msg00576.html 2) An addition of '&' to give a 'hot key' for the 'Always On Top' system menu command. 3) Rework of Ralf's window title modifier to be consistent with all of XWin's titlers (i.e. with XDMCP and the tip on the tray icon). This appends (Ralf prepended) display and screen to the title. Ralf's patch was:- http://cygwin.com/ml/cygwin-xfree/2003-06/msg00164.html None of this stuff is earth shattering, but it all works for me and has been in constant use for weeks! Colin -------------- next part -------------- A non-text attachment was scrubbed... Name: various_minor.diff.bz2 Type: application/octet-stream Size: 1866 bytes Desc: not available URL: From colin.harrison@virgin.net Tue Jul 8 08:53:00 2003 From: colin.harrison@virgin.net (Colin Harrison) Date: Tue, 08 Jul 2003 08:53:00 -0000 Subject: Minor patches for xoncygwin Message-ID: <000001c3452e$6539e110$0200a8c0@straightrunning.com> Hi, Missed out patches for point 2) In wintrayicon.c Change:- "Cygwin/XFree86 Server - %s:%d", To:- "Cygwin/XFree86 Server - %s.%d", And winwindow.h Change:- "Cygwin/XFree86 - %s:%d" To:- "Cygwin/XFree86 - %s.%d" To achieve the consistency I was on about! Colin From rbelenov@yandex.ru Tue Jul 8 13:05:00 2003 From: rbelenov@yandex.ru (Roman Belenov) Date: Tue, 08 Jul 2003 13:05:00 -0000 Subject: Fullscreen mode and multiple monitors Message-ID: Is it possible to start X server in fullscreen mode on the secondary monitor ? -- With regards, Roman. From huntharo@msu.edu Tue Jul 8 13:44:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 08 Jul 2003 13:44:00 -0000 Subject: Minor patches for xoncygwin In-Reply-To: <000001c3452e$6539e110$0200a8c0@straightrunning.com> References: <000001c3452e$6539e110$0200a8c0@straightrunning.com> Message-ID: <3F0ACA9B.8090004@msu.edu> Colin, I think I would rather change them all to be s:d. Harold Colin Harrison wrote: > Hi, > > Missed out patches for point 2) > > In wintrayicon.c > > Change:- > > "Cygwin/XFree86 Server - %s:%d", > > To:- > > "Cygwin/XFree86 Server - %s.%d", > > And winwindow.h > > Change:- > > "Cygwin/XFree86 - %s:%d" > > To:- > > "Cygwin/XFree86 - %s.%d" > > > To achieve the consistency I was on about! > > Colin > > From colin.harrison@virgin.net Tue Jul 8 15:01:00 2003 From: colin.harrison@virgin.net (Colin Harrison) Date: Tue, 08 Jul 2003 15:01:00 -0000 Subject: Minor patches for xoncygwin Message-ID: <000001c34561$dc839120$0200a8c0@straightrunning.com> Hi Harold, Point 3) (the s.d vs s:d bit of my patch!) is of little consequence, and will probably annoy more than enhance. I had left it in my tree (s.d) after trying Ralf's patch and only half spotted my tinkering when doing the diff's! Colin From huntharo@msu.edu Tue Jul 8 16:17:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 08 Jul 2003 16:17:00 -0000 Subject: I am back In-Reply-To: <007401c34155$43917e60$0a1c440a@BRAMSCHE> References: <007401c34155$43917e60$0a1c440a@BRAMSCHE> Message-ID: <3F0AEE81.30705@msu.edu> Ralf, Have you checked if xoncygwin (SourceForge CVS) has both of your patches applied? I think that I applied them both, but it would be nice if you could verify that I did. The patches were not directly applied... I looked at them and did the modifications by hand, adjusting a few things here and there, so a diff will help you but it won't be identical to your diff. Harold Ralf Habacker wrote: > Hi Harold, > >>Well, I am back. We had a great time. >> >>If any patches were submitted or anything needs to be brought to my >>attention, please send a reminder to the list for me. I can't possibly >>wade through 2 weeks of emails :) >> > > Yes, there is something. Based on the xwin Testserver release 91 I had send a > path, which fixes some segfaults of which you have created a > XWin-Test91-DEBUG.exe.bz2. > > (See http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00136.html) > > After that I had send in an additional patch based on the one before: > > http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html > > > It would be nice, if a new test server release could be build. It's very nice to > see KDE-cygwin apps running in a win32 window. :-) > > Thanks > > Ralf > > > From huntharo@msu.edu Tue Jul 8 16:23:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 08 Jul 2003 16:23:00 -0000 Subject: Memory access error in XWin -multiwindow In-Reply-To: <20030704205925.23319.qmail@web14609.mail.yahoo.com> References: <20030704205925.23319.qmail@web14609.mail.yahoo.com> Message-ID: <3F0AEFF4.2010405@msu.edu> Biju, I can now reproduce your problem using both Test91 and Test91-DEBUG (with Ralf's patches applied). I reproduce the problem using ssh to login to my home machine which is on an 256 Kbps uplink. When I launch konqueror remotely, XWin.exe dies with the Windows error message. I tried the same thing at home on the local network with no problems. Thus, we are most likely looking at a race condition. I think that this problem probably doesn't have anything to do with malloc failing... rather, I think the problem is that we call XInitThreads (or whatever it is called) more than once in the same process. I should add protection so that that function is only called once for the entire process. I don't promise that this will fix the problem, but I at least have a test case now so I can start to do something about it. Harold Biju G C wrote: > Harold, > > I am facing an issue of Memory access error in XWin -multiwindow mode > see http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00294.html > > So Ralf pointed me to http://cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html > > After seeing that patch, I have just gone thru XWin Source and found, > at lot of place we call memory alloc and not testing the return value. > I am attaching the list & extracts from programs > I dont know all of those will make any issue. > > I did not checked whether it is properly "free()"-ed > And also I did not checked the functions which receives > allocated memory another function as return value or thru > a passed argument to the called function. > > > List of variables:- > > in winmultiwindowwm.c > pXMsgArg at function winInitWM > > > in winmultiwindowwindow.c > vlist at function winMoveXWindow > vlist at function winResizeXWindow > > > in winmultiwindowicons.c > iconData at function winScaleXBitmapToWindows > image at function winXIconToHICON > imageMask at function winXIconToHICON > mask at function winXIconToHICON > > > in winmultiwindowclass.c > *res_name at function winMultiWindowGetClassHint > *res_role at function winMultiWindowGetWindowRole > > > in winconfig.c > ret at function winNormalizeName > > > in winclipboardxevents.c > pszUTF8 at function winClipboardFlushXEvents > pszReturnData at function winClipboardFlushXEvents > pwszUnicodeStr at function winClipboardFlushXEvents > hGlobal at function winClipboardFlushXEvents > > > in winclipboardtextconv.c > pszDestBegin / pszDest at function winClipboardUNIXtoDOS > > > > > ####### EXTRACTS FROM PROGRAMS ########## > > > > ####### NEXT FILE ########## > > winmultiwindowwm.c > > Bool > winInitWM (void **ppWMInfo, > pthread_t *ptWMProc, > pthread_t *ptXMsgProc, > pthread_mutex_t *ppmServerStarted, > int dwScreen) > { > WMProcArgPtr pArg = (WMProcArgPtr) malloc (sizeof(WMProcArgRec)); > WMInfoPtr pWMInfo = (WMInfoPtr) malloc (sizeof(WMInfoRec)); > XMsgProcArgPtr pXMsgArg = (XMsgProcArgPtr) malloc (sizeof(XMsgProcArgRec)); > > /* Bail if the input parameters are bad */ > if (pArg == NULL || pWMInfo == NULL) > { > ErrorF ("winInitWM - malloc fail.\n"); > return FALSE; > } > > > > > ####### NEXT FILE ########## > > winmultiwindowwindow.c > > void > winMoveXWindow (WindowPtr pWin, int x, int y) > { > XID *vlist = malloc(sizeof(long)*2); > > (CARD32*)vlist[0] = x; > (CARD32*)vlist[1] = y; > ConfigureWindow (pWin, CWX | CWY, vlist, wClient(pWin)); > free(vlist); > } > > > /* > * winResizeXWindow - > */ > > void > winResizeXWindow (WindowPtr pWin, int w, int h) > { > XID *vlist = malloc(sizeof(long)*2); > > (CARD32*)vlist[0] = w; > (CARD32*)vlist[1] = h; > ConfigureWindow (pWin, CWWidth | CWHeight, vlist, wClient(pWin)); > free(vlist); > } > > > > ####### NEXT FILE ########## > > winmultiwindowicons.c > > > static void > winScaleXBitmapToWindows (int iconSize, > int effBPP, > PixmapPtr pixmap, > unsigned char *image) > { > > ........ > > iconData = malloc (xStride * pixmap->drawable.height); > miGetImage ((DrawablePtr) &(pixmap->drawable), 0, 0, > pixmap->drawable.width, pixmap->drawable.height, > ZPixmap, 0xffffffff, iconData); > > > > > > > HICON > winXIconToHICON (WindowPtr pWin) > { > > ......... > image = (unsigned char * ) malloc (stride * iconSize); > imageMask = (unsigned char *) malloc (stride * iconSize); > mask = (unsigned char *) malloc (maskStride * iconSize); > > > > > > ####### NEXT FILE ########## > > winmultiwindowclass.c > > int > winMultiWindowGetClassHint (WindowPtr pWin, char **res_name, char **res_class) > { > > .... > > (*res_name) = malloc (len_name + 1); > > > int > winMultiWindowGetWindowRole (WindowPtr pWin, char **res_role) > { > > .... > (*res_role) = malloc (len_role + 1); > > > > > ####### NEXT FILE ########## > > winconfig.c > > char * > winNormalizeName (const char *s) > { > > ...... > > ret = malloc (strlen (s) + 1); > > > > > ####### NEXT FILE ########## > > winclipboardxevents.c > Bool > winClipboardFlushXEvents (HWND hwnd, > Atom atomClipboard, > Atom atomLocalProperty, > Atom atomUTF8String, > Atom atomCompoundText, > Atom atomTargets, > Atom atomDeleteWindow, > int iWindow, > Display *pDisplay, > Bool fUnicodeSupport) > { > > ........ > pszUTF8 = (char *) malloc (iUTF8); /* Don't need +1 */ > WideCharToMultiByte (CP_UTF8, > > > > ........... > > > if (iCount > 0) > { > pszReturnData = malloc (strlen (ppszTextList[0]) + 1); > strcpy (pszReturnData, ppszTextList[0]); > } > else > { > pszReturnData = malloc (1); > pszReturnData[0] = 0; > } > > > ........... > pwszUnicodeStr > = (wchar_t*) malloc (sizeof (wchar_t) * (iUnicodeLen + 1)); > > /* Do the actual conversion */ > MultiByteToWideChar (CP_UTF8, > 0, > pszReturnData, > -1, > pwszUnicodeStr, > iUnicodeLen); > > ........ > > /* Allocate global memory for the X clipboard data */ > if (fUnicodeSupport) > hGlobal = GlobalAlloc (GMEM_MOVEABLE, > sizeof (wchar_t) * (iUnicodeLen + 1)); > else > hGlobal = GlobalAlloc (GMEM_MOVEABLE, strlen (pszReturnData) + 1); > > /* Obtain a pointer to the global memory */ > pszGlobalData = GlobalLock (hGlobal); > if (pszGlobalData == NULL) > { > ........ > > > > > ####### NEXT FILE ########## > > winclipboardtextconv.c > > void > winClipboardUNIXtoDOS (unsigned char **ppszData, int iLength) > { > > ....... > /* Allocate a new string */ > pszDestBegin = pszDest = malloc (iLength + iNewlineCount + 1); > > > > > ________________________________________________________________________ > Want to chat instantly with your online friends? Get the FREE Yahoo! > Messenger http://uk.messenger.yahoo.com/ From philippe.bastiani@wanadoo.fr Tue Jul 8 18:19:00 2003 From: philippe.bastiani@wanadoo.fr (Philippe Bastiani) Date: Tue, 08 Jul 2003 18:19:00 -0000 Subject: multiwindow - transparent applications References: <3F08E304.8020504@msu.edu> Message-ID: In any case: a nice hack :) if I remember, we can open a WIN32 window without title bar (and without border)... a+ -- Philippe Bastiani "Harold L Hunt II" a ??crit dans le message de news:3F08E304.8020504@msu.edu... > Because my implementation of non-rectangularly shaped windows for > -multiwindow mode is a hack. > > Harold > > Philippe Bastiani wrote: > > > Hi, > > > > I would like to understand why the transparent applications (oclock, xeyes, > > ...) do not appear with the XP style! > > Is it a configuration problem ? > > a+ > > From huntharo@msu.edu Tue Jul 8 19:14:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 08 Jul 2003 19:14:00 -0000 Subject: Memory access error in XWin -multiwindow In-Reply-To: <3F0AEFF4.2010405@msu.edu> References: <20030704205925.23319.qmail@web14609.mail.yahoo.com> <3F0AEFF4.2010405@msu.edu> Message-ID: <3F0B17EA.4050505@msu.edu> Biju, I just tried my idea of preventing multiple calls to XInitThreads... it didn't seem to make any difference at all. I will have to look at this problem more closely... which means that I won't be able to work on it for a while. I will be out of town this weekend and I am moving across town next week, so I will be pretty busy. Harold Harold L Hunt II wrote: > Biju, > > I can now reproduce your problem using both Test91 and Test91-DEBUG > (with Ralf's patches applied). I reproduce the problem using ssh to > login to my home machine which is on an 256 Kbps uplink. When I launch > konqueror remotely, XWin.exe dies with the Windows error message. I > tried the same thing at home on the local network with no problems. > Thus, we are most likely looking at a race condition. > > I think that this problem probably doesn't have anything to do with > malloc failing... rather, I think the problem is that we call > XInitThreads (or whatever it is called) more than once in the same > process. I should add protection so that that function is only called > once for the entire process. > > I don't promise that this will fix the problem, but I at least have a > test case now so I can start to do something about it. > > Harold > > Biju G C wrote: > >> Harold, >> >> I am facing an issue of Memory access error in XWin -multiwindow mode >> see http://www.cygwin.com/ml/cygwin-xfree/2003-06/msg00294.html >> >> So Ralf pointed me to >> http://cygwin.com/ml/cygwin-xfree/2003-06/msg00162.html >> >> After seeing that patch, I have just gone thru XWin Source and found, >> at lot of place we call memory alloc and not testing the return value. >> I am attaching the list & extracts from programs >> I dont know all of those will make any issue. >> >> I did not checked whether it is properly "free()"-ed >> And also I did not checked the functions which receives allocated >> memory another function as return value or thru a passed argument to >> the called function. >> >> >> List of variables:- >> >> in winmultiwindowwm.c >> pXMsgArg at function winInitWM >> >> in winmultiwindowwindow.c >> vlist at function winMoveXWindow >> vlist at function winResizeXWindow >> >> in winmultiwindowicons.c >> iconData at function winScaleXBitmapToWindows >> image at function winXIconToHICON imageMask at >> function winXIconToHICON mask at function >> winXIconToHICON >> >> in winmultiwindowclass.c >> *res_name at function winMultiWindowGetClassHint >> *res_role at function winMultiWindowGetWindowRole >> >> in winconfig.c >> ret at function winNormalizeName >> >> in winclipboardxevents.c >> pszUTF8 at function winClipboardFlushXEvents >> pszReturnData at function winClipboardFlushXEvents >> pwszUnicodeStr at function winClipboardFlushXEvents >> hGlobal at function winClipboardFlushXEvents >> >> in winclipboardtextconv.c >> pszDestBegin / pszDest at function winClipboardUNIXtoDOS >> >> >> >> ####### EXTRACTS FROM PROGRAMS ########## >> >> >> >> ####### NEXT FILE ########## >> >> winmultiwindowwm.c >> >> Bool >> winInitWM (void **ppWMInfo, >> pthread_t *ptWMProc, >> pthread_t *ptXMsgProc, >> pthread_mutex_t *ppmServerStarted, >> int dwScreen) >> { >> WMProcArgPtr pArg = (WMProcArgPtr) malloc >> (sizeof(WMProcArgRec)); >> WMInfoPtr pWMInfo = (WMInfoPtr) malloc (sizeof(WMInfoRec)); >> XMsgProcArgPtr pXMsgArg = (XMsgProcArgPtr) malloc >> (sizeof(XMsgProcArgRec)); >> >> /* Bail if the input parameters are bad */ >> if (pArg == NULL || pWMInfo == NULL) >> { >> ErrorF ("winInitWM - malloc fail.\n"); >> return FALSE; >> } >> >> >> >> >> ####### NEXT FILE ########## >> >> winmultiwindowwindow.c >> >> void >> winMoveXWindow (WindowPtr pWin, int x, int y) >> { >> XID *vlist = malloc(sizeof(long)*2); >> >> (CARD32*)vlist[0] = x; >> (CARD32*)vlist[1] = y; >> ConfigureWindow (pWin, CWX | CWY, vlist, wClient(pWin)); >> free(vlist); >> } >> >> >> /* >> * winResizeXWindow - */ >> >> void >> winResizeXWindow (WindowPtr pWin, int w, int h) >> { >> XID *vlist = malloc(sizeof(long)*2); >> >> (CARD32*)vlist[0] = w; >> (CARD32*)vlist[1] = h; >> ConfigureWindow (pWin, CWWidth | CWHeight, vlist, wClient(pWin)); >> free(vlist); >> } >> >> >> >> ####### NEXT FILE ########## >> >> winmultiwindowicons.c >> >> >> static void >> winScaleXBitmapToWindows (int iconSize, >> int effBPP, >> PixmapPtr pixmap, >> unsigned char *image) >> { >> >> ........ >> >> iconData = malloc (xStride * pixmap->drawable.height); >> miGetImage ((DrawablePtr) &(pixmap->drawable), 0, 0, >> pixmap->drawable.width, pixmap->drawable.height, >> ZPixmap, 0xffffffff, iconData); >> >> >> >> >> >> >> HICON >> winXIconToHICON (WindowPtr pWin) >> { >> >> ......... >> image = (unsigned char * ) malloc (stride * iconSize); >> imageMask = (unsigned char *) malloc (stride * iconSize); >> mask = (unsigned char *) malloc (maskStride * iconSize); >> >> >> >> >> >> ####### NEXT FILE ########## >> >> winmultiwindowclass.c >> >> int >> winMultiWindowGetClassHint (WindowPtr pWin, char **res_name, char >> **res_class) >> { >> >> .... >> >> (*res_name) = malloc (len_name + 1); >> >> >> int >> winMultiWindowGetWindowRole (WindowPtr pWin, char **res_role) >> { >> >> .... >> (*res_role) = malloc (len_role + 1); >> >> >> >> >> ####### NEXT FILE ########## >> >> winconfig.c >> >> char * >> winNormalizeName (const char *s) >> { >> >> ...... >> >> ret = malloc (strlen (s) + 1); >> >> >> >> >> ####### NEXT FILE ########## >> >> winclipboardxevents.c >> Bool >> winClipboardFlushXEvents (HWND hwnd, >> Atom atomClipboard, >> Atom atomLocalProperty, >> Atom atomUTF8String, >> Atom atomCompoundText, >> Atom atomTargets, >> Atom atomDeleteWindow, >> int iWindow, >> Display *pDisplay, >> Bool fUnicodeSupport) >> { >> >> ........ >> pszUTF8 = (char *) malloc (iUTF8); /* Don't need +1 */ >> WideCharToMultiByte (CP_UTF8, >> >> >> >> ........... >> >> >> if (iCount > 0) >> { >> pszReturnData = malloc (strlen (ppszTextList[0]) + 1); >> strcpy (pszReturnData, ppszTextList[0]); >> } >> else >> { >> pszReturnData = malloc (1); >> pszReturnData[0] = 0; >> } >> >> >> ........... >> pwszUnicodeStr >> = (wchar_t*) malloc (sizeof (wchar_t) * (iUnicodeLen + 1)); >> /* Do the actual conversion */ >> MultiByteToWideChar (CP_UTF8, >> 0, >> pszReturnData, >> -1, >> pwszUnicodeStr, >> iUnicodeLen); >> >> ........ >> >> /* Allocate global memory for the X clipboard data */ >> if (fUnicodeSupport) >> hGlobal = GlobalAlloc (GMEM_MOVEABLE, >> sizeof (wchar_t) * (iUnicodeLen + 1)); >> else >> hGlobal = GlobalAlloc (GMEM_MOVEABLE, strlen (pszReturnData) + >> 1); >> >> /* Obtain a pointer to the global memory */ >> pszGlobalData = GlobalLock (hGlobal); >> if (pszGlobalData == NULL) >> { >> ........ >> >> >> >> >> ####### NEXT FILE ########## >> >> winclipboardtextconv.c >> >> void >> winClipboardUNIXtoDOS (unsigned char **ppszData, int iLength) >> { >> >> ....... >> /* Allocate a new string */ >> pszDestBegin = pszDest = malloc (iLength + iNewlineCount + 1); >> >> >> >> >> ________________________________________________________________________ >> Want to chat instantly with your online friends? Get the FREE Yahoo! >> Messenger http://uk.messenger.yahoo.com/ From Ralf.Habacker@freenet.de Tue Jul 8 20:53:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Tue, 08 Jul 2003 20:53:00 -0000 Subject: I am back In-Reply-To: <3F0AEE81.30705@msu.edu> Message-ID: <003501c34592$f256c360$0a1c440a@BRAMSCHE> Hi Harold, > Have you checked if xoncygwin (SourceForge CVS) has both of your patches > applied? I think that I applied them both, but it would be nice if you > could verify that I did. The patches were not directly applied... I > looked at them and did the modifications by hand, adjusting a few things > here and there, so a diff will help you but it won't be identical to > your diff. Today I had already taken a look on the xoncygwin cvs and recognized this. It seems that all patches are applied. Thanks Ralf From stephane@beauregard.ws Tue Jul 8 23:17:00 2003 From: stephane@beauregard.ws (=?ISO-8859-1?Q?St=E9phane_Beauregard?=) Date: Tue, 08 Jul 2003 23:17:00 -0000 Subject: Multiple screen feature Message-ID: <3F0B50F8.3090600@beauregard.ws> I have a two-screen Windows machine with two 1024x768 display. It would be nice to have Xwin with the "-multiwindow" option working over my whole, extended Windows desktop. Has the multiple screen feature been implemented yet? Or is it a matter of using a combination of "-screen" options? For example, from within Cygwin, I tried "xwin -screen 2048x768 -multiwindow", to no avail. Regards, S. Beauregard -- St??phane Beauregard, "Tech-no-mad" International University - Bremen Campus Ring 7 28759 Bremen Tel: +49 (0) 172 684 9040 E-Mail: stephane@beauregard.ws From huntharo@msu.edu Wed Jul 9 01:45:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 09 Jul 2003 01:45:00 -0000 Subject: CYGWIN_ROOT Question -- Attn: XFree86-fnts maintainer In-Reply-To: References: Message-ID: <3F0B73A8.9090501@msu.edu> Igor, Thanks for the fix. This was indeed my fault and the fix is elegant. I have uploaded 4.2.0-3 versions of all of the fonts packages, which will fix the problem, but will annoy those that have already downloaded them... Harold Igor Pechtchanski wrote: > Gerald, > > Well, this is not a bug in setup.exe, but it looks like a bug in the > postinstall scripts for the XFree86-f??? packages. Basically, the scripts > re-mount /usr/X11R6/lib/X11/fonts to force a binary mount. They use > `cygpath -w` to find the Windows path of the fonts directory. > Unfortunately, they do it *before* unmounting the old one, so if you > change the Cygwin installation root between the runs of the scripts, they > will still refer to the old directory. > > The fix (for the postinstall scripts) is to unmount the directory *first*, > and then run `cygpath -w`. The corrected postinstall scripts would each > look like this: > > #!/bin/sh > > FONTDIR=/usr/X11R6/lib/X11/fonts > umount -u $FONTDIR 2>/dev/null > WFONTDIR=`cygpath -w $FONTDIR` > mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR > > The same changes as a patch (for XFree86-fnts.sh) are below. > > Hopefully this makes its way into the fonts package. Until it does, you > could simply "umount -u /usr/X11R6/lib/X11/fonts", and re-install all of > the XFree86-f??? packages that you need using setup.exe. > Igor > ============================================================================== > --- XFree86-fnts.sh-orig 2002-04-28 02:11:37.000000000 -0400 > +++ XFree86-fnts.sh 2003-07-02 19:16:29.000000000 -0400 > @@ -1,6 +1,6 @@ > #!/bin/sh > > FONTDIR=/usr/X11R6/lib/X11/fonts > -WFONTDIR=`cygpath -w $FONTDIR` > umount -u $FONTDIR 2>/dev/null > +WFONTDIR=`cygpath -w $FONTDIR` > mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR > ============================================================================== > > On Wed, 2 Jul 2003, Gerald Pekmezi wrote: > > >>Thanks for the reply >> >>I have come to believe this is an X problem after all and will add a post >>there. >>It seems that during my cygwin installation everything was installed in D: >>(D:\usr, D:\bin etc), except for usr\X11R6\lib\X11\fonts. which was instead >>installed as C:\cygwin\usr\X11R6\lib\X11\fonts . When I restore the latter >>XWin will run however it refuses to do so if >>C:\cygwin\usr\X11R6\lib\X11\fonts does not exist. I did add the font >>directory to D:\usr\X11R6\lib\X11\, but it did not make a difference. >>Possible bug in cygwin setup.exe? >> >>"Larry Hall" wrote in message news:3F02E9F7.6010505@cygwin.com... >> >>>Gerald Pekmezi wrote: >>> >>> >>>>Thanks in advance for helping. >>>> >>>>I originally had Linux RH9 installed on the second partition of my >>>>primary (and at the time only) harddrive. I have since dedicated a >>>>secondary hard drive to Linux, and figured I would completely >>>>dedicate the partition to Cygwin (D:\). However I have begun to >>>>suspect that setting CYGWIN_ROOT to D:\ is not sufficient (XWin >>>>refuses to run, I don't think its an X problem, but if it is I guess >>>>this post will be moved). >>>>My question is whether there is a quick fix to this or whether it is >>>>more trouble than it is worth. >>> >>>Hm. Now that's a good one. Perhaps my memory is failing me but in all >>>the years I've been using Cygwin, I don't ever recall CYGWIN_ROOT being >>>officially used. Perhaps you should back up and start over with: >>> >>> >>>and >>> > > From pechtcha@cs.nyu.edu Wed Jul 9 02:50:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 09 Jul 2003 02:50:00 -0000 Subject: CYGWIN_ROOT Question -- Attn: XFree86-fnts maintainer In-Reply-To: <3F0B73A8.9090501@msu.edu> Message-ID: Harold, Another option that I've just thought of is splitting out the postinstall scripts from all the fonts packages (which, AFAICS, are identical), and packaging them separately, as, say, an XFree86-fpost helper package, and then making all the fonts packages depend on this new one. This will avoid the redundancy and the necessity (in the future) to re-download some rather large packages for the sake of a changed postinstall script. It also makes sense to do it now, before people download the 4.2.0-3 fonts packages. However, as fonts seem to be pretty static, the above may not be worth the bother. Igor On Tue, 8 Jul 2003, Harold L Hunt II wrote: > Igor, > > Thanks for the fix. This was indeed my fault and the fix is elegant. > > I have uploaded 4.2.0-3 versions of all of the fonts packages, which > will fix the problem, but will annoy those that have already downloaded > them... > > Harold > > Igor Pechtchanski wrote: > > Gerald, > > > > Well, this is not a bug in setup.exe, but it looks like a bug in the > > postinstall scripts for the XFree86-f??? packages. Basically, the scripts > > re-mount /usr/X11R6/lib/X11/fonts to force a binary mount. They use > > `cygpath -w` to find the Windows path of the fonts directory. > > Unfortunately, they do it *before* unmounting the old one, so if you > > change the Cygwin installation root between the runs of the scripts, they > > will still refer to the old directory. > > > > The fix (for the postinstall scripts) is to unmount the directory *first*, > > and then run `cygpath -w`. The corrected postinstall scripts would each > > look like this: > > > > #!/bin/sh > > > > FONTDIR=/usr/X11R6/lib/X11/fonts > > umount -u $FONTDIR 2>/dev/null > > WFONTDIR=`cygpath -w $FONTDIR` > > mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR > > > > The same changes as a patch (for XFree86-fnts.sh) are below. > > > > Hopefully this makes its way into the fonts package. Until it does, you > > could simply "umount -u /usr/X11R6/lib/X11/fonts", and re-install all of > > the XFree86-f??? packages that you need using setup.exe. > > Igor > > ============================================================================== > > --- XFree86-fnts.sh-orig 2002-04-28 02:11:37.000000000 -0400 > > +++ XFree86-fnts.sh 2003-07-02 19:16:29.000000000 -0400 > > @@ -1,6 +1,6 @@ > > #!/bin/sh > > > > FONTDIR=/usr/X11R6/lib/X11/fonts > > -WFONTDIR=`cygpath -w $FONTDIR` > > umount -u $FONTDIR 2>/dev/null > > +WFONTDIR=`cygpath -w $FONTDIR` > > mount -bfs $WFONTDIR $FONTDIR 2>/dev/null || mount -bfu $WFONTDIR $FONTDIR > > ============================================================================== > > > > On Wed, 2 Jul 2003, Gerald Pekmezi wrote: > > > > > >>Thanks for the reply > >> > >>I have come to believe this is an X problem after all and will add a post > >>there. > >>It seems that during my cygwin installation everything was installed in D: > >>(D:\usr, D:\bin etc), except for usr\X11R6\lib\X11\fonts. which was instead > >>installed as C:\cygwin\usr\X11R6\lib\X11\fonts . When I restore the latter > >>XWin will run however it refuses to do so if > >>C:\cygwin\usr\X11R6\lib\X11\fonts does not exist. I did add the font > >>directory to D:\usr\X11R6\lib\X11\, but it did not make a difference. > >>Possible bug in cygwin setup.exe? > >> > >>"Larry Hall" wrote in message news:3F02E9F7.6010505@cygwin.com... > >> > >>>Gerald Pekmezi wrote: > >>> > >>>>Thanks in advance for helping. > >>>> > >>>>I originally had Linux RH9 installed on the second partition of my > >>>>primary (and at the time only) harddrive. I have since dedicated a > >>>>secondary hard drive to Linux, and figured I would completely > >>>>dedicate the partition to Cygwin (D:\). However I have begun to > >>>>suspect that setting CYGWIN_ROOT to D:\ is not sufficient (XWin > >>>>refuses to run, I don't think its an X problem, but if it is I guess > >>>>this post will be moved). > >>>>My question is whether there is a quick fix to this or whether it is > >>>>more trouble than it is worth. > >>> > >>>Hm. Now that's a good one. Perhaps my memory is failing me but in all > >>>the years I've been using Cygwin, I don't ever recall CYGWIN_ROOT being > >>>officially used. Perhaps you should back up and start over with: > >>> > >>> > >>>and > >>> -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From michael.grigoni@cybertheque.org Wed Jul 9 05:24:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Wed, 09 Jul 2003 05:24:00 -0000 Subject: rdesktop.exe session on an X-terminal? References: <20030623182948.B4AEA1C949@mail03.powweb.com> <3EF75275.44A37ABA@cybertheque.org> <3EF76164.F2162826@cybertheque.org> Message-ID: <3F0BA623.DE146A05@cybertheque.org> Downloaded 900 Megabytes of dist. from a mirror at 33.6kbs; got all the libs and compilers installed and configured (manually... folks, one ought to press for a different package management approach then that used by 'setup.exe') and built rdesktop with X11 support... > > Tell us how well it works in 'cygwin' and X-mode :-) > > /Andy > Works wonderfully; I'm benchmarking a P-III/550 box serving four X-terminals running a mix of apps over the next several weeks. I can describe the results later. Please see my post regarding Win2K telnet server problems. Michael From michael.grigoni@cybertheque.org Wed Jul 9 05:32:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Wed, 09 Jul 2003 05:32:00 -0000 Subject: Win2k Telnet Server login issues (no XDM so gotta use something) Message-ID: <3F0BA7F5.9F60707D@cybertheque.org> Greetings: X-terminals will need to connect to the Win2k box using something other than XDM (until it works) so one must consider telnet or rsh. The native windows telnet daemon is supposed to set environment vars HOMEDRIVE and HOMEPATH which can then be used by the system login script %SYSTEMROOT%\SYSTEM32\LOGIN.CMD however in my tests they are not set for any user although the var USERNAME is. One could easily write a script to search \cygwin\etc\passwd or otherwise use the USERNAME var to determine user specific paths, etc. but I'd like the native facility to work first. A search of Usenet archives shows this to be a problem in an addon package for NT4 but I didn't find any reference to the problem in Win2k. Anyone else encountered this? Michael Grigoni Cybertheque Museum From huntharo@msu.edu Wed Jul 9 05:33:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 09 Jul 2003 05:33:00 -0000 Subject: Win2k Telnet Server login issues (no XDM so gotta use something) In-Reply-To: <3F0BA7F5.9F60707D@cybertheque.org> References: <3F0BA7F5.9F60707D@cybertheque.org> Message-ID: <3F0BA90D.2050202@msu.edu> Did I miss something? What is going on here? Harold msg wrote: > Greetings: > > X-terminals will need to connect to the Win2k box using something > other than XDM (until it works) so one must consider telnet or > rsh. The native windows telnet daemon is supposed to set > environment vars HOMEDRIVE and HOMEPATH which can then be used > by the system login script %SYSTEMROOT%\SYSTEM32\LOGIN.CMD however > in my tests they are not set for any user although the var > USERNAME is. > > One could easily write a script to search \cygwin\etc\passwd > or otherwise use the USERNAME var to determine user specific > paths, etc. but I'd like the native facility to work first. > > A search of Usenet archives shows this to be a problem in an > addon package for NT4 but I didn't find any reference to the > problem in Win2k. > > Anyone else encountered this? > > Michael Grigoni > Cybertheque Museum From vhellman@kotiposti.net Wed Jul 9 12:46:00 2003 From: vhellman@kotiposti.net (vhellman@kotiposti.net) Date: Wed, 09 Jul 2003 12:46:00 -0000 Subject: Installation fails if I select "Scaleable Fonts" under XFree86 Message-ID: <20030709124550.YWLV25413.fep19-app.kolumbus.fi@mta.imail.kolumbus.fi> Hi All, I try to install XFree86 but it fails during the download. Next PopUp appears: "Download Incomplete. Try again?" I even tried different Download sites, but still the same problem occured. Then I installed it without Scalable Fonts => XFree86-fscl I managed to install it. Then I try to install only Scalable Fonts => XFree86-fscl, but it fails again with same message. It fails when it try to download XFree86-fscl-4.2.0-3.tar.bz2. I really needs the Scalable Fonts. So how to get it? (OS = w2k server + SP3) Br, Vesa From pechtcha@cs.nyu.edu Wed Jul 9 13:14:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 09 Jul 2003 13:14:00 -0000 Subject: Installation fails if I select "Scaleable Fonts" under XFree86 In-Reply-To: <20030709124550.YWLV25413.fep19-app.kolumbus.fi@mta.imail.kolumbus.fi> Message-ID: On Wed, 9 Jul 2003 vhellman@kotiposti.net wrote: > Hi All, > > I try to install XFree86 but it fails during the download. > Next PopUp appears: > "Download Incomplete. Try again?" > I even tried different Download sites, but still the same problem occured. > > Then I installed it without Scalable Fonts => XFree86-fscl > I managed to install it. > > Then I try to install only Scalable Fonts => XFree86-fscl, but it fails again with same message. > It fails when it try to download XFree86-fscl-4.2.0-3.tar.bz2. > > I really needs the Scalable Fonts. > So how to get it? > (OS = w2k server + SP3) > > Br, > Vesa Umm, use a different mirror? You can also look in /var/log/setup.log.full to see what caused the failure (but be aware that this file is overwritten on every run of setup.exe). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From vervoom@hotmail.com Wed Jul 9 14:24:00 2003 From: vervoom@hotmail.com (J S) Date: Wed, 09 Jul 2003 14:24:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: Hi, Could you help me out please? I'm not too familiar with using the XFree CVS. Do I need to check out all the XFree code to compile the test code below? I tried: cvs checkout -A xc but that is taking a really long tim to download so not sure if I'm on the right track here. I also tried : cvs checkout -rEXPR1 XFIXES_BRANCH but that didn't work. Thanks for any help. JS. > >I committed an XFIXES_BRANCH branch to CVS on SourceForge. Follow the >instructions from David's email in this thread if you don't know how to >checkout a branch. > >I hope I got all the correct files checked in... I won't be back online >until Sunday evening. > >Harold > >Harold L Hunt II wrote: >>I have been working with the code for Keith Packard's XFIXES extension. >>The XFIXES extension includes a new hook in Xserver/dix/dispatch.c that >>allows functions within the Xserver (such as the XFIXES xtension) to >>register for a callback when a selection's ownership changes, among other >>things. >> >>The best documentation I can find for the selection portion of XFIXES is >>Owen Taylor's writeup on a RedHat list that doesn't seem to have a public >>archive anymore. Google has a cache; both URLs are below... >> >>https://listman.redhat.com/pipermail/xdg-list/2002-November/000937.html >> >>http://216.239.53.100/search?q=cache:4osKtTvNNhcJ:https://listman.redhat.com/pipermail/xdg-list/2002-November/000937.html+XFixesSelectSelectionInput&hl=en&ie=UTF-8 >> >> >> >>In any case, I reincluded the XFIXES extension in my local tree from >>SourceForge. I built the extension and modified the -clipboard module to >>register for messages from the XFIXES extension related to ownership >>changes of XA_PRIMARY. >> >>The ownership notifications work just fine, and I am able to copy text >>from X to Windows repeatedly without having to transfer ownership of >>XA_PRIMARY to the clipboard manager (the -clipboard module). >> >>The remaining problem is that I modified the Win32 message loop in the >>-clipboard module to add itself to the clipboard chain and to call >>XSetSelectionOwner when something comes through the Windows clipboard. >>This immediately resulted in an infinite loop, as my X event handling for >>a selection ownership change calls XConvertSelection, which ends up >>sending a SelectionNotify event back to the -clipboard module. The >>-clipboard module copies the text from the X clipboard to the Windows >>clipboard on a SelectionNofity event. Thus, the text makes a round-trip >>from the Windows clipboard, to the X clipboard, back to the Windows >>clipboard, ad nauseam. >> >>I added a little break-out in the selection ownership change processing >>that prevents XSetSelectionOwner from being called if the current owner of >>the selection is the clipboard manager window. This stops the infinite >>looping, but it causes a problem very similar to the original xwinclip >>problem: the X selection is immediately unhighlighted. >> >>So, my questions are: >> >>1) Does anyone feel like helping on this? Got any ideas right off the >>bat? >> >>2) What would be the best way for me to share the code with other >>developers? I don't want to commit the XFIXES stuff to our SourceForge >>tree's HEAD, but could I use another branch? If so, please give me some >>instructions for what to do... I haven't got time to study CVS all day. >> >> >>I am pleased with my current progress point. This version that is >>dependent upon a stripped-down XFIXES extension will represent about a 40% >>completion point in new clipboard integration support that doesn't steal >>selection ownership. The remaining work to be done could include removing >>the clipboard manager client altogether, removing any dependency on XFIXES >>and using only the internal hooking interface, etc. >> >>Please postpone any debate on those remaining steps until the current >>programming actually works. There will be no point to debate the merits >>of steps 5, 6, and 7 unless we can actually get step 4 to do what we >>intend. >> >> >>Harold > _________________________________________________________________ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband From huntharo@msu.edu Wed Jul 9 19:10:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 09 Jul 2003 19:10:00 -0000 Subject: [Fwd: Cygwin/XFree86 patch in XFree86 Bugzilla] Earle - This is for you Message-ID: <3F0C6884.2020708@msu.edu> Earle, Does your patch fail gracefully if run on non-NT-based OSes? If so, I will give my go-ahead. If not, please modify it so that it exits if not running on Windows NT-based OSes. Thanks, Harold -------- Original Message -------- Subject: Cygwin/XFree86 patch in XFree86 Bugzilla Date: Wed, 9 Jul 2003 17:21:08 +0200 From: Egbert Eich To: Harold L Hunt II Hi Harold, there is a patch in the XFree86 bugzilla http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=305 adding support for Windows NT like OSes to xload. I assume that this will not work on non-NT-like Windows systems as the required performance counters are not available there. I would like to commit this code to the XFree86 CVS but I would like to get an opinion form somebody on the Cygwin team. If you would rather keep this code in your repository and merge it at some later time please let me know. Cheers, Egbert. From vijay.sheth@ams.com Wed Jul 9 22:50:00 2003 From: vijay.sheth@ams.com (Vijay Sheth) Date: Wed, 09 Jul 2003 22:50:00 -0000 Subject: Problems related to Cygwin/Xfree86-0:0 Message-ID: Hi, When executing Xwin -query mirage from the Cygwin window, the new window comes up, but it does not get the desktop of "mirage". Could you please help? This installation works for our colleagues. Thanks, Vijay 12601 Fair Lakes, #4141 W: 703-227-6709 From andrew.markebo@comhem.se Thu Jul 10 02:11:00 2003 From: andrew.markebo@comhem.se (Andrew Markebo) Date: Thu, 10 Jul 2003 02:11:00 -0000 Subject: Win2k Telnet Server login issues (no XDM so gotta use something) References: <3F0BA7F5.9F60707D@cybertheque.org> <3F0BA90D.2050202@msu.edu> Message-ID: / Harold L Hunt II wrote: | Did I miss something? What is going on here? He wants to serve a bumch of X-terminals from a NT-machine.. (running X-server on the NT machine, and show NT-sessions on the terminals) msg, sorry, I don't think NT's telnetdeamon does mount drives and so on, give cygwin's (rshd/sshd/telnetd) a try, and read the faq how to get it mount the drives.. and check the cygwin mailinglist, well discussed question.. maybe even the faq.. /Andy p.s. sorry for short answ. sitting with 4 day kid on stomach.... | msg wrote: |> Greetings: |> X-terminals will need to connect to the Win2k box using something |> other than XDM (until it works) so one must consider telnet or |> rsh. The native windows telnet daemon is supposed to set |> environment vars HOMEDRIVE and HOMEPATH which can then be used |> by the system login script %SYSTEMROOT%\SYSTEM32\LOGIN.CMD however |> in my tests they are not set for any user although the var |> USERNAME is. |> One could easily write a script to search \cygwin\etc\passwd |> or otherwise use the USERNAME var to determine user specific |> paths, etc. but I'd like the native facility to work first. |> A search of Usenet archives shows this to be a problem in an |> addon package for NT4 but I didn't find any reference to the |> problem in Win2k. |> Anyone else encountered this? |> Michael Grigoni |> Cybertheque Museum | | -- The nice thing about standards is that you have so many to choose from. - Andrew Tanenbaum, OS? From michael.grigoni@cybertheque.org Thu Jul 10 03:49:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Thu, 10 Jul 2003 03:49:00 -0000 Subject: Win2k Telnet Server login issues (no XDM so gotta use something) References: <3F0BA7F5.9F60707D@cybertheque.org> <3F0BA90D.2050202@msu.edu> Message-ID: <3F0CE17B.98B9670@cybertheque.org> I gave up on using 'cmd.exe' and set the shell spawned by the native Win2k telnetd to bash (using a wrapper to setup the environment and prime the file descriptors as per the stdout/stderr bug). This works well and is adequate for the X-terminal session establishment. I have got word however that there is a working implementation of 'xdm' on Win2K which deserves investigation... > msg, sorry, I don't think NT's telnetdeamon does mount drives and so > on, give cygwin's (rshd/sshd/telnetd) a try, and read the faq how to > get it mount the drives.. and check the cygwin mailinglist, well > discussed question.. maybe even the faq.. > From christian_winter@web.de Thu Jul 10 08:10:00 2003 From: christian_winter@web.de (Christian Winter) Date: Thu, 10 Jul 2003 08:10:00 -0000 Subject: Alt-Gr, Windows XP, Message-ID: <200307100810.h6A8AgQ15434@mailgate5.cinetic.de> Dear people, let me propose a pragmatic way to solve the Alt-Gr problem when using non-US keyboards in an ssh session to some linux server under Xfree86 running Windows XP: (tested for German keyboard layout) : uninstall PowerToys from Windows XP get xmodmap (e.g. from http://home.imf.au.dk/hellmund/xmodmap/) rename to .xmodmap and put into cygwin-home directory start cygwin-shell type startx (German Umlauts do not work here) xhost + servername shh -l username servername (german Umlauts work here, so do Alt-Gr) if BackSpace does not work in new xterm : put the following line into the .profile on the server home directory: xmodmap -e 'keycode 22 = BackSpace' At least it works for me. Thank you for this fantastic software. Regards, Christian ______________________________________________________________________________ Werden Sie kreativ! Bei WEB.DE FreeMail heisst es jetzt nicht nur schreiben, sondern auch gestalten. http://freemail.web.de/features/?mc=021142 From vervoom@hotmail.com Thu Jul 10 08:16:00 2003 From: vervoom@hotmail.com (J S) Date: Thu, 10 Jul 2003 08:16:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: Harold, Have you taken out the XFIXES branch? JS. >Hi, > >Could you help me out please? I'm not too familiar with using the XFree >CVS. Do I need to check out all the XFree code to compile the test code >below? I tried: > >cvs checkout -A xc > >but that is taking a really long tim to download so not sure if I'm on the >right track here. >I also tried : > >cvs checkout -rEXPR1 XFIXES_BRANCH > >but that didn't work. > >Thanks for any help. > >JS. > >> >>I committed an XFIXES_BRANCH branch to CVS on SourceForge. Follow the >>instructions from David's email in this thread if you don't know how to >>checkout a branch. >> >>I hope I got all the correct files checked in... I won't be back online >>until Sunday evening. >> >>Harold >> >>Harold L Hunt II wrote: >>>I have been working with the code for Keith Packard's XFIXES extension. >>>The XFIXES extension includes a new hook in Xserver/dix/dispatch.c that >>>allows functions within the Xserver (such as the XFIXES xtension) to >>>register for a callback when a selection's ownership changes, among other >>>things. >>> >>>The best documentation I can find for the selection portion of XFIXES is >>>Owen Taylor's writeup on a RedHat list that doesn't seem to have a public >>>archive anymore. Google has a cache; both URLs are below... >>> >>>https://listman.redhat.com/pipermail/xdg-list/2002-November/000937.html >>> >>>http://216.239.53.100/search?q=cache:4osKtTvNNhcJ:https://listman.redhat.com/pipermail/xdg-list/2002-November/000937.html+XFixesSelectSelectionInput&hl=en&ie=UTF-8 >>> >>> >>> >>>In any case, I reincluded the XFIXES extension in my local tree from >>>SourceForge. I built the extension and modified the -clipboard module to >>>register for messages from the XFIXES extension related to ownership >>>changes of XA_PRIMARY. >>> >>>The ownership notifications work just fine, and I am able to copy text >>>from X to Windows repeatedly without having to transfer ownership of >>>XA_PRIMARY to the clipboard manager (the -clipboard module). >>> >>>The remaining problem is that I modified the Win32 message loop in the >>>-clipboard module to add itself to the clipboard chain and to call >>>XSetSelectionOwner when something comes through the Windows clipboard. >>>This immediately resulted in an infinite loop, as my X event handling for >>>a selection ownership change calls XConvertSelection, which ends up >>>sending a SelectionNotify event back to the -clipboard module. The >>>-clipboard module copies the text from the X clipboard to the Windows >>>clipboard on a SelectionNofity event. Thus, the text makes a round-trip >>>from the Windows clipboard, to the X clipboard, back to the Windows >>>clipboard, ad nauseam. >>> >>>I added a little break-out in the selection ownership change processing >>>that prevents XSetSelectionOwner from being called if the current owner >>>of the selection is the clipboard manager window. This stops the >>>infinite looping, but it causes a problem very similar to the original >>>xwinclip problem: the X selection is immediately unhighlighted. >>> >>>So, my questions are: >>> >>>1) Does anyone feel like helping on this? Got any ideas right off the >>>bat? >>> >>>2) What would be the best way for me to share the code with other >>>developers? I don't want to commit the XFIXES stuff to our SourceForge >>>tree's HEAD, but could I use another branch? If so, please give me some >>>instructions for what to do... I haven't got time to study CVS all day. >>> >>> >>>I am pleased with my current progress point. This version that is >>>dependent upon a stripped-down XFIXES extension will represent about a >>>40% completion point in new clipboard integration support that doesn't >>>steal selection ownership. The remaining work to be done could include >>>removing the clipboard manager client altogether, removing any dependency >>>on XFIXES and using only the internal hooking interface, etc. >>> >>>Please postpone any debate on those remaining steps until the current >>>programming actually works. There will be no point to debate the merits >>>of steps 5, 6, and 7 unless we can actually get step 4 to do what we >>>intend. >>> >>> >>>Harold >> > >_________________________________________________________________ >Sign-up for a FREE BT Broadband connection today! >http://www.msn.co.uk/specials/btbroadband > _________________________________________________________________ Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile From staf.verhaegen@imec.be Thu Jul 10 08:51:00 2003 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Thu, 10 Jul 2003 08:51:00 -0000 Subject: Middle mouse button not working Message-ID: <3F0D28E9.3050606@imec.be> Hello, I have a compaq PC with Win2000 on it with a scroll wheel mouse. When trying clicking the middle mouse button nothing happens. Scrolling with the wheel mouse does scroll the window in a mozilla window running on a remote linux machine. In the mouse configuration from the control panel I tried with different settigns for clicking the scroll wheel: double click, unassigned, middle button but non of them give any change on the behaviour of. I have the latest version of the X server available trough setup.exe (4.2.0-42) and use the following command to start the X server: X -query numerico -fp tcp/fontserv:7000 -fullscreen (Also started without the fullscreen option but this doesn't make any difference) greets, Staf. From huntharo@msu.edu Thu Jul 10 15:40:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 10 Jul 2003 15:40:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version In-Reply-To: References: Message-ID: <3F0D88FC.3060001@msu.edu> JS, The XFIXES branch is there... I am just not an expert with CVS so I would either have to find my email where I describe how to checkout a branch, or I would have to look in the CVS manual and tell you how to do it. Both of these are easier if you just look it up yourself. Harold J S wrote: > > Harold, > > Have you taken out the XFIXES branch? > > JS. > >> Hi, >> >> Could you help me out please? I'm not too familiar with using the >> XFree CVS. Do I need to check out all the XFree code to compile the >> test code below? I tried: >> >> cvs checkout -A xc >> >> but that is taking a really long tim to download so not sure if I'm on >> the right track here. >> I also tried : >> >> cvs checkout -rEXPR1 XFIXES_BRANCH >> >> but that didn't work. >> >> Thanks for any help. >> >> JS. >> >>> >>> I committed an XFIXES_BRANCH branch to CVS on SourceForge. Follow >>> the instructions from David's email in this thread if you don't know >>> how to checkout a branch. >>> >>> I hope I got all the correct files checked in... I won't be back >>> online until Sunday evening. >>> >>> Harold >>> >>> Harold L Hunt II wrote: >>> >>>> I have been working with the code for Keith Packard's XFIXES >>>> extension. The XFIXES extension includes a new hook in >>>> Xserver/dix/dispatch.c that allows functions within the Xserver >>>> (such as the XFIXES xtension) to register for a callback when a >>>> selection's ownership changes, among other things. >>>> >>>> The best documentation I can find for the selection portion of >>>> XFIXES is Owen Taylor's writeup on a RedHat list that doesn't seem >>>> to have a public archive anymore. Google has a cache; both URLs are >>>> below... >>>> >>>> https://listman.redhat.com/pipermail/xdg-list/2002-November/000937.html >>>> >>>> http://216.239.53.100/search?q=cache:4osKtTvNNhcJ:https://listman.redhat.com/pipermail/xdg-list/2002-November/000937.html+XFixesSelectSelectionInput&hl=en&ie=UTF-8 >>>> >>>> >>>> >>>> >>>> In any case, I reincluded the XFIXES extension in my local tree from >>>> SourceForge. I built the extension and modified the -clipboard >>>> module to register for messages from the XFIXES extension related to >>>> ownership changes of XA_PRIMARY. >>>> >>>> The ownership notifications work just fine, and I am able to copy >>>> text from X to Windows repeatedly without having to transfer >>>> ownership of XA_PRIMARY to the clipboard manager (the -clipboard >>>> module). >>>> >>>> The remaining problem is that I modified the Win32 message loop in >>>> the -clipboard module to add itself to the clipboard chain and to >>>> call XSetSelectionOwner when something comes through the Windows >>>> clipboard. This immediately resulted in an infinite loop, as my X >>>> event handling for a selection ownership change calls >>>> XConvertSelection, which ends up sending a SelectionNotify event >>>> back to the -clipboard module. The -clipboard module copies the >>>> text from the X clipboard to the Windows clipboard on a >>>> SelectionNofity event. Thus, the text makes a round-trip from the >>>> Windows clipboard, to the X clipboard, back to the Windows >>>> clipboard, ad nauseam. >>>> >>>> I added a little break-out in the selection ownership change >>>> processing that prevents XSetSelectionOwner from being called if the >>>> current owner of the selection is the clipboard manager window. >>>> This stops the infinite looping, but it causes a problem very >>>> similar to the original xwinclip problem: the X selection is >>>> immediately unhighlighted. >>>> >>>> So, my questions are: >>>> >>>> 1) Does anyone feel like helping on this? Got any ideas right off >>>> the bat? >>>> >>>> 2) What would be the best way for me to share the code with other >>>> developers? I don't want to commit the XFIXES stuff to our >>>> SourceForge tree's HEAD, but could I use another branch? If so, >>>> please give me some instructions for what to do... I haven't got >>>> time to study CVS all day. >>>> >>>> >>>> I am pleased with my current progress point. This version that is >>>> dependent upon a stripped-down XFIXES extension will represent about >>>> a 40% completion point in new clipboard integration support that >>>> doesn't steal selection ownership. The remaining work to be done >>>> could include removing the clipboard manager client altogether, >>>> removing any dependency on XFIXES and using only the internal >>>> hooking interface, etc. >>>> >>>> Please postpone any debate on those remaining steps until the >>>> current programming actually works. There will be no point to >>>> debate the merits of steps 5, 6, and 7 unless we can actually get >>>> step 4 to do what we intend. >>>> >>>> >>>> Harold >>> >>> >> >> _________________________________________________________________ >> Sign-up for a FREE BT Broadband connection today! >> http://www.msn.co.uk/specials/btbroadband >> > > _________________________________________________________________ > Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 10 18:33:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 10 Jul 2003 18:33:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version In-Reply-To: References: Message-ID: J S wrote: > cvs checkout -rEXPR1 XFIXES_BRANCH cvs checkout -r XFIXES_BRANCH xc bye ago NP: Die ?rzte - 1/2 Lovesong -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From vervoom@hotmail.com Fri Jul 11 08:08:00 2003 From: vervoom@hotmail.com (J S) Date: Fri, 11 Jul 2003 08:08:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: Thanks Alex, I tried that but got an error. Do you get this? $ cvs checkout -r XFIXES_BRANCH xc cvs [server aborted]: no such tag XFIXES_BRANCH >J S wrote: > > > cvs checkout -rEXPR1 XFIXES_BRANCH > >cvs checkout -r XFIXES_BRANCH xc > >bye > ago > >NP: Die ??rzte - 1/2 Lovesong >-- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 _________________________________________________________________ Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile From daniel.blueman@gmx.net Fri Jul 11 10:06:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Fri, 11 Jul 2003 10:06:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: <20016.1057917985@www68.gmx.net> This implies the branch tag 'XFIXES_BRANCH' doesn't exist. Maybe, try: $ cvs checkout -r XFIXES xc If that fails, just checkout as normal (ie drop the -r ), and do a 'cvs log' on the file to examine what tags are available to checkout the code on. Hope this helps! PS When will the next test release become available, with those SEGV fixes? I get a SEGV when copying > ~100 lines of text from a gnome-terminal onto the clipboard, with the -clipboard feature enabled. I posted the backtrace some time ago (4 weeks?). Many thanks! Dan --- Thanks Alex, I tried that but got an error. Do you get this? $ cvs checkout -r XFIXES_BRANCH xc cvs [server aborted]: no such tag XFIXES_BRANCH J S wrote: > cvs checkout -rEXPR1 XFIXES_BRANCH cvs checkout -r XFIXES_BRANCH xc bye ago -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From daniel.blueman@gmx.net Fri Jul 11 10:12:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Fri, 11 Jul 2003 10:12:00 -0000 Subject: Xwin and freetype... Message-ID: <18563.1057918373@www68.gmx.net> Most users may not know why their anti-aliased fonts look ugly. The problem is that the XFree86 4.x sources contain quite an old version of libfreetype, causing this. Yuk! To override it, install the current freetype 2.1.4 libraries in /usr/lib, which usually get searched before the /usr/X11R6/lib directory; fonts in apps that use freetype (eg Gnome 2 + KDE 3) look *far* clearer and legible when much smaller! Anyone have any idea how hard it is to get freetype into the cygwin distro tree? Dna -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From daniel.blueman@gmx.net Fri Jul 11 10:14:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Fri, 11 Jul 2003 10:14:00 -0000 Subject: Freetype on cygwin link... Message-ID: <28419.1057918484@www68.gmx.net> This is a good starting point: http://koeln.convey.de/cywgin/freetype/ -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From gerrit@familiehaase.de Fri Jul 11 10:29:00 2003 From: gerrit@familiehaase.de (Gerrit P. Haase) Date: Fri, 11 Jul 2003 10:29:00 -0000 Subject: Freetype on cygwin link... In-Reply-To: <28419.1057918484@www68.gmx.net> References: <28419.1057918484@www68.gmx.net> Message-ID: <153-1890463843.20030711123030@familiehaase.de> Hello Daniel, > This is a good starting point: > http://koeln.convey.de/cywgin/freetype/ This is the libtoolized version which installs into /usr/local/bin , ../lib and ../include, so it will not override the freetype importlibs, the headers. The patch at this site includes all the autogenerated files (libtool, Makefile.in et.al.) so it is large. Probably it would be better to have it in /usr/X11R6 than in /usr/local since the DLL names are not the same, one can install the version included with Xfree86 and this one together. (Don't miss to change the .la and .pc and the freetype-config files to point to the place you install it). Gerrit -- =^..^= From daniel.blueman@gmx.net Fri Jul 11 10:56:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Fri, 11 Jul 2003 10:56:00 -0000 Subject: Freetype on cygwin link... References: <153-1890463843.20030711123030@familiehaase.de> Message-ID: <24477.1057921002@www68.gmx.net> Any takers? This sounds like a bit of delicate work! Dan --- > Hello Daniel, > > > This is a good starting point: > > > http://koeln.convey.de/cywgin/freetype/ > > This is the libtoolized version which installs into /usr/local/bin , > ../lib and ../include, so it will not override the freetype importlibs, > the headers. > > The patch at this site includes all the autogenerated files (libtool, > Makefile.in et.al.) so it is large. > > Probably it would be better to have it in /usr/X11R6 than in /usr/local > since the DLL names are not the same, one can install the version > included with Xfree86 and this one together. (Don't miss to change the > .la and .pc and the freetype-config files to point to the place you > install it). > > > Gerrit > -- > =^..^= > -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From vervoom@hotmail.com Fri Jul 11 11:07:00 2003 From: vervoom@hotmail.com (J S) Date: Fri, 11 Jul 2003 11:07:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: No luck I'm afraid. It's not XFIXES. I couldn't see anything in the log either. Does anyone have a copy of the code they could send me? JS. > >This implies the branch tag 'XFIXES_BRANCH' doesn't exist. > >Maybe, try: > >$ cvs checkout -r XFIXES xc > >If that fails, just checkout as normal (ie drop the -r ), and do a >'cvs >log' on the file to examine what tags are available to checkout the code >on. > >Hope this helps! > >PS When will the next test release become available, with those SEGV fixes? >I get a SEGV when copying > ~100 lines of text from a gnome-terminal onto >the >clipboard, with the -clipboard feature enabled. I posted the backtrace some >time ago (4 weeks?). > >Many thanks! > Dan > >--- > >Thanks Alex, > >I tried that but got an error. Do you get this? > > >$ cvs checkout -r XFIXES_BRANCH xc >cvs [server aborted]: no such tag XFIXES_BRANCH > > > > > >J S wrote: > > > cvs checkout -rEXPR1 XFIXES_BRANCH > >cvs checkout -r XFIXES_BRANCH xc > > >bye > ago > >-- >Daniel J Blueman > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! > _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger From gerrit@familiehaase.de Fri Jul 11 11:15:00 2003 From: gerrit@familiehaase.de (Gerrit P. Haase) Date: Fri, 11 Jul 2003 11:15:00 -0000 Subject: Freetype on cygwin link... In-Reply-To: <24477.1057921002@www68.gmx.net> References: <153-1890463843.20030711123030@familiehaase.de> <24477.1057921002@www68.gmx.net> Message-ID: <156-1887714190.20030711131620@familiehaase.de> Daniel schrieb: > Any takers? > This sounds like a bit of delicate work! No, it isn't. The patch includes changes to the files used by autoconf and libtool. Source changes are minimal, here they are. Apply these and change to the dirctory with configure.in and ltmain.sh and run: autoreconf --verbose --install --force which should end up with s.th. like the full patch includes (new aclocal.m4 file, new configure, new ltmain.sh) and then libtool-1.5 builds automatically the DLL (because of the -no-undefined flag, see below). FreeType is just a little more complex than packages that are using automake. diff -urdb freetype-2.1.4~/builds/unix/unix-cc.in freetype-2.1.4/builds/unix/unix-cc.in --- freetype-2.1.4~/builds/unix/unix-cc.in 2002-12-23 23:40:21.000000000 +0100 +++ freetype-2.1.4/builds/unix/unix-cc.in 2003-06-06 11:57:52.000000000 +0200 @@ -78,7 +78,7 @@ # Library linking # LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ - -rpath $(libdir) -version-info $(version_info) \ + -rpath $(libdir) -no-undefined -version-info $(version_info) \ $(LDFLAGS) # EOF diff -urdb freetype-2.1.4~/include/freetype/config/ftoption.h freetype-2.1.4/include/freetype/config/ftoption.h --- freetype-2.1.4~/include/freetype/config/ftoption.h 2003-01-31 00:24:18.000000000 +0100 +++ freetype-2.1.4/include/freetype/config/ftoption.h 2003-06-06 12:40:45.000000000 +0200 @@ -378,7 +378,7 @@ /* do not #undef this macro here, since the build system might */ /* define for certain configurations */ /* */ -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER /*************************************************************************/ diff -urdb freetype-2.1.4~/src/base/ftbase.c freetype-2.1.4/src/base/ftbase.c --- freetype-2.1.4~/src/base/ftbase.c 2002-03-30 14:16:33.000000000 +0100 +++ freetype-2.1.4/src/base/ftbase.c 2003-06-06 12:41:31.000000000 +0200 @@ -29,6 +29,7 @@ #include "ftgloadr.c" #include "ftobjs.c" #include "ftnames.c" +#include "ftapi.c" /* END */ -- =^..^= From daniel.blueman@gmx.net Fri Jul 11 11:45:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Fri, 11 Jul 2003 11:45:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: <27426.1057923921@www68.gmx.net> Can you post the result of a 'cvs log ' on any file, please? You may want to trim all the revision notes - the goodness we want is at the top of the output. Dan --- No luck I'm afraid. It's not XFIXES. I couldn't see anything in the log either. Does anyone have a copy of the code they could send me? JS. This implies the branch tag 'XFIXES_BRANCH' doesn't exist. Maybe, try: $ cvs checkout -r XFIXES xc If that fails, just checkout as normal (ie drop the -r ), and do a 'cvs log' on the file to examine what tags are available to checkout the code on. Hope this helps! PS When will the next test release become available, with those SEGV fixes? I get a SEGV when copying > ~100 lines of text from a gnome-terminal onto the clipboard, with the -clipboard feature enabled. I posted the backtrace some time ago (4 weeks?). Many thanks! Dan --- Thanks Alex, I tried that but got an error. Do you get this? -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From vervoom@hotmail.com Fri Jul 11 11:59:00 2003 From: vervoom@hotmail.com (J S) Date: Fri, 11 Jul 2003 11:59:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: Thanks for your help. Here you go: $ cvs log xc/programs/Xserver/hw/xwin/winregistry.c RCS file: /cvs/xc/programs/Xserver/hw/xwin/winregistry.c,v Working file: xc/programs/Xserver/hw/xwin/winregistry.c head: 1.1 branch: locks: strict access list: symbolic names: xf-4_3_99_8: 1.1 xf-4_3_99_7: 1.1 xf-4_3_99_6: 1.1 xf-4_3_99_5: 1.1 xf-4_3_99_4: 1.1 xf-4_3_0_1: 1.1 xf-4_3_99_3: 1.1 xf-4_3_99_2: 1.1 xf-4_3_99_1: 1.1 xf-4_3-branch: 1.1.0.2 xf-4_3_0: 1.1 xf-4_2_99_902: 1.1 xf-4_2_99_901: 1.1 xf-4_2_99_4: 1.1 xf-4_2_99_3: 1.1 ah-20021030-postdri: 1.1 ah-20021030: 1.1 xf-4_2_99_2: 1.1 dhd-20020916: 1.1 keyword substitution: kv >Can you post the result of a 'cvs log ' on any file, please? > >You may want to trim all the revision notes - the goodness we want is at >the >top of the output. > >Dan > >--- > >No luck I'm afraid. It's not XFIXES. I couldn't see anything in the log >either. >Does anyone have a copy of the code they could send me? > >JS. > > > >This implies the branch tag 'XFIXES_BRANCH' doesn't exist. > >Maybe, try: > >$ cvs checkout -r XFIXES xc > >If that fails, just checkout as normal (ie drop the -r ), and do a >'cvs >log' on the file to examine what tags are available to checkout the code >on. > >Hope this helps! > >PS When will the next test release become available, with those SEGV fixes? >I get a SEGV when copying > ~100 lines of text from a gnome-terminal onto >the >clipboard, with the -clipboard feature enabled. I posted the backtrace some >time ago (4 weeks?). > > >Many thanks! > Dan > >--- > >Thanks Alex, > >I tried that but got an error. Do you get this? > >-- >Daniel J Blueman > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! > _________________________________________________________________ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband From alexander.gottwald@s1999.tu-chemnitz.de Fri Jul 11 12:26:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 11 Jul 2003 12:26:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version In-Reply-To: References: Message-ID: yn Fri, 11 Jul 2003, J S wrote: > symbolic names: > xf-4_3_99_8: 1.1 > xf-4_3_99_7: 1.1 this is the cvs.xfree86.org repository? The current development is done in the xoncygwin repository. cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin co -r XFIXES_BRANCH xc bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From vervoom@hotmail.com Fri Jul 11 12:51:00 2003 From: vervoom@hotmail.com (J S) Date: Fri, 11 Jul 2003 12:51:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version Message-ID: That explains a lot!!! The link to CVS access documentation on http://xfree86.cygwin.com points to http://xfree86.org/cvs/. > > > symbolic names: > > xf-4_3_99_8: 1.1 > > xf-4_3_99_7: 1.1 > >this is the cvs.xfree86.org repository? The current development >is done in the xoncygwin repository. > >cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin login >cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin co -r >XFIXES_BRANCH xc > >bye > ago >-- > Alexander.Gottwald@s1999.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 _________________________________________________________________ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband From pechtcha@cs.nyu.edu Fri Jul 11 13:21:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 11 Jul 2003 13:21:00 -0000 Subject: Xwin and freetype... In-Reply-To: <18563.1057918373@www68.gmx.net> Message-ID: On Fri, 11 Jul 2003, Daniel Blueman wrote: > Most users may not know why their anti-aliased fonts look ugly. > > The problem is that the XFree86 4.x sources contain quite an old version of > libfreetype, causing this. Yuk! > > To override it, install the current freetype 2.1.4 libraries in /usr/lib, > which usually get searched before the /usr/X11R6/lib directory; fonts in apps > that use freetype (eg Gnome 2 + KDE 3) look *far* clearer and legible when > much smaller! > > Anyone have any idea how hard it is to get freetype into the cygwin distro > tree? > > Dna . Normally, you'd propose the ITP on , and go from there (it's a packaging and functionality review process, plus voting). However, your package is tied to XFree86, so, according to , it should be approved (voted for?) on this list (). I'm sure people on cygwin-apps will review the packaging anyway if you submit the ITP there. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From pechtcha@cs.nyu.edu Fri Jul 11 13:24:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 11 Jul 2003 13:24:00 -0000 Subject: Freetype on cygwin link... In-Reply-To: <156-1887714190.20030711131620@familiehaase.de> Message-ID: On Fri, 11 Jul 2003, Gerrit P. Haase wrote: > Daniel schrieb: > > > Any takers? > > > This sounds like a bit of delicate work! > > No, it isn't. The patch includes changes to the files used by autoconf > and libtool. Source changes are minimal, here they are. Apply these > and change to the dirctory with configure.in and ltmain.sh and run: > autoreconf --verbose --install --force which should end up with s.th. > like the full patch includes (new aclocal.m4 file, new configure, new > ltmain.sh) and then libtool-1.5 builds automatically the DLL (because of > the -no-undefined flag, see below). FreeType is just a little more > complex than packages that are using automake. And the above could be done as part of the "conf()" step in the suggested build script (see ). Note that there were some improvements proposed for the build script - see the cygwin-apps archives. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From huntharo@msu.edu Fri Jul 11 14:20:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 11 Jul 2003 14:20:00 -0000 Subject: xwinclip/-clipboard - Development on no selection stealing version In-Reply-To: References: Message-ID: <3F0EC7BA.8030808@msu.edu> Thanks Alexander... I was beginning to suspect that he was pointing at the wrong repository. I am glad this all came up and was fixed while I was sleeping :) Harold Alexander Gottwald wrote: > yn Fri, 11 Jul 2003, J S wrote: > > >>symbolic names: >> xf-4_3_99_8: 1.1 >> xf-4_3_99_7: 1.1 > > > this is the cvs.xfree86.org repository? The current development > is done in the xoncygwin repository. > > cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin login > cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin co -r XFIXES_BRANCH xc > > bye > ago From freemyer-ml@NorcrossGroup.com Fri Jul 11 21:28:00 2003 From: freemyer-ml@NorcrossGroup.com (Greg Freemyer) Date: Fri, 11 Jul 2003 21:28:00 -0000 Subject: yast2 Message-ID: <1057959389.11150.348.camel@david.internal.NorcrossGroup.com> I run KDE locally on my win2k desktop. I often ssh -X over to a SuSE box and run evolution. It works well. I just tried running yast2 on the SuSE box, and it fails with: === # yast2 X Error: BadRequest (invalid request code or no such operation) 1 Major opcode: 149 Minor opcode: 4 Resource id: 0x36 Xlib: extension "XInputExtension" missing on display "localhost:11.0". Failed to get list of devices Xlib: extension "XInputExtension" missing on display "localhost:11.0". ==== After the above, a basically blank window opens and hangs. I also tried setting the DISPLAY variable to directly use my screen, same problem. Should this work? Or am I hoping for too much? TIA Greg -- Greg Freemyer From earle@ziplabel.com Sun Jul 13 05:51:00 2003 From: earle@ziplabel.com (Earle F. Philhower III) Date: Sun, 13 Jul 2003 05:51:00 -0000 Subject: [Fwd: Cygwin/XFree86 patch in XFree86 Bugzilla] Earle - This is for you In-Reply-To: <3F0C6884.2020708@msu.edu> Message-ID: <5.1.1.6.2.20030712225039.03297ce0@mail.ziplabel.com> Hello Harold, and a very belated congratulations! I've been out of the country for a few weeks and reading email was not one of my prerogatives... At 03:09 PM 7/9/2003 -0400, you wrote: >Does your patch fail gracefully if run on non-NT-based OSes? >If so, I will give my go-ahead. If not, please modify it so that it >exits if not running on Windows NT-based OSes. Yes, it dynamically queries for the existence of a DLL and then the requisite function calls inside. If these fail it just returns a dummy value (1.0) for the load. Safe to compile and run under any Windoze OS. >Thanks, > >Harold > >-------- Original Message -------- >Subject: Cygwin/XFree86 patch in XFree86 Bugzilla >Date: Wed, 9 Jul 2003 17:21:08 +0200 >From: Egbert Eich >To: Harold L Hunt II > >Hi Harold, > >there is a patch in the XFree86 bugzilla > >http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=305 > >adding support for Windows NT like OSes to xload. I assume that >this will not work on non-NT-like Windows systems as the required >performance counters are not available there. >I would like to commit this code to the XFree86 CVS but I would >like to get an opinion form somebody on the Cygwin team. >If you would rather keep this code in your repository and merge >it at some later time please let me know. > >Cheers, > Egbert. > > > -Earle F. Philhower, III earle@ziplabel.com cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com From scott@sremick.net Mon Jul 14 14:32:00 2003 From: scott@sremick.net (Scott I. Remick) Date: Mon, 14 Jul 2003 14:32:00 -0000 Subject: running gftp remotely crashes Xwin Message-ID: <1v2fsk5nuha5l$.12kcujx3t44cc.dlg@40tude.net> I have a reproducable error that I just discovered. I run Cygwin on a Win2000 system and connect to my FreeBSD 5.1 system at home over SSH v2 tunnelling. I run X apps remotely using Xwin -multiwindow. For the most part, things have worked great. I just tried running gftp (2.0.14 installed from the FreeBSD ports system) and found that as soon as I try to initiate a transfer, Xwin will crash on my local system. I realize this is a bit obscure, so if no one else has experienced this I understand, but can I do anything to help you track down the cause? From allenday@ucla.edu Mon Jul 14 16:47:00 2003 From: allenday@ucla.edu (Allen Day) Date: Mon, 14 Jul 2003 16:47:00 -0000 Subject: fvwm keys Message-ID: I'm trying to set up fvwm right now and I can't get the WM to grab alt-clicks, or any of the function keys, both of which I use heavily. I looked in the list archive and didn't see any indication someone has figured out how to do this. Am I wrong? -Allen From pechtcha@cs.nyu.edu Mon Jul 14 17:29:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Mon, 14 Jul 2003 17:29:00 -0000 Subject: Defaul icon problem In-Reply-To: <20030714140555.SM01508@pc1> Message-ID: On Mon, 14 Jul 2003, Gabriel Bulfon wrote: > Hi, I receive error about default icon problem when start cygnome. > I see that I have the icons in C:\cygwin\opt\gnome\share\pixmaps\mc > > TIA > Gabriel Bulfon Wrong list. Try . Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From michael.grigoni@cybertheque.org Tue Jul 15 00:27:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Tue, 15 Jul 2003 00:27:00 -0000 Subject: XDM now working on cygwin to manage remote displays Message-ID: <3F1349B5.80823601@cybertheque.org> Greetings: Just reporting progress on making a working XDM for Cygwin/XFree86 to manage remote displays: I now have XDM working to provide a greeter dialog, authenticate the 'root' user (who has setuid privs on the host) and spawn the .xsession (in my case startup an rdesktop session). Very satisfying. Work remains to to fix authFile (change the colon character to something storeable on the NTFS filesystem) and to add ntsec setuid code to permit non-setuid-privilened user authentications. Michael Grigoni Cybertheque Museum From davidf@sjsoft.com Tue Jul 15 06:51:00 2003 From: davidf@sjsoft.com (David Fraser) Date: Tue, 15 Jul 2003 06:51:00 -0000 Subject: XDM now working on cygwin to manage remote displays In-Reply-To: <3F1349B5.80823601@cybertheque.org> References: <3F1349B5.80823601@cybertheque.org> Message-ID: <3F13A427.8090003@sjsoft.com> msg wrote: >Greetings: > >Just reporting progress on making a working XDM for Cygwin/XFree86 >to manage remote displays: > >I now have XDM working to provide a greeter dialog, authenticate >the 'root' user (who has setuid privs on the host) and spawn >the .xsession (in my case startup an rdesktop session). > >Very satisfying. > >Work remains to to fix authFile (change the colon character to >something storeable on the NTFS filesystem) and to add >ntsec setuid code to permit non-setuid-privilened user authentications. > >Michael Grigoni >Cybertheque Museum > > > Wow! This is great news! Let us know when code is available ... Thanks David From Vince.Hoffman@uk.circle.com Tue Jul 15 09:43:00 2003 From: Vince.Hoffman@uk.circle.com (Vince Hoffman) Date: Tue, 15 Jul 2003 09:43:00 -0000 Subject: XDM now working on cygwin to manage remote displays Message-ID: <3500515B75D9D311948800508BA37955014BDD73@EX-LONDON> > Work remains to to fix authFile (change the colon character to > something storeable on the NTFS filesystem) and to add > ntsec setuid code to permit non-setuid-privilened user > authentications. With the new (experimental) 1.5 cygwin dll its now possible to have a cygwin "managed" mount which allows special characters and names (like a colon for instance). see As CGF as said its not quite ready for prime time yet but it might help you. > Michael Grigoni > Cybertheque Museum > From daniel.blueman@gmx.net Tue Jul 15 09:49:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Tue, 15 Jul 2003 09:49:00 -0000 Subject: [RFC] Re: Freetype on cygwin link... References: <156-1887714190.20030711131620@familiehaase.de> Message-ID: <22569.1058262582@www43.gmx.net> An alternative would be to update the freetype support in XFree86 mainline, to the current version. This would benefit would yield much higher benefit, I think.... What caveats would that bring about? What about the development costs? > Daniel schrieb: > > > Any takers? > > > This sounds like a bit of delicate work! > > No, it isn't. The patch includes changes to the files used by autoconf > and libtool. Source changes are minimal, here they are. Apply these > and change to the dirctory with configure.in and ltmain.sh and run: > autoreconf --verbose --install --force which should end up with s.th. > like the full patch includes (new aclocal.m4 file, new configure, new > ltmain.sh) and then libtool-1.5 builds automatically the DLL (because of > the -no-undefined flag, see below). FreeType is just a little more > complex than packages that are using automake. > > > diff -urdb freetype-2.1.4~/builds/unix/unix-cc.in > freetype-2.1.4/builds/unix/unix-cc.in > --- freetype-2.1.4~/builds/unix/unix-cc.in 2002-12-23 > 23:40:21.000000000 +0100 > +++ freetype-2.1.4/builds/unix/unix-cc.in 2003-06-06 > 11:57:52.000000000 +0200 > @@ -78,7 +78,7 @@ > # Library linking > # > LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ > - -rpath $(libdir) -version-info $(version_info) > \ > + -rpath $(libdir) -no-undefined -version-info > $(version_info) \ > $(LDFLAGS) > > # EOF > diff -urdb freetype-2.1.4~/include/freetype/config/ftoption.h > freetype-2.1.4/include/freetype/config/ftoption.h > --- freetype-2.1.4~/include/freetype/config/ftoption.h 2003-01-31 > 00:24:18.000000000 +0100 > +++ freetype-2.1.4/include/freetype/config/ftoption.h 2003-06-06 > 12:40:45.000000000 +0200 > @@ -378,7 +378,7 @@ > /* do not #undef this macro here, since the build system might > */ > /* define for certain configurations > */ > /* > */ > -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ > +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER > > > > /*************************************************************************/ > diff -urdb freetype-2.1.4~/src/base/ftbase.c > freetype-2.1.4/src/base/ftbase.c > --- freetype-2.1.4~/src/base/ftbase.c 2002-03-30 14:16:33.000000000 > +0100 > +++ freetype-2.1.4/src/base/ftbase.c 2003-06-06 12:41:31.000000000 > +0200 > @@ -29,6 +29,7 @@ > #include "ftgloadr.c" > #include "ftobjs.c" > #include "ftnames.c" > +#include "ftapi.c" > > > /* END */ > > > > -- > =^..^= > -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From stephane@beauregard.ws Tue Jul 15 13:20:00 2003 From: stephane@beauregard.ws (=?ISO-8859-1?Q?St=E9phane_Beauregard?=) Date: Tue, 15 Jul 2003 13:20:00 -0000 Subject: Multiple screen feature References: <3F0B50F8.3090600@beauregard.ws> Message-ID: <3F13FFA4.5070104@beauregard.ws> By searching past messages, I found the "-multiplemonitors" option I was looking for. This option works just fine with my NVIDIA GeForce4 420 dual-head graphics card on my Toshiba labtop. The option behaves correctly weather my secondary screen is to the left or to the right of my primary screen. It also works fine in combination with the "-multiplewindow" option. Regards, S. Beauregard St??phane Beauregard wrote: > I have a two-screen Windows machine with two 1024x768 display. It > would be nice to have Xwin with the "-multiwindow" option working over > my whole, extended Windows desktop. > > Has the multiple screen feature been implemented yet? Or is it a > matter of using a combination of "-screen" options? For example, from > within Cygwin, I tried "xwin -screen 2048x768 -multiwindow", to no avail. > > Regards, > > S. Beauregard > -- St??phane Beauregard, "Tech-no-mad" International University - Bremen Campus Ring 7 28759 Bremen Tel: +49 (0) 172 684 9040 E-Mail: stephane@beauregard.ws From dawes@XFree86.Org Tue Jul 15 15:11:00 2003 From: dawes@XFree86.Org (David Dawes) Date: Tue, 15 Jul 2003 15:11:00 -0000 Subject: [RFC] Re: Freetype on cygwin link... In-Reply-To: <22569.1058262582@www43.gmx.net>; from daniel.blueman@gmx.net on Tue, Jul 15, 2003 at 11:49:42AM +0200 References: <156-1887714190.20030711131620@familiehaase.de> <22569.1058262582@www43.gmx.net> Message-ID: <20030715111048.A94241@xfree86.org> On Tue, Jul 15, 2003 at 11:49:42AM +0200, Daniel Blueman wrote: >An alternative would be to update the freetype support in XFree86 mainline, >to the current version. I don't know anything about the context of this discussion, but the XFree86 CVS trunk has FreeType 2.1.4, which appears to be the current release version according to the freetype web site. David -- David Dawes Founder/committer/developer The XFree86 Project www.XFree86.org/~dawes > >This would benefit would yield much higher benefit, I think.... > >What caveats would that bring about? What about the development costs? > >> Daniel schrieb: >> >> > Any takers? >> >> > This sounds like a bit of delicate work! >> >> No, it isn't. The patch includes changes to the files used by autoconf >> and libtool. Source changes are minimal, here they are. Apply these >> and change to the dirctory with configure.in and ltmain.sh and run: >> autoreconf --verbose --install --force which should end up with s.th. >> like the full patch includes (new aclocal.m4 file, new configure, new >> ltmain.sh) and then libtool-1.5 builds automatically the DLL (because of >> the -no-undefined flag, see below). FreeType is just a little more >> complex than packages that are using automake. >> >> >> diff -urdb freetype-2.1.4~/builds/unix/unix-cc.in >> freetype-2.1.4/builds/unix/unix-cc.in >> --- freetype-2.1.4~/builds/unix/unix-cc.in 2002-12-23 >> 23:40:21.000000000 +0100 >> +++ freetype-2.1.4/builds/unix/unix-cc.in 2003-06-06 >> 11:57:52.000000000 +0200 >> @@ -78,7 +78,7 @@ >> # Library linking >> # >> LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \ >> - -rpath $(libdir) -version-info $(version_info) >> \ >> + -rpath $(libdir) -no-undefined -version-info >> $(version_info) \ >> $(LDFLAGS) >> >> # EOF >> diff -urdb freetype-2.1.4~/include/freetype/config/ftoption.h >> freetype-2.1.4/include/freetype/config/ftoption.h >> --- freetype-2.1.4~/include/freetype/config/ftoption.h 2003-01-31 >> 00:24:18.000000000 +0100 >> +++ freetype-2.1.4/include/freetype/config/ftoption.h 2003-06-06 >> 12:40:45.000000000 +0200 >> @@ -378,7 +378,7 @@ >> /* do not #undef this macro here, since the build system might >> */ >> /* define for certain configurations >> */ >> /* >> */ >> -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ >> +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER >> >> >> >> >/*************************************************************************/ >> diff -urdb freetype-2.1.4~/src/base/ftbase.c >> freetype-2.1.4/src/base/ftbase.c >> --- freetype-2.1.4~/src/base/ftbase.c 2002-03-30 14:16:33.000000000 >> +0100 >> +++ freetype-2.1.4/src/base/ftbase.c 2003-06-06 12:41:31.000000000 >> +0200 >> @@ -29,6 +29,7 @@ >> #include "ftgloadr.c" >> #include "ftobjs.c" >> #include "ftnames.c" >> +#include "ftapi.c" >> >> >> /* END */ >> >> >> >> -- >> =^..^= >> > >-- >Daniel J Blueman > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! > >_______________________________________________ >Devel mailing list >Devel@XFree86.Org >http://XFree86.Org/mailman/listinfo/devel From cec112@psu.edu Tue Jul 15 15:56:00 2003 From: cec112@psu.edu (Charles E. Cooper) Date: Tue, 15 Jul 2003 15:56:00 -0000 Subject: Change Window Manager Message-ID: <5.1.0.14.2.20030715115338.02d08750@email.psu.edu> OK, I'm not a cygwin expert, but use it to window into a solar machine for editting. I dislike the twm window manager as it doesn't let me change focus unless you click on the top of the window bar, which often gets buried when I have numerous windows open. I've been trying to experiment with another window manager, KDE, but haven't figured out where twm is started up. I edited the ".xinitrc" file and the "startx.1" file without changing anything. I usually start CYGWIN under Windows 2000 and then type "startx" to bring up the window manager. Can anyone give me some guidance on this? Chuck Charles E. Cooper Applied Research Laboratory The Pennsylvania State University (814) 865-6829 (Swift Office) (814) 865-2020 ccooper@psu.edu From dirk.schlatterbeck@tiscalinet.ch Tue Jul 15 21:58:00 2003 From: dirk.schlatterbeck@tiscalinet.ch (Dirk Schlatterbeck) Date: Tue, 15 Jul 2003 21:58:00 -0000 Subject: xfree86 Message-ID: Hello I tried to download XF86Config and installed it in /etc/X11 newest version of xfree86 (4.2.01-..) both on my desktop at work and at home. At work german keyboard worked well the de_CH produced the same output as de (?) but as I am used to the german keyboard it works fine for me but at home all trials fail. I used the identical file but also changing keyboard from 105 to 101-104 didn??t change anything. I only changed those 3 lines in the originally file from http://www-user.tu-chemnitz.de/~goal/xfree/XF86Config.bz2 Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "de" Any help strongly appreciated Pls. forward answers to both e-mail addresses below. thanks&best regards dirk Dr. Dirk Schlatterbeck B??chnerstr. 20 CH-8006 Z??rich e-mail privat: dirk.schlatterbeck@tiscalinet.ch e-mail gesch.: d.schlatterbeck@schmid-rhyner.ch www.schmid-rhyner.ch From freemyer-ml@NorcrossGroup.com Tue Jul 15 22:04:00 2003 From: freemyer-ml@NorcrossGroup.com (Greg Freemyer) Date: Tue, 15 Jul 2003 22:04:00 -0000 Subject: Change Window Manager In-Reply-To: <5.1.0.14.2.20030715115338.02d08750@email.psu.edu> References: <5.1.0.14.2.20030715115338.02d08750@email.psu.edu> Message-ID: <1058307092.11150.368.camel@david.internal.NorcrossGroup.com> The simpliest way to start KDE is to just forget about the way you currently start cygwin,XFree86, and twm. Instead just click start---programs---KDE-cygwin.... No typing required. Greg -- Greg Freemyer On Tue, 2003-07-15 at 11:56, Charles E. Cooper wrote: > OK, > I'm not a cygwin expert, but use it to window into a solar machine for > editting. > > I dislike the twm window manager as it doesn't let me change focus unless > you click on the top of the window bar, which often gets buried when I have > numerous windows open. > > I've been trying to experiment with another window manager, KDE, but > haven't figured out where twm is started up. > > I edited the ".xinitrc" file and the "startx.1" file without changing anything. > > I usually start CYGWIN under Windows 2000 and then type "startx" to bring > up the window manager. > > Can anyone give me some guidance on this? > > Chuck > > Charles E. Cooper > Applied Research Laboratory > The Pennsylvania State University > (814) 865-6829 (Swift Office) > (814) 865-2020 > ccooper@psu.edu > From cgf@redhat.com Tue Jul 15 23:59:00 2003 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 15 Jul 2003 23:59:00 -0000 Subject: XDM now working on cygwin to manage remote displays In-Reply-To: <3500515B75D9D311948800508BA37955014BDD73@EX-LONDON> References: <3500515B75D9D311948800508BA37955014BDD73@EX-LONDON> Message-ID: <20030715202542.GA25917@redhat.com> On Tue, Jul 15, 2003 at 10:43:17AM +0100, Vince Hoffman wrote: > > >> Work remains to to fix authFile (change the colon character to >> something storeable on the NTFS filesystem) and to add >> ntsec setuid code to permit non-setuid-privilened user >> authentications. > >With the new (experimental) 1.5 cygwin dll its now possible to have a cygwin >"managed" mount which allows special characters and names (like a colon for >instance). >see >As CGF as said its not quite ready for prime time yet but it might help you. The implementation in 1.5.0 is broken. The last cygwin snapshot should be better. I only recommend this for empty directories or directories/files created after a mount. The potential for confusion is too great otherwise. cgf From khinmlwin@fastmail.fm Wed Jul 16 04:32:00 2003 From: khinmlwin@fastmail.fm (Khin M. Lwin) Date: Wed, 16 Jul 2003 04:32:00 -0000 Subject: For your Attention! Message-ID: Name: Khin Maung Lwin E-MAIL: khinmlwin@fastmail.fm Yangoon (Myanmar) Dear Sir/Madam, I apologize for the unexpected nature of this mail. I got your e-mail address from the Assistance Association for political prisoners (AAPP) based in Thailand. I am Khin Maung Lwin, 55, Chinese/Burmese, and the leader of the Myanmar Kyone Yeom Group headquartered in Mong Yawn, Myanmar. We engage in Real Estate, food processing and the transportation of Chinese, Thai and Burmese migrant workers to destinations around the globe. I am writing you from the Myingyan prison south of Rangoon where I await my appeal case against a 37 years jail sentence I received for alleged human trafficking, illegal sale of gold and running a prostitution ring. My appeal hearing is set for December 2003. These are all trumped-up charges. One of my boats carrying migrant workers to Singapore last year was hit by waves and sank killing 87 passengers. It was an accident but the government used this to arrest me because they suspected me of funding the Karen National Liberation Army (KNLA), a rebel movement fighting for the rights of the Karen ethnic group in Myanmar. The government has also seized all my assets valued at nearly one Billion dollars ($973,000,000.00) in Myanmar, Thailand and China. Last week, my wife and three daughters (8,12,15) were ejected from my own house. They now face a severe disruption in their livelihood and the education of my daughters. This feels me with so much pain. My wife and daughters are my main concern right now. I have a cash account deposit I made in the Netherlands, which the Burmese government didn?t know about. When I liquidated my flower and electronic companies in the Netherlands in 2002, I deposited the proceeds of seventeen million dollars ($17,000,000.00) in a securities firm in the Netherlands while I was negotiating the take-over of a telecom company in Germany. Right now, I need this money so I could get the best lawyer for my appeal case coming up in December and most of all get my family out of Myanmar to a safer country. They face constant harassment from government agents. I need your assistance to get some of this money through to my wife and daughters who are stuck in Namsang, Myanmar. Your responsibility will be to assume the new ownership of the money. Transfer this money into your own account for safety first. You will keep 20% for your efforts. You will then send my share in bits as I direct you to my mother-in-law or my wife in Myanmar. This will enable my family to leave Myanmar. I will also get the best lawyer and lobby power and most possibly be free soonest. If you decide to help me, what you have to do is send me your full Name, Address, Date of Birth, Profession and Nationality. Use the e-mail address above. I will contact the securities company in the Netherlands and have the ownership changed to yours. I can do this online and via email. Luckily, I can monitor the status of my deposit via the Internet with my login info, which I know by heart. Conditions are hard here. I have to pay the guards $35 for the opportunity to browse the web for 10 minutes. When all is done, the company will contact you about your new status. They will tell you what to do. Most of their transactions can also be done online. After that, you carry out the directives as explained above. It?s a simple and short procedure and takes 10 days to complete. If you do this, I will be personally grateful to you in many ways. Not only in the 20% of ($17M) reward you will get, but also when I am free, as I know I will soon, I will show you what it means to do me a favor. If you can?t, or decide not to, I will understand. Thanks for your attention anyhow. Khin Maung Lwin From vervoom@hotmail.com Wed Jul 16 08:08:00 2003 From: vervoom@hotmail.com (J S) Date: Wed, 16 Jul 2003 08:08:00 -0000 Subject: xfree86 cvs Message-ID: Hi, When I try to download XFree from cvs I keep getting an error: $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/xoncygwin CVS password: cvs [login aborted]: end of file from server (consult above messages if any) Eventually if I keep issuing the command I get through though. Does anyone else get that? Is this definitely the right cvs? To download the source I just did: cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin co -r XFIXES_BRANCH xc Am I supposed to download anything else because when I do a 'make World' I keep getting the following error: gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. -I../../../../../programs/Xserver/hw/xfr ee86/os-support -I../../../../.. -I../../../../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEA N -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SO URCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO cpconfig.c rm -f cpconfig.exe gcc -o cpconfig.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith -L../../../../../exports/lib cpconfig.o Device.o Files.o Flags.o Input.o Keyboard.o Layout.o Module.o Video.o Monitor.o Po inter.o Screen.o Vendor.o read.o scan.o write.o DRI.o -L/usr/X11R6/lib -Wl,--enable-aut o-import make[5]: Leaving directory `/home/u752359/x-devel/build/std/programs/Xserver/hw/xfree86/parser' make[4]: Target `all' not remade because of errors. rm -f Xserver._man cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__filemansuffix__=5 -D__ libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projectroot__=/usr/X11R6 -D__xorg version__='"Release 6.6" "X Version 11"' -D__vendorversion__="`echo 4 3 0 | sed -e 's/ /./g' -e 's/^ /Version /'` XFree86" Xserver._man rm -f Xserver.1.html Xserver.1-html ../../config/util/rman -f HTML < Xserver._man \ >Xserver.1-html && mv -f Xserver.1-html Xserver.1.html macro "in" not recognized -- ignoring make[4]: Leaving directory `/home/u752359/x-devel/build/std/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/u752359/x-devel/build/std/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/u752359/x-devel/build/std' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/u752359/x-devel/build/std' make: *** [World] Error 2 Not too sure what's going wrong here but I noticed the message 'Target `all' not remade because of errors.' came up a few times. Thanks for any help. JS _________________________________________________________________ Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile From alexander.gottwald@s1999.tu-chemnitz.de Wed Jul 16 09:49:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 16 Jul 2003 09:49:00 -0000 Subject: xfree86 In-Reply-To: References: Message-ID: On Wed, 16 Jul 2003, Dirk Schlatterbeck wrote: > Hello > > I tried to download XF86Config and installed it in /etc/X11 > newest version of xfree86 (4.2.01-..) both on my desktop Is this the test-91 version? The Stock 4.2.x release had no support for the XF86Config file. > at work and at home. At work german keyboard worked well the > de_CH produced the same output as de (?) but as I am used to the > german keyboard it works fine for me but at home all trials > fail. can you please post /tmp/XWin.log? bye ago From D.Schlatterbeck@SCHMID-RHYNER.CH Wed Jul 16 12:18:00 2003 From: D.Schlatterbeck@SCHMID-RHYNER.CH (D Schlatterbeck) Date: Wed, 16 Jul 2003 12:18:00 -0000 Subject: Antw: Re: xfree86 Message-ID: Hello I forward the file found on my machine at work where the XF86Config file takes effect. But meanwhile starting xf86 with "startx" leads to a shutdown of the X-Server. Starting manually with XWin etc works fine... The other logfile follows. best regards dirk ******** ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (==) Using config file: "/etc/X11/XF86Config" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (??) unknown. (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1024 h: 768 winCreateBoundingWindowWindowed - Current w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 740 1024 winAdjustForAutoHide - Adjusted WorkArea: 0 0 740 1024 winCreateBoundingWindowWindowed - WindowClient w 1018 h 715 r 1018 l 0 b 715 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 2036 winAllocateFBShadowDDNL - Created shadow pitch: 2036 winAllocateFBShadowDDNL - Created shadow stride: 1018 winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f winInitVisualsShadowDDNL - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. (**) Using keyboard "Keyboard1" as primary keyboard (**) Option "XkbRules" "xfree86" (**) XKB: rules: "xfree86" (**) Option "XkbModel" "pc105" (**) XKB: model: "pc105" (**) Option "XkbLayout" "de" (**) XKB: layout: "de" Rules = "xfree86" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null)" winPointerWarpCursor - Discarding first warp: 509 357 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned ******** >>> Alexander Gottwald 16.07.2003 11:49:48 >>> On Wed, 16 Jul 2003, Dirk Schlatterbeck wrote: > Hello > > I tried to download XF86Config and installed it in /etc/X11 > newest version of xfree86 (4.2.01-..) both on my desktop Is this the test-91 version? The Stock 4.2.x release had no support for the XF86Config file. > at work and at home. At work german keyboard worked well the > de_CH produced the same output as de (?) but as I am used to the > german keyboard it works fine for me but at home all trials > fail. can you please post /tmp/XWin.log? bye ago -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 4669 bytes Desc: not available URL: From vervoom@hotmail.com Wed Jul 16 13:13:00 2003 From: vervoom@hotmail.com (J S) Date: Wed, 16 Jul 2003 13:13:00 -0000 Subject: xfree86 cvs Message-ID: Hi, I got a bit further with this. I checked out the xc module and then checked out the XFIXES_BRANCH on top of that. When compiling I now get an error complaining about Xfixes.h missing: gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. -I../../../../exports/include/X11 -I.. /../../../include/fonts -I../../../../programs/Xserver/fb -I../../../../programs/Xserver/ mi -I../../../../programs/Xserver/miext/shadow -I../../../../programs/Xserver/miext/layer -I../../../../programs/Xserver/include -I../../../../programs/Xserver/os -I../../../.. /include/extensions -I../../../../exports/include/X11 -I../../../../programs/Xserver/render -I. ./../../../programs/Xserver/randr -I../../../.. -I../../../../exports/include -D__i386__ -DWIN32_ LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURC E -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DT OGCUP -DXF86BIGFONT -DXFIXES -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXvExtension -DXFree86Server -DXvMCExtension -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -D NDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXvExtension -DXF ree86Server -DXvMCExtension -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DDDXTIME -DFD_SETSIZ E=256 -DDDXOSINIT -DDDXOSVERRORF -DDDXOSFATALERROR -DHAS_MMAP -UXFree86LOADER -UXF86DRI - DPROJECTROOT="\"/usr/X11R6\"" winclipboardthread.c winclipboardthread.c:35:31: extensions/Xfixes.h: No such file or directory winclipboardthread.c: In function `winClipboardProc': winclipboardthread.c:361: warning: implicit declaration of function `XFixesQueryExtension' winclipboardthread.c:374: warning: implicit declaration of function `XFixesSelectSelectionInput' winclipboardthread.c:377: `XFixesSetSelectionOwnerNotifyMask' undeclared (first use in this function ) winclipboardthread.c:377: (Each undeclared identifier is reported only once winclipboardthread.c:377: for each function it appears in.) make: *** [winclipboardthread.o] Error 1 Any ideas how I get that file please? Thanks. JS. Hi, When I try to download XFree from cvs I keep getting an error: $ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin login Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/xoncygwin CVS password: cvs [login aborted]: end of file from server (consult above messages if any) Eventually if I keep issuing the command I get through though. Does anyone else get that? Is this definitely the right cvs? To download the source I just did: cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xoncygwin co -r XFIXES_BRANCH xc Am I supposed to download anything else because when I do a 'make World' I keep getting the following error: gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. -I../../../../../programs/Xserver/hw/xfr ee86/os-support -I../../../../.. -I../../../../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEA N -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SO URCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO cpconfig.c rm -f cpconfig.exe gcc -o cpconfig.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith -L../../../../../exports/lib cpconfig.o Device.o Files.o Flags.o Input.o Keyboard.o Layout.o Module.o Video.o Monitor.o Po inter.o Screen.o Vendor.o read.o scan.o write.o DRI.o -L/usr/X11R6/lib -Wl,--enable-aut o-import make[5]: Leaving directory `/home/u752359/x-devel/build/std/programs/Xserver/hw/xfree86/parser' make[4]: Target `all' not remade because of errors. rm -f Xserver._man cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__filemansuffix__=5 -D__ libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projectroot__=/usr/X11R6 -D__xorg version__='"Release 6.6" "X Version 11"' -D__vendorversion__="`echo 4 3 0 | sed -e 's/ /./g' -e 's/^ /Version /'` XFree86" Xserver._man rm -f Xserver.1.html Xserver.1-html ../../config/util/rman -f HTML < Xserver._man \ Xserver.1-html && mv -f Xserver.1-html Xserver.1.html macro "in" not recognized -- ignoring make[4]: Leaving directory `/home/u752359/x-devel/build/std/programs/Xserver' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/u752359/x-devel/build/std/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/u752359/x-devel/build/std' make[1]: *** [World] Error 2 make[1]: Leaving directory `/home/u752359/x-devel/build/std' make: *** [World] Error 2 Not too sure what's going wrong here but I noticed the message 'Target `all' not remade because of errors.' came up a few times. Thanks for any help. JS _________________________________________________________________ Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband From cec112@psu.edu Wed Jul 16 17:37:00 2003 From: cec112@psu.edu (Charles E. Cooper) Date: Wed, 16 Jul 2003 17:37:00 -0000 Subject: Change Window Manager In-Reply-To: <1058307092.11150.368.camel@david.internal.NorcrossGroup.co m> References: <5.1.0.14.2.20030715115338.02d08750@email.psu.edu> <5.1.0.14.2.20030715115338.02d08750@email.psu.edu> Message-ID: <5.1.0.14.2.20030716133501.02cf03e8@email.psu.edu> OK, I'm starting to feel like an ignoramus. I tried reloading Cygwin the other day and as a first step, uninstalled everything cygwin, which included a KDE version. After reinstalling cygwin, I no longer have a KDE for windows. I've searched all over and perhaps I'm looking for the wrong thing???? How do I get back to a state to try Greg's suggestion below... Chuck At 06:11 PM 7/15/2003 -0400, you wrote: >The simpliest way to start KDE is to just forget about the way you >currently start cygwin,XFree86, and twm. > >Instead just click start---programs---KDE-cygwin.... > >No typing required. > >Greg >-- >Greg Freemyer > >On Tue, 2003-07-15 at 11:56, Charles E. Cooper wrote: > > OK, > > I'm not a cygwin expert, but use it to window into a solar machine for > > editting. > > > > I dislike the twm window manager as it doesn't let me change focus unless > > you click on the top of the window bar, which often gets buried when I > have > > numerous windows open. > > > > I've been trying to experiment with another window manager, KDE, but > > haven't figured out where twm is started up. > > > > I edited the ".xinitrc" file and the "startx.1" file without changing > anything. > > > > I usually start CYGWIN under Windows 2000 and then type "startx" to bring > > up the window manager. > > > > Can anyone give me some guidance on this? > > > > Chuck > > > > Charles E. Cooper > > Applied Research Laboratory > > The Pennsylvania State University > > (814) 865-6829 (Swift Office) > > (814) 865-2020 > > ccooper@psu.edu > > Charles E. Cooper Applied Research Laboratory The Pennsylvania State University (814) 865-6829 (Swift Office) (814) 865-2020 ccooper@psu.edu From zhangyiling@citiz.net Wed Jul 16 18:42:00 2003 From: zhangyiling@citiz.net (zhangyiling) Date: Wed, 16 Jul 2003 18:42:00 -0000 Subject: some problems concerning the installation under win xp Message-ID: I've followed the instruction in 'Cygwin/XFree86 User?s Guide' Harold L Hunt, II It goes pretty well with the my first-time installation on a PC of win98. But as I turned to win xp(chinese) and do exactly the same thing, exceptions rises as follows: zyl@zyl ~ $ startx [: and: unknown operand [: and: unknown operand export: Settings/zyl/.Xauthority: bad variable name [: and: unknown operand [: and: unknown operand login: fatal IO error 113 (Connection aborted) or KillClient on X server ":0.0" xterm: fatal IO error 113 (Connection aborted) or KillClient on X server ":0.0" xterm: fatal IO error 113 (Connection aborted) or KillClient on X server ":0.0" xinit: connection to X server lost. waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown). XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 67 requests (58 known processed) with 0 events remaining. ... zyl@zyl ~ $ The prompts showed at the X server are also abnormal, for example: \[\033]... It seems like there is something wrong with the escape strings in C. Could any one tell me what is wrong with my installation of cygwin and what should I do to settle this problem. Could it be ascribed to the different site I selected when downloading? Another question.. when I run ns in the X server, a message is showed saying that 'When configured, ns found the right version of perl in but it doesn't seem to be there anymore, so ns will fall back on running the first perl in your path. the wrong version of perl may break the test suites...' I did not install ns at the home directory because the installation there failed for there is space in the path string of home under win xp. Will this may difference when running ns? And how and what should I do to fix the warning of perl? zhangyiling 2003.7.17 From elfyn@emcb.co.uk Wed Jul 16 19:10:00 2003 From: elfyn@emcb.co.uk (Elfyn McBratney) Date: Wed, 16 Jul 2003 19:10:00 -0000 Subject: Testing for Cygwin 1.5.0 Message-ID: Hi, Just wondering how you guys are going to deal with tests for 1.5.0 . I've been keeping a list of packages submitted for testing thus far and didn't really think about you XFree guys as you manage your own releases. :-) Elfyn -- Elfyn McBratney, EMCB | http://www.nongnu.org/wwwauth/ http://www.emcb.co.uk | http://www.emcb.co.uk/webauth/ elfyn@emcb.co.uk | wwwauth-users AT nongnu DOT org From huntharo@msu.edu Wed Jul 16 19:14:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 16 Jul 2003 19:14:00 -0000 Subject: Testing for Cygwin 1.5.0 In-Reply-To: References: Message-ID: <3F15A411.4030607@msu.edu> Elfyn, I am probably just going to wait for 1.5.0 to be realized... then the shit will really hit the fan and I will have a reason to devote some time to testing. Wait I am trying to say is that I am in the middle of moving into a new apartment right now and my job is demanding my time as well, so I will need someone else to do test builds against 1.5.0 for me, as I simply can't handle it right now. Any volunteers? Harold Elfyn McBratney wrote: > Hi, > > Just wondering how you guys are going to deal with tests for 1.5.0 . I've been > keeping a list of packages submitted for testing thus far and didn't really > think about you XFree guys as you manage your own releases. :-) > > Elfyn > From daniel.blueman@gmx.net Thu Jul 17 09:40:00 2003 From: daniel.blueman@gmx.net (Daniel Blueman) Date: Thu, 17 Jul 2003 09:40:00 -0000 Subject: xfree86 cvs Message-ID: <28845.1058434820@www39.gmx.net> Can you make sure you did a: 'cvs update -d -r XFIXES_BRANCH' in the xc dir? This will make sure that it is correctly up to date. Otherwise, there would be scope for problems. Let me know. Dan --- Hi, I got a bit further with this. I checked out the xc module and then checked out the XFIXES_BRANCH on top of that. When compiling I now get an error complaining about Xfixes.h missing: gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. -I../../../../exports/include/X11 -I.. /../../../include/fonts -I../../../../programs/Xserver/fb -I../../../../programs/Xserver/ mi -I../../../../programs/Xserver/miext/shadow -I../../../../programs/Xserver/miext/layer -I../../../../programs/Xserver/include -I../../../../programs/Xserver/os -I../../../.. /include/extensions -I../../../../exports/include/X11 -I../../../../programs/Xserver/render -I. ./../../../programs/Xserver/randr -I../../../.. -I../../../../exports/include -D__i386__ -DWIN32_ LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURC E -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DT OGCUP -DXF86BIGFONT -DXFIXES -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXvExtension -DXFree86Server -DXvMCExtension -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -D NDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXvExtension -DXF ree86Server -DXvMCExtension -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DDDXTIME -DFD_SETSIZ E=256 -DDDXOSINIT -DDDXOSVERRORF -DDDXOSFATALERROR -DHAS_MMAP -UXFree86LOADER -UXF86DRI - DPROJECTROOT="\"/usr/X11R6\"" winclipboardthread.c winclipboardthread.c:35:31: extensions/Xfixes.h: No such file or directory winclipboardthread.c: In function `winClipboardProc': winclipboardthread.c:361: warning: implicit declaration of function `XFixesQueryExtension' winclipboardthread.c:374: warning: implicit declaration of function `XFixesSelectSelectionInput' winclipboardthread.c:377: `XFixesSetSelectionOwnerNotifyMask' undeclared (first use in this function ) winclipboardthread.c:377: (Each undeclared identifier is reported only once winclipboardthread.c:377: for each function it appears in.) make: *** [winclipboardthread.o] Error 1 Any ideas how I get that file please? -- Daniel J Blueman +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! From jase@dufair.org Thu Jul 17 20:06:00 2003 From: jase@dufair.org (Jason Dufair) Date: Thu, 17 Jul 2003 20:06:00 -0000 Subject: Minimize emacs Message-ID: I'm running GNU Emacs under Cygwin XFree (multiwindow). Needless to say, I'm in sheer heaven. What a treat to be able to run a "real" Emacs under Windows. Many thanks to Harold and the other XFree developers and to Joe Buhler for the Emacs port. My question: How can I minimize Emacs using only keystrokes? Emacs catches Alt-Space (M-space), so I can't activate the window menu. Normally, in X on Linux, I can to Ctrl-z, but under Cygwin XFree, I find that the only effect this has is to make the Emacs cursor (point) hollow. Is anyone currently able to do this? I found nothing on Google or the mailing list archives. TIA! -- Jason Dufair - jase@dufair.org http://www.dufair.org/ "Time flies like an arrow. Fruit flies like a banana." -- Groucho Marx From dirk.schlatterbeck@tiscalinet.ch Thu Jul 17 21:45:00 2003 From: dirk.schlatterbeck@tiscalinet.ch (Dirk Schlatterbeck) Date: Thu, 17 Jul 2003 21:45:00 -0000 Subject: xfree86 In-Reply-To: Message-ID: This is the logfile of my home-desktop. Both W2K, same mirrors used (sunsite.cnlab-switch.ch is not a complete mirror of XFree86). Before I tried again I reloaded all XFree stuff. best regards dirk -------------- next part -------------- A non-text attachment was scrubbed... Name: XWin.log Type: application/octet-stream Size: 2659 bytes Desc: not available URL: -------------- next part -------------- Am Mittwoch, 16.07.03 um 11:49 Uhr schrieb Alexander Gottwald: > On Wed, 16 Jul 2003, Dirk Schlatterbeck wrote: > >> Hello >> >> I tried to download XF86Config and installed it in /etc/X11 >> newest version of xfree86 (4.2.01-..) both on my desktop > > Is this the test-91 version? The Stock 4.2.x release had no > support for the XF86Config file. > >> at work and at home. At work german keyboard worked well the >> de_CH produced the same output as de (?) but as I am used to the >> german keyboard it works fine for me but at home all trials >> fail. > > can you please post /tmp/XWin.log? > > bye > ago > > Dr. Dirk Schlatterbeck B?chnerstr. 20 CH-8006 Z?rich Tel. privat: +41/43/255 03 24 Tel. gesch.: +41/1/712 62 73 Fax privat: +41/43/255 03 25 Fax gesch.: +41/1/709 08 04 e-mail privat: dirk.schlatterbeck@tiscalinet.ch e-mail gesch.: d.schlatterbeck@schmid-rhyner.ch www.schmid-rhyner.ch From StuartH@ecs-tech.com Fri Jul 18 09:07:00 2003 From: StuartH@ecs-tech.com (Stuart Halliday) Date: Fri, 18 Jul 2003 09:07:00 -0000 Subject: Cygwin installer failing in Windows 95b Message-ID: I'm trying to get Cygwin to install in a 200MHz 96MB, Windows 95b machine. But it always fails at the end with pop up error boxes declaring that it can't find a couple of DLLs. Then lots of, what look like DOS windows, pop up very briefly one after another. I choose to use the default on most of the items. Though I did switch the Net and Xfree86 item to install. I had downloaded Cygwin from the Internet, installed it in several Windows 2000 and NT4 machines successfully and so I placed the whole install package on my LAN in a network drive and as I said, it installed without errors into 3 different Windows systems (Windows 2000 and NT4). But Windows 95b doesn't appear to like it. Is there any known issue with trying to install it into this old OS? Is there any article that explains what the installer does at the end so I can check registry settings, etc. are correct? Perhaps this cygwin installer (2.249.2.5) hasn't been tested lately on a Window 95b machine? I'd appreciate any help offered. :-) -- Stuart Halliday ECS Technology From Alexander.Gottwald@s1999.tu-chemnitz.de Fri Jul 18 09:32:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 18 Jul 2003 09:32:00 -0000 Subject: xfree86 In-Reply-To: References: Message-ID: Dirk Schlatterbeck wrote: > This is the logfile of my home-desktop. Both W2K, same > mirrors used (sunsite.cnlab-switch.ch is not a complete > mirror of XFree86). > Before I tried again I reloaded all XFree stuff. It read the config file and the layout is set to de ... Is /tmp mounted in textmode? If so then remount it to binmode mount -b -u 'c:\temp' /tmp This should help bye ago NP: VNV Nation - Saviour (Vox) -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From vervoom@hotmail.com Fri Jul 18 10:41:00 2003 From: vervoom@hotmail.com (J S) Date: Fri, 18 Jul 2003 10:41:00 -0000 Subject: xfree86 cvs Message-ID: Thanks, I have just done that but there's not Xfixes.h file in there. JS. > >Can you make sure you did a: > >'cvs update -d -r XFIXES_BRANCH' in the xc dir? This will make sure that it >is correctly up to date. > >Otherwise, there would be scope for problems. Let me know. > >Dan > >--- > >Hi, > >I got a bit further with this. I checked out the xc module and then checked >out the XFIXES_BRANCH on top of that. When compiling I now get an error >complaining about Xfixes.h missing: > >gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. >-I../../../../exports/include/X11 -I.. >/../../../include/fonts -I../../../../programs/Xserver/fb >-I../../../../programs/Xserver/ >mi -I../../../../programs/Xserver/miext/shadow >-I../../../../programs/Xserver/miext/layer >-I../../../../programs/Xserver/include -I../../../../programs/Xserver/os >-I../../../.. >/include/extensions -I../../../../exports/include/X11 >-I../../../../programs/Xserver/render -I. >./../../../programs/Xserver/randr -I../../../.. >-I../../../../exports/include -D__i386__ -DWIN32_ >LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE >-D_POSIX_C_SOURCE=199309L -D_BSD_SOURC >E -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DSHAPE -DXINPUT -DXKB -DLBX >-DXAPPGROUP -DXCSECURITY -DT >OGCUP -DXF86BIGFONT -DXFIXES -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT >-DPIXPRIV -DSINGLEDEPTH >-DXvExtension -DXFree86Server -DXvMCExtension -DXResExtension >-DX_BYTE_ORDER=X_LITTLE_ENDIAN -D >NDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DAVOID_GLYPHBLT -DPIXPRIV >-DSINGLEDEPTH >-DXvExtension -DXF >ree86Server -DXvMCExtension -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN >-DDDXTIME -DFD_SETSIZ >E=256 -DDDXOSINIT -DDDXOSVERRORF -DDDXOSFATALERROR -DHAS_MMAP >-UXFree86LOADER -UXF86DRI - >DPROJECTROOT="\"/usr/X11R6\"" winclipboardthread.c >winclipboardthread.c:35:31: extensions/Xfixes.h: No such file or directory >winclipboardthread.c: In function `winClipboardProc': >winclipboardthread.c:361: warning: implicit declaration of function >`XFixesQueryExtension' >winclipboardthread.c:374: warning: implicit declaration of function >`XFixesSelectSelectionInput' >winclipboardthread.c:377: `XFixesSetSelectionOwnerNotifyMask' undeclared >(first use in this function >) >winclipboardthread.c:377: (Each undeclared identifier is reported only once >winclipboardthread.c:377: for each function it appears in.) >make: *** [winclipboardthread.o] Error 1 > >Any ideas how I get that file please? > >-- >Daniel J Blueman > >+++ GMX - Mail, Messaging & more http://www.gmx.net +++ > >Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! > _________________________________________________________________ Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband From StuartH@ecs-tech.com Fri Jul 18 11:30:00 2003 From: StuartH@ecs-tech.com (Stuart Halliday) Date: Fri, 18 Jul 2003 11:30:00 -0000 Subject: Cygwin installer failing in Windows 95b In-Reply-To: References: Message-ID: > I'm trying to get Cygwin to install in a 200MHz 96MB, Windows 95b > machine. > > But it always fails at the end with pop up error boxes declaring that it > can't find a couple of DLLs. I've now tried downloading the very latest Cygwin and its installer (2.340.2.5) today. This is even worse than the previous version. I placed the setup.exe and the packages folder containing the ftp mirror files onto the C:\cyg folder of my Windows 95b machine. About 73MB of files. I run the setup program and I choose the third option 'install from local directory'. It then asks for a install directory and I enter c:\cygwin (I left the 2 other options alone) Here is where it gets interesting.... On this panel, it says in the title 'Select Local Package Directory'. But the text in here says "Select a directory where you want setup to store the installation files it downloads. The directory will be created if it does not exist." Well this is plainly wrong and not very reassuring as I've already downloaded the files in c:\cyg\packages so the setup.exe is NOT going to store the installation files there is it? :-) And of course the files do already exist. So this looks like an bug in the Installer program. But anyway I enter here c:\cyg\packages and click on NEXT. The process simply ends within 1 sec from clicking on NEXT. I look in c:\cygwin and there is a c:\cygwin\etc with a single file in it called timestamp. So it's not getting very far. I thought perhaps it had a corrupt setup.ini file which is in c:\cyg\packages\ftp%3a%2f%2fcygwin.mirrors.pair.com\ so I deleted it. Now, the installer ran further and presented me with a Install list window but most of the items I had downloaded are missing from this list window. It now just lists +All and that only has +Misc within it (category view). But the release directory is 73MB in size! So why isn't it listing everything? Bizarre. Anyone know how this Installer works? P.S. I did delete the 'current user' and 'local machine', Cygnus Software registry keys before running the Installer. My brain is now hurting so I'm going to lie down.... From david.lists@apsolut.net Fri Jul 18 13:03:00 2003 From: david.lists@apsolut.net (David A. Ferguson) Date: Fri, 18 Jul 2003 13:03:00 -0000 Subject: Cygwin installer failing in Windows 95b References: Message-ID: <00a701c34d2d$04d9de40$4c00a8c0@in.apsolut> > I placed the setup.exe and the packages folder containing the ftp mirror > files onto the C:\cyg folder of my Windows 95b machine. About 73MB of files. [snip] > On this panel, it says in the title 'Select Local Package Directory'. > But the text in here says "Select a directory where you want setup to > store the installation files it downloads. The directory will be > created if it does not exist." Enter c:\cyg here. It is a slight miss wording. For local installations this is the directory where the packages are. -- David From StuartH@ecs-tech.com Fri Jul 18 14:22:00 2003 From: StuartH@ecs-tech.com (Stuart Halliday) Date: Fri, 18 Jul 2003 14:22:00 -0000 Subject: Cygwin installer failing in Windows 95b In-Reply-To: <00a701c34d2d$04d9de40$4c00a8c0@in.apsolut> References: <00a701c34d2d$04d9de40$4c00a8c0@in.apsolut> Message-ID: > > I placed the setup.exe and the packages folder containing the ftp > mirror > > files onto the C:\cyg folder of my Windows 95b machine. About 73MB of > files. > > [snip] > > > On this panel, it says in the title 'Select Local Package Directory'. > > But the text in here says "Select a directory where you want setup to > > store the installation files it downloads. The directory will be > > created if it does not exist." > > Enter c:\cyg here. So how come entering c:\cyg\packages is wrong? I've got my package at c:\cyg\packages\ftp%3a%2f%2fcygwin.mirrors.pair.com I tried c:\cyg But it still does NOT make a difference. I've now tried this in a Windows 2000 sp4 machine and it is playing up too. It only lists +All and within it +Misc. Sounds to me the Installer is broken. > It is a slight miss wording. For local installations this is the > directory where the packages are. Any hope this is could be corrected? From pkienzle@jazz.ncnr.nist.gov Fri Jul 18 15:31:00 2003 From: pkienzle@jazz.ncnr.nist.gov (Paul Kienzle) Date: Fri, 18 Jul 2003 15:31:00 -0000 Subject: startup-scripts-4.2.0-5: Windows 9x path problems Message-ID: <20030718113113.J590150@jazz.ncnr.nist.gov> startxwin.bat needs quotes around the entire path to protect against spaces in the expanded variables for window 9x. Windows 2000 keeps the quotes in the path string, but seems to ignore them, so no harm in adding them. Paul Kienzle pkienzle@nist.gov From elfyn@emcb.co.uk Fri Jul 18 23:22:00 2003 From: elfyn@emcb.co.uk (Elfyn McBratney) Date: Fri, 18 Jul 2003 23:22:00 -0000 Subject: qt3 on cygwin In-Reply-To: <20030718224809.44905.qmail@web11701.mail.yahoo.com> References: <20030718224809.44905.qmail@web11701.mail.yahoo.com> Message-ID: On Sat, 19 Jul 2003, [iso-8859-1] J?r?me DESPATIS wrote: > Hello > > i'm trying to compile qt3.1.0 on cygwin as said in > http://kde-cygwin.sourceforge.net/qt3-win32/compiling.php > > but i get errors (impossible to find headers) > > has someone compiled qt3.1.0 on cygwin ? Wrong list. cygwin-xfree at cygwin dot com is the correct list Cygwin/XFree related questions, see for list descriptions. I've redirected this there and reset the 'Reply-to:' to point to that list. -- Elfyn McBratney, EMCB | http://www.nongnu.org/wwwauth/ http://www.emcb.co.uk | http://www.emcb.co.uk/webauth/ elfyn@emcb.co.uk | wwwauth-users AT nongnu DOT org From dirk.schlatterbeck@tiscalinet.ch Sat Jul 19 07:54:00 2003 From: dirk.schlatterbeck@tiscalinet.ch (Dirk Schlatterbeck) Date: Sat, 19 Jul 2003 07:54:00 -0000 Subject: xfree86 In-Reply-To: Message-ID: <2BCA9372-B9BE-11D7-A127-00039386034E@tiscalinet.ch> Thanks, works fine. But.... 1.) Where are those mounting options are fixed for startup of cygwin? 2.) How do I get a german keyboard for remote-login on my linux-host? It runs with gdm, local login on the linux host works with german keyboard (so XF86Config-4 is set correctly), remote from my w2k-machine us keyboard is used although XWin on the w2k-machine works locally also with german keyboard. thanks&best regards dirk Am Freitag, 18.07.03 um 11:31 Uhr schrieb Alexander Gottwald: > Dirk Schlatterbeck wrote: > >> This is the logfile of my home-desktop. Both W2K, same >> mirrors used (sunsite.cnlab-switch.ch is not a complete >> mirror of XFree86). >> Before I tried again I reloaded all XFree stuff. > > It read the config file and the layout is set to de ... > > Is /tmp mounted in textmode? If so then remount it to binmode > mount -b -u 'c:\temp' /tmp > > This should help > > bye > ago > > NP: VNV Nation - Saviour (Vox) > -- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > > Dr. Dirk Schlatterbeck B?chnerstr. 20 CH-8006 Z?rich Tel. privat: +41/43/255 03 24 Tel. gesch.: +41/1/712 62 73 Fax privat: +41/43/255 03 25 Fax gesch.: +41/1/709 08 04 e-mail privat: dirk.schlatterbeck@tiscalinet.ch e-mail gesch.: d.schlatterbeck@schmid-rhyner.ch www.schmid-rhyner.ch From digitalsmear@antisocial.com Sat Jul 19 13:57:00 2003 From: digitalsmear@antisocial.com (digitalsmear) Date: Sat, 19 Jul 2003 13:57:00 -0000 Subject: wmaker fatal error: could not open display ":0" Message-ID: <1989520037619133618415@antisocial.com> Having trouble getting X to run... The worst part about this is that I had it working a few hours ago, but I uninstalled and reinstalled becaused I foobared my package choices and vim couldn't find some resource. So atleast I know it's a configuration problem. Now to pin it down... I am using WindowsXP Home Ed. SP1 When I attempt to startx I get the following: ----- $ startx waiting for X server to shut down $ wmaker fatal error: could not open display ":0" ----- I've also tried: ----- $ startx -display ":1" // I've tried it as 1, :1 and ":1" with the same response /usr/X11R6/bin/xterm Xt error: Can't open display: :1 waiting for X server to shut down ----- My XWin.log from just the command "startx" reads as... ----- $ cat XWin.log ----- ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - User w: 1024 h: 768 winCreateBoundingWindowWindowed - Current w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found BOTTOM auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 0 767 1024 winCreateBoundingWindowWindowed - WindowClient w 1018 h 735 r 1018 l 0 b 735 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 4072 winAllocateFBShadowDDNL - Created shadow pitch: 4072 winAllocateFBShadowDDNL - Created shadow stride: 1018 winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" winPointerWarpCursor - Discarding first warp: 509 367 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned ----- END XWin.log ----- And my cygwin.bat file reads.... ----- cygwin.bat ----- @echo off set DISPLAY=127.0.0.1:0.0 set CYGWIN=tty notitle glob set HOME=C:\cygwin\home PATH=C:\cygwin\bin;C:\cygwin\sbin;C:\cygwin\usr\bin;C:\cygwin\usr\sbin;C:\cy gwin\usr\local\bin;C:\cygwin\usr\X11R6\bin;.. C: chdir C:\cygwin\bin bash --login -i ----- END cygwin.bat ----- Last but not least... my .xinitrc file looks like this... ----- $ cat .xinitrc ----- #!/bin/sh # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/usr/X11R6/lib/X11/xinit/.Xresources sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then xmodmap $sysmodmap fi if [ -f $userresources ]; then xrdb -merge $userresources fi if [ -f $usermodmap ]; then xmodmap $usermodmap fi # start some nice programs # twm & # xclock -geometry 50x50-1+1 & # xterm -geometry 80x50+494+51 & # xterm -geometry 80x20+494-0 & # exec xterm -geometry 80x66+0+0 -name login wmaker & ----- END $ cat .xinitrc ----- Heeeeeeelllp! :P _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com Looking for friendships,romance and more? http://www.MyOwnFriends.com From andrew.markebo@comhem.se Sat Jul 19 18:52:00 2003 From: andrew.markebo@comhem.se (Andrew Markebo) Date: Sat, 19 Jul 2003 18:52:00 -0000 Subject: wmaker fatal error: could not open display ":0" In-Reply-To: <1989520037619133618415@antisocial.com> (digitalsmear@antisocial.com's message of "Sat, 19 Jul 2003 08:36:18 -0500") References: <1989520037619133618415@antisocial.com> Message-ID: What happens if you try "startxwin.sh"? Thats how I pull up my xwindows. /Andy / "digitalsmear" wrote: | Having trouble getting X to run... The worst part about this is that I | had it working a few hours ago, but I uninstalled and reinstalled becaused | I foobared my package choices and vim couldn't find some resource. So | atleast I know it's a configuration problem. Now to pin it down... | | I am using WindowsXP Home Ed. SP1 | When I attempt to startx I get the following: | ----- | $ startx | waiting for X server to shut down | $ wmaker fatal error: could not open display ":0" -- The parser of the compiler rests on the code! Please note, new email, @telia.com -> @comhem.se From Ralf.Habacker@freenet.de Sat Jul 19 19:28:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Sat, 19 Jul 2003 19:28:00 -0000 Subject: qt3 on cygwin In-Reply-To: Message-ID: <01ad01c34e2b$de7bee50$246007d5@BRAMSCHE> > > Hello > > > > i'm trying to compile qt3.1.0 on cygwin as said in > > http://kde-cygwin.sourceforge.net/qt3-win32/compiling.php > > > > but i get errors (impossible to find headers) > > > > has someone compiled qt3.1.0 on cygwin ? > The qt3-win32 section covers the native port of qt on cygwin without using xfree (but still using cygwin), which is in an early state and may not compile out of the box. If you are trying to compile the xfree version of qt3/cygwin you should read http://kde-cygwin.sourceforge.net/qt3/compiling.php. Cheers Ralf From dirk.schlatterbeck@tiscalinet.ch Sun Jul 20 09:43:00 2003 From: dirk.schlatterbeck@tiscalinet.ch (Dirk Schlatterbeck) Date: Sun, 20 Jul 2003 09:43:00 -0000 Subject: xfree86 In-Reply-To: Message-ID: <8CEC1ED4-BA96-11D7-BA7C-00039386034E@tiscalinet.ch> On 2003-07-19 I wrote > Thanks, works fine. > But.... > > 1.) Where are those mounting options are fixed for startup > of cygwin? > 2.) How do I get a german keyboard for remote-login on my > linux-host? It runs with gdm, local login on the linux host works > with german keyboard (so XF86Config-4 is set correctly), > remote from my w2k-machine us keyboard is used although > XWin on the w2k-machine works locally also with german > keyboard. I started XWin with the parameter -xkbmap de which caused the us-keyboard layout. Though I don't understand why but without that the german keyboard works also with a query on my remote linux box. Question 1 is obsolete. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 728 bytes Desc: not available URL: From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Jul 20 13:18:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 20 Jul 2003 13:18:00 -0000 Subject: xfree86 In-Reply-To: <2BCA9372-B9BE-11D7-A127-00039386034E@tiscalinet.ch> References: <2BCA9372-B9BE-11D7-A127-00039386034E@tiscalinet.ch> Message-ID: Dirk Schlatterbeck wrote: > Thanks, works fine. > But.... > > 1.) Where are those mounting options are fixed for startup > of cygwin? run mount and look for an entry /tmp (or / if no /tmp entry exists) which is either mounted in binmode or textmode. If it's mounted in textmode remount it with mount -b -u 'c:\temp' /tmp This changes the mode permanently. > 2.) How do I get a german keyboard for remote-login on my > linux-host? Get XKB working on the cygwin host. > It runs with gdm, local login on the linux host works > with german keyboard (so XF86Config-4 is set correctly), > remote from my w2k-machine us keyboard is used although > XWin on the w2k-machine works locally also with german > keyboard. The XF86Config settings apply to the xserver. not the xclients. If you have german keyboard layout with the cygwin xserver, it will still be german for remote logins. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Jul 20 13:21:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 20 Jul 2003 13:21:00 -0000 Subject: xfree86 In-Reply-To: <8CEC1ED4-BA96-11D7-BA7C-00039386034E@tiscalinet.ch> References: <8CEC1ED4-BA96-11D7-BA7C-00039386034E@tiscalinet.ch> Message-ID: Dirk Schlatterbeck wrote: > I started XWin with the parameter -xkbmap de which caused the > us-keyboard layout. Though I don't understand why This loads a precompiled map from /tmp/de. This has a lot of sideeffects and i discourage the use of this switch and encourage you to use the XF86Config settings. > but without > that the german keyboard works also with a query on my > remote linux box. > Question 1 is obsolete. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From hdhong@hotmail.com Sun Jul 20 16:51:00 2003 From: hdhong@hotmail.com (Hai Hong) Date: Sun, 20 Jul 2003 16:51:00 -0000 Subject: Installing XFree Message-ID: Hi, Does the XFree installation requires the Windows registry or any of the Windows system directories (i.e. /Windows/system32, ...)? I'm not sure if it's possible, but I want to install just the X Server on either my USB Jumpdrive or a CD-ROM and start it without any depency on Windows. I have the full Cygwin installation on my desktop at work and is able to access my to window manager (IceWM) and X-based programs via telnet and ftp. I want to be able to use them on lab or other computer systems that I don't have software installation previledge. There's some machines that have Exceed pre-installed, but most don't. -Thanks! _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From hans@deragon.biz Sun Jul 20 19:23:00 2003 From: hans@deragon.biz (Hans Deragon) Date: Sun, 20 Jul 2003 19:23:00 -0000 Subject: Bug: XFree86-etc-4.2.0-1 - /usr/X11R6/lib/X11/xkb/symbols/us_intl is missing commas. Message-ID: <3F1AEC47.9050603@deragon.biz> Greetings. I am reporting a bug in the file /usr/X11R6/lib/X11/xkb/symbols/us_intl of package XFree86-etc-4.2.0-1. When one runs: $ setxkbmap.exe -rules xfree86 -model pc104 -layout us_intl Error loading new keyboard description This is caused by commas missing in the file. When I copy the same file from the Red Hat 9 distribution, it works marvelously. When I perform a diff between the two files: diff us_intl us_intl.cygwin.kaput 44c44 < key { [ 9, parenleft ], --- > key { [ 9, parenleft ] 46c46 < key { [ 0, parenright ], --- > key { [ 0, parenright ] 52c52 < key { [ semicolon, colon ], --- > key { [ semicolon, colon ] 54c54 < key { [ comma, less ], --- > key { [ comma, less ] 56c56 < key { [ period, greater ], --- > key { [ period, greater ] 58c58 < key { [ slash, question ], --- > key { [ slash, question ] Notice that the cygwin version of the file is missing commas. Here is my setting: I use XWin.exe to connect to my Red Hat 9 server using XDMCP. XFree86 version 4.3.0 is running on my Red Hat 9 server while XFree86 version 4.2.0 is running on my Windows machine under Cygwin. I do a "xhost +" on my RH9 server and I then start an rxvt session on Windows and call the command. Sincerely, Hans Deragon -- Deragon Informatique inc. Open source: http://www.deragon.biz http://swtmvcwrapper.sourceforge.net mailto://hans@deragon.biz http://autopoweroff.sourceforge.net From Alexander.Gottwald@s1999.tu-chemnitz.de Sun Jul 20 20:07:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Sun, 20 Jul 2003 20:07:00 -0000 Subject: Bug: XFree86-etc-4.2.0-1 - /usr/X11R6/lib/X11/xkb/symbols/us_intl is missing commas. In-Reply-To: <3F1AEC47.9050603@deragon.biz> References: <3F1AEC47.9050603@deragon.biz> Message-ID: Hans Deragon wrote: > I am reporting a bug in the file /usr/X11R6/lib/X11/xkb/symbols/us_intl of > package XFree86-etc-4.2.0-1. When one runs: This is a known problem. The us_intl file from the XFree 4.2 release includes this broken file. The next release will include the corrected version. The linux XFree 4.3 releases do include the corrected version too. bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Jul 21 08:56:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 21 Jul 2003 08:56:00 -0000 Subject: Bug: XFree86-etc-4.2.0-1 - /usr/X11R6/lib/X11/xkb/symbols/us_intl is missing commas. In-Reply-To: References: <3F1AEC47.9050603@deragon.biz> Message-ID: Alexander Gottwald wrote: > Hans Deragon wrote: > > > I am reporting a bug in the file /usr/X11R6/lib/X11/xkb/symbols/us_intl of > > package XFree86-etc-4.2.0-1. When one runs: > > This is a known problem. The us_intl file from the XFree 4.2 release includes > this broken file. The next release will include the corrected version. The > linux XFree 4.3 releases do include the corrected version too. I've made a new XFree86-etc package. http://www.tu-chemnitz.de/~goal/xfree/XFree86-etc-4.2.0-2.tar.bz2 It includes the following changes: - fixed us_intl keyboard layout - added us_intl_win layout (the name may change in the next releases) - added xkbcomp.exe with corrected binmode support Due to the lack of clean Cygwin/XFree86 testbed I've not tested the changes completely. Could someone with a clean Cygwin/XFree86 installation please test the package and report if the us_intl and the us_intl_win layout do work. Thanks ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From vervoom@hotmail.com Mon Jul 21 12:35:00 2003 From: vervoom@hotmail.com (J S) Date: Mon, 21 Jul 2003 12:35:00 -0000 Subject: xfree cvs Message-ID: Hi Dan, I retried downloading from the cvs and issued the command you gave me below but still I get the following problem doing 'make World': + mkdir -p ../../exports/lib/locale/zh_HK.big5hkscs + mkdir -p ../../exports/lib/locale/zh_TW + mkdir -p ../../exports/lib/locale/zh_TW.big5 + mkdir -p ../../exports/lib/locale/zh_TW.UTF-8 + mkdir -p ../../exports/lib/locale/el_GR.UTF-8 utils.c: In function `set_font_authorizations': utils.c:1139: warning: assignment discards qualifiers from pointer target type xf86bigfont.c: In function `ProcXF86BigfontQueryVersion': xf86bigfont.c:335: warning: implicit declaration of function `geteuid' xf86bigfont.c:336: warning: implicit declaration of function `getegid' glxscreens.c:99: warning: `CountBits' defined but not used winclipboardthread.c:35:31: extensions/Xfixes.h: No such file or directory winclipboardthread.c: In function `winClipboardProc': winclipboardthread.c:361: warning: implicit declaration of function `XFixesQueryExtension' winclipboardthread.c:374: warning: implicit declaration of function `XFixesSelectSelectionInput' winclipboardthread.c:377: `XFixesSetSelectionOwnerNotifyMask' undeclared (first use in this function ) winclipboardthread.c:377: (Each undeclared identifier is reported only once winclipboardthread.c:377: for each function it appears in.) make[5]: *** [winclipboardthread.o] Error 1 winclipboardxevents.c:35:31: extensions/Xfixes.h: No such file or directory winclipboardxevents.c: In function `winClipboardFlushXEvents': winclipboardxevents.c:67: `XFixesSelectionNotifyEvent' undeclared (first use in this function) winclipboardxevents.c:67: (Each undeclared identifier is reported only once winclipboardxevents.c:67: for each function it appears in.) winclipboardxevents.c:67: `peventSelectionNotify' undeclared (first use in this function) winclipboardxevents.c:768: `XFixesSelectionNotify' undeclared (first use in this function) winclipboardxevents.c:772: parse error before ')' token make[5]: *** [winclipboardxevents.o] Error 1 make[5]: Target `all' not remade because of errors. make[4]: *** [hw/xwin] Error 2 make[4]: Target `all' not remade because of errors. macro "in" not recognized -- ignoring make[3]: *** [all] Error 2 make[2]: *** [all] Error 2 make[1]: *** [World] Error 2 make: *** [World] Error 2 Can you make sure you did a: 'cvs update -d -r XFIXES_BRANCH' in the xc dir? This will make sure that it is correctly up to date. Otherwise, there would be scope for problems. Let me know. Dan _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger From jorgen@iis.u-tokyo.ac.jp Mon Jul 21 17:21:00 2003 From: jorgen@iis.u-tokyo.ac.jp (Jorgen Johansson) Date: Mon, 21 Jul 2003 17:21:00 -0000 Subject: lyx memory access error in multiwindow mode on laptop not on desktop. Message-ID: Hello, Adding some info to the memory access error in mulitwindow mode. I am not a programmer so I am not sure how to diagnose the error. I installed latest xfree server and got the document processorer LyX up and running in multiwindows mode on my desktop (both multiwindow and regular mode under wmaker), but LyX keeps on crashing at start-up on my laptop, while it runs without problem in the regular non-mulitwindow mode under wmaker. AFAIK the desktop and the lap-top has the same installation of cygwin. ( I updated both lap-top and desktop this week). I also installed the latest test series 91 of the xserver but LyX keeps crashing in multiwindow mode on the lap-top. ( I have not installed the test series on the desktop). Thank for very good software (, which helps me produce my Ph.D thesis.) jorgen From carlhusa@hotmail.com Mon Jul 21 21:30:00 2003 From: carlhusa@hotmail.com (Carl Husa) Date: Mon, 21 Jul 2003 21:30:00 -0000 Subject: some problems concerning the installation under win xp Message-ID: I am having exactly the same problem, IO Error 104 at the console. The graphical interface starts briefly, with three windows open; however, each window displays a message \PATHNAME\....\sh.exe File not found. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From cgf-idd@cygwin.com Tue Jul 22 15:41:00 2003 From: cgf-idd@cygwin.com (Christopher Faylor) Date: Tue, 22 Jul 2003 15:41:00 -0000 Subject: X server crashed when Netscape 4 & 7 visiting sites In-Reply-To: <200307221540.h6MFeG5T011673@morpheus.sns.ias.edu> References: <200307221540.h6MFeG5T011673@morpheus.sns.ias.edu> Message-ID: <20030722154143.GA17916@redhat.com> On Tue, Jul 22, 2003 at 03:40:16PM -0000, Joel Handler wrote: >I just downloaded the entire Cygwin package and am experimenting around with >it. I am running the cygwin X server and am ssh (tunneling X) to a linux >machine and running either Netscape 4 or 7. Both seem to crash the X server >(sometimes netscape crashes with a Bus Error, other times it just closes and >other times the entire X server crashes) when visiting certain pages (one >example is www.citrix.com). If I use a different X server (Hummingbird >Exceed) everything works fine. > >Any ideas or help would be greatly appreciated, Redirecting to correct mailing list. From vervoom@hotmail.com Tue Jul 22 19:47:00 2003 From: vervoom@hotmail.com (J S) Date: Tue, 22 Jul 2003 19:47:00 -0000 Subject: xfree86 cvs Message-ID: I'm still stuck on this. Can anyone help me please? I'm just trying to checkout and compile the XFIXES_BRANCH for XFree86 but getting an error about Xfixes.h missing. >Thanks, > >I have just done that but there's not Xfixes.h file in there. > >JS. > >> >>Can you make sure you did a: >> >>'cvs update -d -r XFIXES_BRANCH' in the xc dir? This will make sure that >>it >>is correctly up to date. >> >>Otherwise, there would be scope for problems. Let me know. >> >>Dan >> >>--- >> >>Hi, >> >>I got a bit further with this. I checked out the xc module and then >>checked >>out the XFIXES_BRANCH on top of that. When compiling I now get an error >>complaining about Xfixes.h missing: >> >>gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I. >>-I../../../../exports/include/X11 -I.. >>/../../../include/fonts -I../../../../programs/Xserver/fb >>-I../../../../programs/Xserver/ >>mi -I../../../../programs/Xserver/miext/shadow >>-I../../../../programs/Xserver/miext/layer >>-I../../../../programs/Xserver/include -I../../../../programs/Xserver/os >>-I../../../.. >>/include/extensions -I../../../../exports/include/X11 >>-I../../../../programs/Xserver/render -I. >>./../../../programs/Xserver/randr -I../../../.. >>-I../../../../exports/include -D__i386__ -DWIN32_ >>LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE >>-D_POSIX_C_SOURCE=199309L -D_BSD_SOURC >>E -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DSHAPE -DXINPUT -DXKB -DLBX >>-DXAPPGROUP -DXCSECURITY -DT >>OGCUP -DXF86BIGFONT -DXFIXES -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT >>-DPIXPRIV -DSINGLEDEPTH >>-DXvExtension -DXFree86Server -DXvMCExtension -DXResExtension >>-DX_BYTE_ORDER=X_LITTLE_ENDIAN -D >>NDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DAVOID_GLYPHBLT -DPIXPRIV >>-DSINGLEDEPTH >>-DXvExtension -DXF >>ree86Server -DXvMCExtension -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN >>-DDDXTIME -DFD_SETSIZ >>E=256 -DDDXOSINIT -DDDXOSVERRORF -DDDXOSFATALERROR -DHAS_MMAP >>-UXFree86LOADER -UXF86DRI - >>DPROJECTROOT="\"/usr/X11R6\"" winclipboardthread.c >>winclipboardthread.c:35:31: extensions/Xfixes.h: No such file or directory >>winclipboardthread.c: In function `winClipboardProc': >>winclipboardthread.c:361: warning: implicit declaration of function >>`XFixesQueryExtension' >>winclipboardthread.c:374: warning: implicit declaration of function >>`XFixesSelectSelectionInput' >>winclipboardthread.c:377: `XFixesSetSelectionOwnerNotifyMask' undeclared >>(first use in this function >>) >>winclipboardthread.c:377: (Each undeclared identifier is reported only >>once >>winclipboardthread.c:377: for each function it appears in.) >>make: *** [winclipboardthread.o] Error 1 >> >>Any ideas how I get that file please? >> >>-- >>Daniel J Blueman >> >>+++ GMX - Mail, Messaging & more http://www.gmx.net +++ >> >>Jetzt ein- oder umsteigen und USB-Speicheruhr als Pr??mie sichern! >> > >_________________________________________________________________ >Sign-up for a FREE BT Broadband connection today! >http://www.msn.co.uk/specials/btbroadband > _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger From narozhny@netscape.net Wed Jul 23 09:38:00 2003 From: narozhny@netscape.net (Boris Narozhny) Date: Wed, 23 Jul 2003 09:38:00 -0000 Subject: xfig-3.2.3d-cygwin-1.3 does not work after updating to cygwin 1.3.22-1 Message-ID: <3F1E5799.5040403@netscape.net> I have encountered the following problem: after updating to the latest cygwin distribution (cygwin 1.3.22-1 and XFree that comes with it) the xfig-3.2.3d-cygwin-1.3 stopped working - generates lots of error messages and then terminates. Is there an update for xfig I should be using or should I recompile it myself rather than using the precompiled binaries? At this time I can not even find a reference to xfig on cygwin.com. I use WinXP Pro, SP1. Any help will be appreciated, Boris. -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ From bozackt1@ridgecrest.ca.us Wed Jul 23 17:00:00 2003 From: bozackt1@ridgecrest.ca.us (Tom Bozack) Date: Wed, 23 Jul 2003 17:00:00 -0000 Subject: X server crashed when Netscape 4 & 7 visiting sites In-Reply-To: <20030722154143.GA17916@redhat.com> References: <200307221540.h6MFeG5T011673@morpheus.sns.ias.edu> <20030722154143.GA17916@redhat.com> Message-ID: <3F1EBDF1.1080100@ridgecrest.ca.us> This is probably a well know problem with the Flash plugin running on a remote X server. The problem has been around forever and no one seems willing to take it on. Whether the problem is Flash, XFree86, Netscape/Mozilla, or some combination seems unclear (at least to me). My impression (guess) was that the core problem is with Flash, but the fact that it brings down Netscape/Mozilla is a Netscape/Mozilla problem. The fact that the problem doesn't occur with Exceed suggests that at least part of the issue lies with XFree86. If you're using KDE, one workaround is to use Konqueror when visiting sites using Flash. Even though Flash doesn't work with Konqueror displayed on a remote X server either, at least it doesn't crash Konqueror or X (at least not for me). I just wish someone would fix this annoying problem. Tom Christopher Faylor wrote: > On Tue, Jul 22, 2003 at 03:40:16PM -0000, Joel Handler wrote: > >>I just downloaded the entire Cygwin package and am experimenting around with >>it. I am running the cygwin X server and am ssh (tunneling X) to a linux >>machine and running either Netscape 4 or 7. Both seem to crash the X server >>(sometimes netscape crashes with a Bus Error, other times it just closes and >>other times the entire X server crashes) when visiting certain pages (one >>example is www.citrix.com). If I use a different X server (Hummingbird >>Exceed) everything works fine. >> >>Any ideas or help would be greatly appreciated, > > > Redirecting to correct mailing list. > From pechtcha@cs.nyu.edu Wed Jul 23 17:52:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 23 Jul 2003 17:52:00 -0000 Subject: Cygwin installer failing in Windows 95b In-Reply-To: Message-ID: Stuart, Replies inline below. On Fri, 18 Jul 2003, Stuart Halliday wrote: > > > I placed the setup.exe and the packages folder containing the ftp > > > mirror files onto the C:\cyg folder of my Windows 95b machine. About > > > 73MB of files. > > > > [snip] > > > > > On this panel, it says in the title 'Select Local Package Directory'. > > > But the text in here says "Select a directory where you want setup to > > > store the installation files it downloads. The directory will be > > > created if it does not exist." > > > > Enter c:\cyg here. > > So how come entering c:\cyg\packages is wrong? Actually, "c:\cyg\packages" is right, if I understand your directory structure correctly. FWICS, you had c:\cyg\ \setup.exe \packages\ \ftp%3a%2f%2fcygwin.mirrors.pair.com\ \setup.ini \release\... > I've got my package at > > c:\cyg\packages\ftp%3a%2f%2fcygwin.mirrors.pair.com > > I tried c:\cyg > > But it still does NOT make a difference. If my diagram above is correct, "c:\cyg" will NOT work. > I've now tried this in a Windows 2000 sp4 machine and it is playing up too. > It only lists +All and within it +Misc. > > Sounds to me the Installer is broken. No, the installer works as advertized. You see, it gets the categories for the packages from setup.ini. Once you delete setup.ini, it places all packages in "Misc" (by default). > > It is a slight miss wording. For local installations this is the > > directory where the packages are. > > Any hope this is could be corrected? Well, this would involve making a dynamic dialog out of a static one. Not very high on the priority list, compared to, say, a resizeable chooser window, which is in active development right now. Patches are always thoughtfully considered, though (with being the proper place to submit them). As for your original problem, try restoring the setup.ini file (or letting setup.exe download it anew), and look at /var/log/setup.log.full and /var/log/setup.log after a failed install for any clues on what went wrong. If these files aren't present in /var/log, try looking for them in the directory you start setup.exe from ("c:\cyg" would be my guess). It also would help if you posted the exact message about the missing DLLs. BTW, the correct list for this discussion is (in part because most setup.exe developers don't read the cygwin-xfree list). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From pechtcha@cs.nyu.edu Wed Jul 23 18:04:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Wed, 23 Jul 2003 18:04:00 -0000 Subject: xfig-3.2.3d-cygwin-1.3 does not work after updating to cygwin 1.3.22-1 In-Reply-To: <3F1E5799.5040403@netscape.net> Message-ID: On Wed, 23 Jul 2003, Boris Narozhny wrote: > I have encountered the following problem: after updating to the > latest cygwin distribution (cygwin 1.3.22-1 and XFree that comes > with it) the xfig-3.2.3d-cygwin-1.3 stopped working - generates > lots of error messages and then terminates. Is there an update > for xfig I should be using or should I recompile it myself > rather than using the precompiled binaries? At this time I can > not even find a reference to xfig on cygwin.com. > > I use WinXP Pro, SP1. > > Any help will be appreciated, > Boris. Boris, xfig is (unfortunately) not an official Cygwin package, nor is it currently maintained. You should be able to compile it from source OOTB, though. If you succeed, you might consider packaging and maintaining it. I'm sure a package proposal on the list will be cheerfully supported. > latest cygwin distribution (cygwin 1.3.22-1 and XFree that comes > with it) FYI, the "cygwin" and "XFree-*" packages are mostly independent, so you should provide the exact versions of these packages. Also, a list of error messages would be helpful, on the off chance that this has to do with some changes in some XFree-* package. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From dave@palisadecove.net Thu Jul 24 13:23:00 2003 From: dave@palisadecove.net (Dave Ford) Date: Thu, 24 Jul 2003 13:23:00 -0000 Subject: Cannot start remote XDMCP session Message-ID: <002e01c351e6$d57999b0$01000001@Newoffice> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am trying to use Cygwin/XFree86 to log in vi XDMCP to a Linux server. I believe I have done my due diligence in searching through available documentation, as well as the archive for this list (though obviously I missed something...). Since I am still unable to solve my problem, I am posting to the group. Here are some relevant facts: - My Windows box is running Win2K. - I have the latest installation of Cygwin/XFree86, as of this writing. - My Linux server is running RedHat 7.2. - My LAN is 100 Mbit ethernet, with static IP addresses sitting behind a firewall. I believe I have kdm configured correctly on the Linux box. This is because I downloaded and installed a shareware X server (Xmanager), and I am able to get an XDMCP session when using that application. I have used various command switches when running XWin, but here is the latest: Xwin -ac -query DFLin72 -port 177 When I run the above command, I get a blank Xserver window with no login window. At that point, I am able to run an xterm from the Linux system and display it on XFree86 if I set the DISPLAY on Linux. Still no XDMCP login, though. When I run tcpdump and sniff udp port 177 on the Linux system, here is what I see: tcpdump: listening on eth0 09:14:33.954990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 7 09:14:34.004990 192.168.10.11.xdmcp > Newoffice.4837: udp 74 (DF) 09:14:35.034990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 74 09:14:35.034990 192.168.10.11.xdmcp > Newoffice.4837: udp 52 (DF) 09:14:35.034990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:14:37.044990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:14:41.044990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:14:49.054990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:15:05.054990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:15:37.064990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:16:09.074990 Newoffice.4837 > 192.168.10.11.xdmcp: udp 29 09:16:35.264990 192.168.10.11.xdmcp > Newoffice.4837: udp 79 (DF) Note that last message. Right when it showed up in tcpdump, the XFree86 server window vanished. Here are the contents of /etc/XWin.log at this point: ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1600 h 1200 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows NT/2000/XP winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - Allowing PrimaryDD winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 0000001f InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Using Shadow DirectDraw NonLocking winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel winCreateBoundingWindowWindowed - User w: 1600 h: 1200 winCreateBoundingWindowWindowed - Current w: 1600 h: 1200 winAdjustForAutoHide - Original WorkArea: 0 0 1172 1600 winAdjustForAutoHide - Adjusted WorkArea: 0 0 1172 1600 winCreateBoundingWindowWindowed - WindowClient w 1594 h 1147 r 1594 l 0 b 1147 t 0 winCreateBoundingWindowWindowed - Returning winCreatePrimarySurfaceShadowDDNL - Creating primary surface winCreatePrimarySurfaceShadowDDNL - Created primary surface winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface winAllocateFBShadowDDNL - lPitch: 3188 winAllocateFBShadowDDNL - Created shadow pitch: 3188 winAllocateFBShadowDDNL - Created shadow stride: 1594 winFinishScreenInitFB - Masks: 0000f800 000007e0 0000001f winInitVisualsShadowDDNL - Masks 0000f800 000007e0 0000001f BPRGB 6 d 16 bpp 16 winCreateDefColormap - Deferring to fbCreateDefColormap () winFinishScreenInitFB - returning winScreenInit - returning InitOutput - Returning. (EE) No primary keyboard configured (==) Using compiletime defaults for keyboard Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)" winPointerWarpCursor - Discarding first warp: 797 573 winBlockHandler - Releasing pmServerStarted winBlockHandler - pthread_mutex_unlock () returned Fatal server error: XDMCP fatal error: Session failed Session 311072015 failed for display 1.0.0.1:0: cannot open display Any ideas? I would sure like to get this working before the 30-day clock expires for Xmanager. Cheers, Dave dave@palisadecove.net -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPx/d4xpluRDogCZ/EQKGkgCeOBz0UXAmYYsEVVfmbKfGPN+XwAoAoLA7 C4vBW3g3ttBdmtnaNPbIFfsF =9BL4 -----END PGP SIGNATURE----- From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 24 13:41:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 24 Jul 2003 13:41:00 -0000 Subject: Cannot start remote XDMCP session In-Reply-To: <002e01c351e6$d57999b0$01000001@Newoffice> References: <002e01c351e6$d57999b0$01000001@Newoffice> Message-ID: Dave Ford wrote: > Xwin -ac -query DFLin72 -port 177 try Xwin -ac -query DFLin72 -port 177 -from localip bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From dave@palisadecove.net Thu Jul 24 13:49:00 2003 From: dave@palisadecove.net (Dave Ford) Date: Thu, 24 Jul 2003 13:49:00 -0000 Subject: Cannot start remote XDMCP session References: <002e01c351e6$d57999b0$01000001@Newoffice> Message-ID: <003f01c351ea$634550b0$01000001@Newoffice> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Holy mackerel, that worked like a charm. I didn't think I needed the '-from' option because my Win2k system has just one NIC/IP address. So, I didn't try it. Thanks, Alex. Cheers, Dave dave@palisadecove.net - ----- Original Message ----- From: "Alexander Gottwald" To: Sent: Thursday, July 24, 2003 9:40 AM Subject: Re: Cannot start remote XDMCP session > Dave Ford wrote: > > Xwin -ac -query DFLin72 -port 177 > > try > > Xwin -ac -query DFLin72 -port 177 -from localip > > bye > ago > -- > Alexander.Gottwald@informatik.tu-chemnitz.de > http://www.gotti.org ICQ: 126018723 > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use iQA/AwUBPx/j2hpluRDogCZ/EQJ6CACgulaEI8kAyU/K4ygguMZlXuF74zAAoN+z 9eryUGhwF5MufAfjRhpKlIt1 =/lG6 -----END PGP SIGNATURE----- From pechtcha@cs.nyu.edu Thu Jul 24 13:54:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Thu, 24 Jul 2003 13:54:00 -0000 Subject: Cannot start remote XDMCP session In-Reply-To: <003f01c351ea$634550b0$01000001@Newoffice> Message-ID: Dave, Every machine that's on the network has at least 2 IP addresses: the network one, and the loopback one (localhost, 127.0.0.1). Igor On Thu, 24 Jul 2003, Dave Ford wrote: > Holy mackerel, that worked like a charm. > > I didn't think I needed the '-from' option because my Win2k system has > just one NIC/IP address. So, I didn't try it. > > Thanks, Alex. > Cheers, > Dave > dave@palisadecove.net > > - ----- Original Message ----- > From: "Alexander Gottwald" > To: > Sent: Thursday, July 24, 2003 9:40 AM > Subject: Re: Cannot start remote XDMCP session > > > Dave Ford wrote: > > > Xwin -ac -query DFLin72 -port 177 > > > > try > > > > Xwin -ac -query DFLin72 -port 177 -from localip > > > > bye > > ago -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From cgf-idd@cygwin.com Thu Jul 24 15:19:00 2003 From: cgf-idd@cygwin.com (Christopher Faylor) Date: Thu, 24 Jul 2003 15:19:00 -0000 Subject: compiling xterm from cvs In-Reply-To: <950B6B3FADEC484C8D0AE17EEE55E1FA2E02F6@draco.analogic.com> References: <950B6B3FADEC484C8D0AE17EEE55E1FA2E02F6@draco.analogic.com> Message-ID: <20030724151945.GB32254@redhat.com> On Thu, Jul 24, 2003 at 11:16:53AM -0400, Hirsch, Matthew wrote: >Hi list > >I would like to compile xterm with debugging symbols to get a better idea of >how ptys can be used under Cygwin >(http://cygwin.com/ml/cygwin/2003-07/msg01270.html). > >I got the source from CVS as described on http://xfree86.cygwin.com/cvs.html We have a mailing list for XFree86 issues. Redirecting there. -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to aaaspam@sourceware.org and be permanently blocked from mailing lists at sources.redhat.com From MHirsch@analogic.com Thu Jul 24 16:23:00 2003 From: MHirsch@analogic.com (Hirsch, Matthew) Date: Thu, 24 Jul 2003 16:23:00 -0000 Subject: compiling xterm from cvs Message-ID: <950B6B3FADEC484C8D0AE17EEE55E1FA2E02F7@draco.analogic.com> This was originally posted on the general cygwin mailing list. I'm reposting it here. -----Original Message----- From: Hirsch, Matthew Sent: Thursday, July 24, 2003 11:17 AM To: 'cygwin@cygwin.com' Subject: compiling xterm from cvs Hi list I would like to compile xterm with debugging symbols to get a better idea of how ptys can be used under Cygwin (http://cygwin.com/ml/cygwin/2003-07/msg01270.html). I got the source from CVS as described on http://xfree86.cygwin.com/cvs.html The configure script, as described in the xc/programs/xterm/INSTALL file, runs without any errors. However, running make on the Makefile it generates, I get the following: gcc -I. -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -I. -DPROJECTROOT=/usr/X11R6 -DUTMP -DOSMAJORVERSION=1 -DOSMINORVERSION=3 -I/usr/X11R6/include -g -O2 -c ./button.c In file included from /usr/include/errno.h:6, from xterm.h:206, from button.c:62: /usr/include/sys/errno.h:23: conflicting types for `sys_errlist' /usr/X11R6/include/X11/Xos.h:126: previous declaration of `sys_errlist' In file included from /usr/X11R6/include/X11/Intrinsic.h:56, from /usr/X11R6/include/X11/IntrinsicP.h:53, from ptyx.h:69, from xterm.h:232, from button.c:62: /usr/X11R6/include/X11/Xlib.h:78: conflicting types for `wchar_t' /usr/lib/gcc-lib/i686-pc-cygwin/3.2/include/stddef.h:296: previous declaration of `wchar_t' make: *** [button.o] Error 1 I have the most recent "Curr" release from setup of all X11 and Base packages. Is there some incompatibility between X11 and standard headers in Cygwin? That doesn't seem very plausible. What is the correct way to go about this? Thanks in advance for any suggestions you can offer. Matt Hirsch From Cary.Jamison@powerquest.com Thu Jul 24 18:40:00 2003 From: Cary.Jamison@powerquest.com (Cary Jamison) Date: Thu, 24 Jul 2003 18:40:00 -0000 Subject: Cannot start remote XDMCP session Message-ID: "Igor Pechtchanski" wrote in message news:... > Dave, > > Every machine that's on the network has at least 2 IP addresses: the > network one, and the loopback one (localhost, 127.0.0.1). > Igor > Though that's true, it doesn't really explain why he needed -from, otherwise everyone would always need to put it (I don't). Perhaps he also had a dialup IP address. Cary From huntharo@msu.edu Thu Jul 24 22:32:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 24 Jul 2003 22:32:00 -0000 Subject: Build failure on current CVS Message-ID: <3F205E87.2030907@msu.edu> Looks like the CVS tree has stopped building recently. Anyone got any ideas? Harold rm -f x11trans.o gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../.. -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -I../../lib/xtrans -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6 -DX11_t -DTRANS_CLIENT -D_DLL x11trans.c In file included from x11trans.c:80: ../../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETGetAddr': ../../lib/xtrans/Xtranssock.c:305: storage size of `sockname' isn't known ../../lib/xtrans/Xtranssock.c:305: warning: unused variable `sockname' ../../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETGetPeerAddr': ../../lib/xtrans/Xtranssock.c:359: storage size of `sockname' isn't known ../../lib/xtrans/Xtranssock.c:359: warning: unused variable `sockname' ../../lib/xtrans/Xtranssock.c: At top level: ../../lib/xtrans/Xtranssock.c:1314: `MAXHOSTNAMELEN' undeclared here (not in a function) ../../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETConnect': ../../lib/xtrans/Xtranssock.c:1328: storage size of `hints' isn't known ../../lib/xtrans/Xtranssock.c:1329: `INET6_ADDRSTRLEN' undeclared (first use in this function) ../../lib/xtrans/Xtranssock.c:1329: (Each undeclared identifier is reported only once ../../lib/xtrans/Xtranssock.c:1329: for each function it appears in.) ../../lib/xtrans/Xtranssock.c:1382: warning: implicit declaration of function `freeaddrinfo' ../../lib/xtrans/Xtranssock.c:1399: warning: implicit declaration of function `getaddrinfo' ../../lib/xtrans/Xtranssock.c:1403: warning: implicit declaration of function `gai_strerror' ../../lib/xtrans/Xtranssock.c:1408: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1431: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1432: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1434: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1439: warning: implicit declaration of function `inet_ntop' ../../lib/xtrans/Xtranssock.c:1439: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1466: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1471: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1484: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1631: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1674: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1328: warning: unused variable `hints' ../../lib/xtrans/Xtranssock.c:1329: warning: unused variable `ntopbuf' In file included from x11trans.c:80: ../../lib/xtrans/Xtranssock.c: In function `UnixHostReallyLocal': ../../lib/xtrans/Xtranssock.c:1718: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1719: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1720: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1720: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1721: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1723: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1725: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1732: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1734: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1736: dereferencing pointer to incomplete type In file included from x11trans.c:85: ../../lib/xtrans/Xtrans.c: In function `_X11TransParseAddress': ../../lib/xtrans/Xtrans.c:328: warning: implicit declaration of function `inet_pton' In file included from x11trans.c:86: ../../lib/xtrans/Xtransutil.c: In function `_X11TransConvertAddress': ../../lib/xtrans/Xtransutil.c:142: warning: implicit declaration of function `IN6_IS_ADDR_LOOPBACK' ../../lib/xtrans/Xtransutil.c:146: warning: implicit declaration of function `IN6_IS_ADDR_V4MAPPED' make[4]: *** [x11trans.o] Error 1 make[4]: Leaving directory `/home/harold/x-devel/build/std/lib/X11' From earle@ziplabel.com Thu Jul 24 22:44:00 2003 From: earle@ziplabel.com (Earle F. Philhower, III) Date: Thu, 24 Jul 2003 22:44:00 -0000 Subject: Build failure on current CVS Message-ID: <20030724224542.CB1B11C8C6@mail03.powweb.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From huntharo@msu.edu Thu Jul 24 22:58:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 24 Jul 2003 22:58:00 -0000 Subject: Build failure on current CVS In-Reply-To: <20030724224542.CB1B11C8C6@mail03.powweb.com> References: <20030724224542.CB1B11C8C6@mail03.powweb.com> Message-ID: <3F20648D.6020606@msu.edu> I am building the CVS tree from anoncvs.xfree86.org, not the branch that we have on sourceforge. The errors certainly look like they could be caused by some messing around to get IP V6 working... maybe we should just wait for it to settle down. Harold Earle F. Philhower, III wrote: > Hi Harold, > > Just last night I did a complete "rm -rf xc; cvs co xc" on the cygwin-xfree > CVS tree and a make World at the xc level, and it seemed to be fine and ended > with a working XWin.exe. Could you have a locally modified file somewhere? > Or are we talking about different CVSes, I have been reading the tribulations > of the xfree86 team and their getting X11 with IPV6 running under Linux... > > I know you were doing work with something called XFIXES.H or something, no? > > > ---------- Original Message ------------- > Subject: Build failure on current CVS > Date: Thu, 24 Jul 2003 18:32:39 -0400 > From: Harold L Hunt II > To: cygwin-xfree@cygwin.com > > > Looks like the CVS tree has stopped building recently. > > Anyone got any ideas? > > > Harold > > > > rm -f x11trans.o > gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../.. > -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE > -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L > -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 > -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DHAS_SNPRINTF > -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -I../../lib/xtrans -DTCPCONN > -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6 -DX11_t > -DTRANS_CLIENT -D_DLL x11trans.c > In file included from x11trans.c:80: > ./../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETGetAddr': > ./../lib/xtrans/Xtranssock.c:305: storage size of `sockname' isn't known > ./../lib/xtrans/Xtranssock.c:305: warning: unused variable `sockname' > ./../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETGetPeerAddr': > ./../lib/xtrans/Xtranssock.c:359: storage size of `sockname' isn't known > ./../lib/xtrans/Xtranssock.c:359: warning: unused variable `sockname' > ./../lib/xtrans/Xtranssock.c: At top level: > ./../lib/xtrans/Xtranssock.c:1314: `MAXHOSTNAMELEN' undeclared here > (not in a function) > ./../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETConnect': > ./../lib/xtrans/Xtranssock.c:1328: storage size of `hints' isn't known > ./../lib/xtrans/Xtranssock.c:1329: `INET6_ADDRSTRLEN' undeclared (first > use in this function) > ./../lib/xtrans/Xtranssock.c:1329: (Each undeclared identifier is > reported only once > ./../lib/xtrans/Xtranssock.c:1329: for each function it appears in.) > ./../lib/xtrans/Xtranssock.c:1382: warning: implicit declaration of > function `freeaddrinfo' > ./../lib/xtrans/Xtranssock.c:1399: warning: implicit declaration of > function `getaddrinfo' > ./../lib/xtrans/Xtranssock.c:1403: warning: implicit declaration of > function `gai_strerror' > ./../lib/xtrans/Xtranssock.c:1408: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1431: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1432: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1434: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1439: warning: implicit declaration of > function `inet_ntop' > ./../lib/xtrans/Xtranssock.c:1439: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1466: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1471: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1484: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1631: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1674: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1328: warning: unused variable `hints' > ./../lib/xtrans/Xtranssock.c:1329: warning: unused variable `ntopbuf' > In file included from x11trans.c:80: > ./../lib/xtrans/Xtranssock.c: In function `UnixHostReallyLocal': > ./../lib/xtrans/Xtranssock.c:1718: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1719: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1720: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1720: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1721: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1723: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1725: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1732: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1734: dereferencing pointer to incomplete type > ./../lib/xtrans/Xtranssock.c:1736: dereferencing pointer to incomplete type > In file included from x11trans.c:85: > ./../lib/xtrans/Xtrans.c: In function `_X11TransParseAddress': > ./../lib/xtrans/Xtrans.c:328: warning: implicit declaration of function > `inet_pton' > In file included from x11trans.c:86: > ./../lib/xtrans/Xtransutil.c: In function `_X11TransConvertAddress': > ./../lib/xtrans/Xtransutil.c:142: warning: implicit declaration of > function `IN6_IS_ADDR_LOOPBACK' > ./../lib/xtrans/Xtransutil.c:146: warning: implicit declaration of > function `IN6_IS_ADDR_V4MAPPED' > make[4]: *** [x11trans.o] Error 1 > make[4]: Leaving directory `/home/harold/x-devel/build/std/lib/X11' > > From earle@ziplabel.com Fri Jul 25 00:44:00 2003 From: earle@ziplabel.com (Earle F. Philhower III) Date: Fri, 25 Jul 2003 00:44:00 -0000 Subject: Build failure on current CVS In-Reply-To: <3F20648D.6020606@msu.edu> References: <20030724224542.CB1B11C8C6@mail03.powweb.com> <20030724224542.CB1B11C8C6@mail03.powweb.com> Message-ID: <5.1.1.6.2.20030724173847.00ae0d80@mail.ziplabel.com> Howdy Harold, At 06:58 PM 7/24/2003 -0400, you wrote: >I am building the CVS tree from anoncvs.xfree86.org, not the branch >that we have on sourceforge. The errors certainly look like they could >be caused by some messing around to get IP V6 working... maybe we should >just wait for it to settle down. Shouldn't they be #ifdef'ing all things like this? I'm sure cygwin is not the only xfree86 architecture that doesn't have IPV6 headers... Also, just to make sure, if I wanted to start doing some hacks on the XWin server I should still be using the xoncygwin cvs, right? -Earle F. Philhower, III earle@ziplabel.com cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com From huntharo@msu.edu Fri Jul 25 02:20:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 02:20:00 -0000 Subject: Build failure on current CVS In-Reply-To: <5.1.1.6.2.20030724173847.00ae0d80@mail.ziplabel.com> References: <20030724224542.CB1B11C8C6@mail03.powweb.com> <20030724224542.CB1B11C8C6@mail03.powweb.com> <5.1.1.6.2.20030724173847.00ae0d80@mail.ziplabel.com> Message-ID: <3F2093FC.50001@msu.edu> Earle, Earle F. Philhower III wrote: > Howdy Harold, > > At 06:58 PM 7/24/2003 -0400, you wrote: > >> I am building the CVS tree from anoncvs.xfree86.org, not the branch >> that we have on sourceforge. The errors certainly look like they >> could be caused by some messing around to get IP V6 working... maybe >> we should just wait for it to settle down. > > > Shouldn't they be #ifdef'ing all things like this? I'm sure cygwin is > not the > only xfree86 architecture that doesn't have IPV6 headers... > Yes, in theory they would be, but people make mistakes when doing things that they don't realize will affect all platforms. So, the burden basically falls to us to make sure that their changes still build on our platform. > Also, just to make sure, if I wanted to start doing some hacks on the XWin > server I should still be using the xoncygwin cvs, right? > Yes, you should be doing development on xoncygwin. Harold From huntharo@msu.edu Fri Jul 25 02:31:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 02:31:00 -0000 Subject: Build failure on current CVS In-Reply-To: <5.1.1.6.2.20030724173847.00ae0d80@mail.ziplabel.com> References: <20030724224542.CB1B11C8C6@mail03.powweb.com> <20030724224542.CB1B11C8C6@mail03.powweb.com> <5.1.1.6.2.20030724173847.00ae0d80@mail.ziplabel.com> Message-ID: <3F209682.6090306@msu.edu> Earle, Earle F. Philhower III wrote: > Shouldn't they be #ifdef'ing all things like this? I'm sure cygwin is > not the > only xfree86 architecture that doesn't have IPV6 headers... > The first error shows up on line 305: 304 #if defined(IPv6) && defined(AF_INET6) 305 struct sockaddr_storage sockname; 306 #else 307 struct sockaddr_in sockname; 308 #endif So, IPv6 and AF_INET6 are being defined for our platform when they should not be defined. I will try to track this down, but I can't promise anything. Harold From huntharo@msu.edu Fri Jul 25 02:35:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 02:35:00 -0000 Subject: Build failure on current CVS In-Reply-To: <3F209682.6090306@msu.edu> References: <20030724224542.CB1B11C8C6@mail03.powweb.com> <20030724224542.CB1B11C8C6@mail03.powweb.com> <5.1.1.6.2.20030724173847.00ae0d80@mail.ziplabel.com> <3F209682.6090306@msu.edu> Message-ID: <3F209765.7020907@msu.edu> Here it is: xc/config/cf/X11.tmpl, line 737: /* * NOTE: IPv6Flags could be tacked on to either ConnectionFlags or * ExtraConnectionDefs. Here, we choose the later in order to * maximise exposure of the IPv6 code (a number of .def files * contain ConnectionFlags overrides). Mind you, this might not * the right thing to do when HasStreams is asserted. */ #ifndef BuildIPv6 /* If the OS also #define's AF_INET6 */ #define BuildIPv6 YES #endif Looks like we need to add: #define BuildIPv6 NO to our cygwin.cf. That is, I am simply going to disable this until someone with a working IPv6 setup can work on this and verify that it works properly. Harold Harold L Hunt II wrote: > Earle, > > Earle F. Philhower III wrote: > >> Shouldn't they be #ifdef'ing all things like this? I'm sure cygwin is >> not the >> only xfree86 architecture that doesn't have IPV6 headers... >> > > The first error shows up on line 305: > > 304 #if defined(IPv6) && defined(AF_INET6) > 305 struct sockaddr_storage sockname; > 306 #else > 307 struct sockaddr_in sockname; > 308 #endif > > So, IPv6 and AF_INET6 are being defined for our platform when they > should not be defined. I will try to track this down, but I can't > promise anything. > > Harold From sandos@home.se Fri Jul 25 07:48:00 2003 From: sandos@home.se (=?iso-8859-1?Q?John_B=E4ckstrand?=) Date: Fri, 25 Jul 2003 07:48:00 -0000 Subject: Hang when connecting with XFree86 Message-ID: <000501c35281$46c01c80$024d210a@sandos> I get this when connecting to my debian machine. I can login, and I see the KDE start-screen and it initializing mouse etc, but when it comes to window managers, it hangs. I dont know how to further debug this. The server Im connecting to is 4.2.1-6, and cygwin is at latest as of today. Do I need to keep the versions more synched? (gdb) r Starting program: /usr/X11R6/bin/xwin.exe -query 10.33.77.1 Program received signal SIGSEGV, Segmentation fault. 0x004ccb68 in inflate_mask () (gdb) bt #0 0x004ccb68 in inflate_mask () #1 0x104b62a0 in ?? () #2 0x00408022 in inflate_mask () #3 0x0040179a in inflate_mask () #4 0x61007408 in cygwin1!__assert () from /usr/bin/cygwin1.dll #5 0x610076ed in dll_crt0@0 () from /usr/bin/cygwin1.dll #6 0x006ffc42 in inflate_mask () #7 0x0040103c in inflate_mask () #8 0x7c4e87f5 in KERNEL32!DosDateTimeToFileTime () from /cygdrive/c/WINNT/system32/KERNEL32.DLL (gdb) --- John B??ckstrand From alexander.gottwald@s1999.tu-chemnitz.de Fri Jul 25 08:21:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 25 Jul 2003 08:21:00 -0000 Subject: Build failure on current CVS In-Reply-To: <3F205E87.2030907@msu.edu> References: <3F205E87.2030907@msu.edu> Message-ID: On Thu, 24 Jul 2003, Harold L Hunt II wrote: > Looks like the CVS tree has stopped building recently. > > Anyone got any ideas? > > > Harold > > > > rm -f x11trans.o > gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../.. > -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE > -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L > -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 > -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DHAS_SNPRINTF > -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -I../../lib/xtrans -DTCPCONN > -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6 -DX11_t ^^^^^^ Somehow they believe that cygwin supports IPv6. bye ago From huntharo@msu.edu Fri Jul 25 15:13:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 15:13:00 -0000 Subject: Hang when connecting with XFree86 In-Reply-To: <000501c35281$46c01c80$024d210a@sandos> References: <000501c35281$46c01c80$024d210a@sandos> Message-ID: <3F214919.6050909@msu.edu> John, Please ensure me that you have only a single copy of cygwin1.dll on your system. For more information, see: http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-status-access-violation You don't need to worry about the version of XFree86 on your Debian box being compatible with your Cygwin/XFree86 version... the protocol hasn't changed in years so all releases should be perfectly compatible between machines. FYI, I have a Debian, unstable, box as well that I frequently log in to from my Cygwin/XFree86 system. There are occasional troubles that can be solved by moving .kde* and some other settings directories out of the way in your home directory. Other times, like just recently, they replace the kdmrc file so you have to go back in and reenable XMDCP. Often times a simple restart of your system will be enough to get things working again, as one of the update scripts may not have properly restarted every service related to XFree86. Hope that helps, Harold John B??ckstrand wrote: > I get this when connecting to my debian machine. I can > login, and I see the KDE start-screen and it > initializing mouse etc, but when it comes to window > managers, it hangs. I dont know how to further debug > this. The server Im connecting to is 4.2.1-6, and > cygwin is at latest as of today. Do I need to keep the > versions more synched? > > (gdb) r > Starting program: /usr/X11R6/bin/xwin.exe -query > 10.33.77.1 > > Program received signal SIGSEGV, Segmentation fault. > 0x004ccb68 in inflate_mask () > (gdb) bt > #0 0x004ccb68 in inflate_mask () > #1 0x104b62a0 in ?? () > #2 0x00408022 in inflate_mask () > #3 0x0040179a in inflate_mask () > #4 0x61007408 in cygwin1!__assert () from > /usr/bin/cygwin1.dll > #5 0x610076ed in dll_crt0@0 () from > /usr/bin/cygwin1.dll > #6 0x006ffc42 in inflate_mask () > #7 0x0040103c in inflate_mask () > #8 0x7c4e87f5 in KERNEL32!DosDateTimeToFileTime () > from /cygdrive/c/WINNT/system32/KERNEL32.DLL > (gdb) > > > --- > John B??ckstrand From huntharo@msu.edu Fri Jul 25 15:17:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 15:17:00 -0000 Subject: Disable IPv6 on Cygwin Message-ID: <3F2149F6.6080406@msu.edu> Patch is attached that does exactly what the subject says. IPv6 is not currently supported on Cygwin. Harold -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cygwin.cf-20030725-1115.diff URL: From tsi@ualberta.ca Fri Jul 25 15:25:00 2003 From: tsi@ualberta.ca (Marc Aurele La France) Date: Fri, 25 Jul 2003 15:25:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on Cygwin In-Reply-To: <3F2149F6.6080406@msu.edu> Message-ID: On Fri, 25 Jul 2003, Harold L Hunt II wrote: > Patch is attached that does exactly what the subject says. > IPv6 is not currently supported on Cygwin. So Cygwin #define's AF_INET6? Otherwise, this patch is not needed. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: tsi@ualberta.ca | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. From huntharo@msu.edu Fri Jul 25 15:34:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 15:34:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on Cygwin In-Reply-To: References: Message-ID: <3F214DFD.5090600@msu.edu> Marc Aurele La France wrote: > On Fri, 25 Jul 2003, Harold L Hunt II wrote: > > >>Patch is attached that does exactly what the subject says. > > >>IPv6 is not currently supported on Cygwin. > > > So Cygwin #define's AF_INET6? Otherwise, this patch is not needed. > socket.h in Cygwin has a #define for AF_INET6, even though that support doesn't seem to have landed, and/or I have no way of working on it to fix the build failures and actually verify that it works. So, until then it needs to be disabled so that our tree will actually build again. Harold rm -f x11trans.o gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith -I../.. -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -DXUSE_MTSAFE_API -DHAS_SNPRINTF -DLIBX11 -DPOSTLOCALELIBDIR=\"lib\" -I../../lib/xtrans -DTCPCONN -DUNIXCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6 -DX11_t -DTRANS_CLIENT -D_DLL x11trans.c In file included from x11trans.c:80: ../../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETGetAddr': ../../lib/xtrans/Xtranssock.c:305: storage size of `sockname' isn't known ../../lib/xtrans/Xtranssock.c:305: warning: unused variable `sockname' ../../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETGetPeerAddr': ../../lib/xtrans/Xtranssock.c:359: storage size of `sockname' isn't known ../../lib/xtrans/Xtranssock.c:359: warning: unused variable `sockname' ../../lib/xtrans/Xtranssock.c: At top level: ../../lib/xtrans/Xtranssock.c:1314: `MAXHOSTNAMELEN' undeclared here (not in a function) ../../lib/xtrans/Xtranssock.c: In function `_X11TransSocketINETConnect': ../../lib/xtrans/Xtranssock.c:1328: storage size of `hints' isn't known ../../lib/xtrans/Xtranssock.c:1329: `INET6_ADDRSTRLEN' undeclared (first use in this function) ../../lib/xtrans/Xtranssock.c:1329: (Each undeclared identifier is reported only once ../../lib/xtrans/Xtranssock.c:1329: for each function it appears in.) ../../lib/xtrans/Xtranssock.c:1382: warning: implicit declaration of function `freeaddrinfo' ../../lib/xtrans/Xtranssock.c:1399: warning: implicit declaration of function `getaddrinfo' ../../lib/xtrans/Xtranssock.c:1403: warning: implicit declaration of function `gai_strerror' ../../lib/xtrans/Xtranssock.c:1408: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1431: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1432: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1434: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1439: warning: implicit declaration of function `inet_ntop' ../../lib/xtrans/Xtranssock.c:1439: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1466: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1471: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1484: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1631: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1674: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1328: warning: unused variable `hints' ../../lib/xtrans/Xtranssock.c:1329: warning: unused variable `ntopbuf' In file included from x11trans.c:80: ../../lib/xtrans/Xtranssock.c: In function `UnixHostReallyLocal': ../../lib/xtrans/Xtranssock.c:1718: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1719: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1720: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1720: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1721: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1723: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1725: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1732: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1734: dereferencing pointer to incomplete type ../../lib/xtrans/Xtranssock.c:1736: dereferencing pointer to incomplete type In file included from x11trans.c:85: ../../lib/xtrans/Xtrans.c: In function `_X11TransParseAddress': ../../lib/xtrans/Xtrans.c:328: warning: implicit declaration of function `inet_pton' In file included from x11trans.c:86: ../../lib/xtrans/Xtransutil.c: In function `_X11TransConvertAddress': ../../lib/xtrans/Xtransutil.c:142: warning: implicit declaration of function `IN6_IS_ADDR_LOOPBACK' ../../lib/xtrans/Xtransutil.c:146: warning: implicit declaration of function `IN6_IS_ADDR_V4MAPPED' make[4]: *** [x11trans.o] Error 1 make[4]: Leaving directory `/home/harold/x-devel/build/std/lib/X11' From alexander.gottwald@s1999.tu-chemnitz.de Fri Jul 25 15:36:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Fri, 25 Jul 2003 15:36:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on Cygwin In-Reply-To: References: Message-ID: On Fri, 25 Jul 2003, Marc Aurele La France wrote: > > IPv6 is not currently supported on Cygwin. > > So Cygwin #define's AF_INET6? Otherwise, this patch is not needed. yes. /usr/include/cygwin/socket.h: #define AF_INET6 23 /* IP version 6 */ bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From tsi@ualberta.ca Fri Jul 25 15:42:00 2003 From: tsi@ualberta.ca (Marc Aurele La France) Date: Fri, 25 Jul 2003 15:42:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on Cygwin In-Reply-To: <3F214DFD.5090600@msu.edu> Message-ID: On Fri, 25 Jul 2003, Harold L Hunt II wrote: > >>Patch is attached that does exactly what the subject says. > >>IPv6 is not currently supported on Cygwin. > > So Cygwin #define's AF_INET6? Otherwise, this patch is not needed. > socket.h in Cygwin has a #define for AF_INET6, even though that support > doesn't seem to have landed, and/or I have no way of working on it to > fix the build failures and actually verify that it works. So, until > then it needs to be disabled so that our tree will actually build again. OK. Thanks. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: tsi@ualberta.ca | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. From tsi@ualberta.ca Fri Jul 25 15:49:00 2003 From: tsi@ualberta.ca (Marc Aurele La France) Date: Fri, 25 Jul 2003 15:49:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on Cygwin In-Reply-To: <3F2149F6.6080406@msu.edu> Message-ID: On Fri, 25 Jul 2003, Harold L Hunt II wrote: > Patch is attached that does exactly what the subject says. > IPv6 is not currently supported on Cygwin. Done. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: tsi@ualberta.ca | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. From holokin@sisna.com Fri Jul 25 17:51:00 2003 From: holokin@sisna.com (Gary Nicholson) Date: Fri, 25 Jul 2003 17:51:00 -0000 Subject: Compiling Lesstif on Cygwin In-Reply-To: Message-ID: <000201c352d5$61e81fe0$0100a8c0@AMD> Brian, Thanks for taking time to reply to my email about Compiling Lesstif on Cygwin. Thanks for referring me to the cygwin-xfree mailing list. I've tried quite a few things since I posted the email you answered. I reinstalled the lesstif version you recommended and verified the compiler string you suggested is what I use. Having done those things, I get the following error: undefined reference to '_XtVaAppInitialize' Do you know what's happening? Gary Here is the program (the first motif program in the O'Reilly book): #include #include main(argc, argv) char *argv[]; { Widget toplevel, button; XtAppContext app; void i_was_pushed(); XmString label; toplevel = XtVaAppInitialize(&app, "Hello", NULL, 0, &argc, argv, NULL, NULL); label = XmStringCreateSimple("Push here to say hello"); button = XtVaCreateManagedWidget("pushme", xmPushButtonWidgetClass, toplevel, XmNlabelString, label, NULL); XmStringFree(label); XtAddCallback(button, XmNactivateCallback, i_was_pushed, NULL); XtRealizeWidget(toplevel); XtAppMainLoop(app); } void i_was_pushed(w, client_data, cbs) Widget w; XtPointer client_data; XmPushButtonCallbackStruct *cbs; { printf("Hello Yourself!\n"); } The compiler string: gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ -lXm -lXt -lX11 hello.c -o hello -----Original Message----- From: Brian Ford [mailto:ford@vss.fsi.com] Sent: Thursday, July 24, 2003 5:33 PM To: Gary Nicholson Cc: lesstif@lesstif.org Subject: Re: Compiling Lesstif on Cygwin On Sun, 20 Jul 2003, Gary Nicholson wrote: >I've installed Cygwin on Windows XP. The X Server starts and runs with >no errors. > >I installed lesstif-cygwin-0.93.8. > lesstif-0.93.41-1 is the "supported" package available via the normal Cygwin setup installer at www.cygwin.com. Please use it. On Mon, 21 Jul 2003, Gary Nicholson wrote: >I am going to move the header files back to their >original location and keep exploring how to set the >include path for g++. > This is basic C compiler stuff. Add -I/usr/X11R6/include to the compile line and -L/usr/X11R6/lib to the link line. These sort of questions are probably better suited for cygwin-xfree@cygwin.com. Cygwin's reluctant lesstif maintainer. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 From pechtcha@cs.nyu.edu Fri Jul 25 18:03:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Fri, 25 Jul 2003 18:03:00 -0000 Subject: Compiling Lesstif on Cygwin In-Reply-To: <000201c352d5$61e81fe0$0100a8c0@AMD> Message-ID: Gary, > The compiler string: > > gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ > -lXm -lXt -lX11 hello.c -o hello The above is a classic C beginner's mistake: the libraries go to the *end* of the compile command, i.e., try gcc -I/usr/X11R6/include -L/usr/X11R6/lib hello.c -o hello -lXm -lXt -lX11 Hope this helps, Igor On Fri, 25 Jul 2003, Gary Nicholson wrote: > Brian, > > Thanks for taking time to reply to my email about > Compiling Lesstif on Cygwin. Thanks for referring me > to the cygwin-xfree mailing list. > > I've tried quite a few things since I posted the email > you answered. > > I reinstalled the lesstif version you recommended and > verified the compiler string you suggested is what I use. > > Having done those things, I get the following error: > > undefined reference to '_XtVaAppInitialize' > > Do you know what's happening? > > Gary > > Here is the program (the first motif program in the O'Reilly book): > > #include > #include > > main(argc, argv) > char *argv[]; > { > Widget toplevel, button; > XtAppContext app; > void i_was_pushed(); > XmString label; > > toplevel = XtVaAppInitialize(&app, "Hello", NULL, 0, > &argc, argv, NULL, NULL); > > label = XmStringCreateSimple("Push here to say hello"); > button = XtVaCreateManagedWidget("pushme", > xmPushButtonWidgetClass, toplevel, > XmNlabelString, label, > NULL); > XmStringFree(label); > XtAddCallback(button, XmNactivateCallback, i_was_pushed, NULL); > > XtRealizeWidget(toplevel); > XtAppMainLoop(app); > } > > void > i_was_pushed(w, client_data, cbs) > Widget w; > XtPointer client_data; > XmPushButtonCallbackStruct *cbs; > { > printf("Hello Yourself!\n"); > } > > The compiler string: > > gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ > -lXm -lXt -lX11 hello.c -o hello > > -----Original Message----- > From: Brian Ford [mailto:ford@vss.fsi.com] > Sent: Thursday, July 24, 2003 5:33 PM > To: Gary Nicholson > Cc: lesstif@lesstif.org > Subject: Re: Compiling Lesstif on Cygwin > > On Sun, 20 Jul 2003, Gary Nicholson wrote: > > >I've installed Cygwin on Windows XP. The X Server starts and runs with > >no errors. > > > >I installed lesstif-cygwin-0.93.8. > > > lesstif-0.93.41-1 is the "supported" package available via the normal > Cygwin setup installer at www.cygwin.com. Please use it. > > On Mon, 21 Jul 2003, Gary Nicholson wrote: > > >I am going to move the header files back to their > >original location and keep exploring how to set the > >include path for g++. > > > > This is basic C compiler stuff. Add -I/usr/X11R6/include to the > compile line and -L/usr/X11R6/lib to the link line. > > These sort of questions are probably better suited for > cygwin-xfree@cygwin.com. > > Cygwin's reluctant lesstif maintainer. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From cgf-idd@cygwin.com Fri Jul 25 18:10:00 2003 From: cgf-idd@cygwin.com (Christopher Faylor) Date: Fri, 25 Jul 2003 18:10:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on cygwin In-Reply-To: References: Message-ID: <20030725181036.GA23460@redhat.com> On Fri, Jul 25, 2003 at 05:35:57PM +0200, Alexander Gottwald wrote: >On Fri, 25 Jul 2003, Marc Aurele La France wrote: > >> > IPv6 is not currently supported on Cygwin. >> >> So Cygwin #define's AF_INET6? Otherwise, this patch is not needed. > >yes. /usr/include/cygwin/socket.h: > >#define AF_INET6 23 /* IP version 6 */ I've if 0'ed that line for the next cygwin release, coming soon to a mirror near you. -- Please use the resources at cygwin.com rather than sending personal email. Special for spam email harvesters: send email to aaaspam@sourceware.org and be permanently blocked from mailing lists at sources.redhat.com From ford@vss.fsi.com Fri Jul 25 22:38:00 2003 From: ford@vss.fsi.com (Brian Ford) Date: Fri, 25 Jul 2003 22:38:00 -0000 Subject: Compiling Lesstif on Cygwin In-Reply-To: <000201c352d5$61e81fe0$0100a8c0@AMD> References: <000201c352d5$61e81fe0$0100a8c0@AMD> Message-ID: On Fri, 25 Jul 2003, Gary Nicholson wrote: > Having done those things, I get the following error: > > undefined reference to '_XtVaAppInitialize' > > Do you know what's happening? > That reference should have been resolved by -lXt. > The compiler string: > > gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ > -lXm -lXt -lX11 hello.c -o hello > I tried this myself and got different errors like: /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x37cd):Shell.c: undefined reference to `_IceConnectionNumber' and /usr/X11R6/lib/libXt.a(Shell.o)(.text+0x3536):Shell.c: undefined reference to `_SmcCloseConnection' Try: gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ -lXm -lXt -lX11 -lSM -lICE hello.c -o hello That should work. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 From huntharo@msu.edu Fri Jul 25 22:38:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Fri, 25 Jul 2003 22:38:00 -0000 Subject: (patch seq: 5714) Disable IPv6 on cygwin In-Reply-To: <20030725181036.GA23460@redhat.com> References: <20030725181036.GA23460@redhat.com> Message-ID: <3F217FAD.1030202@msu.edu> Chris, Christopher Faylor wrote: >>#define AF_INET6 23 /* IP version 6 */ > > > I've if 0'ed that line for the next cygwin release, coming soon to > a mirror near you. Thanks for the heads-up. I will leave in the disabling of IPv6 until I hear that it is finished and stable in Cygwin. Harold From holokin@sisna.com Fri Jul 25 22:44:00 2003 From: holokin@sisna.com (Gary Nicholson) Date: Fri, 25 Jul 2003 22:44:00 -0000 Subject: Compiling Lesstif on Cygwin In-Reply-To: Message-ID: <000001c352f9$63706330$0100a8c0@AMD> Igor, Yes, this is very good. Moving the libraries to the end helps. I find that I also have to add two additional libraries: -lSM and -lICE Is this to be expected? When I add the libraries, I get a successful compile and the application runs. I am very pleased. It's my first *tif application. Thank you. Gary -----Original Message----- From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] Sent: Friday, July 25, 2003 12:03 PM To: cygwin-xfree@cygwin.com; holokine@holokine.com Subject: RE: Compiling Lesstif on Cygwin Gary, > The compiler string: > > gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ > -lXm -lXt -lX11 hello.c -o hello The above is a classic C beginner's mistake: the libraries go to the *end* of the compile command, i.e., try gcc -I/usr/X11R6/include -L/usr/X11R6/lib hello.c -o hello -lXm -lXt -lX11 Hope this helps, Igor On Fri, 25 Jul 2003, Gary Nicholson wrote: > Brian, > > Thanks for taking time to reply to my email about > Compiling Lesstif on Cygwin. Thanks for referring me > to the cygwin-xfree mailing list. > > I've tried quite a few things since I posted the email > you answered. > > I reinstalled the lesstif version you recommended and > verified the compiler string you suggested is what I use. > > Having done those things, I get the following error: > > undefined reference to '_XtVaAppInitialize' > > Do you know what's happening? > > Gary > > Here is the program (the first motif program in the O'Reilly book): > > #include > #include > > main(argc, argv) > char *argv[]; > { > Widget toplevel, button; > XtAppContext app; > void i_was_pushed(); > XmString label; > > toplevel = XtVaAppInitialize(&app, "Hello", NULL, 0, > &argc, argv, NULL, NULL); > > label = XmStringCreateSimple("Push here to say hello"); > button = XtVaCreateManagedWidget("pushme", > xmPushButtonWidgetClass, toplevel, > XmNlabelString, label, > NULL); > XmStringFree(label); > XtAddCallback(button, XmNactivateCallback, i_was_pushed, NULL); > > XtRealizeWidget(toplevel); > XtAppMainLoop(app); > } > > void > i_was_pushed(w, client_data, cbs) > Widget w; > XtPointer client_data; > XmPushButtonCallbackStruct *cbs; > { > printf("Hello Yourself!\n"); > } > > The compiler string: > > gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ > -lXm -lXt -lX11 hello.c -o hello > > -----Original Message----- > From: Brian Ford [mailto:ford@vss.fsi.com] > Sent: Thursday, July 24, 2003 5:33 PM > To: Gary Nicholson > Cc: lesstif@lesstif.org > Subject: Re: Compiling Lesstif on Cygwin > > On Sun, 20 Jul 2003, Gary Nicholson wrote: > > >I've installed Cygwin on Windows XP. The X Server starts and runs with > >no errors. > > > >I installed lesstif-cygwin-0.93.8. > > > lesstif-0.93.41-1 is the "supported" package available via the normal > Cygwin setup installer at www.cygwin.com. Please use it. > > On Mon, 21 Jul 2003, Gary Nicholson wrote: > > >I am going to move the header files back to their > >original location and keep exploring how to set the > >include path for g++. > > > > This is basic C compiler stuff. Add -I/usr/X11R6/include to the > compile line and -L/usr/X11R6/lib to the link line. > > These sort of questions are probably better suited for > cygwin-xfree@cygwin.com. > > Cygwin's reluctant lesstif maintainer. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From huntharo@msu.edu Sat Jul 26 03:26:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 26 Jul 2003 03:26:00 -0000 Subject: Patch for wincutpaste.c build failure Message-ID: <3F21F4C3.6000607@msu.edu> Patch applies to xc/programs/Xserver/hw/xwin directory. Adds regionstr.h to wincutpaste.c above miscstruct.h, which now depends upon the former header. Has no effect on other platforms. Harold -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: xwin-20030725-1341.diff URL: From andrew.markebo@comhem.se Sat Jul 26 20:21:00 2003 From: andrew.markebo@comhem.se (Andrew Markebo) Date: Sat, 26 Jul 2003 20:21:00 -0000 Subject: Compiling Lesstif on Cygwin In-Reply-To: <000001c352f9$63706330$0100a8c0@AMD> (Gary Nicholson's message of "Fri, 25 Jul 2003 16:09:13 -0600") References: <000001c352f9$63706330$0100a8c0@AMD> Message-ID: / "Gary Nicholson" wrote: | Igor, | | Yes, this is very good. Moving the libraries to the end helps. | | I find that I also have to add two additional libraries: | | -lSM and -lICE | | Is this to be expected? yes :-) | | When I add the libraries, I get a successful compile and the | application runs. Enjoy :-) | | I am very pleased. It's my first *tif application. | | Thank you. | | Gary | | -----Original Message----- | From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] | Sent: Friday, July 25, 2003 12:03 PM | To: cygwin-xfree@cygwin.com; holokine@holokine.com | Subject: RE: Compiling Lesstif on Cygwin | | Gary, | |> The compiler string: |> |> gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ |> -lXm -lXt -lX11 hello.c -o hello | | The above is a classic C beginner's mistake: the libraries go to the | *end* | of the compile command, i.e., try | | gcc -I/usr/X11R6/include -L/usr/X11R6/lib hello.c -o hello -lXm -lXt | -lX11 | | Hope this helps, | Igor | | On Fri, 25 Jul 2003, Gary Nicholson wrote: | |> Brian, |> |> Thanks for taking time to reply to my email about |> Compiling Lesstif on Cygwin. Thanks for referring me |> to the cygwin-xfree mailing list. |> |> I've tried quite a few things since I posted the email |> you answered. |> |> I reinstalled the lesstif version you recommended and |> verified the compiler string you suggested is what I use. |> |> Having done those things, I get the following error: |> |> undefined reference to '_XtVaAppInitialize' |> |> Do you know what's happening? |> |> Gary |> |> Here is the program (the first motif program in the O'Reilly book): |> |> #include |> #include |> |> main(argc, argv) |> char *argv[]; |> { |> Widget toplevel, button; |> XtAppContext app; |> void i_was_pushed(); |> XmString label; |> |> toplevel = XtVaAppInitialize(&app, "Hello", NULL, 0, |> &argc, argv, NULL, NULL); |> |> label = XmStringCreateSimple("Push here to say hello"); |> button = XtVaCreateManagedWidget("pushme", |> xmPushButtonWidgetClass, toplevel, |> XmNlabelString, label, |> NULL); |> XmStringFree(label); |> XtAddCallback(button, XmNactivateCallback, i_was_pushed, NULL); |> |> XtRealizeWidget(toplevel); |> XtAppMainLoop(app); |> } |> |> void |> i_was_pushed(w, client_data, cbs) |> Widget w; |> XtPointer client_data; |> XmPushButtonCallbackStruct *cbs; |> { |> printf("Hello Yourself!\n"); |> } |> |> The compiler string: |> |> gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ |> -lXm -lXt -lX11 hello.c -o hello |> |> -----Original Message----- |> From: Brian Ford [mailto:ford@vss.fsi.com] |> Sent: Thursday, July 24, 2003 5:33 PM |> To: Gary Nicholson |> Cc: lesstif@lesstif.org |> Subject: Re: Compiling Lesstif on Cygwin |> |> On Sun, 20 Jul 2003, Gary Nicholson wrote: |> |> >I've installed Cygwin on Windows XP. The X Server starts and runs | with |> >no errors. |> > |> >I installed lesstif-cygwin-0.93.8. |> > |> lesstif-0.93.41-1 is the "supported" package available via the normal |> Cygwin setup installer at www.cygwin.com. Please use it. |> |> On Mon, 21 Jul 2003, Gary Nicholson wrote: |> |> >I am going to move the header files back to their |> >original location and keep exploring how to set the |> >include path for g++. |> > |> |> This is basic C compiler stuff. Add -I/usr/X11R6/include to the |> compile line and -L/usr/X11R6/lib to the link line. |> |> These sort of questions are probably better suited for |> cygwin-xfree@cygwin.com. |> |> Cygwin's reluctant lesstif maintainer. | | -- | http://cs.nyu.edu/~pechtcha/ | |\ _,,,---,,_ pechtcha@cs.nyu.edu | ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com | |,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 | | | | | -- Your fault -- core dumped Please note, new email, @telia.com -> @comhem.se From andrew.markebo@comhem.se Sat Jul 26 20:25:00 2003 From: andrew.markebo@comhem.se (Andrew Markebo) Date: Sat, 26 Jul 2003 20:25:00 -0000 Subject: Compiling Lesstif on Cygwin In-Reply-To: <000001c352f9$63706330$0100a8c0@AMD> (Gary Nicholson's message of "Fri, 25 Jul 2003 16:09:13 -0600") References: <000001c352f9$63706330$0100a8c0@AMD> Message-ID: Argh! Sorry for the small reply on this subject, I meant just to throw a private reply to the author, but this group is the only one who puts a Reply-to header, and I always forget.. /Andy -- The parser of the compiler rests on the code! Please note, new email, @telia.com -> @comhem.se From Paul_Loewenstein@SoftHome.net Sat Jul 26 22:13:00 2003 From: Paul_Loewenstein@SoftHome.net (Paul Loewenstein) Date: Sat, 26 Jul 2003 22:13:00 -0000 Subject: cygwin-xfree Message-ID: <3F22FD6B.3060904@SoftHome.net> I am suffering repeated xwin.exe crashes due to "BadWindow" (see attached /tmp/XWin.log). I am running Windows 2000. I am also running Dragon NaturallySpeaking 6.1, which I suspect has something to do with increasing the likelihood of applications receiving bad window handles. Is there any way of having xwin.exe recovering from this error rather than crashing? WRQ Reflection-X 9.0.1, which for various reasons I would like to retire, runs robustly in the same environment. Paul -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: XWin.log URL: From rodmedina@cantv.net Sat Jul 26 22:18:00 2003 From: rodmedina@cantv.net (Rodrigo Medina) Date: Sat, 26 Jul 2003 22:18:00 -0000 Subject: xfig-3.2.3d-cygwin-1.3 does not work after updating to cygwin 1.3.22-1 Message-ID: <40870-22003762622186589@cantv.net> Hello, Boris Narozhny, wrote: >I have encountered the following problem: after updating to the >latest cygwin distribution (cygwin 1.3.22-1 and XFree that comes >with it) the xfig-3.2.3d-cygwin-1.3 stopped working - generates >lots of error messages and then terminates. Is there an update >for xfig I should be using or should I recompile it myself >rather than using the precompiled binaries? At this time I can >not even find a reference to xfig on cygwin.com. I have recently compiled xfig-3.2.4 with cygwin 1.3.22-1 and the XFree86 that was current on 2003/03/18. It works fine. There where some problems compiling (I am consulting my notes): a)There were some functions duplicated in libraries XAW3D and Xt. I solved the problem using Xaw instead of XAW3D. (Was not XAW3D supposed to be a replacement for XAW !?). b) There were some problems (I don't remember what) with the automatic installation of libraries and docs. I had to install them directly. I have to comment, that a similar failure happend to me with XDVIK-22.40.9 , that started giving Segmentation Fault after upgrading to cygwin 1.3.22-1. I hope that these comments could be useful. Rodigo Medina rmedina@ivic.ve From huntharo@msu.edu Sat Jul 26 22:43:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 26 Jul 2003 22:43:00 -0000 Subject: Updated Contributor's Guide Message-ID: <3F230407.9060202@msu.edu> http://xfree86.cygwin.com/docs/cg/ People have been asking for a list of packages that are required for building Cygwin/XFree86. You will now find a, hopefully complete, list of the additional packages that must be selected at: http://xfree86.cygwin.com/docs/cg/prog-build-native.html#prog-compiling Additionally, I have changed the instructions for bootstrapping the 'lndir' utility; I removed the step that used 'sed' to change the CC variable from 'cc' to 'gcc'. Instead, you now run the following command: make -f Makefile.ini CC=gcc CDEBUGFLAGS=-O2 lndir That is cleaner than it was previously, not that it really matters though :) Harold From huntharo@msu.edu Sat Jul 26 23:06:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Sat, 26 Jul 2003 23:06:00 -0000 Subject: Updated Contributor's Guide In-Reply-To: <3F230407.9060202@msu.edu> References: <3F230407.9060202@msu.edu> Message-ID: <3F230982.6040008@msu.edu> Oh yeah, and I just updated the documentation development page and posted the new documentation source code: http://xfree86.cygwin.com/devel/documentation/ Harold Harold L Hunt II wrote: > http://xfree86.cygwin.com/docs/cg/ > > People have been asking for a list of packages that are required for > building Cygwin/XFree86. You will now find a, hopefully complete, list > of the additional packages that must be selected at: > > http://xfree86.cygwin.com/docs/cg/prog-build-native.html#prog-compiling > > > Additionally, I have changed the instructions for bootstrapping the > 'lndir' utility; I removed the step that used 'sed' to change the CC > variable from 'cc' to 'gcc'. Instead, you now run the following command: > > make -f Makefile.ini CC=gcc CDEBUGFLAGS=-O2 lndir > > > That is cleaner than it was previously, not that it really matters > though :) > > > Harold From aktifyapi@superonline.com Sun Jul 27 03:37:00 2003 From: aktifyapi@superonline.com (sistem organizasyon) Date: Sun, 27 Jul 2003 03:37:00 -0000 Subject: ÇAMYUVA'da ev sahibi olmak artýk zor deðil.... Message-ID: (Say?n ilgili size g?nderilen bu mail spam de?ildir.Mail almak istemiyorsan?z l?tfen aktifyapi@superonline.com adresine remove yaz?l? bo? bir mail g?nderiniz) ?mraniye-?amyuva Konutlar? Aktif Yap? g?vencesiyle ?stanbul'un ?nemli merkezlerinden ?mraniye Dudullu'da kurulmu?tur. B?y?k al??veri? merkezlerine (Carrefour-Sa Vega,MODOKO) e?itim kurulu?lar?,?nemli yerle?im alanlar?,E5 ve TEM E6 otoyollar? yan?ba??n?zda www.camyuvakonutlari.com 36 aya kadar TL sabit taksit ?demeler.. Dilerseniz OYAKBANK konut kredisi ile 10 milyar TL kredi i?in 454 milyon sabit taksitle 60 ay vade ya da 10.000 $ kredi i?in 170 $ sabit taksitle 60 ay vade imkan?.. KONUTLARIN T?M? KAT M?LK?YETL? M?STAK?L TAPULUDUR. 5.500 m2 site alan?nda 3 blok..Bloklar 7 normal kat ve dublex katlardan olu?uyor.. 1500 m2 ?ocuk bah?esi,site ?zel g?venli?i,kapal? otopark Bah?e kat? 87 m2(2+1)daireler, Bah?e dubleksi daireler,210 m2 Normal daireler 122 m2(3+1) ?at?-dubleks daireler 250 m2 (4+1) www.camyuvakonutlari.com Haftan?n 7 g?n? ?rnek dairelerimizi gezebilirsiniz.. ?AMYUVA KONUTLARI/?mraniye-istanbul AKT?F YAPI-PROJE-?N?AAT Ba?dat Caddesi 140/B K???kyal?/?stanbul tel.0216 489 83 04 pbx bilgi@camyuvakonutlari.com www.camyuvakonutlari.com From thors_hammer123@yahoo.com Sun Jul 27 05:33:00 2003 From: thors_hammer123@yahoo.com (thors_hammer123) Date: Sun, 27 Jul 2003 05:33:00 -0000 Subject: How to set Cygwin X to display remote host X apps Message-ID: <20030727053322.45778.qmail@web12306.mail.yahoo.com> I am trying to setup my X on Cygwin to display the X apps running on a remote host. I set up the DISPLAY to my address, but the remote host says that it cannot open the Cygwin display. How can I do this? Anthony __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From FRANZW@dk.ibm.com Sun Jul 27 14:40:00 2003 From: FRANZW@dk.ibm.com (Franz Wolfhagen) Date: Sun, 27 Jul 2003 14:40:00 -0000 Subject: How to set Cygwin X to display remote host X apps Message-ID: xhost + Med venlig hilsen / Regards Franz Wolfhagen From huntharo@msu.edu Sun Jul 27 18:00:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Sun, 27 Jul 2003 18:00:00 -0000 Subject: xfree cvs In-Reply-To: References: Message-ID: <3F241348.7080205@msu.edu> JS, Sorry, the both the HEAD branch and the XFIXES_BRANCH branch were screwed up until just now. I was working on committing the XFIXES_BRANCH right before my wedding and I appear to have committed half of the changes on HEAD and the other half in XFIXES_BRANCH. I went back today and removed these changes from HEAD and applied them to XFIXES_BRANCH. You should now be able to build both HEAD and XFIXES_BRANCH from the xoncygwin project on SourceForge. Harold J S wrote: > Hi Dan, > > I retried downloading from the cvs and issued the command you gave me > below but still I get the following problem doing 'make World': > > + mkdir -p ../../exports/lib/locale/zh_HK.big5hkscs > + mkdir -p ../../exports/lib/locale/zh_TW > + mkdir -p ../../exports/lib/locale/zh_TW.big5 > + mkdir -p ../../exports/lib/locale/zh_TW.UTF-8 > + mkdir -p ../../exports/lib/locale/el_GR.UTF-8 > utils.c: In function `set_font_authorizations': > utils.c:1139: warning: assignment discards qualifiers from pointer > target type > xf86bigfont.c: In function `ProcXF86BigfontQueryVersion': > xf86bigfont.c:335: warning: implicit declaration of function `geteuid' > xf86bigfont.c:336: warning: implicit declaration of function `getegid' > glxscreens.c:99: warning: `CountBits' defined but not used > winclipboardthread.c:35:31: extensions/Xfixes.h: No such file or directory > winclipboardthread.c: In function `winClipboardProc': > winclipboardthread.c:361: warning: implicit declaration of function > `XFixesQueryExtension' > winclipboardthread.c:374: warning: implicit declaration of function > `XFixesSelectSelectionInput' > winclipboardthread.c:377: `XFixesSetSelectionOwnerNotifyMask' undeclared > (first use in this function > ) > winclipboardthread.c:377: (Each undeclared identifier is reported only once > winclipboardthread.c:377: for each function it appears in.) > make[5]: *** [winclipboardthread.o] Error 1 > winclipboardxevents.c:35:31: extensions/Xfixes.h: No such file or directory > winclipboardxevents.c: In function `winClipboardFlushXEvents': > winclipboardxevents.c:67: `XFixesSelectionNotifyEvent' undeclared (first > use in this function) > winclipboardxevents.c:67: (Each undeclared identifier is reported only once > winclipboardxevents.c:67: for each function it appears in.) > winclipboardxevents.c:67: `peventSelectionNotify' undeclared (first use > in this function) > winclipboardxevents.c:768: `XFixesSelectionNotify' undeclared (first use > in this function) > winclipboardxevents.c:772: parse error before ')' token > make[5]: *** [winclipboardxevents.o] Error 1 > make[5]: Target `all' not remade because of errors. > make[4]: *** [hw/xwin] Error 2 > make[4]: Target `all' not remade because of errors. > macro "in" not recognized -- ignoring > make[3]: *** [all] Error 2 > make[2]: *** [all] Error 2 > make[1]: *** [World] Error 2 > make: *** [World] Error 2 > > > Can you make sure you did a: > > 'cvs update -d -r XFIXES_BRANCH' in the xc dir? This will make sure that it > is correctly up to date. > > Otherwise, there would be scope for problems. Let me know. > > Dan > > _________________________________________________________________ > Use MSN Messenger to send music and pics to your friends > http://www.msn.co.uk/messenger From nwourms@myrealbox.com Sun Jul 27 22:50:00 2003 From: nwourms@myrealbox.com (Nicholas Wourms) Date: Sun, 27 Jul 2003 22:50:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. Message-ID: Hi Harold, It's been awhile... Anyhow, I've been working on a few packages which use libtool, and thus the reason behind my request. It turns out, using the new libtool, that one has to go to extreme lengths just to get libXt to link in, since the new libtool balks at linking true static archives into shared libraries on Cygwin. As you know, X11's libs are very fussy over link order, thus there exists no simple way of getting the job done (i.e Automake refuses to allow -Wl flags in _la_LIBADD). I've managed to resolve my issue locally by passing "-Wl,-L/usr/X11R6/lib -Wl,-lXt -Wl,-lSM -Wl,-lICE -Wl,-lX11 -Wl,--exclude-libs,libXt.a" to my projects' _la_LDFLAGS, but this is obviously a kludge. There are many reasons why this is suboptimal, but the number one reason is that there is no way to transmit this information to projects linking against the library. Any linkee will need to know that -lXt should linked in (I'll admit most projects are on the ball and already have -lXt in their build, but not all). Another reason being that it reduces code bloat, which may or may not lead to better performance. However, the primary reason for not building libXt shared is moot and has been for several months now. Compiling with the latest stable binutils & cygwin dll will allow an effortless building of libXt.dll. If you doubt me, then `cd /usr/X11R6/lib` and do this: gcc -shared -o ../libXt.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,libXt.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive libXt.a -Wl, --no-whole-archive libSM.a libICE.a libX11.a It works like a charm. As we speak, I'm compiling a shared lesstif using libtool-1.5 and a shared libXt. After minor adjustments of the Makefiles to account for cygwin's no undefined in shlibs issue, it seems to be working fine. I really can't see any downside to doing this, since going from static-only -> shared breaks nothing (even if it does, then it does so because of badness of the broken package's build). This may seem on the outside like a 4.3.0 type of change, but it really doesn't seem all that harmful. So, hopefully you might consider this in one of your updated test series? Thanks in advance for your consideration. Cheers, Nicholas From huntharo@msu.edu Mon Jul 28 05:12:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 28 Jul 2003 05:12:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: References: Message-ID: <3F24B095.6030707@msu.edu> Nicholas, I really don't know what to do here. Perhaps some others know what to do and whether or not this is a good idea. Would it be easier to update to 4.3.0? Have we already made Xt a shared lib in 4.3.0? On a side note, has anyone been seeing signs of when 4.4.0 is going to be released? I noticed that they just tagged 4.3.99.9, so maybe it would be better to wait an release 4.4.0 when it is ready instead. Any thoughts? Harold Nicholas Wourms wrote: > Hi Harold, > > It's been awhile... Anyhow, I've been working on a few packages which > use libtool, and thus the reason behind my request. It turns out, using > the new libtool, that one has to go to extreme lengths just to get libXt > to link in, since the new libtool balks at linking true static archives > into shared libraries on Cygwin. As you know, X11's libs are very fussy > over link order, thus there exists no simple way of getting the job done > (i.e Automake refuses to allow -Wl flags in _la_LIBADD). I've managed > to resolve my issue locally by passing "-Wl,-L/usr/X11R6/lib -Wl,-lXt > -Wl,-lSM -Wl,-lICE -Wl,-lX11 -Wl,--exclude-libs,libXt.a" to my projects' > _la_LDFLAGS, but this is obviously a kludge. There are many reasons why > this is suboptimal, but the number one reason is that there is no way to > transmit this information to projects linking against the library. Any > linkee will need to know that -lXt should linked in (I'll admit most > projects are on the ball and already have -lXt in their build, but not > all). Another reason being that it reduces code bloat, which may or may > not lead to better performance. However, the primary reason for not > building libXt shared is moot and has been for several months now. > Compiling with the latest stable binutils & cygwin dll will allow an > effortless building of libXt.dll. If you doubt me, then `cd > /usr/X11R6/lib` and do this: > > gcc -shared -o ../libXt.dll -Wl,--image-base=0x10000000 > -Wl,--out-implib,libXt.dll.a -Wl,--export-all-symbols > -Wl,--enable-auto-import -Wl,--whole-archive libXt.a -Wl, > --no-whole-archive libSM.a libICE.a libX11.a > > It works like a charm. As we speak, I'm compiling a shared lesstif > using libtool-1.5 and a shared libXt. After minor adjustments of the > Makefiles to account for cygwin's no undefined in shlibs issue, it seems > to be working fine. > > I really can't see any downside to doing this, since going from > static-only -> shared breaks nothing (even if it does, then it does so > because of badness of the broken package's build). This may seem on the > outside like a 4.3.0 type of change, but it really doesn't seem all that > harmful. > > So, hopefully you might consider this in one of your updated test > series? Thanks in advance for your consideration. > > Cheers, > Nicholas > From whinterplattner@techsoft.at Mon Jul 28 09:07:00 2003 From: whinterplattner@techsoft.at (Hinterplattner Wolfgang) Date: Mon, 28 Jul 2003 09:07:00 -0000 Subject: Question about the cpio-command Message-ID: <903324033B897344AAADC7F4270C91F4259C5D@ex2000.tsrand.com> I have a scsi-tapedrive on my local machine. How can I read from the tapedrive or write to the tapedrive with the cpio-command? In HP-UX I have the device-file for my tape-drive ( for exaple: /dev/rmt/0m ) How can I access the tape-drive in cyqwin? Wolfgang Hinterplattner=20 Wolfgang Hinterplattner Fa. Techsoft-Rand Technologies GmbH Neubauzeile 113? A-4034 Linz Tel.:? 0043 (0)732/378900-0 Fax : 0043 (0)732/378900-99 E-Mail :? whinterplattner@techsoft.at Internet : www.techsoft.at From alexander.gottwald@s1999.tu-chemnitz.de Mon Jul 28 09:38:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 28 Jul 2003 09:38:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: <3F24B095.6030707@msu.edu> References: <3F24B095.6030707@msu.edu> Message-ID: On Mon, 28 Jul 2003, Harold L Hunt II wrote: > Nicholas, > > I really don't know what to do here. Perhaps some others know what to > do and whether or not this is a good idea. > > Would it be easier to update to 4.3.0? Have we already made Xt a shared > lib in 4.3.0? I've supplied some patches that enable building of a shared libXt. We've postponed the switch to the shared library since it required new binutils and some other new packages. Maybe these packages are now wide spread and we can release the shared version. (Including a change to cygwin 1.5.0, versioned dll names, IPC?) bye ago BTW: there are some design problems with the shared library. There is a function XtInherit which is used as a kind of NULL value. void XtInherit(void) {}; struct Str { void (*func)(void); }; Str x; x.func = XtInherit; And on some places they test if x.func is set: if (x.func != XtInherit) { ... } This test is also done in other shared libraries. On linux (and most unices) there is no problem with this. But on windows the symbol XtInherit in the other library points to the import table and is different to the pointer stored in the struct. The comparisation will not work. I've created a work around where I store a fixed value instead of the pointer to XtInherit. But this will cause a segfault if somehow someone tries to call x.func(). bye ago From Vince.Hoffman@uk.circle.com Mon Jul 28 09:41:00 2003 From: Vince.Hoffman@uk.circle.com (Vince Hoffman) Date: Mon, 28 Jul 2003 09:41:00 -0000 Subject: Question about the cpio-command Message-ID: <3500515B75D9D311948800508BA37955014BDDFE@EX-LONDON> wrong list realy (you want cygwin@cygwin.com for non X questions.) however the (scsi) tape dev on cygwin is /dev/st0 or /dev/nst0 (no rewind version) the /dev dir is virtual but ls /dev/st0 will show it is there. > -----Original Message----- > From: Hinterplattner Wolfgang [mailto:whinterplattner@techsoft.at] > Sent: 28 July 2003 10:07 > To: cygwin-xfree@cygwin.com > Subject: Question about the cpio-command > > > I have a scsi-tapedrive on my local machine. > How can I read from the tapedrive or write to the tapedrive > with the cpio-command? > In HP-UX I have the device-file for my tape-drive ( for > exaple: /dev/rmt/0m ) > How can I access the tape-drive in cyqwin? > > Wolfgang Hinterplattner=20 > > Wolfgang Hinterplattner > Fa. Techsoft-Rand Technologies GmbH > Neubauzeile 113? A-4034 Linz > Tel.:? 0043 (0)732/378900-0 > Fax : 0043 (0)732/378900-99 > E-Mail :? whinterplattner@techsoft.at > Internet : www.techsoft.at > From alexander.gottwald@s1999.tu-chemnitz.de Mon Jul 28 09:41:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 28 Jul 2003 09:41:00 -0000 Subject: Question about the cpio-command In-Reply-To: <903324033B897344AAADC7F4270C91F4259C5D@ex2000.tsrand.com> References: <903324033B897344AAADC7F4270C91F4259C5D@ex2000.tsrand.com> Message-ID: On Mon, 28 Jul 2003, Hinterplattner Wolfgang wrote: > I have a scsi-tapedrive on my local machine. > How can I read from the tapedrive or write to the tapedrive with the cpio-command? > In HP-UX I have the device-file for my tape-drive ( for exaple: /dev/rmt/0m ) > How can I access the tape-drive in cyqwin? wrong mailing list. I've redirected it to cygwin@cygwin.com bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Ralf.Habacker@freenet.de Mon Jul 28 11:46:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Mon, 28 Jul 2003 11:46:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: Message-ID: <001401c354fd$ef2cde20$0a1c440a@BRAMSCHE> ago > > BTW: there are some design problems with the shared library. > > This test is also done in other shared libraries. On linux (and most unices) > there is no problem with this. But on windows the symbol XtInherit in the > other library points to the import table and is different to the pointer > stored in the struct. The comparisation will not work. Do you have really tried this ? On the assembly level every reference of the above symbol uses the same symbolname, which is the address of the stub coming from the libxxx.dll.a or any other import library (or build internally by ld in case of using the direct-to-dll-linking feature see info ld ->machine depended->Win32). I have build a real working example with a symbol of libX11, which seems to be the same #include void _Xwcsncmp(void); typedef struct { void (*func)(void); } Str ; Str x = { 0}; /*And on some places they test if x.func is set: */ main() { if (x.func != _Xwcsncmp) printf("test failed\n"); else printf("test passed\n"); x.func = _Xwcsncmp; if (x.func != _Xwcsncmp) printf("test failed\n"); else printf("test passed\n"); } $ gcc test.c -save-temps -lX11 -L/usr/X11R6/lib $ ./a.exe test failed test passed Cheers Ralf From alexander.gottwald@s1999.tu-chemnitz.de Mon Jul 28 13:28:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 28 Jul 2003 13:28:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: <001401c354fd$ef2cde20$0a1c440a@BRAMSCHE> References: <001401c354fd$ef2cde20$0a1c440a@BRAMSCHE> Message-ID: On Mon, 28 Jul 2003, Ralf Habacker wrote: > Do you have really tried this ? yes. > On the assembly level every reference of the above symbol uses the same > symbolname, which is the address of the stub coming from the libxxx.dll.a or any > other import library (or build internally by ld in case of using the > direct-to-dll-linking feature see info ld ->machine depended->Win32). for libXt it uses the direct address. For every other library using the libXt.dll it uses the address from the stub. example: -----test.h---------------- typedef void (*func)(void); extern void f(void); extern int test(func f); extern int test1(void); extern int test2(void); -----test1.c---------------- #include "test.h" void f(void) { return; } int test(func f2) { return f == f2; } int test1(void) { return test(f); } ----test2.c------------- #include "test.h" #include "stdio.h" int test2(void) { return test(f); } int main() { printf("test1: %d\n", test1()); printf("test2: %d\n", test2()); } ---------------------- cygwin: gcc test1.c -shared -o test1.dll gcc test2.c test1.dll -o test2.exe ./test2 test1: 1 test2: 0 linux: gcc test1.c -shared -o test1.so gcc test2.c test1.so -o test2.exe ./test2 test1: 1 test2: 1 bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From rodmedina@cantv.net Mon Jul 28 13:34:00 2003 From: rodmedina@cantv.net (Rodrigo Medina) Date: Mon, 28 Jul 2003 13:34:00 -0000 Subject: No huge packets, please! Message-ID: <184670-22003712813343150@cantv.net> Hello! First of all I want to congratulate all you people that have made possible CYGWIN+XFREE. I think that the whole is already a mature, wonderful product. In particular the new multiwindow feature of XWin is really cool. I have a petition to make: Have a little bit of mercy with us poor guys that have slow internet connections! For example at home I have a connection that most of the time is below 1kb/s, with such a speed to download XFree86-fnts (16.3Mb) takes at least 5 hours (but it can take much more). During such a long time the chances of losing a dialup connection are very high. What can you do? a) avoid making huge packets (say more than 8-10 Mb). I am sure that most huge packets, that are composed of many directories, can be splitted in some sensible way; or b) implement some way of downloading the packets with ftp, so one can use wget or similar programs capable of partial downloading; or c) make the cygwin setup program capable of partial downloading. Thanks in advance Rodrigo Medina rmedina@ivic.ve From nwourms@myrealbox.com Mon Jul 28 13:55:00 2003 From: nwourms@myrealbox.com (Nicholas Wourms) Date: Mon, 28 Jul 2003 13:55:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: <3F24B095.6030707@msu.edu> References: <3F24B095.6030707@msu.edu> Message-ID: <3F252A7A.3080202@myrealbox.com> Harold L Hunt II wrote: > Nicholas, > > I really don't know what to do here. Perhaps some others know what to > do and whether or not this is a good idea. > > Would it be easier to update to 4.3.0? Have we already made Xt a shared > lib in 4.3.0? > > On a side note, has anyone been seeing signs of when 4.4.0 is going to > be released? I noticed that they just tagged 4.3.99.9, so maybe it > would be better to wait an release 4.4.0 when it is ready instead. > > Any thoughts? Hi Harold, Thanks for sharing your thoughts on this. Alexander makes an excellent argument for something I did not entirely considier, a broken import table. So your proposal to move to 4.3+ sounds like a plan to me. Perhaps a strictly "testing" release of 4.3.99.9 might be in order? If what you say is true, it is highly doubtful that they would be making serious incompatible interface changes so late in the game. Something I forgot to mention was the whole problem with makedpend which, for lack of vision, insists on hardcoding the system include paths (which screws people who have a different version of gcc from the one used to compile X). If anything, this needs to be configurable in a global config file or during runtime it should call the compiler to learn the proper include paths. I was planning on filing a bug report for this, if it hadn't already been fixed upstream. Cheers, Nicholas From admin@ecurrencyexchange.com Mon Jul 28 14:10:00 2003 From: admin@ecurrencyexchange.com (Administrator) Date: Mon, 28 Jul 2003 14:10:00 -0000 Subject: I think You all might be interested.. Message-ID: <20030713360.9242.qmail@ecurrencyexchange.com> -- http://iwgip.com/cgi-bin/index.cgi?r=444444 -- Interweb Gold Investment Program is a short term, high yield investment private program, backed up by FOREX and NASDAQ trading, and investing in various funds and global market activities. Profits from these investments are used to enhance our program and increase its stability for the short term and long term. IwGIP offers you the opportunity to earn a daily COMPOUNDED interest rate of 1% on all funds deposited by all of our members. This program is an investment opportunity. NOT A GAME. Our system is FULLY automated, including deposits and withdrawals. The returns are all generated from actual investments. The money you invest is re-invested in both domestic and offshore high yield opportunities. No market fluctuations, no ups and downs of the market and no losses. -- http://iwgip.com/cgi-bin/index.cgi?r=444444 -- As a private company, we decided to share a part of our profits to our members, which gives you the opportunity of making a significant benefit on your investment. We work principally on the FOREX exchange where we have been trading for many years. With our experience in the high yield investment industry, we can guarantee ourselves an average daily profit of 4% to 6% which gives us a safe protection in case of hard times. This program is not a game, it is an investment. The returns are all generated from real-life investments. The money you invest is re-invested on your behalf and it is your invested money that will bring you the larger returns. IwGIP gives you referral commission if you refer us to other people. We give you 10% referral fee for each spend made to our account. -- http://iwgip.com/cgi-bin/index.cgi?r=444444 -- From pechtcha@cs.nyu.edu Mon Jul 28 15:47:00 2003 From: pechtcha@cs.nyu.edu (Igor Pechtchanski) Date: Mon, 28 Jul 2003 15:47:00 -0000 Subject: No huge packets, please! In-Reply-To: <184670-22003712813343150@cantv.net> Message-ID: Rodrigo, On Mon, 28 Jul 2003, Rodrigo Medina wrote: > Hello! > > First of all I want to congratulate all you people that have made > possible CYGWIN+XFREE. I think that the whole is already a mature, > wonderful product. In particular the new multiwindow feature of XWin > is really cool. FYI, most of this message (except, possibly, the above) should have been sent only to the main cygwin list. Please remove cygwin-xfree from further discussion (that list munges the Reply-To: header, so you'll have to do this manually). > I have a petition to make: Have a little bit of mercy with us poor > guys that have slow internet connections! For example at home I have > a connection that most of the time is below 1kb/s, with such a speed > to download XFree86-fnts (16.3Mb) takes at least 5 hours (but it can > take much more). During such a long time the chances of losing a dialup > connection are very high. What can you do? > a) avoid making huge packets (say more than 8-10 Mb). I am sure that > most huge packets, that are composed of many directories, can be > splitted in some sensible way; or > b) implement some way of downloading the packets with ftp, so one can > use wget or similar programs capable of partial downloading; or > c) make the cygwin setup program capable of partial downloading. > > Thanks in advance > Rodrigo Medina Well, c) is on the setup TODO list (PTC[*] and, for the most part, PGA[*]). b) is already there -- all of the packages are available through ftp mirrors (see ). You should be able to use wget to download the packages directly into the setup cache directory, and then install from there. You might also find Michael Chase's clean_setup script useful (it's in the archives). a) is unlikely -- the packages are maintained on a volunteer basis, so it's up to individual maintainers, but I know that splitting packages happens very rarely and mostly due the interface changes, rather than size considerations. Igor [*] -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,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 From maxb@ukf.net Mon Jul 28 16:56:00 2003 From: maxb@ukf.net (Max Bowsher) Date: Mon, 28 Jul 2003 16:56:00 -0000 Subject: No huge packets, please! References: <184670-22003712813343150@cantv.net> Message-ID: <00d001c35529$1f2d52f0$4669883e@starfruit> Rodrigo Medina wrote: > Hello! > > First of all I want to congratulate all you people that have made > possible CYGWIN+XFREE. I think that the whole is already a mature, > wonderful product. In particular the new multiwindow feature of XWin > is really cool. > I have a petition to make: Have a little bit of mercy with us poor > guys that have slow internet connections! For example at home I have > a connection that most of the time is below 1kb/s, with such a speed > to download XFree86-fnts (16.3Mb) takes at least 5 hours (but it can > take much more). During such a long time the chances of losing a dialup > connection are very high. What can you do? > a) avoid making huge packets (say more than 8-10 Mb). I am sure that > most huge packets, that are composed of many directories, can be > splitted in some sensible way; or Sometimes, huge packages aren't avoidable. (BTW, I'm on a horrible modem too, I do understand the problems.) > b) implement some way of downloading the packets with ftp, so one can > use wget or similar programs capable of partial downloading; or Try clean_setup from http://home.ix.netcom.com/~mchase/zip/ > c) make the cygwin setup program capable of partial downloading. Would be nice, but unlikely to happen unless someone steps forward to contribute code. Personally, I'm happy using the above linked program - I haven't downloaded a package with setup in years. Max. From arunm@blueyonder.co.uk Mon Jul 28 17:15:00 2003 From: arunm@blueyonder.co.uk (arunm@blueyonder.co.uk) Date: Mon, 28 Jul 2003 17:15:00 -0000 Subject: VC++ A simple question.... Message-ID: This is such a simple question i'm amazed I can't see the answer to it on any of the FAQs. Can you compile the application to be ported under VC++ or do you have to use gcc? From huntharo@msu.edu Mon Jul 28 17:38:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 28 Jul 2003 17:38:00 -0000 Subject: VC++ A simple question.... In-Reply-To: References: Message-ID: <3F255F85.40709@msu.edu> You have to use gcc. Search the mailing list archives for information on people that are interested in making a msvcc port. For now, the short answer is that no, it is not possible to build with VC++ and it would take someone a good week or two of working evenings to make it possible to do so. Granted, this is on my personal to-do list, but it is nearly at the bottom of the list. Harold arunm@blueyonder.co.uk wrote: > This is such a simple question i'm amazed I can't see the answer to it on any of the FAQs. Can you compile the application to be ported under VC++ or do you have to use gcc? > From Ralf.Habacker@freenet.de Mon Jul 28 18:48:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Mon, 28 Jul 2003 18:48:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: Message-ID: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> Hi Alexander, > > for libXt it uses the direct address. For every other library using > the libXt.dll it uses the address from the stub. I see, this is another case. Please take a look into xc/lib/xt/Initialize.c and xc/lib/xt/sharedlib.c which provides such a case for another os. I don't understand the xfree build system very well, so I can't provide a working solution for this, but in fact _XtInherit() should be located in the xt import library, which references __XtInherit() which is located in the real xt dll. Cheers Ralf #ifdef SUNSHLIB /* * _XtInherit needs to be statically linked since it is compared against as * well as called. */ void _XtInherit() { extern void __XtInherit(); __XtInherit(); } #endif In sharedlib.c there is similar code #ifdef SUNSHLIB void _XtInherit() { extern void __XtInherit(); __XtInherit(); } #define _XtInherit __XtInherit #endif void _XtInherit() { XtErrorMsg("invalidProcedure","inheritanceProc",XtCXtToolkitError, "Unresolved inheritance operation", (String *)NULL, (Cardinal *)NULL); } From fergus@bonhard.uklinux.net Mon Jul 28 20:11:00 2003 From: fergus@bonhard.uklinux.net (fergus@bonhard.uklinux.net) Date: Mon, 28 Jul 2003 20:11:00 -0000 Subject: Newbie : XWin, rxvt, gv Message-ID: <000701c35544$613b01e0$c99ac250@leper> After using rxvt without XFree I thought I'd try XFree. I'm amazed. Almost everything just works, and the bits that don't must be my bad driving. It's so nice to use gnuplot (which compiled oob) and not wgnuplot, for instance. Apart from a minor error msg, xdvi simply works. So does latex. I'm absolutely staggered. I'm running W98/SE. I would like to ask a couple of questions: Q1 of 2. I start things up with a three-line batch file set DISPLAY=127.0.0.1:0.0 start XWin -multiwindow run rxvt {switches} -e /bin/bash I'm sorry: I'm completely new to this. are the args to DISPLAY to do with size and resolution or something else? What is the role of the word "start"? I ask because on exiting rxvt I always end up with a copy of XWin hanging around that has to be kill'd through Task Manager. Can I omit the word start, or if not, should there be a 4th line that carries the sense of "stop XWin"? Similarly, the word "run". Can I omit this word and just use rxvt {switches} -e /bin/bash? Q2 of 2. In Feb there were two postings about gv. Currently I use gsview32 from GSTools, but I really dislike having to "nip outdoors" to use something. Has anybody successfuly compiled gv-3.5.8 into Cygwin (or later? 3.5.8 is the most modern I could find). Thank you very much. Sorry for the very simple-minded nature of these questions. Fergus From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Jul 28 21:19:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 28 Jul 2003 21:19:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> References: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> Message-ID: Ralf Habacker wrote: > Hi Alexander, > > > > > for libXt it uses the direct address. For every other library using > > the libXt.dll it uses the address from the stub. > > I see, this is another case. Please take a look into xc/lib/xt/Initialize.c and > xc/lib/xt/sharedlib.c which provides such a case for another os. I don't > understand the xfree build system very well, so I can't provide a working > solution for this, but in fact _XtInherit() should be located in the xt import > library, which references __XtInherit() which is located in the real xt dll. I played with this too. What we need is a possibility to - link libXt that _XtInherit is taken from the import lib -> impossible (AFAIK). The import lib is created _after_ all symbols got resolved (hen-egg-problem) - use everywhere the same pointer. The shared lib could get the pointer via a function call. typedef void (*func)(void); func __XtInheritFunc() { return _XtInherit(); } #define _XtInherit __XtInheritFunc() This works until someone uses struct x { func foo = _XtInherit; } The linker would normally resolve the symbol. But with the function call we have a situation where the static structure requires a dynamic call. Maybe I've missed something. But it seems to me that we need the real address of _XtInherit at linktime which is not known to the linker when building the shared library because libXt might get relocated. I've found a working solution --test.h-- typedef void (*func)(void); extern func f; extern int test(func f); extern int test1(void); extern int test2(void); --test1.c-- #include "test.h" #include void __f(void) { printf("f\n"); return; } func f = __f; int test(func f2) { return f == f2; } int test1(void) { f(); return test(f); } --test2.c-- #include "test.h" #include int test2(void) { f(); return test(f); } int main() { printf("test1: %d\n", test1()); printf("test2: %d\n", test2()); } ---------- $ gcc --shared -out-implib=test1.dll.a -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc -o test1.dll test1.c Creating library file: test1.dll.a $ gcc -o test2.exe test2.c test1.dll test1.dll.a Info: resolving _f by linking to __imp__f (auto-import) $ ./test2.exe f test1: 1 f test2: 1 I'll try this with libXt bye ago NP: Deine Lakaien - Return -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Mon Jul 28 21:30:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Mon, 28 Jul 2003 21:30:00 -0000 Subject: Newbie : XWin, rxvt, gv In-Reply-To: <000701c35544$613b01e0$c99ac250@leper> References: <000701c35544$613b01e0$c99ac250@leper> Message-ID: fergus@bonhard.uklinux.net wrote: > I start things up with a three-line batch file > > set DISPLAY=127.0.0.1:0.0 > start XWin -multiwindow > run rxvt {switches} -e /bin/bash > > I'm sorry: I'm completely new to this. are the args to DISPLAY to do with > size and resolution or something else? The DISPLAY variable tells the xclient where to look for the xserver. 127.0.0.1:0.0 just means the xserver is waiting for clients on the local host on display 0 (== port 6000) and the window will be placed on the first screen. See man X > What is the role of the word "start"? Start a program. This sends XWin to the background. otherwise the batchfile would wait until xwin has ended and starts rxvt after that. > I ask because on exiting rxvt I always end up with a copy of XWin hanging > around that has to be kill'd through Task Manager. Why not starting xwin alone and use only this short batchfile for rxvt? set DISPLAY=127.0.0.1:0.0 run rxvt {switches} -e /bin/bash >Can I omit the word > start, or if not, should there be a 4th line that carries the sense of "stop > XWin"? Just try to start xwin alone and use the small batch file above. >Similarly, the word "run". Can I omit this word and just use > > rxvt {switches} -e /bin/bash? without run you will have a console window for each rxvt you start. run suppresses this window. bye ago NP: DeVision - Circulate -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From tlroche@us.ibm.com Mon Jul 28 21:53:00 2003 From: tlroche@us.ibm.com (Thomas L Roche) Date: Mon, 28 Jul 2003 21:53:00 -0000 Subject: -multiwindow crashes XWin.exe, twm does not Message-ID: I'd like to report a problem, though I suspect licensing may impede debugging. (I'll try to get any information requested.) Locally I'm running cygwin 1.3.22-1 (with xfree* updated today) atop w2k sp3. I want to X into an RHL8 box (here "1.2.3.4") on which I want to run IBM's WebSphere Studio Site Developer Express (for testing). 1.2.3.4 requires ssh and is inside a firewall. WebSphere Studio products typically put up a configuration dialog, then display the full UI. When my startxwin.bat has - start XWin -multiwindow -clipboard -unixkill I get my xterm, in which I run # local xhost + 1.2.3.4 ssh -X -l userid 1.2.3.4 # remote cd /opt/IBM/WebSphere/Express/SiteDeveloper ./wasexpress51 & This launches the dialog. When I hit OK (taking the harmless defaults), taskmgr shows some activity, until XWin.exe GPFs. But if I use + start XWin -clipboard -unixkill + REM Startup an xterm, using bash as the shell. + run xterm -sl 1000 -sb -rightbar -ms red -fg white -bg blue -e /usr/bin/bash + REM Startup the twm window manager. + REM WARNING: Do not use an external window manager in conjunction with + REM the ``-multiwindow'' command-line parameter for XWin. Doing so + REM would start two window managers, which is never supposed to happen. + run twm in my startxwin.bat, and run the same xterm session above, both the dialog and the full IDE launch properly. From rodmedina@cantv.net Mon Jul 28 23:12:00 2003 From: rodmedina@cantv.net (Rodrigo Medina) Date: Mon, 28 Jul 2003 23:12:00 -0000 Subject: No huge packages,please! Message-ID: <142490-220037128231219399@cantv.net> Thanks to Max, Igor and Chris for your quick reply. Rodrigo Medina From huntharo@msu.edu Mon Jul 28 23:50:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Mon, 28 Jul 2003 23:50:00 -0000 Subject: -multiwindow crashes XWin.exe, twm does not In-Reply-To: References: Message-ID: <3F25B6DD.6080507@msu.edu> Thomas, Please try -multiwindow without -clipboard. That may work. Otherwise, please try the next test release that I make... it has some NULL pointer checks that may relate to your problem. Harold Thomas L Roche wrote: > I'd like to report a problem, though I suspect licensing may impede > debugging. (I'll try to get any information requested.) Locally I'm > running cygwin 1.3.22-1 (with xfree* updated today) atop w2k sp3. I > want to X into an RHL8 box (here "1.2.3.4") on which I want to run IBM's > WebSphere Studio Site Developer Express (for testing). 1.2.3.4 > requires ssh and is inside a firewall. > > WebSphere Studio products typically put up a configuration dialog, > then display the full UI. When my startxwin.bat has > > - start XWin -multiwindow -clipboard -unixkill > > I get my xterm, in which I run > > # local > xhost + 1.2.3.4 > ssh -X -l userid 1.2.3.4 > # remote > cd /opt/IBM/WebSphere/Express/SiteDeveloper > ./wasexpress51 & > > This launches the dialog. When I hit OK (taking the harmless defaults), > taskmgr shows some activity, until XWin.exe GPFs. But if I use > > + start XWin -clipboard -unixkill > > + REM Startup an xterm, using bash as the shell. > > + run xterm -sl 1000 -sb -rightbar -ms red -fg white -bg blue -e > /usr/bin/bash > > + REM Startup the twm window manager. > + REM WARNING: Do not use an external window manager in conjunction with > + REM the ``-multiwindow'' command-line parameter for XWin. Doing so > + REM would start two window managers, which is never supposed to happen. > > + run twm > > in my startxwin.bat, and run the same xterm session above, both the > dialog and the full IDE launch properly. From holokin@sisna.com Tue Jul 29 00:17:00 2003 From: holokin@sisna.com (Gary Nicholson) Date: Tue, 29 Jul 2003 00:17:00 -0000 Subject: XLT Message-ID: <000201c35566$b64a1780$0100a8c0@AMD> Is this the right place to ask for help installing the XLT package? If not, where should I go? Thank you. From huntharo@msu.edu Tue Jul 29 00:26:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 00:26:00 -0000 Subject: XLT In-Reply-To: <000201c35566$b64a1780$0100a8c0@AMD> References: <000201c35566$b64a1780$0100a8c0@AMD> Message-ID: <3F25BF44.9000106@msu.edu> XLT? Gary Nicholson wrote: > Is this the right place to ask for help installing the XLT package? > > If not, where should I go? > > Thank you. > From harold@ajboggs.com Tue Jul 29 00:37:00 2003 From: harold@ajboggs.com (Harold L Hunt II) Date: Tue, 29 Jul 2003 00:37:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 Message-ID: <3F25C1B7.90206@ajboggs.com> Links: I just posted Test 92 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 92 package via setup.exe by selecting the following version of the XFree86-xserv package: 4.2.0-43 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 KiB) xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff (9 KiB) Changes: 1) winconfig.c - Add new defaults for keyboardlayout: German (Switzerland) and English (USA, International). (Alexander Gottwald) 2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. (List suggestion) 3) winmultiwindowclass.c - Add checks for NULL pointers. Should help fix some crashes in MultiWindow mode. (Ralf Habacker) 4) General - Add global variable that tracks whether XInitThreads () has been called so that it is only called once per process. Calling XInitThreads multiple times may have been contributing to crashes. (Harold L Hunt II) Enjoy, Harold From huntharo@msu.edu Tue Jul 29 00:41:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 00:41:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 Message-ID: <3F25C2A0.40102@msu.edu> Links: I just posted Test 92 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 92 package via setup.exe by selecting the following version of the XFree86-xserv package: 4.2.0-43 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 KiB) xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff (9 KiB) Changes: 1) winconfig.c - Add new defaults for keyboardlayout: German (Switzerland) and English (USA, International). (Alexander Gottwald) 2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. (List suggestion) 3) winmultiwindowclass.c - Add checks for NULL pointers. Should help fix some crashes in MultiWindow mode. (Ralf Habacker) 4) General - Add global variable that tracks whether XInitThreads () has been called so that it is only called once per process. Calling XInitThreads multiple times may have been contributing to crashes. (Harold L Hunt II) Enjoy, Harold From andrew.markebo@comhem.se Tue Jul 29 00:54:00 2003 From: andrew.markebo@comhem.se (Andrew Markebo) Date: Tue, 29 Jul 2003 00:54:00 -0000 Subject: Compiling Lesstif on Cygwin:K@N@!: In-Reply-To: <000001c352f9$63706330$0100a8c0@AMD> (Gary Nicholson's message of "Fri, 25 Jul 2003 16:09:13 -0600") References: <000001c352f9$63706330$0100a8c0@AMD> Message-ID: / "Gary Nicholson" wrote: | Igor, | | Yes, this is very good. Moving the libraries to the end helps. | | I find that I also have to add two additional libraries: | | -lSM and -lICE | | Is this to be expected? yes :-) | | When I add the libraries, I get a successful compile and the | application runs. Enjoy :-) | | I am very pleased. It's my first *tif application. | | Thank you. | | Gary | | -----Original Message----- | From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] | Sent: Friday, July 25, 2003 12:03 PM | To: cygwin-xfree@cygwin.com; holokine@holokine.com | Subject: RE: Compiling Lesstif on Cygwin | | Gary, | |> The compiler string: |> |> gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ |> -lXm -lXt -lX11 hello.c -o hello | | The above is a classic C beginner's mistake: the libraries go to the | *end* | of the compile command, i.e., try | | gcc -I/usr/X11R6/include -L/usr/X11R6/lib hello.c -o hello -lXm -lXt | -lX11 | | Hope this helps, | Igor | | On Fri, 25 Jul 2003, Gary Nicholson wrote: | |> Brian, |> |> Thanks for taking time to reply to my email about |> Compiling Lesstif on Cygwin. Thanks for referring me |> to the cygwin-xfree mailing list. |> |> I've tried quite a few things since I posted the email |> you answered. |> |> I reinstalled the lesstif version you recommended and |> verified the compiler string you suggested is what I use. |> |> Having done those things, I get the following error: |> |> undefined reference to '_XtVaAppInitialize' |> |> Do you know what's happening? |> |> Gary |> |> Here is the program (the first motif program in the O'Reilly book): |> |> #include |> #include |> |> main(argc, argv) |> char *argv[]; |> { |> Widget toplevel, button; |> XtAppContext app; |> void i_was_pushed(); |> XmString label; |> |> toplevel = XtVaAppInitialize(&app, "Hello", NULL, 0, |> &argc, argv, NULL, NULL); |> |> label = XmStringCreateSimple("Push here to say hello"); |> button = XtVaCreateManagedWidget("pushme", |> xmPushButtonWidgetClass, toplevel, |> XmNlabelString, label, |> NULL); |> XmStringFree(label); |> XtAddCallback(button, XmNactivateCallback, i_was_pushed, NULL); |> |> XtRealizeWidget(toplevel); |> XtAppMainLoop(app); |> } |> |> void |> i_was_pushed(w, client_data, cbs) |> Widget w; |> XtPointer client_data; |> XmPushButtonCallbackStruct *cbs; |> { |> printf("Hello Yourself!\n"); |> } |> |> The compiler string: |> |> gcc -I/usr/X11R6/include -L/usr/X11R6/lib \ |> -lXm -lXt -lX11 hello.c -o hello |> |> -----Original Message----- |> From: Brian Ford [mailto:ford@vss.fsi.com] |> Sent: Thursday, July 24, 2003 5:33 PM |> To: Gary Nicholson |> Cc: lesstif@lesstif.org |> Subject: Re: Compiling Lesstif on Cygwin |> |> On Sun, 20 Jul 2003, Gary Nicholson wrote: |> |> >I've installed Cygwin on Windows XP. The X Server starts and runs | with |> >no errors. |> > |> >I installed lesstif-cygwin-0.93.8. |> > |> lesstif-0.93.41-1 is the "supported" package available via the normal |> Cygwin setup installer at www.cygwin.com. Please use it. |> |> On Mon, 21 Jul 2003, Gary Nicholson wrote: |> |> >I am going to move the header files back to their |> >original location and keep exploring how to set the |> >include path for g++. |> > |> |> This is basic C compiler stuff. Add -I/usr/X11R6/include to the |> compile line and -L/usr/X11R6/lib to the link line. |> |> These sort of questions are probably better suited for |> cygwin-xfree@cygwin.com. |> |> Cygwin's reluctant lesstif maintainer. | | -- | http://cs.nyu.edu/~pechtcha/ | |\ _,,,---,,_ pechtcha@cs.nyu.edu | ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com | |,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 | | | | | -- Your fault -- core dumped Please note, new email, @telia.com -> @comhem.se From BartamNA@netscape.net Tue Jul 29 01:30:00 2003 From: BartamNA@netscape.net (BartamNA@netscape.net) Date: Tue, 29 Jul 2003 01:30:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 Message-ID: <61760CF2.47C458F4.006C949A@netscape.net> Harold: I am teaching myself Cywin, so my knowledge is limited. Is there a command when Cywin is up, that tells me the current version, I have on my system. I know this is probably a dumb question but thanks in advance. Abe.... Harold L Hunt II wrote: >Links: > >I just posted Test 92 to the server development page: >http://xfree86.cygwin.com/devel/shadow/ > >You can install the Test 92 package via setup.exe by selecting the >following version of the XFree86-xserv package: 4.2.0-43 > >Server Test Series binary and source code releases are now >available via the sources.redhat.com ftp mirror network >(http://cygwin.com/mirrors.html) in the >pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the >desired filename in the links below, then download from your >closest mirror (http://cygwin.com/mirrors.html). > >Server binary, direct link: >http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) > >Server source, direct link: >http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 >KiB) > >xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: >http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff >(9 KiB) > > >Changes: > >1) winconfig.c - Add new defaults for keyboardlayout: German >(Switzerland) and English (USA, International). (Alexander >Gottwald) > >2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. >(List suggestion) > >3) winmultiwindowclass.c - Add checks for NULL pointers. Should help >fix some crashes in MultiWindow mode. (Ralf Habacker) > >4) General - Add global variable that tracks whether XInitThreads () >has been called so that it is only called once per process. Calling >XInitThreads multiple times may have been contributing to crashes. >(Harold L Hunt II) > >Enjoy, > >Harold > > > > > > > > > > > > > > > > > > __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From cgf@redhat.com Tue Jul 29 01:45:00 2003 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 29 Jul 2003 01:45:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <61760CF2.47C458F4.006C949A@netscape.net> References: <61760CF2.47C458F4.006C949A@netscape.net> Message-ID: <20030729014552.GA3361@redhat.com> On Mon, Jul 28, 2003 at 09:30:16PM -0400, BartamNA@netscape.net wrote: >I am teaching myself Cywin, so my knowledge is limited. Is there a >command when Cywin is up, that tells me the current version, I have on >my system. I know this is probably a dumb question but thanks in >advance. This isn't really a cygwin-xfree question. It's actually a UNIX question. The answer is 'uname -a'. cgf From jase@dufair.org Tue Jul 29 03:40:00 2003 From: jase@dufair.org (Jason Dufair) Date: Tue, 29 Jul 2003 03:40:00 -0000 Subject: Newbie : XWin, rxvt, gv In-Reply-To: <000701c35544$613b01e0$c99ac250@leper> (fergus@bonhard.uklinux.net's message of "Mon, 28 Jul 2003 21:11:07 +0100") References: <000701c35544$613b01e0$c99ac250@leper> Message-ID: writes: MIME-Version: 1.0 > After using rxvt without XFree I thought I'd try XFree. I'm amazed. Almost > everything just works, and the bits that don't must be my bad driving. It's > so nice to use gnuplot (which compiled oob) and not wgnuplot, for instance. > Apart from a minor error msg, xdvi simply works. So does latex. I'm > absolutely staggered. > > I'm running W98/SE. > > I would like to ask a couple of questions: > > Q1 of 2. > > I start things up with a three-line batch file > > set DISPLAY=127.0.0.1:0.0 > start XWin -multiwindow > run rxvt {switches} -e /bin/bash > > I'm sorry: I'm completely new to this. are the args to DISPLAY to do with > size and resolution or something else? What is the role of the word "start"? > I ask because on exiting rxvt I always end up with a copy of XWin hanging > around that has to be kill'd through Task Manager. Can I omit the word > start, or if not, should there be a 4th line that carries the sense of "stop > XWin"? Similarly, the word "run". Can I omit this word and just use > > rxvt {switches} -e /bin/bash? The args to display are the ip address of the X server that your X client apps will use. The :0.0 has to do with "display numbers" and, theoretically running multiple X servers on the same host. start just causes the batch file to launch the command following in a separate process, a sort of fork, so that subsequent commands in the batch file execute in parallel with the "start"ed command. Not sure about W98, but W2K has info in the main help file (Start button, help), about "start". Not sure about the semantics of "run." Perhaps it's an alias for "start." You *want* XWin to be "hanging around," at least as long as you want to continue running X apps. XWin.exe is the X server and is necessary to run X-based apps. You might also try running XWin with -clipboard (depending on which version of XWin.exe you have - I'm using test series 90, I think). Allows windows/X clipboard integration. Additionally, if you run test series (somewhere in the high eighties, maybe), you get a handy little tray icon where you can kill XWin.exe with a nice menu and not feel guilty about killing the process. Look on the Cygwin/XFree website for the "Server Test Series". I found 91 to be a bit unstable but 90 to be pretty decent (one crash every few days on Win2K). -- Jason Dufair - jase@dufair.org http://www.dufair.org/ "Ad in classifieds: Pandora's Box (no box) $5" From huntharo@msu.edu Tue Jul 29 03:44:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 03:44:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <61760CF2.47C458F4.006C949A@netscape.net> References: <61760CF2.47C458F4.006C949A@netscape.net> Message-ID: <3F25EDAA.1070205@msu.edu> Abe, You can look at the XFree86-xserv entry in /etc/setup/installed.db. You can use grep to quickly see just the XFree86-xserv version: grep "XFree86-xserv" /etc/setup/installed.db Harold BartamNA@netscape.net wrote: > Harold: > I am teaching myself Cywin, so my knowledge is limited. Is there a command when Cywin is up, that tells me the current version, I have on my system. I know this is probably a dumb question but thanks in advance. > > Abe.... > > > > Harold L Hunt II wrote: > > >>Links: >> >>I just posted Test 92 to the server development page: >>http://xfree86.cygwin.com/devel/shadow/ >> >>You can install the Test 92 package via setup.exe by selecting the > > >>following version of the XFree86-xserv package: 4.2.0-43 >> >>Server Test Series binary and source code releases are now >>available via the sources.redhat.com ftp mirror network >>(http://cygwin.com/mirrors.html) in the >>pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the >>desired filename in the links below, then download from your >>closest mirror (http://cygwin.com/mirrors.html). >> >>Server binary, direct link: >>http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) >> >>Server source, direct link: >>http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 >>KiB) >> >>xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: >>http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff >>(9 KiB) >> >> >>Changes: >> >>1) winconfig.c - Add new defaults for keyboardlayout: German >>(Switzerland) and English (USA, International). (Alexander >>Gottwald) >> >>2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. >>(List suggestion) >> >>3) winmultiwindowclass.c - Add checks for NULL pointers. Should help >>fix some crashes in MultiWindow mode. (Ralf Habacker) >> >>4) General - Add global variable that tracks whether XInitThreads () >>has been called so that it is only called once per process. Calling >>XInitThreads multiple times may have been contributing to crashes. >>(Harold L Hunt II) >> >>Enjoy, >> >>Harold >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > > > __________________________________________________________________ > McAfee VirusScan Online from the Netscape Network. > Comprehensive protection for your entire computer. Get your free trial today! > http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 > > Get AOL Instant Messenger 5.1 free of charge. Download Now! > http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 From huntharo@msu.edu Tue Jul 29 03:55:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 03:55:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F25C2A0.40102@msu.edu> References: <3F25C2A0.40102@msu.edu> Message-ID: <3F25F039.4040009@msu.edu> I would like some feedback as to whether or not this release fixes any crashing with -multiwindow and -clipboard. Harold Harold L Hunt II wrote: > Links: > > I just posted Test 92 to the server development page: > http://xfree86.cygwin.com/devel/shadow/ > > You can install the Test 92 package via setup.exe by selecting the > following version of the XFree86-xserv package: 4.2.0-43 > > Server Test Series binary and source code releases are now > available via the sources.redhat.com ftp mirror network > (http://cygwin.com/mirrors.html) in the > pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the > desired filename in the links below, then download from your > closest mirror (http://cygwin.com/mirrors.html). > > Server binary, direct link: > http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) > > Server source, direct link: > http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 > KiB) > > xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: > http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff > (9 KiB) > > > Changes: > > 1) winconfig.c - Add new defaults for keyboardlayout: German > (Switzerland) and English (USA, International). (Alexander > Gottwald) > > 2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. > (List suggestion) > > 3) winmultiwindowclass.c - Add checks for NULL pointers. Should help > fix some crashes in MultiWindow mode. (Ralf Habacker) > > 4) General - Add global variable that tracks whether XInitThreads () > has been called so that it is only called once per process. Calling > XInitThreads multiple times may have been contributing to crashes. > (Harold L Hunt II) > > Enjoy, > > Harold > > > > > > > > > > > > > > > > From cgf@redhat.com Tue Jul 29 03:56:00 2003 From: cgf@redhat.com (Christopher Faylor) Date: Tue, 29 Jul 2003 03:56:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F25EDAA.1070205@msu.edu> References: <61760CF2.47C458F4.006C949A@netscape.net> <3F25EDAA.1070205@msu.edu> Message-ID: <20030729035622.GA5449@redhat.com> On Mon, Jul 28, 2003 at 11:44:42PM -0400, Harold L Hunt II wrote: >You can look at the XFree86-xserv entry in /etc/setup/installed.db. You >can use grep to quickly see just the XFree86-xserv version: > >grep "XFree86-xserv" /etc/setup/installed.db cygcheck -c XFree86-xserv cgf From alexander.gottwald@s1999.tu-chemnitz.de Tue Jul 29 10:24:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 29 Jul 2003 10:24:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> References: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> Message-ID: On Mon, 28 Jul 2003, Ralf Habacker wrote: I changed the type of _XtInherit to a variable instead of a function. It compiles but I've not tested it completely. > #ifdef SUNSHLIB > /* > * _XtInherit needs to be statically linked since it is compared against as > * well as called. > */ > void _XtInherit() > { > extern void __XtInherit(); > __XtInherit(); > } > #define _XtInherit __XtInherit + #elif defined(CYGWIN) + void (_XtInherit)(void) = __XtInherit; + #define _XtInherit __XtInherit > #endif With this way we have a symbol which contains the address of the XtInherit function in libXt and is directly exported. This requires the pseudo-reloc feature of ld. Any comments on this? Will this work or are there still problems? I will have to change the declaration of _XtInherit in the header too, but this will be in the real patch which I will send at the end of week. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Tue Jul 29 10:27:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 29 Jul 2003 10:27:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: References: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> Message-ID: On Tue, 29 Jul 2003, Alexander Gottwald wrote: > + void (_XtInherit)(void) = __XtInherit; oops, missed one character. It must be > + void (*_XtInherit)(void) = __XtInherit; hope it'n now correct *g* bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Ralf.Habacker@freenet.de Tue Jul 29 14:12:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Tue, 29 Jul 2003 14:12:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: Message-ID: <009d01c355db$7b14def0$0a1c440a@BRAMSCHE> > > > #ifdef SUNSHLIB > > /* > > * _XtInherit needs to be statically linked since it is compared against as > > * well as called. > > */ > > void _XtInherit() > > { > > extern void __XtInherit(); > > __XtInherit(); > > } > > #define _XtInherit __XtInherit > + #elif defined(CYGWIN) > + void (_XtInherit)(void) = __XtInherit; > + #define _XtInherit __XtInherit > > #endif > > With this way we have a symbol which contains the address of the XtInherit > function in libXt and is directly exported. This requires the pseudo-reloc > feature of ld. > Why ? Does client code access _XtInherit+ at any place ? Only in that case the pseudo-reloc stuff is needed. Ralf From a.polombo@wanadoo.fr Tue Jul 29 14:20:00 2003 From: a.polombo@wanadoo.fr (Albert Polombo) Date: Tue, 29 Jul 2003 14:20:00 -0000 Subject: unable to change us keyboard in french keyboard Message-ID: <5.1.0.14.0.20030729154741.0240e150@pop.wanadoo.fr> I have done the installation of cygwin-xfree under W2000. It works perfectly but I get an us keyboard in a graphic window. I tried to put the line run setxkbmap.exe -layout fr in startxwin.bat but with that line, it is no more possible to open a graphic window. I have also tried the command setxkbmap.exe -layout fr in a graphic window and the window was shut. All the previous work in the case of Windows98. I would like some help. Thank you. From huntharo@msu.edu Tue Jul 29 15:18:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 15:18:00 -0000 Subject: Cygwin.rules change Message-ID: Add "clean" target to ResourceObjectRule. Affects Cygwin only. Harold -------------- next part -------------- A non-text attachment was scrubbed... Name: cygwin.rules-20030729-1117.diff Type: application/octet-stream Size: 663 bytes Desc: not available URL: From jase@dufair.org Tue Jul 29 15:55:00 2003 From: jase@dufair.org (Jason Dufair) Date: Tue, 29 Jul 2003 15:55:00 -0000 Subject: Test 92 observations Message-ID: Hi Harold, et. al. - I just installed Test 92 and it seems to work fine. Just a few notes, for what they're worth. I'm on Win2K, SP2 - I use the Dvorak keyboard layout and I have to do a "run setxkbmap dvorak" in my batch file that start XWin.exe. I don't know if it should automatically detect my Windows keyboard layout or not. - I start XWin.exe with "start Xwin -multiwindow -multiplemonitors -clipboard". I have 2 monitors on my system, both with the same resolution, the secondary with a lower bit depth. When I drag windows to the secondary monitor, they just draw the whole window in white. I'm not sure how far along the -multiplemonitors support is, so I'm not sure what to expect, but I thought I'd mention it. Many thanks to all for XFree on Windows. What a treat to have all these great apps and tools. -- Jason Dufair - jase@dufair.org http://www.dufair.org/ "Time flies like an arrow. Fruit flies like a banana." -- Groucho Marx From alexander.gottwald@s1999.tu-chemnitz.de Tue Jul 29 16:23:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 29 Jul 2003 16:23:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: <009d01c355db$7b14def0$0a1c440a@BRAMSCHE> References: <009d01c355db$7b14def0$0a1c440a@BRAMSCHE> Message-ID: On Tue, 29 Jul 2003, Ralf Habacker wrote: > Why ? Does client code access _XtInherit+ at any place ? Only in that > case the pseudo-reloc stuff is needed. No. It never uses this indirect access (it would not make sense either since _XtInherit is a function and (f + 4)() does not make much sense) Maybe I got confused by the tests I've done yesterday *g* But the pseudo-reloc is needed anyhow by other parts of the Xt library. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Tue Jul 29 16:26:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Tue, 29 Jul 2003 16:26:00 -0000 Subject: Test 92 observations In-Reply-To: References: Message-ID: On Tue, 29 Jul 2003, Jason Dufair wrote: > - I use the Dvorak keyboard layout and I have to do a "run setxkbmap > dvorak" in my batch file that start XWin.exe. I don't know if it should > automatically detect my Windows keyboard layout or not. dvorak is not one of the preconfigured layouts. Run the program from http://www.tu-chemnitz.de/~goal/xfree/keyboard.tar.gz and send me the output. I'll add dvorak to the list of preconfigured layouts. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From jbarilla@princeton.edu Tue Jul 29 17:11:00 2003 From: jbarilla@princeton.edu (Joseph Barillari) Date: Tue, 29 Jul 2003 17:11:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F25C2A0.40102@msu.edu> (Harold L. Hunt, II's message of "Mon, 28 Jul 2003 20:41:04 -0400") References: <3F25C2A0.40102@msu.edu> Message-ID: <87oezd9s1c.fsf@bigbox.barillari.org> >>>>> "HLH" == Harold L Hunt writes: HLH> 3) winmultiwindowclass.c - Add checks for NULL pointers. HLH> Should help fix some crashes in MultiWindow mode. (Ralf HLH> Habacker) Several minutes into an X session with Test 92, while I was using a remote emacs session, the server bombed with the following message: --8<---------------cut here---------------start------------->8--- $ xinit -- -multiwindow -clipboard winMutliWindowWMIOErrorHandler! xinit: connection to X server lost. xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0" --8<---------------cut here---------------end--------------->8--- Is the "winMutliWindowWMIOErrorHandler" error handler triggered when one of those null-pointer checks you mentioned finds a null pointer? Thanks for releasing this build! Regards, --Joe -- Joseph Barillari -- http://barillari.org From jbarilla@princeton.edu Tue Jul 29 17:12:00 2003 From: jbarilla@princeton.edu (Joseph Barillari) Date: Tue, 29 Jul 2003 17:12:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <87oezd9s1c.fsf@bigbox.barillari.org> (Joseph Barillari's message of "Tue, 29 Jul 2003 13:11:43 -0400") References: <3F25C2A0.40102@msu.edu> <87oezd9s1c.fsf@bigbox.barillari.org> Message-ID: <87el099rzh.fsf@bigbox.barillari.org> >>>>> "JDB" == Joseph Barillari writes: >>>>> "HLH" == Harold L Hunt writes: HLH> 3) winmultiwindowclass.c - Add checks for NULL pointers. HLH> Should help fix some crashes in MultiWindow mode. (Ralf HLH> Habacker) JDB> Several minutes into an X session with Test 92, while I was JDB> using a remote emacs session, the server bombed with the JDB> following message: JDB> --8<---------------cut JDB> here---------------start------------->8--- $ xinit -- JDB> -multiwindow -clipboard JDB> winMutliWindowWMIOErrorHandler! JDB> xinit: connection to X server lost. xterm: fatal IO error JDB> 104 (Connection reset by peer) or KillClient on X server JDB> ":0.0" --8<---------------cut JDB> here---------------end--------------->8--- JDB> Is the "winMutliWindowWMIOErrorHandler" error handler JDB> triggered when one of those null-pointer checks you mentioned JDB> finds a null pointer? JDB> Thanks for releasing this build! Oops. I should mention that I'm running Windows XP Pro, SP1. --Joe -- Joseph Barillari -- http://barillari.org From huntharo@msu.edu Tue Jul 29 17:18:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 17:18:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <87oezd9s1c.fsf@bigbox.barillari.org> References: <3F25C2A0.40102@msu.edu> <87oezd9s1c.fsf@bigbox.barillari.org> Message-ID: <3F26AC57.7070704@msu.edu> Joe, Don't know for sure what happened in your case. It appears that all X Clients (including the inernal window manager) lost communication with the X Server at about the same time. The *IOErrorHandler's are called when communication with the X Server is lost. Sounds like you had a hiccup in your TCP/IP network stack on your Windows machine. Lets just forget this unless it happens to you on a regular basis. Harold Joseph Barillari wrote: >>>>>>"HLH" == Harold L Hunt writes: > > > HLH> 3) winmultiwindowclass.c - Add checks for NULL pointers. > HLH> Should help fix some crashes in MultiWindow mode. (Ralf > HLH> Habacker) > > > Several minutes into an X session with Test 92, while I was using a > remote emacs session, the server bombed with the following message: > > --8<---------------cut here---------------start------------->8--- > $ xinit -- -multiwindow -clipboard > > > winMutliWindowWMIOErrorHandler! > > xinit: connection to X server lost. > xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":0.0" > --8<---------------cut here---------------end--------------->8--- > > Is the "winMutliWindowWMIOErrorHandler" error handler triggered when > one of those null-pointer checks you mentioned finds a null pointer? > > Thanks for releasing this build! > > Regards, --Joe > From fergus@bonhard.uklinux.net Tue Jul 29 17:37:00 2003 From: fergus@bonhard.uklinux.net (fergus@bonhard.uklinux.net) Date: Tue, 29 Jul 2003 17:37:00 -0000 Subject: Newbie : XWin, rxvt, gv Message-ID: <000901c355f8$0c2afca0$c99ac250@leper> Thank you for your rapid help. Everything completely clear. Actually what I've got now is set DISPLAY=127.0.0.1:0.0 in autoexec.bat start Xwin -multiwindow in Startup run rxvt -e bash as a Desktop shortcut and it is just perfect. (For me.) THANK YOU, guys. Fergus From holokin@sisna.com Tue Jul 29 18:24:00 2003 From: holokin@sisna.com (Gary Nicholson) Date: Tue, 29 Jul 2003 18:24:00 -0000 Subject: XLT In-Reply-To: <3F25BF44.9000106@msu.edu> Message-ID: <000301c355fe$ac9a18a0$9b144bab@AMD> Harold, XLT is a set of widgets used in Motif/Lesstif development environment. I'm running cygwin on XP and trying to install the XLT widget classes. It uses a configure script which is giving me errors. Gary -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II Sent: Monday, July 28, 2003 6:27 PM To: cygwin-xfree@cygwin.com Subject: Re: XLT XLT? Gary Nicholson wrote: > Is this the right place to ask for help installing the XLT package? > > If not, where should I go? > > Thank you. > From clee@gta.ga.gov Tue Jul 29 18:25:00 2003 From: clee@gta.ga.gov (Chiew Lee) Date: Tue, 29 Jul 2003 18:25:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 References: <3F25C2A0.40102@msu.edu> <3F25F039.4040009@msu.edu> Message-ID: <3F26B726.8060103@gta.ga.gov> after installing the new binary, netscape stop crashings. thanks for the good work. my env: MS Win2k, SP3. chiew Harold L Hunt II wrote: > I would like some feedback as to whether or not this release fixes any > crashing with -multiwindow and -clipboard. > > Harold > > Harold L Hunt II wrote: > >> Links: >> >> I just posted Test 92 to the server development page: >> http://xfree86.cygwin.com/devel/shadow/ >> >> You can install the Test 92 package via setup.exe by selecting the >> following version of the XFree86-xserv package: 4.2.0-43 >> >> Server Test Series binary and source code releases are now >> available via the sources.redhat.com ftp mirror network >> (http://cygwin.com/mirrors.html) in the >> pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the >> desired filename in the links below, then download from your >> closest mirror (http://cygwin.com/mirrors.html). >> >> Server binary, direct link: >> http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) >> >> Server source, direct link: >> http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 >> KiB) >> >> xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: >> http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff >> (9 KiB) >> >> >> Changes: >> >> 1) winconfig.c - Add new defaults for keyboardlayout: German >> (Switzerland) and English (USA, International). (Alexander >> Gottwald) >> >> 2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. >> (List suggestion) >> >> 3) winmultiwindowclass.c - Add checks for NULL pointers. Should help >> fix some crashes in MultiWindow mode. (Ralf Habacker) >> >> 4) General - Add global variable that tracks whether XInitThreads () >> has been called so that it is only called once per process. Calling >> XInitThreads multiple times may have been contributing to crashes. >> (Harold L Hunt II) >> >> Enjoy, >> >> Harold >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > > From huntharo@msu.edu Tue Jul 29 18:45:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 18:45:00 -0000 Subject: XLT In-Reply-To: <000301c355fe$ac9a18a0$9b144bab@AMD> References: <000301c355fe$ac9a18a0$9b144bab@AMD> Message-ID: <3F26C0A2.5070804@msu.edu> Gary, Yes, this is the right place. Please post some details of your problem. Thanks, Harold Gary Nicholson wrote: > Harold, > > XLT is a set of widgets used in Motif/Lesstif development environment. > > I'm running cygwin on XP and trying to install the XLT widget classes. > > It uses a configure script which is giving me errors. > > Gary > > -----Original Message----- > From: cygwin-xfree-owner@cygwin.com > [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II > Sent: Monday, July 28, 2003 6:27 PM > To: cygwin-xfree@cygwin.com > Subject: Re: XLT > > XLT? > > Gary Nicholson wrote: > > >>Is this the right place to ask for help installing the XLT package? >> >>If not, where should I go? >> >>Thank you. >> > > > > From huntharo@msu.edu Tue Jul 29 18:55:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 18:55:00 -0000 Subject: 4.3.0.1 Possible Release and Keeping XFree86 CVS Up to Date Message-ID: <3F26C31C.4090807@msu.edu> I am working on pulling the 4.3.0.1 tree: export CVS_RSH=ssh export CVSROOT=anoncvs@anoncvs.xfree86.org:/cvs cvs -z3 checkout -r xf-4_3_0_1 xc > cvs-checkout.log 2>&1 I will be copying over the latest hw/xwin files and a few misc. patches and building the 4.3.0.1 tree for possible release. I am going to try my hand at packaging this up again to see if I run into any problems. If all goes well, I might post it as a test release... but it will probably be a test release dependent upon Cygwin1.dll v 1.5.1 (or whatever the most recent release is). As for keeping the XFree86 CVS tree up to date, am I right that I should be sending patches against XFree86 CVS xf-4_3-branch, instead of the xf-4_3_0_1 snapshot? Could I do this with: cd xc/programs/Xserver/hw cvs diff -U3 -r xf-4_3-branch xwin > xwin.diff The main question here is can I make diffs against the specified branch rather than the branch that I have locally? I assume the answer is yes, but some confirmation from others before I waste time looking into it would be helpful. Harold From huntharo@msu.edu Tue Jul 29 19:25:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 19:25:00 -0000 Subject: XFree86 fonts from 4.2.0 to 4.3.0 Message-ID: <3F26CA06.5070700@msu.edu> Can anyone think of any changes to the font packages between 4.2.0 and 4.3.0 that would require me to repackage and distribute 4.3.0 font sets? If not, I would really like to just leave the current 4.2.0 fonts in place since it will save most people from downloading between 15 and 50 MB of the same stuff. Of course, the version numbers will look a little funny, but I think most users would be pleased that they didn't have to download the fonts again. Of course, if anyone knows otherwise, please speak up now so I don't make a terrible mistake. Harold From jbarilla@princeton.edu Tue Jul 29 21:05:00 2003 From: jbarilla@princeton.edu (Joseph Barillari) Date: Tue, 29 Jul 2003 21:05:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F26AC57.7070704@msu.edu> (Harold L. Hunt, II's message of "Tue, 29 Jul 2003 13:18:15 -0400") References: <3F25C2A0.40102@msu.edu> <87oezd9s1c.fsf@bigbox.barillari.org> <3F26AC57.7070704@msu.edu> Message-ID: <871xw9t55q.fsf@bigbox.barillari.org> >>>>> "HLH" == Harold L Hunt writes: HLH> Joe, Don't know for sure what happened in your case. It HLH> appears that all X Clients (including the inernal window HLH> manager) lost communication with the X Server at about the HLH> same time. The *IOErrorHandler's are called when HLH> communication with the X Server is lost. Sounds like you had HLH> a hiccup in your TCP/IP network stack on your Windows HLH> machine. HLH> Lets just forget this unless it happens to you on a regular HLH> basis. Hm. It just happened again in emacs: $ xinit -- -multiwindow -clipboard winMutliWindowWMIOErrorHandler! xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0" xinit: connection to X server lost. I was running emacs on a machine whose network connection blocks for several seconds every few hours. Usually, the X server (either exceed or XFree86) just tolerates this, but sometimes it blocks for too long and the SSH session times out, killing the X processes tunneled over it. I doubt that this is related, since you said that winMutliWindowWMIOErrorHandler is a consequence of /all/ clients losing their connections, but I thought it might be of some significance. Best, --Joe -- Joseph Barillari -- http://barillari.org From pcolovas@lucent.com Tue Jul 29 21:13:00 2003 From: pcolovas@lucent.com (Peter Colovas) Date: Tue, 29 Jul 2003 21:13:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F25F039.4040009@msu.edu> References: <3F25C2A0.40102@msu.edu> <3F25F039.4040009@msu.edu> Message-ID: <3F26E369.4060701@lucent.com> I'm running Win2k SP4. I have a problem with winclip exceptions. If I close down the X session when I have multiple remote terminals open, I almost always get an exception in xwinclip. It is still happening with Test92. I run XWin -multiwindow -clipboard. I get the same xwinclip error at home on win98, but I haven'y upgraded to this server test version yet. -Pete Harold L Hunt II wrote: > I would like some feedback as to whether or not this release fixes any > crashing with -multiwindow and -clipboard. > > Harold > > Harold L Hunt II wrote: > >> Links: >> >> I just posted Test 92 to the server development page: >> http://xfree86.cygwin.com/devel/shadow/ >> >> You can install the Test 92 package via setup.exe by selecting the >> following version of the XFree86-xserv package: 4.2.0-43 >> >> Server Test Series binary and source code releases are now >> available via the sources.redhat.com ftp mirror network >> (http://cygwin.com/mirrors.html) in the >> pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the >> desired filename in the links below, then download from your >> closest mirror (http://cygwin.com/mirrors.html). >> >> Server binary, direct link: >> http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) >> >> Server source, direct link: >> http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 >> KiB) >> >> xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: >> http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff >> (9 KiB) >> >> >> Changes: >> >> 1) winconfig.c - Add new defaults for keyboardlayout: German >> (Switzerland) and English (USA, International). (Alexander >> Gottwald) >> >> 2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. >> (List suggestion) >> >> 3) winmultiwindowclass.c - Add checks for NULL pointers. Should help >> fix some crashes in MultiWindow mode. (Ralf Habacker) >> >> 4) General - Add global variable that tracks whether XInitThreads () >> has been called so that it is only called once per process. Calling >> XInitThreads multiple times may have been contributing to crashes. >> (Harold L Hunt II) >> >> Enjoy, >> >> Harold >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > -- Peter W. Colovas RNC Traffic Processing Department cPSB Development Lucent Technologies Naperville, IL +1 630 224-2181 From huntharo@msu.edu Tue Jul 29 21:20:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Tue, 29 Jul 2003 21:20:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F26E369.4060701@lucent.com> References: <3F25C2A0.40102@msu.edu> <3F25F039.4040009@msu.edu> <3F26E369.4060701@lucent.com> Message-ID: <3F26E4FD.4000800@msu.edu> What do you mean you get an xwinclip execption when using -clipboard. You aren't running xwinclip AND -clipboard, are you? If so, I would certainly expect crashes, since both xwinclip and -clipboard do exactly the same thing. Please tell me that you just made a mistake in your description and that you are not actually doing this. Harold Peter Colovas wrote: > I'm running Win2k SP4. I have a problem with winclip exceptions. If I > close down the X session when I have multiple remote terminals open, I > almost always get an exception in xwinclip. It is still happening with > Test92. I run XWin -multiwindow -clipboard. I get the same xwinclip > error at home on win98, but I haven'y upgraded to this server test > version yet. > -Pete > > Harold L Hunt II wrote: > >> I would like some feedback as to whether or not this release fixes any >> crashing with -multiwindow and -clipboard. >> >> Harold >> >> Harold L Hunt II wrote: >> >>> Links: >>> >>> I just posted Test 92 to the server development page: >>> http://xfree86.cygwin.com/devel/shadow/ >>> >>> You can install the Test 92 package via setup.exe by selecting the >>> following version of the XFree86-xserv package: 4.2.0-43 >>> >>> Server Test Series binary and source code releases are now >>> available via the sources.redhat.com ftp mirror network >>> (http://cygwin.com/mirrors.html) in the >>> pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the >>> desired filename in the links below, then download from your >>> closest mirror (http://cygwin.com/mirrors.html). >>> >>> Server binary, direct link: >>> http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test92.exe.bz2 (1210 KiB) >>> >>> Server source, direct link: >>> http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030728-2010.tar.bz2 (118 >>> KiB) >>> >>> xc/programs/Xserver/hw/xwin (all files) diff against Test91 source code: >>> http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test91-to-Test92.diff >>> (9 KiB) >>> >>> >>> Changes: >>> >>> 1) winconfig.c - Add new defaults for keyboardlayout: German >>> (Switzerland) and English (USA, International). (Alexander >>> Gottwald) >>> >>> 2) XWin.rc - Move Exit button to the bottom of the tray icon's menu. >>> (List suggestion) >>> >>> 3) winmultiwindowclass.c - Add checks for NULL pointers. Should help >>> fix some crashes in MultiWindow mode. (Ralf Habacker) >>> >>> 4) General - Add global variable that tracks whether XInitThreads () >>> has been called so that it is only called once per process. Calling >>> XInitThreads multiple times may have been contributing to crashes. >>> (Harold L Hunt II) >>> >>> Enjoy, >>> >>> Harold >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> > From tlroche@us.ibm.com Tue Jul 29 22:25:00 2003 From: tlroche@us.ibm.com (Thomas L Roche) Date: Tue, 29 Jul 2003 22:25:00 -0000 Subject: -multiwindow crashes XWin.exe, twm does not Message-ID: Thomas L Roche wrote: >> WebSphere Studio products typically put up a configuration dialog, >> then display the full UI. When my startxwin.bat has >> - start XWin -multiwindow -clipboard -unixkill >> I get my xterm, in which I run >> # local >> xhost + 1.2.3.4 >> ssh -X -l userid 1.2.3.4 >> # remote >> cd /opt/IBM/WebSphere/Express/SiteDeveloper >> ./wasexpress51 & >> This launches the dialog. When I hit OK (taking the harmless >> defaults), taskmgr shows some activity, until XWin.exe GPFs. But if >> I use >> + start XWin -clipboard -unixkill >> + REM Startup an xterm, using bash as the shell. >> + run xterm -sl 1000 -sb -rightbar -ms red -fg white -bg blue -e /usr/bin/bash >> + REM Startup the twm window manager. >> + REM WARNING: Do not use an external window manager in conjunction >> + REM with the ``-multiwindow'' command-line parameter for XWin. >> + REM Doing so would start two window managers, which is never >> + REM supposed to happen. >> + run twm >> in my startxwin.bat, and run the same xterm session above, both the >> dialog and the full IDE launch properly. Harold L Hunt II Mon, 28 Jul 2003 19:50:53 -0400 ----- > Please try -multiwindow without -clipboard. That may work. > Otherwise, please try the next test release that I make... it has > some NULL pointer checks that may relate to your problem. Harold L Hunt II Mon, 28 Jul 2003 20:37:11 -0400 > You can install the Test 92 package via setup.exe by selecting the > following version of the XFree86-xserv package: 4.2.0-43 So I installed that package from setup.exe and tried: * start XWin -multiwindow -clipboard -unixkill No change: I still get the startup dialog, then a GPF. * start XWin -multiwindow -unixkill Same: dialog, then GPF. * start XWin -clipboard -unixkill run twm Still works. From earle@ziplabel.com Wed Jul 30 05:10:00 2003 From: earle@ziplabel.com (Earle F. Philhower III) Date: Wed, 30 Jul 2003 05:10:00 -0000 Subject: -multiwindow crashes XWin.exe, twm does not In-Reply-To: Message-ID: <5.1.1.6.2.20030729220308.00ad1e60@mail.ziplabel.com> Howdy Thomas.... At 06:25 PM 7/29/2003 -0400, you wrote: >Thomas L Roche wrote: > >> WebSphere Studio products typically put up a configuration dialog, > >> then display the full UI. When my startxwin.bat has >... >Harold L Hunt II Mon, 28 Jul 2003 20:37:11 -0400 > > You can install the Test 92 package via setup.exe by selecting the > > following version of the XFree86-xserv package: 4.2.0-43 >So I installed that package from setup.exe and tried: >* start XWin -multiwindow -clipboard -unixkill > No change: I still get the startup dialog, then a GPF. >* start XWin -multiwindow -unixkill > Same: dialog, then GPF. Do you have a build environment set up? If so, a compile in debug mode of XWin.exe followed by a run of it in gdb should narrow things down to a specific function. That'd be something to go on for us folks who don't have WebSphere running. As an alternative, Harold, can we get a linkmap of the standard build and compare addresses against the GPF address? I've done this for debugging MSVC apps at user sites, but am not sure how to get the same effect under the Cygwin environment (or even if the link addresses will correspond to the loaded addresses with the cygwin stub...) FWIW I've had just as good experiences with Test92 as with the latest CVS versions. My workload consists mainly of emacs, xterm, rxvt, and a bunch of commercial EDA tools from a wide variety of vendors. Normally I start XWin.exe and leave it running for a week or two (unless there's a MS patch that needs me to reboot, which is kind of often...). -Earle F. Philhower, III earle@ziplabel.com cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com From earle@ziplabel.com Wed Jul 30 05:13:00 2003 From: earle@ziplabel.com (Earle F. Philhower III) Date: Wed, 30 Jul 2003 05:13:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <3F26E369.4060701@lucent.com> References: <3F25F039.4040009@msu.edu> <3F25C2A0.40102@msu.edu> <3F25F039.4040009@msu.edu> Message-ID: <5.1.1.6.2.20030729221211.00ad8b78@mail.ziplabel.com> Howdy... At 04:13 PM 7/29/2003 -0500, Peter Colovas wrote: >I'm running Win2k SP4. I have a problem with winclip exceptions. If I >close down the X session when I have multiple remote terminals open, I >almost always get an exception in xwinclip. It is still happening with >Test92. I run XWin -multiwindow -clipboard. I get the same xwinclip error >at home on win98, but I haven'y upgraded to this server test version yet. Do you mean that you get this when you are trying to kill the server from the notification icon? I too see that occasionally, but haven't taken the time to run under GDB and see why the xwinclip thread is GPFing during server shutdown. In any case it's benign since you're killing the app anyway, right? -Earle F. Philhower, III earle@ziplabel.com cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com From staf.verhaegen@imec.be Wed Jul 30 08:25:00 2003 From: staf.verhaegen@imec.be (Staf Verhaegen) Date: Wed, 30 Jul 2003 08:25:00 -0000 Subject: Scroll wheel as middle mouse button. Message-ID: <3F278101.8010606@imec.be> I already reported this once before but got no reply so I'll try again. I'm running the newest X version from setup (4.2.0-43) updated today. I'm problems with using the scroll wheel as a middle mouse button in X. The scroll messages of the wheel mouse are transferred OK to X. E.g in mozilla running under X I can scroll the window with the scroll wheel. It's when I click the scroll that nothing happens in X. I'm using Win2K SP3, and the mouse is configured with the Logitech MouseWare Control Center (Control Center V9.60.146, Mouse Driver V9.60). I can assign different bindings to clicking the scroll wheel. I tried 'Unassigned', 'Middle Button' and 'Double Click' but nothing of that made a difference. I also ran X in fullscreen, as a window on the desktop or in -multiwindow but also this didn't make any difference. I'm a long time UNIX user and the lack of a middle mouse button is a big handicap (for example in mozilla I use to open a link in a new tab and the copy and paste mechanism of X depends on the middle mouse button). Any ideas to get this working (other then using 3 button mouse emulation by clicking left and right mouse button at the same time) ? greets, Staf. From alexander.gottwald@s1999.tu-chemnitz.de Wed Jul 30 08:26:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Wed, 30 Jul 2003 08:26:00 -0000 Subject: 4.3.0.1 Possible Release and Keeping XFree86 CVS Up to Date In-Reply-To: <3F26C31C.4090807@msu.edu> References: <3F26C31C.4090807@msu.edu> Message-ID: On Tue, 29 Jul 2003, Harold L Hunt II wrote: > I am working on pulling the 4.3.0.1 tree: > > export CVS_RSH=ssh > export CVSROOT=anoncvs@anoncvs.xfree86.org:/cvs > cvs -z3 checkout -r xf-4_3_0_1 xc > cvs-checkout.log 2>&1 > > > I will be copying over the latest hw/xwin files and a few misc. patches > and building the 4.3.0.1 tree for possible release. I am going to try > my hand at packaging this up again to see if I run into any problems. > If all goes well, I might post it as a test release... but it will > probably be a test release dependent upon Cygwin1.dll v 1.5.1 (or > whatever the most recent release is). > As for keeping the XFree86 CVS tree up to date, am I right that I should > be sending patches against XFree86 CVS xf-4_3-branch, instead of the > xf-4_3_0_1 snapshot? Could I do this with: > > cd xc/programs/Xserver/hw > cvs diff -U3 -r xf-4_3-branch xwin > xwin.diff the xf-4_3_0_1 snapshot is part of the xf-4_3 branch. So if you checkout the snapshot, you have the latest from the xf-4_3 branch. A simple cvs diff will create a diff against the xf-4_3 branch. > The main question here is can I make diffs against the specified branch > rather than the branch that I have locally? I assume the answer is yes, > but some confirmation from others before I waste time looking into it > would be helpful. I think cvs diff -r tagname will do this. But it also includes all changes made in both branches. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From nedko.arnaudov@atia.com Wed Jul 30 09:50:00 2003 From: nedko.arnaudov@atia.com (Nedko Arnaudov) Date: Wed, 30 Jul 2003 09:50:00 -0000 Subject: Kernel memory leak caused by XWin.exe Message-ID: Hi, I have a problem of kernel memory leak, since I suffer from it for some time my first target was Matrox G450 video driver, but after changing video card to RADEON 9000 PRO I still see the bug. I've noticed it after some XFree86 version (may the one with integrated Windows clipbard access). I'm currently using DirectX 9.0a. But I think that I've first have noticed bug and after that have upgraded DirectX. Another factor that may cause the bug is that I have 2 CPU/2 monitor setup. The bug from user side is that Windows kernel memory goes to 180 Mb and the OS cannot start new processes and other such basic things. From developer side I've noticed (using PoolTags utility) that the memory leak is with tag "SeOn". The both effects are noticed after running XWin.exe one or two days. Any ideas ? From daniel.blueman@gmx.net Wed Jul 30 11:04:00 2003 From: daniel.blueman@gmx.net (daniel.blueman@gmx.net) Date: Wed, 30 Jul 2003 11:04:00 -0000 Subject: [XWin test-92] test findings... Message-ID: <30316.1059563059@www44.gmx.net> >From this threading fix in test-92, it looks like the startup race I've been seeing sometimes may have gone. Great work, but I haven't confirmed this is definetly sorted yet. Unfortunately, the system tray icon menu (ie not when you double-click, but when you single right click) has no entries - so no 'exit' option like previously. Looks good generally in use so far, and the crash I was getting after a while with the recent test servers seems to be gone! But, when I copy ~ 120 lines of text in a gnome-terminal with the '-clipboard' feature enabled to XWin, it crashes immediately still. Is someone looking into this, or is more information needed? I can get a coredump, but no useful backtrace, as the binary isn't compiled with debugging I believe. Please CC me on any replies! Dan -- Daniel J Blueman 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 From huntharo@msu.edu Wed Jul 30 12:39:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 12:39:00 -0000 Subject: Scroll wheel as middle mouse button. In-Reply-To: <3F278101.8010606@imec.be> References: <3F278101.8010606@imec.be> Message-ID: <3F27BC62.7040402@msu.edu> Staf, The middle-click functionality of the mouse wheel is highly driver dependent. For example, I have Microsoft Intellipoint installed (you can use it with other mice, I believe) and I have left the wheel click as "AutoScroll (default)". Clicking the mouse wheel works just fine in X applications. However, clicking the mouse wheel in Win32 Emacs causes the little AutoScoll symbol to appear instead of pasting. If you click the mouse wheel again, the AutoScroll disappears and the pasting occurs. If you change the wheel click to anything other than the default, then pasting in Win32 Emacs doesn't work at all (IIRC). So what does that make us? Nothing. :) Back on topic --- the point is that I have only had good experiences with Intellipoint in wheel click behavior. Now, for your particular case we may be able to find out if the Logitech drivers are registering a new mouse message for wheel clicks. If that is the case then we can query to see if that message has been registered and start handling it if it has been registered. If you can do the detective work on this (look on Logitech site, MSDN, etc.) then I might be inclined to polish it up into a fix for you. Harold Staf Verhaegen wrote: > I already reported this once before but got no reply so I'll try again. > I'm running the newest X version from setup (4.2.0-43) updated today. > I'm problems with using the scroll wheel as a middle mouse button in X. > The scroll messages of the wheel mouse are transferred OK to X. E.g in > mozilla running under X I can scroll the window with the scroll wheel. > It's when I click the scroll that nothing happens in X. > I'm using Win2K SP3, and the mouse is configured with the Logitech > MouseWare Control Center (Control Center V9.60.146, Mouse Driver V9.60). > I can assign different bindings to clicking the scroll wheel. I tried > 'Unassigned', 'Middle Button' and 'Double Click' but nothing of that > made a difference. > I also ran X in fullscreen, as a window on the desktop or in > -multiwindow but also this didn't make any difference. > I'm a long time UNIX user and the lack of a middle mouse button is a big > handicap (for example in mozilla I use to open a link in a new tab and > the copy and paste mechanism of X depends on the middle mouse button). > Any ideas to get this working (other then using 3 button mouse emulation > by clicking left and right mouse button at the same time) ? > > greets, > Staf. > From holokin@sisna.com Wed Jul 30 15:37:00 2003 From: holokin@sisna.com (Gary Nicholson) Date: Wed, 30 Jul 2003 15:37:00 -0000 Subject: Installing XLT Message-ID: <001e01c356b0$67126f00$c6174bab@AMD> [To Harold Hunt] Harold, Thank you for asking for details about my saga. Here goes: I have XLT-9.2.9.tar in directory /tmp/xlt. I un-tar it and run "configure" from /tmp/xlt/xlt-9.2.9. The file config.log is attached. It shows that the error occurs when "checking for X.." Here is the line of the configure file which puts "checking for X.." into config.log file: echo "configure:2036: checking for X" >&5 The error occurs after the above line. The error message is: eval: 1: Syntax error: "(" unexpected My suspicion is that the configure script cannot find the X include files and libraries, so I added the following options: --x-includes=/usr/X11R6/include/X11 --x-includes=/usr/X11R6/lib An "ls" of /usr/X11R6/include/X11 is in attached file lsinc.txt. An "ls" /usr/X11R6/lib is in attached file lslib.txt These options may not be correct, but the configure script executes without errors when I use them. These paths are just guesses on my part. Do they look right to you? When I try "make", I receive an error: MAKE Version 5.2 Copyright (c) 1987, 1999 Inprise Corp. Error makefile 455: Colon expected *** 1 errors during make *** (Is Borland "make.exe" adequate? I have several Borland IDEs installed and Borland's MAKE is found first. Should I use a different make program?) Here is the last line (number 445?) of makefile: .NOEXPORT: Makefile is attached as Makefile.txt. ... This should bring you up to date with my progress. I don't know where to go from here. Have I used the right paths to include and lib directories? Will Borland's make.exe 5.2 work? Thank your for your help. Gary Nicholson -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.log.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lslib.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lsinc.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Makefile.txt URL: From huntharo@msu.edu Wed Jul 30 15:44:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 15:44:00 -0000 Subject: Installing XLT In-Reply-To: <001e01c356b0$67126f00$c6174bab@AMD> References: <001e01c356b0$67126f00$c6174bab@AMD> Message-ID: <3F27E7B2.7060008@msu.edu> Gary, Gary Nicholson wrote: > [To Harold Hunt] > > Harold, > > Thank you for asking for details about my saga. > > Here goes: > > I have XLT-9.2.9.tar in directory /tmp/xlt. > > I un-tar it and run "configure" from /tmp/xlt/xlt-9.2.9. > > The file config.log is attached. It shows that the > error occurs when "checking for X.." > > Here is the line of the configure file which puts > "checking for X.." into config.log file: > > echo "configure:2036: checking for X" >&5 > > The error occurs after the above line. > > The error message is: > > eval: 1: Syntax error: "(" unexpected > > My suspicion is that the configure script cannot find the X > include files and libraries, so I added the following options: > > --x-includes=/usr/X11R6/include/X11 > --x-includes=/usr/X11R6/lib > > An "ls" of /usr/X11R6/include/X11 is in attached file lsinc.txt. > > An "ls" /usr/X11R6/lib is in attached file lslib.txt > > These options may not be correct, but the configure > script executes without errors when I use them. > I don't know much about those options that I can tell you without having to look it up myself. > These paths are just guesses on my part. Do they look right to you? > > When I try "make", I receive an error: > > MAKE Version 5.2 Copyright (c) 1987, 1999 Inprise Corp. > Error makefile 455: Colon expected > *** 1 errors during make *** > > (Is Borland "make.exe" adequate? I have several Borland IDEs installed > and Borland's MAKE is found first. Should I use a different make > program?) > No, Borland's make is not going to work, unless XLT was specifically designed to work with their make --or-- you intend to work through the problems that arise and submit patches to XLT to be compiled with Borland's make under Cygwin. You need to make sure that the Cygwin /bin path is coming before the path to any Windows executables in your Cygwin PATH envar. You are running make and configure from a Cygwin prompt, not a command prompt, correct? Let us know what happens when you get the PATH corrected... be sure to rerun configure, or even start from a clean untar if you can. Harold From pcolovas@lucent.com Wed Jul 30 16:23:00 2003 From: pcolovas@lucent.com (Peter Colovas) Date: Wed, 30 Jul 2003 16:23:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 In-Reply-To: <5.1.1.6.2.20030729221211.00ad8b78@mail.ziplabel.com> References: <3F25F039.4040009@msu.edu> <3F25C2A0.40102@msu.edu> <3F25F039.4040009@msu.edu> <5.1.1.6.2.20030729221211.00ad8b78@mail.ziplabel.com> Message-ID: <3F27F0EF.1050607@lucent.com> It may be benign since I'm trying to kill the server anyway, but it also points to a memory leak or some other error which is causing the GPF. xwinclip also fails at other times, although I haven't been running 92 long enough to see if it happens. It would be interesting if someone with access to Purify or another memory profiling tool could compile XWin and see what happens. -Pete Earle F. Philhower III wrote: > Howdy... > At 04:13 PM 7/29/2003 -0500, Peter Colovas wrote: > >> I'm running Win2k SP4. I have a problem with winclip exceptions. If I >> close down the X session when I have multiple remote terminals open, I >> almost always get an exception in xwinclip. It is still happening with >> Test92. I run XWin -multiwindow -clipboard. I get the same xwinclip >> error at home on win98, but I haven'y upgraded to this server test >> version yet. > > > Do you mean that you get this when you are trying to kill the server from > the notification icon? I too see that occasionally, but haven't taken the > time to run under GDB and see why the xwinclip thread is GPFing during > server shutdown. In any case it's benign since you're killing the app > anyway, > right? > > > -Earle F. Philhower, III > earle@ziplabel.com > cdrlabel - ZipLabel - FlpLabel > http://www.cdrlabel.com > -- Peter W. Colovas RNC Traffic Processing Department cPSB Development Lucent Technologies Naperville, IL +1 630 224-2181 From nedko.arnaudov@atia.com Wed Jul 30 16:38:00 2003 From: nedko.arnaudov@atia.com (Nedko Arnaudov) Date: Wed, 30 Jul 2003 16:38:00 -0000 Subject: Kernel memory leak caused by XWin.exe References: Message-ID: <8yqgc7il.fsf@atia.com> Just found that SeOn means "Security Captured Object Name information". So I need to say that machine is within Windows domain if this matters. From ford@vss.fsi.com Wed Jul 30 16:42:00 2003 From: ford@vss.fsi.com (Brian Ford) Date: Wed, 30 Jul 2003 16:42:00 -0000 Subject: 4.3.0.1 Possible Release and Keeping XFree86 CVS Up to Date Message-ID: On Wed, 30 Jul 2003, Alexander Gottwald wrote: >On Tue, 29 Jul 2003, Harold L Hunt II wrote: > >> As for keeping the XFree86 CVS tree up to date, am I right that I >> should be sending patches against XFree86 CVS xf-4_3-branch, instead >> of the xf-4_3_0_1 snapshot? Could I do this with: >> >> cd xc/programs/Xserver/hw >> cvs diff -U3 -r xf-4_3-branch xwin > xwin.diff > -U3 is the same as just -u. Cygwin, and most other projects (I don't know about XFree86 for sure), usually also prefer -p to print C function names in the diff header. So: cvs diff -up -r xf-4_3-branch xwin > xwin.diff But, if your sources are already at the head of the branch (like they should be to do this), the -r xf-4_3-branch is redundant. If your sources are on the branch, but out of date, this command would include newer changes that have already been committed in with yours. Since that is probably not what you or they want, here too it is better to leave off the -r xf-4_3-branch. If your sources are not on the branch at all, this is mostly just nonsense. All that said, if you are the only one modifying xwin, it probably just doesn't matter. >the xf-4_3_0_1 snapshot is part of the xf-4_3 branch. So if you checkout >the snapshot, you have the latest from the xf-4_3 branch. A simple cvs >diff will create a diff against the xf-4_3 branch. > I disagree. The snapshot is a point in time on the branch. It may not be, and probably isn't the latest. A simple cvs diff will create a diff against the snapshot, not the branch. I would suggest just keeping your sources on the head of the branch. The only advantage to using a snapshot tag is reproduceability. I don't think snapshots have any sort of stability implied. >> The main question here is can I make diffs against the specified branch >> rather than the branch that I have locally? I assume the answer is >>yes, but some confirmation from others before I waste time looking into >>it would be helpful. > Yes you can, but the result may be difficult to interpret. As I said before, you might get lucky just because you are the only one making changes. This is probably why they often have to hand apply your patches, though. >I think cvs diff -r tagname will do this. But it also includes all >changes made in both branches. > I agree. If you are on branch x, and you cvs diff with branch y, you obviously get their difference. If you apply that patch to branch y, branch y ends up identical to branch x. That might revert valid changes on branch y, and thus is not a good idea. I don't know if I have made things clearer, or just added to the confusion. I am pretty well versed in cvs, though. So I can attempt more clarification if needed. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 From earle@ziplabel.com Wed Jul 30 16:58:00 2003 From: earle@ziplabel.com (Earle F. Philhower, III) Date: Wed, 30 Jul 2003 16:58:00 -0000 Subject: [ANNOUNCEMENT] Server Test 92 Message-ID: <20030730170103.E2F1A1BC48@mail03.powweb.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From holokin@sisna.com Wed Jul 30 17:13:00 2003 From: holokin@sisna.com (Gary Nicholson) Date: Wed, 30 Jul 2003 17:13:00 -0000 Subject: Installing XLT In-Reply-To: <3F27E7B2.7060008@msu.edu> Message-ID: <000001c356bd$d21fe860$b4144bab@AMD> Harold, Thank you for your prompt and helpful reply. I was working from the Cygwin prompt, not the Win command prompt. My PATH variable did include /bin before any directories outside /cygwin, so changing PATH did not help, but... My mistake was that the GNU make was not yet installed. I installed GNU make and re-tried from a clean directory. This time, oddly, no errors occurred while configure was searching for includes and libraries. The paths were found to be /usr/X11R6/include and /usr/X11R6/lib Running GNU make yielded various warnings and the following error messages: collect2: ld returned 1 exit status make[3]: *** [test1] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Is it safe to ignore these errors? They seem to have happened while GNU make was processing makefiles in the tests directory. The attachment shows the combined standard and error streams during make. Thank you for your help. I'm going to go ahead now and start reading XLT docs and see if I can run some tests on the environment. Gary -----Original Message----- From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Harold L Hunt II Sent: Wednesday, July 30, 2003 9:44 AM To: cygwin-xfree@cygwin.com Subject: Re: Installing XLT [snip] No, Borland's make is not going to work, unless XLT was specifically designed to work with their make --or-- you intend to work through the problems that arise and submit patches to XLT to be compiled with Borland's make under Cygwin. You need to make sure that the Cygwin /bin path is coming before the path to any Windows executables in your Cygwin PATH envar. You are running make and configure from a Cygwin prompt, not a command prompt, correct? Let us know what happens when you get the PATH corrected... be sure to rerun configure, or even start from a clean untar if you can. Harold -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: errors.make.txt URL: From huntharo@msu.edu Wed Jul 30 17:24:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 17:24:00 -0000 Subject: 4.3.0.1 Possible Release and Keeping XFree86 CVS Up to Date In-Reply-To: References: Message-ID: <3F27FF56.80106@msu.edu> Brian, Brian Ford wrote: > On Wed, 30 Jul 2003, Alexander Gottwald wrote: > > >>On Tue, 29 Jul 2003, Harold L Hunt II wrote: >> >> >>>As for keeping the XFree86 CVS tree up to date, am I right that I >>>should be sending patches against XFree86 CVS xf-4_3-branch, instead >>>of the xf-4_3_0_1 snapshot? Could I do this with: >>> >>>cd xc/programs/Xserver/hw >>>cvs diff -U3 -r xf-4_3-branch xwin > xwin.diff >> > -U3 is the same as just -u. Cygwin, and most other projects (I don't know > about XFree86 for sure), usually also prefer -p to print C function > names in the diff header. -p, -U3, and -u weren't really the question here, but thanks for the tips anyway. > So: > > cvs diff -up -r xf-4_3-branch xwin > xwin.diff > > But, if your sources are already at the head of the branch (like they > should be to do this), the -r xf-4_3-branch is redundant. Head of the branch as in I checked out using: cvs -z3 checkout -r xf-4_3-branch xc ? > If your > sources are on the branch, but out of date, this command would include > newer changes that have already been committed in with yours. I always do a 'cvs update' before diffing for stuff that I am sending to xfree86.org, specifically so that I don't keep sending them the same things over and over again. > Since that is > probably not what you or they want, here too it is better to leave off > the -r xf-4_3-branch. If your sources are not on the branch at all, this > is mostly just nonsense. > > All that said, if you are the only one modifying xwin, it probably just > doesn't matter. > > >>the xf-4_3_0_1 snapshot is part of the xf-4_3 branch. So if you checkout >>the snapshot, you have the latest from the xf-4_3 branch. A simple cvs >>diff will create a diff against the xf-4_3 branch. >> > > I disagree. The snapshot is a point in time on the branch. It may not > be, and probably isn't the latest. A simple cvs diff will create a diff > against the snapshot, not the branch. > You are both referring to a diff against an -r xf-4_3_0_1 checkout, not against a -r xf-4_3-branch checkout, right? Note that I have about 5 copies of the xc module, one for HEAD and a bunch of others for different branches/tags. > I would suggest just keeping your sources on the head of the branch. The > only advantage to using a snapshot tag is reproduceability. I don't think > snapshots have any sort of stability implied. Is the head of the branch xf-4_3-branch? I assume that is what you mean. > > >>>The main question here is can I make diffs against the specified branch >>>rather than the branch that I have locally? I assume the answer is >>>yes, but some confirmation from others before I waste time looking into >>>it would be helpful. >> > Yes you can, but the result may be difficult to interpret. As I said > before, you might get lucky just because you are the only one making > changes. This is probably why they often have to hand apply your > patches, though. > Who has to apply my patches by hand? This has never been brought to my attention. Who is "they"? Are you referring to the patches I send to xfree86.org or the patch sets that I distribute with Server Test Series releases? The latter are meant to be applied by hand and only server to highlight what has changed to those that are keeping track. > >>I think cvs diff -r tagname will do this. But it also includes all >>changes made in both branches. >> > > I agree. If you are on branch x, and you cvs diff with branch y, you > obviously get their difference. If you apply that patch to branch y, > branch y ends up identical to branch x. That might revert valid changes > on branch y, and thus is not a good idea. > So my question is, can I make patches for the xf-4_3-branch based off a HEAD checkout without actually having to pull the xf-4_3-branch tree? If so, then I can just create patches to keep the xf-4_3-branch up to date without actually having a copy of it on my disk. This would be convenient. > I don't know if I have made things clearer, or just added to the > confusion. I am pretty well versed in cvs, though. So I can attempt more > clarification if needed. I think that it helped. My main problem is that I just haven't spent much time with CVS, getting to know how it works etc. What you have said has added to my overall knowledge of how CVS works, as well as to some specifics related to our project. Thanks for your help, Harold From tlroche@us.ibm.com Wed Jul 30 18:31:00 2003 From: tlroche@us.ibm.com (Thomas L Roche) Date: Wed, 30 Jul 2003 18:31:00 -0000 Subject: -multiwindow crashes XWin.exe, twm does not Message-ID: Thomas L Roche 06:25 PM 7/29/2003 >> So I installed that package from setup.exe and tried: >> * start XWin -multiwindow -clipboard -unixkill >> No change: I still get the startup dialog, then a GPF. >> * start XWin -multiwindow -unixkill >> Same: dialog, then GPF. "Earle F. Philhower III" Tue, 29 Jul 2003 22:11:10 -0700 > Do you have a build environment set up? No. How is one done? > If so, a compile in debug mode of XWin.exe followed by a run of it > in gdb should narrow things down to a specific function. Sounds reasonable. From ford@vss.fsi.com Wed Jul 30 18:33:00 2003 From: ford@vss.fsi.com (Brian Ford) Date: Wed, 30 Jul 2003 18:33:00 -0000 Subject: 4.3.0.1 Possible Release and Keeping XFree86 CVS Up to Date Message-ID: On Wed, 30 Jul 2003, Harold L Hunt II wrote: >-p, -U3, and -u weren't really the question here, but thanks for the >tips anyway. > Sure, sorry. On Wed, 30 Jul 2003, Brian Ford wrote: > >>So: >> >>cvs diff -up -r xf-4_3-branch xwin > xwin.diff >> >>But, if your sources are already at the head of the branch (like they >>should be to do this), the -r xf-4_3-branch is redundant. >> >Head of the branch as in I checked out using: > >cvs -z3 checkout -r xf-4_3-branch xc ? > Yes. > I always do a 'cvs update' before diffing for stuff that I am sending to > xfree86.org, specifically so that I don't keep sending them the same > things over and over again. > Good. You do know that -r tags are sticky, ie. They are remembered until you use another one, or remove them with cvs update -A. I just wanted to make clear the difference between updating/checking out with a branch tag vs. a static (snapshot) tag. A branch tag is a dynamic moving target and always refers to the head of the branch. Thus, updating here does keep you up to date. A static snapshot tag is just that. It is a point in time snapshot that will never change (unless something gets retagged because of a mistake). Updating there is pointless. >You are both referring to a diff against an -r xf-4_3_0_1 checkout, not >against a -r xf-4_3-branch checkout, right? > Yes. >Is the head of the branch xf-4_3-branch? I assume that is what you mean. > Yes. >Who has to apply my patches by hand? This has never been brought to my >attention. Who is "they"? Are you referring to the patches I send to >xfree86.org or the patch sets that I distribute with Server Test Series >releases? The latter are meant to be applied by hand and only server to >highlight what has changed to those that are keeping track. > I thought I had seen in a past thread that one of your xfree86.org developer contacts apologized for a delay in getting a patch applied because he had to apply it by hand. I can't seem to dig that thread up now, so it was either an isolated incident, or I was confused. Sorry for jumping to conclusions. >So my question is, can I make patches for the xf-4_3-branch based off a >HEAD checkout without actually having to pull the xf-4_3-branch tree? If >so, then I can just create patches to keep the xf-4_3-branch up to date >without actually having a copy of it on my disk. This would be >convenient. > Officially, no. Depending on how much has changed, maybe. If you are going to try though, I'd just use regular cvs diff. Otherwise, you might inadvertently pull something off HEAD that you did not mean to. It would be better to either pull the whole branch, or temporarily move the applicable part of your HEAD tree over with cvs update -r tag and then move it back with cvs update -A. This is tricky, but manageable. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 From tlroche@us.ibm.com Wed Jul 30 18:38:00 2003 From: tlroche@us.ibm.com (Thomas L Roche) Date: Wed, 30 Jul 2003 18:38:00 -0000 Subject: [XWin test-92] no tray>exit Message-ID: daniel.blueman Wed, 30 Jul 2003 13:04:19 +0200 (MEST) > Unfortunately, the system tray icon menu (ie not when you > double-click, but when you single right click) has no entries - so > no 'exit' option like previously. I also observed this: the only content of the context menu was a separator (disabled, IIRC). From huntharo@msu.edu Wed Jul 30 18:44:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 18:44:00 -0000 Subject: -multiwindow crashes XWin.exe, twm does not In-Reply-To: References: Message-ID: <3F2811EB.7090503@msu.edu> Thomas, Thomas L Roche wrote: > Thomas L Roche 06:25 PM 7/29/2003 > >>>So I installed that package from setup.exe and tried: >>>* start XWin -multiwindow -clipboard -unixkill >>> No change: I still get the startup dialog, then a GPF. >>>* start XWin -multiwindow -unixkill >>> Same: dialog, then GPF. > > > "Earle F. Philhower III" Tue, 29 Jul 2003 22:11:10 -0700 > >>Do you have a build environment set up? > > > No. How is one done? > Check this part of the Contributor's Guide to get the source: http://xfree86.cygwin.com/docs/cg/prog-obtaining-source.html Note: You must have at least the cvs and openssh packages in order to get the source. > >>If so, a compile in debug mode of XWin.exe followed by a run of it >>in gdb should narrow things down to a specific function. > > > Sounds reasonable. Next, follow the instructions in the Native Compiling section to build a debug version of the tree: http://xfree86.cygwin.com/docs/cg/prog-build-native.html Harold P.S. You are a good sport, so I updated the Contributor's Guide instructions that tell how to get the source code... they used to advocate using pserver, but that is now no longer advised and a password-free ssh method is available and preferred. The new instructions tell how to use the ssh method. From huntharo@msu.edu Wed Jul 30 18:47:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 18:47:00 -0000 Subject: [XWin test-92] no tray>exit In-Reply-To: References: Message-ID: <3F2812A7.30200@msu.edu> Huh. Interesting. There was a debate some time ago as to whether the Exit button should be on the bottom or top of that menu. My local tree got changed, but the change appears to have been incomplete because the code that hides and unhides buttons seems to be unchanged. That code operates on button positions, not button names, so it has to be updated whenever buttons are moved. This should be easy to fix, but I would, of course, appreciate it if someone got to it before I did and had a patch waiting for me when I get home tonight... Harold Thomas L Roche wrote: > daniel.blueman Wed, 30 Jul 2003 13:04:19 +0200 (MEST) > >>Unfortunately, the system tray icon menu (ie not when you >>double-click, but when you single right click) has no entries - so >>no 'exit' option like previously. > > > I also observed this: the only content of the context menu was a > separator (disabled, IIRC). > From daniel.blueman@gmx.net Wed Jul 30 19:11:00 2003 From: daniel.blueman@gmx.net (daniel.blueman@gmx.net) Date: Wed, 30 Jul 2003 19:11:00 -0000 Subject: [XWin test-92] test findings... References: Message-ID: <22744.1059592304@www23.gmx.net> Yes, my system is running with I think at least one service of Norton AV running (an old version), but the rest of the Norton font-end stuff isn't running. I didn't notice any problem here. Dan > Hi! > > Just a quick question, do you have any antivirus or similar/protection > software running also? Saw some small comment somewhere that something > chewed memory when running together with mcafee (if _my_ memory > doesn't fail me) > > /Andy > > / daniel.blueman@gmx.net wrote: > | From this threading fix in test-92, it looks like the startup race I've > been > | seeing sometimes may have gone. Great work, but I haven't confirmed this > is > | definetly sorted yet. > | > | Unfortunately, the system tray icon menu (ie not when you double-click, > but > | when you single right click) has no entries - so no 'exit' option like > | previously. > | > | Looks good generally in use so far, and the crash I was getting after a > | while with the recent test servers seems to be gone! But, when I copy ~ > 120 lines > | of text in a gnome-terminal with the '-clipboard' feature enabled to > XWin, > | it crashes immediately still. > | > | Is someone looking into this, or is more information needed? I can get a > | coredump, but no useful backtrace, as the binary isn't compiled with > debugging I > | believe. > | > | Please CC me on any replies! > | Dan > | > | -- > | Daniel J Blueman > | > | 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 > | > | > > -- > Democracy is two hungry wolves and one sheep discussing what's for > dinner. Liberty is a well-armed sheep willing to contest the decision. > > Please note, new email, @telia.com -> @comhem.se > -- Daniel J Blueman 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 From michael.grigoni@cybertheque.org Wed Jul 30 19:39:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Wed, 30 Jul 2003 19:39:00 -0000 Subject: how to get source ip of a telnet session Message-ID: <3F281E2E.96C141F5@cybertheque.org> Greetings: We need a method of learning the ip address of the client in a telnet session to a Win2k Server SP3 host; the information will be used in the user's ~/.profile to set the DISPLAY variable prior to starting an X session. On Unix one may use 'lsof' (if available) and grep on the shell pid and file descriptor 0 to find the line containing the source ip addr. In some flavors of Unix the /proc filesystem can also be of help. We're currently using the native Windows Telnet Server; 'tlntadmn.exe' can interactively show connections and provide a SESSION ID crossed to the ip address; one could conceivably cross the SESSION ID to the bash pid but the 'tlntadmn' tool isn't well documented and doesn't seem to accept arguments so it is useless in scripts. All suggestions much appreciated. Michael Grigoni Cybertheque Museum From huntharo@msu.edu Wed Jul 30 19:45:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 19:45:00 -0000 Subject: how to get source ip of a telnet session In-Reply-To: <3F281E2E.96C141F5@cybertheque.org> References: <3F281E2E.96C141F5@cybertheque.org> Message-ID: <3F282060.5000308@msu.edu> Any reason you can't grep the output of tlntadmn to get what you need? By the way, when I run tlntadmn /? I get: C:\Documents and Settings\harold>tlntadmn /? Usage: tlntadmn [computer name] [common_options] start | stop | pause | continue | -s | -k | -m | config config_options Use 'all' for all sessions. -s sessionid List information about the session. -k sessionid Terminate a session. -m sessionid Send message to a session. config Configure telnet server parameters. common_options are: -u user Identity of the user whose credentials are to be used -p password Password of the user config_options are: dom = domain Set the default domain for user names ctrlakeymap = yes|no Set the mapping of the ALT key timeout = hh:mm:ss Set the Idle Session Timeout timeoutactive = yes|no Enable idle session timeout. maxfail = attempts Set the maximum number of login failure attempts before disconnecting. maxconn = connections Set the maximum number of connections. port = number Set the telnet port. sec = [+/-]NTLM [+/-]passwd Set the authentication mechanism mode = console|stream Specify the mode of operation. C:\Documents and Settings\harold> So, what do you mean when you say it does not seem to accept arguments? Harold msg wrote: > Greetings: > > We need a method of learning the ip address of the client in a telnet > session to a Win2k Server SP3 host; the information will be used in > the user's ~/.profile to set the DISPLAY variable prior to starting > an X session. > > On Unix one may use 'lsof' (if available) and grep on the shell pid and > file descriptor 0 to find the line containing the source ip addr. In > some flavors of Unix the /proc filesystem can also be of help. > > We're currently using the native Windows Telnet Server; 'tlntadmn.exe' > can interactively show connections and provide a SESSION ID crossed > to the ip address; one could conceivably cross the SESSION ID to > the bash pid but the 'tlntadmn' tool isn't well documented and doesn't > seem to accept arguments so it is useless in scripts. > > All suggestions much appreciated. > > Michael Grigoni > Cybertheque Museum From michael.grigoni@cybertheque.org Wed Jul 30 19:50:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Wed, 30 Jul 2003 19:50:00 -0000 Subject: how to get source ip of a telnet session References: <3F281E2E.96C141F5@cybertheque.org> <3F282060.5000308@msu.edu> Message-ID: <3F2820E7.F158A4EC@cybertheque.org> Thanks for your reply. Harold L Hunt II wrote: > > Any reason you can't grep the output of tlntadmn to get what you need? > > By the way, when I run tlntadmn /? I get: > When I run tlntadmn /? I get a hung command shell which eventually times out; only running without args seems to work... I'll try using the syntax you provided and see what happens. Michael Grigoni Cybertheque Museum From huntharo@msu.edu Wed Jul 30 20:02:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 20:02:00 -0000 Subject: how to get source ip of a telnet session In-Reply-To: <3F2820E7.F158A4EC@cybertheque.org> References: <3F281E2E.96C141F5@cybertheque.org> <3F282060.5000308@msu.edu> <3F2820E7.F158A4EC@cybertheque.org> Message-ID: <3F282445.2080106@msu.edu> Michael, > When I run tlntadmn /? I get a hung command shell which eventually times > out; > only running without args seems to work... You are right, on Windows 2000 I get an error about needing administrative priveleges even though I am logged in as Administrator :) Oh well, if you are going to misinterpret command-line parameters, you might was well throw errors about priveleges to get people on the wrong track :) Is there any reason you are using telnet server instead of sshd under Cygwin? It is really easy to setup and you can run remote X apps pretty easily. First install the openssh package, then from a Cygwin prompt run 'ssh-host-config'. Answer yes to the prompt to register it as a service and don't forget to either restart or start the service manually after installation. You can then edit /etc/sshd_config and set X11Forwarding to yes, as follows: X11Forwarding yes Then restart the CYGWIN sshd service again and you are in business. For info on how to run X apps over ssh, see the User's Guide: http://xfree86.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh With all of that being said, I am sure you have a really good reason for not using ssh or requiring telnet, but at least this is documented for anyone searching on similar info later. Harold From earle@ziplabel.com Wed Jul 30 20:14:00 2003 From: earle@ziplabel.com (Earle F. Philhower, III) Date: Wed, 30 Jul 2003 20:14:00 -0000 Subject: [XWin test-92] no tray>exit Message-ID: <20030730201645.D9BCE1C671@mail03.powweb.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From michael.grigoni@cybertheque.org Wed Jul 30 21:05:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Wed, 30 Jul 2003 21:05:00 -0000 Subject: how to get source ip of a telnet session References: <3F281E2E.96C141F5@cybertheque.org> <3F282060.5000308@msu.edu> <3F2820E7.F158A4EC@cybertheque.org> Message-ID: <3F28326E.CB27921C@cybertheque.org> msg wrote: > When I run tlntadmn /? I get a hung command shell which eventually times > out; > only running without args seems to work... > > I'll try using the syntax you provided and see what happens. > Running as Administrator: 'tlntadmn -s ' or 'tlntadmn - ' --30 second delay-- --"Error:you need to have administrator privileges" 'tlntadmn' --no delay-- --presents interactive menu-- --all functions work properly-- 'tlntadmn' -s ' or 'tlntadmn' - --no delay-- --presents the interactive menu (doesn't honor args)-- I expanded 'tlntadmn.ex_' from the dist cdrom in case the resident copy was corrupted; files are identical. Don't know about dll's tho... Michael Grigoni Cybertheque Museum From michael.grigoni@cybertheque.org Wed Jul 30 21:11:00 2003 From: michael.grigoni@cybertheque.org (msg) Date: Wed, 30 Jul 2003 21:11:00 -0000 Subject: how to get source ip of a telnet session References: <3F281E2E.96C141F5@cybertheque.org> <3F282060.5000308@msu.edu> <3F2820E7.F158A4EC@cybertheque.org> <3F282445.2080106@msu.edu> Message-ID: <3F2833D3.195C7629@cybertheque.org> Harold L Hunt II wrote: > > Is there any reason you are using telnet server instead of sshd under > Cygwin? > The X-terminals to be supported don't du ssh; also the intent here is to provide a nearly seamless login requiring only the user to enter uid and passwd to get a session, which in this case is an rdesktop Windows session. I've got XDM working but the user needs to login twice of course which is not what I want. If using 'in.telnetd' would provide session logging as it is written I would rejoice; I hoped to find a simple solution involving existing resources and scripting rather than having to add functionality to a telnetd. Michael Grigoni Cybertheque Museum From huntharo@msu.edu Wed Jul 30 23:38:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 23:38:00 -0000 Subject: [ANNOUNCEMENT] Server Test 93 Message-ID: <3F2856F5.6060206@msu.edu> Links: I just posted Test 93 to the server development page: http://xfree86.cygwin.com/devel/shadow/ You can install the Test 93 package via setup.exe by selecting the following version of the XFree86-xserv package: 4.2.0-44 Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test93.exe.bz2 (1209 KiB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20030730-1915.tar.bz2 (116 KiB) xc/programs/Xserver/hw/xwin (all files) diff against Test92 source code: http://www.msu.edu/~huntharo/xwin/shadow/xwin-Test92-to-Test93.diff (21 KiB) Changes: 1) wintrayicon.c - Change code that shows/hides the seperator on the tray icon menu. This change was required to stay in synch with the change in the position of the tray icon menu items that was applied to XWin.rc in Test92. (Earle F. Philhower III) Enjoy, Harold From huntharo@msu.edu Wed Jul 30 23:39:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 23:39:00 -0000 Subject: Updated on sourceware: XFree86-xserv-4.2.0-44 Message-ID: <3F28573A.6010805@msu.edu> The XFree86-xserv-4.2.0-44 package has been updated in the Cygwin distribution. Changes: 1) wintrayicon.c - Change code that shows/hides the seperator on the tray icon menu. This change was required to stay in synch with the change in the position of the tray icon menu items that was applied to XWin.rc in Test92. (Earle F. Philhower III) 2) winconfig.c - Add new defaults for keyboardlayout: German (Switzerland) and English (USA, International). (Alexander Gottwald) 3) XWin.rc - Move Exit button to the bottom of the tray icon's menu. (List suggestion) 4) winmultiwindowclass.c - Add checks for NULL pointers. Should help fix some crashes in MultiWindow mode. (Ralf Habacker) 5) General - Add global variable that tracks whether XInitThreads () has been called so that it is only called once per process. Calling XInitThreads multiple times may have been contributing to crashes. (Harold L Hunt II) -- Harold Hunt To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'XFree86-xserv' from the 'XFree86' category. You may need to click the "Full" button if it doesn't show up. Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://archive.progeny.com/cygwin/ is a reliable high bandwidth connection. In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is usually up-to-date. In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date. If one of the above doesn't have the latest version of this package you can either wait for the site to be updated or find another mirror. Please send questions or comments to the Cygwin/XFree86 mailing list at: cygwin-xfree@sources.redhat.com . If you want to subscribe go to: http://cygwin.com/lists.html I would appreciate if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin/XFree86 in general. If you want to make a point or ask a question the Cygwin/XFree86 mailing list is the appropriate place. From huntharo@msu.edu Wed Jul 30 23:48:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Wed, 30 Jul 2003 23:48:00 -0000 Subject: [XWin test-92] no tray>exit In-Reply-To: <20030730201645.D9BCE1C671@mail03.powweb.com> References: <20030730201645.D9BCE1C671@mail03.powweb.com> Message-ID: <3F28595C.4080709@msu.edu> Earle, Thanks. Check out Test93... please make sure that the patch fixed the problem. Thanks for contributing, Harold Earle F. Philhower, III wrote: > Howdy Harold, here's that patch: > > --- xwin.test92/wintrayicon.c 2003-06-02 06:14:26.000000000 -0700 > +++ xwin/wintrayicon.c 2003-07-30 13:09:06.000000000 -0700 > @@ -176,7 +176,7 @@ > > /* Remove separator */ > RemoveMenu (hmenuTray, > - 1, > + 0, > MF_BYPOSITION); > } > > > ---------- Original Message ------------- > Subject: Re: [XWin test-92] no tray>exit > Date: Wed, 30 Jul 2003 14:47:03 -0400 > From: Harold L Hunt II > To: cygwin-xfree@cygwin.com > > > Huh. Interesting. > > There was a debate some time ago as to whether the Exit button should be > on the bottom or top of that menu. My local tree got changed, but the > change appears to have been incomplete because the code that hides and > unhides buttons seems to be unchanged. That code operates on button > positions, not button names, so it has to be updated whenever buttons > are moved. This should be easy to fix, but I would, of course, > appreciate it if someone got to it before I did and had a patch waiting > for me when I get home tonight... > > Harold > > Thomas L Roche wrote: > > >>daniel.blueman Wed, 30 Jul 2003 13:04:19 +0200 (MEST) >> >> >>>Unfortunately, the system tray icon menu (ie not when you >>>double-click, but when you single right click) has no entries - so >>>no 'exit' option like previously. >> >> >>I also observed this: the only content of the context menu was a >>separator (disabled, IIRC). >> > > > From earle@ziplabel.com Thu Jul 31 02:48:00 2003 From: earle@ziplabel.com (Earle F. Philhower III) Date: Thu, 31 Jul 2003 02:48:00 -0000 Subject: [XWin test-92] no tray>exit In-Reply-To: <3F28595C.4080709@msu.edu> References: <20030730201645.D9BCE1C671@mail03.powweb.com> <20030730201645.D9BCE1C671@mail03.powweb.com> Message-ID: <5.1.1.6.2.20030730194712.00ad32d8@mail.ziplabel.com> Howdy Harold, Test93 runs fine w/the menu, it's not as if there was a lot of changes involved! ;) At 07:48 PM 7/30/2003 -0400, you wrote: >Earle, > >Thanks. > >Check out Test93... please make sure that the patch fixed the problem. > >Thanks for contributing, > >Harold > >Earle F. Philhower, III wrote: > >>Howdy Harold, here's that patch: >>--- xwin.test92/wintrayicon.c 2003-06-02 06:14:26.000000000 -0700 >>+++ xwin/wintrayicon.c 2003-07-30 13:09:06.000000000 -0700 >>@@ -176,7 +176,7 @@ >> /* Remove separator */ >> RemoveMenu (hmenuTray, >>- 1, >>+ 0, >> MF_BYPOSITION); >> } >> >>---------- Original Message ------------- >>Subject: Re: [XWin test-92] no tray>exit >>Date: Wed, 30 Jul 2003 14:47:03 -0400 >>From: Harold L Hunt II >>To: cygwin-xfree@cygwin.com >> >>Huh. Interesting. >>There was a debate some time ago as to whether the Exit button should be >>on the bottom or top of that menu. My local tree got changed, but the >>change appears to have been incomplete because the code that hides and >>unhides buttons seems to be unchanged. That code operates on button >>positions, not button names, so it has to be updated whenever buttons are >>moved. This should be easy to fix, but I would, of course, appreciate it >>if someone got to it before I did and had a patch waiting for me when I >>get home tonight... >>Harold >>Thomas L Roche wrote: >> >>>daniel.blueman Wed, 30 Jul 2003 13:04:19 +0200 (MEST) >>> >>> >>>>Unfortunately, the system tray icon menu (ie not when you >>>>double-click, but when you single right click) has no entries - so >>>>no 'exit' option like previously. >>> >>> >>>I also observed this: the only content of the context menu was a >>>separator (disabled, IIRC). >> > -Earle F. Philhower, III earle@ziplabel.com cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com From huntharo@msu.edu Thu Jul 31 03:20:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 03:20:00 -0000 Subject: Cross compiling xf-4_3-branch Message-ID: <3F288B0D.4000903@msu.edu> I have been trying to cross compile Cygwin/XFree86 from the XFree86.org CVS xf-4_3-branch. I am using a host.def file that basically has the following line in it: ======================================================================= #define BuildFonts NO ======================================================================= I have run a script as suggested by Jim Gettys in /home/harold/cygwin/bin: ======================================================================= #!/bin/bash # # This stuff is required for the Cross Compile Environment. # cd /home/harold/cygwin/bin for i in *; do if [ $i != ${i/i686-pc-cygwin-/} ]; then ln -s $i ${i/i686-pc-cygwin-/} fi done ln -s i686-pc-cygwin-gcc cc ======================================================================= Most everything is building okay, but I am getting strange include problems from makedepend: ======================================================================= ../../../../config/makedepend/makedepend: warning: winclipboardinit.c (reading winclipboard.h, line 61): cannot find include file "windows.h" not in ./windows.h not in ../../../../exports/include/X11/windows.h not in ../../../../include/fonts/windows.h not in ../../../../programs/Xserver/fb/windows.h not in ../../../../programs/Xserver/mi/windows.h not in ../../../../programs/Xserver/miext/shadow/windows.h not in ../../../../programs/Xserver/miext/layer/windows.h not in ../../../../programs/Xserver/include/windows.h not in ../../../../programs/Xserver/os/windows.h not in ../../../../include/extensions/windows.h not in ../../../../exports/include/X11/windows.h not in ../../../../programs/Xserver/render/windows.h not in ../../../../programs/Xserver/randr/windows.h not in ../../../../windows.h not in ../../../../exports/include/windows.h not in /usr/local/lib/gcc-include/windows.h not in /usr/include/windows.h not in /usr/include/w32api/windows.h not in /usr/lib/gcc-lib/i386-linux/3.3.1/include/windows.h ======================================================================= Of course, this is quite strange because makedepend should not be looking in /usr/*. Any ideas as to why this is happening? I am also getting the following warning from makedepend that indicates another includes problem: ======================================================================= ../../../../config/makedepend/makedepend: warning: /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7 ======================================================================= Any ideas? I would really like to get cross compiling fixed before I make a 4.3.0 release. In fact, I might build the release version as a cross compile if I get all the little kinds straightened out. Harold From huntharo@msu.edu Thu Jul 31 03:27:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 03:27:00 -0000 Subject: twm fails in cross compile Message-ID: <3F288CA6.2010901@msu.edu> making all in programs/twm... make[4]: Entering directory `/home/harold/x-devel/4.3/build/std/programs/twm' /home/harold/cygwin/bin/`echo gcc|sed "s%.*/%%"` -O2 -fno-strength-reduce -Wall -Wpointer-arith -Wundef -I../.. -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO -c -o gram.o gram.c y.tab.c: In function `yyparse': y.tab.c:1064: warning: suggest parentheses around assignment used as truth value y.tab.c:1112: warning: label `yyerrlab' defined but not used y.tab.c:1107: warning: label `yynewerror' defined but not used /home/harold/cygwin/i686-pc-cygwin/include/stdio.h: At top level: gram.c:2: warning: `yysccsid' defined but not used /home/harold/cygwin/bin/`echo gcc|sed "s%.*/%%"` -O2 -fno-strength-reduce -Wall -Wpointer-arith -Wundef -I../.. -I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DNO_ALLOCA -DFUNCPROTO=15 -DNARROWPROTO -c -o lex.o lex.c :23:55: stdint.h: No such file or directory : In function `yylex': :825: warning: label `find_rule' defined but not used /home/harold/cygwin/i686-pc-cygwin/include/stdio.h: At top level: :1256: warning: `yyunput' defined but not used :1866: warning: `yy_flex_strlen' defined but not used make[4]: *** [lex.o] Error 1 Notice stdint.h is not found when building in programs/twm. Not sure what is causing this one. Any ideas? Harold From alexander.gottwald@s1999.tu-chemnitz.de Thu Jul 31 10:29:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 10:29:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: <3F288B0D.4000903@msu.edu> References: <3F288B0D.4000903@msu.edu> Message-ID: On Wed, 30 Jul 2003, Harold L Hunt II wrote: > ../../../../config/makedepend/makedepend: warning: winclipboardinit.c > (reading winclipboard.h, line 61): cannot find include file "windows.h" > not in ./windows.h the makedepend utitility does know nothing about the w32api directory. As a patch add -I/path/to/include/w32api to the CFLAGS. I'm not sure if I also fixed makedepend (I think not, otherwise I'd have sendin a patch) but I'll check tonight. > Any ideas? I would really like to get cross compiling fixed before I > make a 4.3.0 release. In fact, I might build the release version as a > cross compile if I get all the little kinds straightened out. I have a running cc environment and will send you the patches I've applied. bye ago From alexander.gottwald@s1999.tu-chemnitz.de Thu Jul 31 10:31:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 10:31:00 -0000 Subject: twm fails in cross compile In-Reply-To: <3F288CA6.2010901@msu.edu> References: <3F288CA6.2010901@msu.edu> Message-ID: On Wed, 30 Jul 2003, Harold L Hunt II wrote: > Notice stdint.h is not found when building in programs/twm. this must be a new problem. I've not noticed it before. SO I think it was commit in the last 1 or 2 months. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From alexander.gottwald@s1999.tu-chemnitz.de Thu Jul 31 10:37:00 2003 From: alexander.gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 10:37:00 -0000 Subject: twm fails in cross compile In-Reply-To: <3F288CA6.2010901@msu.edu> References: <3F288CA6.2010901@msu.edu> Message-ID: On Wed, 30 Jul 2003, Harold L Hunt II wrote: > Notice stdint.h is not found when building in programs/twm. > > Not sure what is causing this one. Any ideas? I just checked the cvs. The stdint.h is not used in lex.l. Maybe it is pulled in by the flex template used by the linux flex compiler. I'll check tonight too. bye ago -- Alexander.Gottwald@s1999.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 15:23:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 15:23:00 -0000 Subject: unable to change us keyboard in french keyboard In-Reply-To: <5.1.0.14.0.20030729154741.0240e150@pop.wanadoo.fr> References: <5.1.0.14.0.20030729154741.0240e150@pop.wanadoo.fr> Message-ID: Albert Polombo wrote: > I have done the installation of cygwin-xfree under W2000. It works > perfectly but I get an us keyboard in a graphic window. The french layout is normally detected automaticly. Can you please send me /tmp/Xwin.log? It contains information about the server startup. And can you also please run the program from http://www.tu-chemnitz.de/~goal/xfree/keyboard.tar.gz and send me the output? With this information I can add the keyboard type to the list of automaticly detected (If your layout differs from the standard french one). bye ago NP: Deine Lakaien - Love me to the end -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 16:06:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 16:06:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: References: <3F288B0D.4000903@msu.edu> Message-ID: Alexander Gottwald wrote: > I'm not sure if I also fixed makedepend (I think not, otherwise I'd have > sendin a patch) but I'll check tonight. I've checked in two patches (one to cygwin.cf and one to makedepend/Imakefile) They change the default includedirs for crosscompiling. The one to cygwin.cf also switches on building of libX11 and libXext. They are needed for the Xserver and for most cc builds not available precompiled. bye ago NP: Deine Lakaien - Prayer -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Thu Jul 31 16:17:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 16:17:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: References: <3F288B0D.4000903@msu.edu> Message-ID: <3F29410A.2080909@msu.edu> Alexander Gottwald wrote: > On Wed, 30 Jul 2003, Harold L Hunt II wrote: > > >>../../../../config/makedepend/makedepend: warning: winclipboardinit.c >>(reading winclipboard.h, line 61): cannot find include file "windows.h" >> not in ./windows.h > > > the makedepend utitility does know nothing about the w32api directory. As > a patch add -I/path/to/include/w32api to the CFLAGS. > Actually, makedepend *did* know about the w32api directory, it was just searching for it in the wrong path: not in /usr/include/windows.h not in /usr/include/w32api/windows.h not in /usr/lib/gcc-lib/i386-linux/3.3.1/include/windows.h Are you sure that your fix is still correct in light of this? See, the other error that I am getting is indicating that includes are being searched for in /usr/* instead of in the cc dirs: ../../../../config/makedepend/makedepend: warning: /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7 Harold From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 16:27:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 16:27:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: <3F29410A.2080909@msu.edu> References: <3F288B0D.4000903@msu.edu> <3F29410A.2080909@msu.edu> Message-ID: Harold L Hunt II wrote: > Actually, makedepend *did* know about the w32api directory, it was just > searching for it in the wrong path: The paths were hardcoded for non-crosscompiling. On every place where such a path (eg. /usr/include/w32api) was used I added a switch #if CrossCompiling #define StdIncDir CrossCompileDir/... #else #define StdIncDir ... #endif I've attached the patch for makedepend. bye ago NP: Deine Lakaien - Fleeting -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 -------------- next part -------------- Index: Imakefile =================================================================== RCS file: /cvsroot/xoncygwin/xc/config/makedepend/Imakefile,v retrieving revision 1.1.1.2 diff -u -u -r1.1.1.2 Imakefile --- Imakefile 3 Jun 2003 11:03:08 -0000 1.1.1.2 +++ Imakefile 31 Jul 2003 15:57:26 -0000 @@ -14,14 +14,21 @@ LDPRELIBS = #if HasGcc && !defined(PreIncDir) +#if CrossCompiling +#else #define PreIncDir /usr/local/lib/gcc-include #endif +#endif #ifdef PreIncDir PREINCDIR = PreIncDir PREINC_DEFINES = -DPREINCDIR=\"$(PREINCDIR)\" #endif #ifndef StdIncDir +#if CrossCompiling +#define StdIncDir Concat(CrossCompileDir,/../include) +#else #define StdIncDir /usr/include +#endif #endif STDINCDIR = StdIncDir STDINC_DEFINES = -DINCLUDEDIR=\"$(STDINCDIR)\" From huntharo@msu.edu Thu Jul 31 16:31:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 16:31:00 -0000 Subject: Packaging question Message-ID: <3F29446C.9040808@msu.edu> We should be putting bin/*.dll in the "bin" package and lib/*.a in the "prog" package, correct? Currently we are putting both bin/*.dll and lib/*.a in "bin". Putting the DLLs in bin is correct because you need the shared libraries in order to run, which is why lib/*.so are put in "bin" on other platforms. Putting the *.a link files in the "prog" package would seem correct as well, since they are only needed to compile new programs and should be grouped together with the headers in "prog" as on other platforms. Any comments? Harold From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 16:44:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 16:44:00 -0000 Subject: Packaging question In-Reply-To: <3F29446C.9040808@msu.edu> References: <3F29446C.9040808@msu.edu> Message-ID: Harold L Hunt II wrote: > We should be putting bin/*.dll in the "bin" package and lib/*.a in the > "prog" package, correct? Yes. > Any comments? No. Go on. bye ago NP: Stark - Wield (Kinetic) -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 16:47:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 16:47:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: References: <3F288B0D.4000903@msu.edu> <3F29410A.2080909@msu.edu> Message-ID: Alexander Gottwald wrote: > > I've attached the patch for makedepend. The cygwin.cf part is needed too *g* I've attached both parts now. bye ago NP: Stark - Wield (Kinetic) -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 -------------- next part -------------- Index: config/cf/cygwin.cf =================================================================== RCS file: /cvsroot/xoncygwin/xc/config/cf/cygwin.cf,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- config/cf/cygwin.cf 3 Jun 2003 11:03:04 -0000 1.1.1.2 +++ config/cf/cygwin.cf 31 Jul 2003 16:01:15 -0000 1.2 @@ -135,11 +135,19 @@ #define PreProcessCmd CcCmd -E #ifndef PostIncDir +#ifdef CrossCompiling +#define PostIncDir `CrossCompileDir/CcCmd --print-libgcc-file-name | sed 's,\\\\,/,g' | sed 's,libgcc.a,include,'` +#else #define PostIncDir `CcCmd --print-libgcc-file-name | sed 's,\\\\,/,g' | sed 's,libgcc.a,include,'` #endif +#endif #ifndef ExtraIncDir +#ifdef CrossCompiling +#define ExtraIncDir CrossCompileDir/../include/w32api +#else #define ExtraIncDir /usr/include/w32api #endif +#endif #define LdCombineFlags -r @@ -341,6 +349,14 @@ #endif #define XWinServer YES + +/* + * We need libX11 and libXext for the X11 Server + */ +#if XWinServer +#define BuildX11Lib YES +#define BuildXextLib YES +#endif /* * 2001-06-19 - SmartScheduler is terribly slow on Cygwin. It causes Index: config/makedepend/Imakefile =================================================================== RCS file: /cvsroot/xoncygwin/xc/config/makedepend/Imakefile,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- config/makedepend/Imakefile 3 Jun 2003 11:03:08 -0000 1.1.1.2 +++ config/makedepend/Imakefile 31 Jul 2003 16:02:23 -0000 1.2 @@ -14,14 +14,21 @@ LDPRELIBS = #if HasGcc && !defined(PreIncDir) +#if CrossCompiling +#else #define PreIncDir /usr/local/lib/gcc-include #endif +#endif #ifdef PreIncDir PREINCDIR = PreIncDir PREINC_DEFINES = -DPREINCDIR=\"$(PREINCDIR)\" #endif #ifndef StdIncDir +#if CrossCompiling +#define StdIncDir Concat(CrossCompileDir,/../include) +#else #define StdIncDir /usr/include +#endif #endif STDINCDIR = StdIncDir STDINC_DEFINES = -DINCLUDEDIR=\"$(STDINCDIR)\" From cgf@redhat.com Thu Jul 31 16:52:00 2003 From: cgf@redhat.com (Christopher Faylor) Date: Thu, 31 Jul 2003 16:52:00 -0000 Subject: Packaging question In-Reply-To: <3F29446C.9040808@msu.edu> References: <3F29446C.9040808@msu.edu> Message-ID: <20030731165254.GA6636@redhat.com> On Thu, Jul 31, 2003 at 12:31:40PM -0400, Harold L Hunt II wrote: >We should be putting bin/*.dll in the "bin" package and lib/*.a in the >"prog" package, correct? Wouldn't they go in a "lib" package? cgf From huntharo@msu.edu Thu Jul 31 16:52:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 16:52:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: References: <3F288B0D.4000903@msu.edu> <3F29410A.2080909@msu.edu> Message-ID: <3F29494F.3060009@msu.edu> Alexander, If I pass CROSSCOMPILEDIR=/home/harold/cygwin/bin, then it seems that your patch requires that the Cygwin includes be in: /home/harold/cygwin/include right? If so, please review my Contributor's Guide section that tells people how to unpack the headers and libs on their cross compile system: http://xfree86.cygwin.com/docs/cg/prog-build-cross.html#prog-cross-obtaining-cygwin-headers-and-libs It would seem that I would need to change this now to tell them to unpack the headers in /home/harold/cygwin/include, right? Would the location of the libs still be /home/harold/cygwin/i686-pc-cygwin/lib, or should that change to /home/harold/cygwin/lib? Please advise, Harold From huntharo@msu.edu Thu Jul 31 16:55:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 16:55:00 -0000 Subject: Packaging question In-Reply-To: <20030731165254.GA6636@redhat.com> References: <3F29446C.9040808@msu.edu> <20030731165254.GA6636@redhat.com> Message-ID: <3F2949ED.20907@msu.edu> Oddly enough, the "lib" package for XFree86 distributions doesn't seem to have the link libraries in it. They put some other random stuff in there. Sure, it is silly, but that's the way they do it. The "prog" package is the one you need if you want includes and libs. Harold Christopher Faylor wrote: > On Thu, Jul 31, 2003 at 12:31:40PM -0400, Harold L Hunt II wrote: > >>We should be putting bin/*.dll in the "bin" package and lib/*.a in the >>"prog" package, correct? > > > Wouldn't they go in a "lib" package? > > cgf From huntharo@msu.edu Thu Jul 31 17:05:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 17:05:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: References: <3F288B0D.4000903@msu.edu> <3F29410A.2080909@msu.edu> Message-ID: <3F294C62.7060409@msu.edu> Alexander, Your two patches get rid of the w32api directory problems. However, I am still getting the following warning: ../../../../config/makedepend/makedepend: warning: /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7 Is there just no way to get rid of that or have we missed one include path somewhere? Harold From cygwin-lh@cygwin.com Thu Jul 31 17:37:00 2003 From: cygwin-lh@cygwin.com (Larry Hall) Date: Thu, 31 Jul 2003 17:37:00 -0000 Subject: vnc under cygwin In-Reply-To: <002601c35788$58b48460$6e646464@Travel> References: <002601c35788$58b48460$6e646464@Travel> Message-ID: <3F295310.40206@cygwin.com> Mihai Gheorghiu wrote: > I want to install vnc under cygwin. > I found a message posted on 03/23/03, but I would like to know if there are > any new developments or if there is a URL where I can get more guidance. > Thank you all. Usually, it's considered polite to post a link to the message you refer to. I'm going to wager you meant this one: However, if this is the message to which you refer, I'm confused as to why you didn't at least email cygwin-xfree list instead. Seems more appropriate to me. Personally, I think the message as the URL above says it all, with the exception that cygipc is now available as a package in the Cygwin distribution. So that's your answer. If you disagree, I recommend you follow-up on the cygwin-xfree list. I've reset the reply-to to facilitate that. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 17:42:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 17:42:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: <3F29494F.3060009@msu.edu> References: <3F288B0D.4000903@msu.edu> <3F29410A.2080909@msu.edu> <3F29494F.3060009@msu.edu> Message-ID: Harold L Hunt II wrote: > Alexander, > > If I pass CROSSCOMPILEDIR=/home/harold/cygwin/bin, then it seems that > your patch requires that the Cygwin includes be in: what about CROSSCOMPILEDIR=/home/harold/cygwin/i686-pc-cygwin/bin? The crosscompile tools I have installed on my machine are installed with this directory structure (prefix was always /usr) /usr/bin/i686-pc-cygwin32-gcc /usr/i686-pc-cygwin32/bin/cc /usr/i686-pc-cygwin32/bin/gcc /usr/i686-pc-cygwin32/bin/cygwin1.dll /usr/i686-pc-cygwin32/include/_ansi.h /usr/i686-pc-cygwin32/include/_syslist.h /usr/i686-pc-cygwin32/lib/automode.o /usr/i686-pc-cygwin32/lib/binmode.o /usr/i686-pc-cygwin32/lib/crt0.o /usr/i686-pc-cygwin32/lib/gcrt0.o /usr/i686-pc-cygwin32/lib/libautomode.a /usr/i686-pc-cygwin32/lib/libbinmode.a and so on. That's why I've used CrossCompileDir/.. as basedir for the target. > It would seem that I would need to change this now to tell them to > unpack the headers in /home/harold/cygwin/include, right? You've noticed the script for linking the i686-pc-cygwin-foo binaries to simple foo. We can modify this script to place the binaries in the structure we need. ======================= #!/bin/bash # # This stuff is required for the Cross Compile Environment. # CYGROOT=/home/harold/cygwin TARGET=i686-pc-cygwin mkdir -p $CYGROOT/$TARGET/bin cd $CYGROOT/$TARGET/bin for i in ../../bin/*; do if [ $i != ${i/$TARGET-/} ]; then echo ln -s $i ${i/.*$TARGET-/} fi done ln -s gcc cc ======================= bye ago NP: Stark - Lifestyle -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From morganite@qwest.net Thu Jul 31 17:45:00 2003 From: morganite@qwest.net (Thomas Morgan) Date: Thu, 31 Jul 2003 17:45:00 -0000 Subject: Problems compiling xsystem35 under cygwin Message-ID: <5.1.0.14.0.20030731125450.00b37530@pop.desm.qwest.net> After fiddling around with library installations and configuration options, I was able to get most of this to work. However, when it goes to link the object files into the final executable, this happens... BASH-2.05b$ make /bin/sh ../libtool --mode=link gcc -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk- 2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMODULE_PATH=\"/usr/ local/lib/xsystem35\" -DLOCALEDIR=\""/usr/local/share/locale"\" -O2 -o xsystem 35.exe -rdynamic xsystem35.o dri.o ald_manager.o cache.o cmdb.o cmdc.o cmdd.o cm de.o cmdf.o cmdg.o cmdh.o cmdi.o cmdj.o cmdk.o cmdl.o cmdm.o cmdn.o cmdo.o cmdp. o cmdq.o cmds.o cmdt.o cmdu.o cmdv.o cmdw.o cmdy.o cmdz.o cmd2F.o cmd2F60.o pms. o vsp.o bmp.o qnt.o cali.o scenario.o variable.o cmd_check.o hankana2sjis.o nact .o selection.o message.o savedata.o hankaku.o s39ain.o music.o music_client.o mu sic_server.o music_cdrom.o music_midi.o music_pcm.o music_fader.o wavfile.o wavm ix.o audio.o midi.o cdrom.o sndcnv.o musstream.o pcmlib.o ags.o font.o flood.o c g.o ecopy.o antialiase.o alpha_plane.o cursor.o LittleEndian.o counter.o imput.o profile.o mt19937-1.o joystick_dmy.o eucsjis.o filecheck.o menu.o menu_callback .o menu_gui.o network.o -lz -L/usr/X11R6/lib -lXxf86vm -lXext -lglib-2.0 -lintl -liconv -lm -Wl,--export-dynamic -L/usr/X11R6/lib -lgtk-x11-2.0 -lX11 -lgdk-x11- 2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule- 2.0 -lglib-2.0 -lintl -liconv -lm -L/usr/lib -lesd -laudiofile -lm -lintl -licon v ../libltdl/libltdlc.la alpha_blend16.o haveunit.o audio_esd.o cdrom.empty.o mi di.extplayer.o xcore_draw.o xcore_video.o xcore_mode.o xcore_event.o xcore_curso r.o xcore_maskupdate.o image.o font_x11.o gcc -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/ usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/include/atk-1. 0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -DMODULE_PATH=\"/usr/local/lib/xsystem35\" -DLOCALEDIR=\"/us r/local/share/locale\" -O2 -o xsystem35.exe -rdynamic xsystem35.o dri.o ald_mana ger.o cache.o cmdb.o cmdc.o cmdd.o cmde.o cmdf.o cmdg.o cmdh.o cmdi.o cmdj.o cmd k.o cmdl.o cmdm.o cmdn.o cmdo.o cmdp.o cmdq.o cmds.o cmdt.o cmdu.o cmdv.o cmdw.o cmdy.o cmdz.o cmd2F.o cmd2F60.o pms.o vsp.o bmp.o qnt.o cali.o scenario.o varia ble.o cmd_check.o hankana2sjis.o nact.o selection.o message.o savedata.o hankaku .o s39ain.o music.o music_client.o music_server.o music_cdrom.o music_midi.o mus ic_pcm.o music_fader.o wavfile.o wavmix.o audio.o midi.o cdrom.o sndcnv.o musstr eam.o pcmlib.o ags.o font.o flood.o cg.o ecopy.o antialiase.o alpha_plane.o curs or.o LittleEndian.o counter.o imput.o profile.o mt19937-1.o joystick_dmy.o eucsj is.o filecheck.o menu.o menu_callback.o menu_gui.o network.o -Wl,--export-dynami c alpha_blend16.o haveunit.o audio_esd.o cdrom.empty.o midi.extplayer.o xcore_dr aw.o xcore_video.o xcore_mode.o xcore_event.o xcore_cursor.o xcore_maskupdate.o image.o font_x11.o -lz -L/usr/X11R6/lib -lXxf86vm -lXext -L/usr/lib .libs/libim p-cyggtk-x11-2.0-0.a -lX11 .libs/libimp-cyggdk-x11-2.0-0.a .libs/libimp-cygatk-1 .0-0.a .libs/libimp-cyggdk_pixbuf-2.0-0.a .libs/libimp-cygpangox-1.0-0.a .libs/l ibimp-cygpango-1.0-0.a .libs/libimp-cyggobject-2.0-0.a .libs/libimp-cyggmodule-2 .0-0.a .libs/libimp-cygglib-2.0-0.a -luser32 -lkernel32 .libs/libimp-cygesd-0.a .libs/libimp-cygaudiofile-0.a .libs/libimp-cygintl-2.a .libs/libimp-cygiconv-2.a ../libltdl/.libs/libltdlc.a -Wl,--rpath -Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr /X11R6/lib gcc: unrecognized option `-rdynamic' xsystem35.o(.text+0x1700):xsystem35.c: undefined reference to `_haveUNIT' xcore_draw.o(.text+0x2b5):xcore_draw.c: undefined reference to `_XShmPutImage' xcore_draw.o(.text+0xb80):xcore_draw.c: undefined reference to `_XShmPutImage' xcore_draw.o(.text+0x1b84):xcore_draw.c: undefined reference to `_XShmPutImage' xcore_video.o(.text+0x4cc):xcore_video.c: undefined reference to `_XShmQueryVers ion' xcore_video.o(.text+0x520):xcore_video.c: undefined reference to `_XShmPixmapFor mat' xcore_video.o(.text+0xd1c):xcore_video.c: undefined reference to `_XShmCreateIma ge' xcore_video.o(.text+0xd3c):xcore_video.c: undefined reference to `_shmget' xcore_video.o(.text+0xd61):xcore_video.c: undefined reference to `_shmat' xcore_video.o(.text+0xd85):xcore_video.c: undefined reference to `_XShmAttach' xcore_video.o(.text+0xeaf):xcore_video.c: undefined reference to `_XShmDetach' xcore_video.o(.text+0xec2):xcore_video.c: undefined reference to `_shmdt' xcore_video.o(.text+0xee1):xcore_video.c: undefined reference to `_shmctl' xcore_video.o(.text+0x11cc):xcore_video.c: undefined reference to `_XShmCreatePi xmap' image.o(.text+0x1b5d):image.c: undefined reference to `_ablend16_ppp' image.o(.text+0x198c):image.c: undefined reference to `_ablend16_dpd' image.o(.text+0x1d64):image.c: undefined reference to `_ablend16_ppd' image.o(.text+0x1e81):image.c: undefined reference to `_ablend16_ppd' collect2: ld returned 1 exit status make: *** [xsystem35.exe] Error 1 Some places I've looked suggested that this was a problem with symbols not being exported, but the things suggested to do either didn't do anything or made things worse. Something similar also happened when a library couldn't be found, but I'm not sure which library these would be referring to, and I think all the necessary libraries are included here. Anyone know how I can fix this? -Morgan. From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 17:46:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 17:46:00 -0000 Subject: Cross compiling xf-4_3-branch In-Reply-To: <3F294C62.7060409@msu.edu> References: <3F288B0D.4000903@msu.edu> <3F29410A.2080909@msu.edu> <3F294C62.7060409@msu.edu> Message-ID: Harold L Hunt II wrote: > ../../../../config/makedepend/makedepend: warning: > /usr/include/gnu/stubs.h: non-portable whitespace encountered at line 7 There is still a reference to /usr/include in xc/config/makedepend/Makefile. remake config/makedepend/main.o and see what defines are passed to gcc. Maybe StdIncDir is still defined in host.def of cygwin.cf NP: Apoptygma Berzerk - Spiritual Reality -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From huntharo@msu.edu Thu Jul 31 18:02:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 18:02:00 -0000 Subject: Problems compiling xsystem35 under cygwin In-Reply-To: <5.1.0.14.0.20030731125450.00b37530@pop.desm.qwest.net> References: <5.1.0.14.0.20030731125450.00b37530@pop.desm.qwest.net> Message-ID: <3F295999.5060800@msu.edu> Morgan, Cygwin/XFree86 is not currently built with, and won't soon be built with, the X SHM (Shared memory extension) enabled. We cannot enable X SHM until Cygwin has a stable shared memory system. Shared memory is part of the ongoing effort to improve the Interprocess Communications (IPC) systems in Cygwin. I am not sure what xsystem35 is or what it does, but perhaps there is a way to configure it to be built without needed shared memory. If not, you can compile your own version of Cygwin/XFree86 with shared memory enabled (just be sure to have Cygwin's shared memory system installed and configured correctly first), then build and run xsystem35. Or, you could use the precompiled binaries distributed by the KDE on Cygwin project that already have SHM enabled. Hope that helps, Harold From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 18:03:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 18:03:00 -0000 Subject: [Patch] build of mkfontdir Message-ID: mkfontdir is now a simple script and has no .exe suffix. Index: programs/mkfontdir/Imakefile =================================================================== RCS file: /cvs/xc/programs/mkfontdir/Imakefile,v retrieving revision 3.11 diff -u -u -r3.11 Imakefile --- programs/mkfontdir/Imakefile 2003/06/26 13:04:36 3.11 +++ programs/mkfontdir/Imakefile 2003/07/31 18:01:40 @@ -8,4 +8,4 @@ InstallProgram(mkfontdir,$(BINDIR)) InstallManPage(mkfontdir,$(MANDIR)) -LinkBuildBinary(ProgramTargetName(mkfontdir)) +LinkBuildBinary(mkfontdir) NP: Apoptygma Berzerk - Love Never Dies (part 1) -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From morganite@qwest.net Thu Jul 31 18:55:00 2003 From: morganite@qwest.net (Thomas Morgan) Date: Thu, 31 Jul 2003 18:55:00 -0000 Subject: Problems compiling xsystem35 under cygwin Message-ID: <5.1.0.14.0.20030731134029.01d41aa8@pop.desm.qwest.net> > Or, you could use the precompiled binaries distributed by the KDE on Cygwin > project that already have SHM enabled. Well, that solved about half the problem. Now it does this... gcc: unrecognized option `-rdynamic' xsystem35.o(.text+0x1700):xsystem35.c: undefined reference to `_haveUNIT' image.o(.text+0x1b5d):image.c: undefined reference to `_ablend16_ppp' image.o(.text+0x198c):image.c: undefined reference to `_ablend16_dpd' image.o(.text+0x1d64):image.c: undefined reference to `_ablend16_ppd' image.o(.text+0x1e81):image.c: undefined reference to `_ablend16_ppd' collect2: ld returned 1 exit status BASH-2.05b$ The ablend16 ones are from alpha_blend16.o, which is made from assembly language source. Since it's linked in before image.o is, I don't know why it couldn't find it. (Admittedly, I have little experience with linking large multiple-file programs.) haveUNIT also seems to come from an assembly language file, so maybe that's part of the problem. -Morgan. From huntharo@msu.edu Thu Jul 31 19:41:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 19:41:00 -0000 Subject: [Egbert Eich - Please review] Patch for makedepend/Imakefile when cross compiling Message-ID: 1) Don't use canned default for PreIncDir when cross compiling. 2) Make a more sophisticated cannded default for StdIncDir when cross compiling: #define StdIncDir Concat(CrossCompileDir,/../include) Both from Alexander Gottwald (Cygwin/XFree86 project contributor). Attached are patches for both HEAD and xf-4_3-branch. Please apply both. Harold Hunt -------------- next part -------------- A non-text attachment was scrubbed... Name: xc-config-makedepend-Imakefile-xf-4_3-branch.diff Type: application/octet-stream Size: 734 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xc-config-makedepend-Imakefile-HEAD.diff Type: application/octet-stream Size: 733 bytes Desc: not available URL: From huntharo@msu.edu Thu Jul 31 19:41:00 2003 From: huntharo@msu.edu (Harold L Hunt II) Date: Thu, 31 Jul 2003 19:41:00 -0000 Subject: Cross compiling patch for programs/mkfontdir/Imakefile Message-ID: Remove ProgamTargetName wrapper from mkfontdir target since mkfontdir is now just a simple script. ProgramTargetName appends .exe to targets when cross compiling for Cygwin, which is incorrect for scripts. >From Alexander Gottwald (Cygwin/XFree86 Project Contributor). Patch is attached for HEAD. Please apply to HEAD only. Harold Hunt -------------- next part -------------- A non-text attachment was scrubbed... Name: xc-config-makedepend-Imakefile-HEAD.diff Type: application/octet-stream Size: 733 bytes Desc: not available URL: From Alexander.Gottwald@s1999.tu-chemnitz.de Thu Jul 31 20:36:00 2003 From: Alexander.Gottwald@s1999.tu-chemnitz.de (Alexander Gottwald) Date: Thu, 31 Jul 2003 20:36:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: References: <003401c35538$eaebfe50$0a1c440a@BRAMSCHE> Message-ID: Alexander Gottwald wrote: > On Mon, 28 Jul 2003, Ralf Habacker wrote: > > I changed the type of _XtInherit to a variable instead of a function. > It compiles but I've not tested it completely. That was a dead-end too. > With this way we have a symbol which contains the address of the XtInherit > function in libXt and is directly exported. I don't see a solution which uses a function. We either need a value which is already valid when compiling or an address of a symbol where the address is equal for all dlls and known when linking the library. The solution used with sun does not work too. The link a function _XtInherit staticly to each library but inside the different libraries the symbols map to different addresses and are not equal. The only solution I see is the usage of a constant value. bye ago NP: Deine Lakaien - Silence In Your Eyes -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723 From tg5027@citlink.net Thu Jul 31 22:24:00 2003 From: tg5027@citlink.net (terry) Date: Thu, 31 Jul 2003 22:24:00 -0000 Subject: XWin -multiwindows problem Message-ID: <3F2996F2.2080301@citlink.net> I have successfully setup a Win98se system with CygWin using startxwin.bat from a download a couple of weeks ago (Perhaps if it had been difficult, I would know better how to deal with this problem :>) ). I am attempting to do the same on another system with almost identical hardware, also using Win98se. The significant difference between the systems is that the successful system has a 19" monitor @1600x1200 while the problem system has a 17" monitor @1024x768. I have not modified startxwin.bat, and everything works fine 'non-multiwindow'. I cannot determine how to deal with the error in the XWin log below. Many thanks for any help. terry ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - w 1024 h 768 winInitializeDefaultScreens - Returning OsVendorInit - Creating bogus screen 0 (EE) Unable to locate/open config file InitOutput - Error reading config file winDetectSupportedEngines - Windows 95/98/Me winDetectSupportedEngines - DirectDraw installed winDetectSupportedEngines - DirectDraw4 installed winDetectSupportedEngines - Returning, supported engines 00000017 InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1 winSetEngine - Multi Window => ShadowGDI winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel winCreateBoundingWindowWindowed - User w: 1024 h: 768 winCreateBoundingWindowWindowed - Current w: 1024 h: 768 winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 winAdjustForAutoHide - Taskbar is auto hide winAdjustForAutoHide - Found LEFT auto-hide taskbar winAdjustForAutoHide - Adjusted WorkArea: 0 1 768 1024 winCreateBoundingWindowWindowed - WindowClient w 1023 h 768 r 1023 l 0 b 768 t 0 winCreateBoundingWindowWindowed - Returning winAllocateFBShadowGDI - Creating DIB with width: 1023 height: 768 depth: 32 winAllocateFBShadowGDI - Dibsection width: 1023 height: -768 depth: 32 size image: 3142656 winAllocateFBShadowGDI - Shadow blit failure winFinishScreenInitFB - Could not allocate framebuffer winScreenInit - winFinishScreenInit () failed Fatal server error: InitOutput - Couldn't add screen 0 From Ralf.Habacker@freenet.de Thu Jul 31 22:45:00 2003 From: Ralf.Habacker@freenet.de (Ralf Habacker) Date: Thu, 31 Jul 2003 22:45:00 -0000 Subject: [XFree86-4.2.0] Now that we have an improved ld, please make libXt a shared library. In-Reply-To: Message-ID: <00b501c357b5$7eb5da10$70a407d5@BRAMSCHE> > The solution used with sun does not work too. The link a function _XtInherit > staticly to each library but inside the different libraries the symbols > map to different addresses and are not equal. > > The only solution I see is the usage of a constant value. What about the following: Each imported symbol creates a stub like _XInherit: jmp (*xyz) where xyz is the address of the image allocation table, in which the address of the real function address is stored. So using *(long *)((long)_XInherit+2) in a client dll for comparing gives the real function address. BTW: This seems to be a very hard stuff Ralf