Re: Cygwin XWin 1.17.1 crash at startup

2015-03-31 Thread Marco Atzeri

On 3/31/2015 8:36 PM, Michel Poirier wrote:

Dear Cygwin maintainer

Since last X-Cygwin update several of my X-Win applications are not
working properly.

Googling "cygwin xorg 1.17 crash" gave many posts reporting probably
similar issues but I couldn't find a fix for the error. I also looked at
the Cygwin-FAQ and mailing list without real success.


can you just run startxwin from mintty and report the outcome ?

There were several changes in the default

https://www.cygwin.com/ml/cygwin-xfree-announce/2015-02/msg0.html
https://www.cygwin.com/ml/cygwin-xfree-announce/2015-02/msg00014.html

may be you are hitting one of them.

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2016-05-22 Thread Marco Atzeri

On 22/05/2016 15:55, Stefan Katletz wrote:

One more thing:

$ export LANG=en_US.iso-8859-1

makes the warning go away, but xfig still crashes when trying to save
the file. Maybe two different problems?
Stefan

On Sun, May 22, 2016 at 3:27 PM, Stefan Katletz
 wrote:

Hello,

I am now facing this (old) problem on a new installation under Windows
10. I tried 32 and 64 bit installations of cygwin, no difference: xfig
gives this warning, and crashes when I want to save/export the
drawing.

$ Warning: Missing charsets in String to FontSet conversion

xfig3.2.5c: SIGSEGV signal trapped
xfig: attempting to save figure
xfig: 1 object(s) saved in "/home/kat/SAVE.fig"

At least the work is not all lost, I used xfig under linux to do export...

Does anybody know what's going on? I am happy to supply logs if
somebody cares. I was reading the old mails, but couldn't find a
solution. I tried to install all font packages in cygwin I was
offered, but the warning appears even when starting with an empty
drawing.

thanks,
Stefan


--



http://article.gmane.org/gmane.os.cygwin/155958/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: new start method questions

2016-06-09 Thread Marco Atzeri

On 10/06/2016 02:55, mathog wrote:

On 09-Jun-2016 16:32, mathog wrote:

With an older version of Cygwin I had constructed a cut down
distribution which included only the minimum pieces needed to run X11.
 It was about 40Mb, installed.


This approach is not working well at all for the current release.  Last
time around I just tossed things into a folder to temporarily hide them,
and by process of elimination winnowed it down to that small size.  This
time there are many, many, MANY more dll's that are required for the
server to start, at least  via this method:

C:\cygwinX\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec
/usr/bin/startxwin"

For instance, cyggtk-x11-2.0.0.dll.  Take it out and the X11 server does
not start.
That dll, according to "ldd" has everything but the kitchen sink linked
into it.  It isn't linked directly into the server though, it is needed
for "xwin-xdg-menu.exe",
an accessory program, which if removed from /usr/bin, also results in
the server not starting.



look on
/etc/X11/xinit/startxwinrc

It is calling xwin-xdg-menu

Regards
Marco



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: _X11TransOpen: unable to find transport for tcp

2006-12-19 Thread Marco atzeri
>>>Hi,
>>>
>>> I am unable to start xterms, rxvts, emacs  in
my
>>> cygwin/X install. I receive the message
>>>

>>> _X11TransOpen: unable to find transport for tcp
>>> xterm Xt error: Can't open display: localhost:0

>> Don't use localhost. Try
>> export DISPLAY=127.0.0.1:0.0
>> instead.

>this does not work either. The problem does not
appear
>to lie with the proper setting of the DISPLAY
>variable; I can launch things like xeyes. Rather it's
>with the X11TransOpen error that occurs when I try to
>run xterm or rxvt.

>Juergen

I have found similar problems due to incomplete 
dependencies on some cygport package.

Check which library xterm needs 

cygcheck xterm.exe 

and if some cygport library in /usr/bin 
mask the standard library in /usr/X11/bin

if so, one solution and one workaround:
- find the missing cygport additional program
  and install it
- rename the library in /usr/bin

http://sourceforge.net/mailarchive/forum.php?thread_id=31242928&forum_id=43555

Regards
Marco


__
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: how to install dejavu font ?

2007-05-10 Thread Marco Atzeri
On Fri, 04 May 2007 16:08:31 +0200, Didier BRETIN wrote:
> On 04/05/2007 16:01, Holger Krull wrote:
>> 
>> I don't know if this is enough, but putting the font in
>> /usr/cygwin/X11R6/lib/X11/fonts/TTF
>> will be a good start.
>
> /usr/X11R6/lib/X11/fonts exists but there is TTF directory  Perharps 
> I need some specific packages ?
>

I assume Holger suggested to put the font files in the TTF directory. 

:-(




-- 
   marco.atzeri at fastwebnet.it

La prima delle Frequently Asked Questions: 
dove sono le FAQ ?  it.faq


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-12 Thread Marco Atzeri

--- Maarten Vanneste ha scritto:

> Hello again,
> 
> 
> The keyboard issue is not sorted out (and it does
> not work with nedit
> either). Cannot find this XKEY..., neither in the
> window environment
> nor using cygcheck -c -s -r
> 
> A bit strange. Is it an option to go back to the
> previous X11
> installation, if possible ?
> 

It was declared in the old 
/usr/X11R6/bin/startxwin.bat

it has been removed in the new 
/usr/bin/startxwin.bat


> With best regards / Vennlig hilsen
> Maarten

Regards
Marco



  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X11R7.4: XWinrc does not work anymore

2008-11-12 Thread Marco Atzeri
--- Danilo Turina  ha scritto:

> Hello,
>   yesterday I installed the fresh new X11R7.4,

> 
> I have a personalized .XWinrc in my home directory,
> so I tried to remove 
> it and use the system's default one: no way.
> 
> Only the "default" items work:
>1) "Reload .XWinrc"
>2) "Hide Root Window"
>3) "About..."
>4) "Exit..."
> 
> All the other items do not work, even the simpler
> ones:
> 
>   xterm   exec"xterm"
>   notepad execnotepad
> 

standard /usr/lib/X11/system.XWinrc
is working for me.
both xterm and notepad work fine.


> I just wanted to know if this happens also to
> anybody else.
> 
> Ciao,
>   Danilo
> 

Ciao
Marco



  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Broken upgrade, startxwin.bat gone?

2008-11-13 Thread Marco Atzeri

--- Evan Carew < ha scritto:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> can anyone tell me where to get the startxwin batch
> file now that
> everything has been moved around?

local way to find it

$ find / -name "startxwin*"
/bin/startxwin.bat
/bin/startxwin.sh
/usr/bin/startxwin.bat
/usr/bin/startxwin.sh


the same is available on cygwin search

http://cygwin.com/packages/
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=startxwin.bat


> 
> Thanks,
> Evan

Regards
Marco





  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: nedit gives X-error of failed request - also issues with (x)emacs

2008-11-14 Thread Marco Atzeri

--- Maarten Vanneste  ha scritto:

> Hello,
> 
> Interesting. I quit cygwin including killing the
> X-server. Restarted
> my cygwin by double clicking the cygwin icon,
> executed "startxwin.sh",
> which prompted an X-window to open, in which I can
> now type !
> 
> Going back to the cygwin window in which I typed the
> "startxwin.sh"
> command, I can now open xemacs successfully and can
> edit. This seems
> like a solution.
> 
> So, the x-server shortcut on the desktop may be at
> odds. This one has
> the following characteristics:
> Target type: MS-DOS batch file
> Target location: Singular
> Target: C:\cygwin\lib\Singular\startxserver.bat
> Start in: C:\cygwin\usr\X11R6\bin
> 
> Should I change somethings there ?

I assume 

Target: C:\cygwin\bin\startxwin.bat
Start in: C:\cygwin\bin

Regards
Marco




  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: startx doesn't if $HOME contains white spaces

2008-11-19 Thread Marco Atzeri

--- ludo  ha scritto:

> Hello,
> 
> my $HOME is :
> $ echo $HOME
> /c/Documents and Settings/patrick.PRO2204
> 

it is not a good idea:

http://cygwin.com/faq/faq-nochunks.html#faq.using.filename-spaces


> when I start 'startx'
> $ startx
> /usr/bin/startx: line 38: [: too many arguments
> /usr/bin/startx: line 107: [: too many arguments
> 
> Welcome to the XWin X Server
> Vendor: The Cygwin/X Project
> Release: 1.5.3.0 (10503000)
> 
> Contact: cygwin-xfree@cygwin.com
> 
> XWin was started with the following command line:
> 
> /usr/bin/X :0 -auth /c/Documents and
>  Settings/patrick.PRO2204/.serverauth.3056
> 
> Unrecognized option: and
> use: X [:] [option]
> 
> 
> I think that white spaces in my $HOME directory name
> causes the problem.
> 
> I patch startx on lines 38 and 107
> if [ -f "$userclientrc" ]; then
> if [ -f "$userserverrc" ]; then  
> but this is not enough ...
> 
> does anybody encounters the same problem ?
> 

of course, for this reason we don't do it :-)

my $HOME in cygwin is /home/marco

Regards
marco


  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem with OpenGL on new X serverl

2008-11-21 Thread Marco Atzeri
--- Florent Fievez  ha scritto:

> Hello,
> 
> I have a crash when opening OpenGL. I have the same
> configuration than you :
> ssh -X  ; XWin with glx extension activated.
> 
> Some of my investigations :
> 
> 1. It's not caused by the X client OS (SunOS and
> Linux give the same crash)
> 2. It's not a problem with our application, glxinfo
> produce the same problem
> 3. It seems that the message "GetWindowProp - pWin
> or name was NULL"
> is displayed before the crash, see my log in
> attachement.

I don't think 3 is related to you crash.
I see multiple lines with

GetWindowProp - pWin or name was NULL

for any window that I create, not only GL
related. 

6 lines for glxgears and gnuplot
8 lines for rxvt

And I have no crash

> 
> -- 
> Florent Fievez

Regards
Marco



  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: x-windows

2008-11-21 Thread Marco Atzeri

--- Prasanta Patro  ha scritto:

> Hi,
> 
> I have been using x-windows from startxwin till
> today. Now i have 
> updated the cygwin as a result of which now my
> x-windows does not work. 
> It seems the batch file startxwin does not exist.
> Now i can see in the 
> menu cygwin-x.
> 
> Can you please tell me how can i configure the x
> windows?
> 

as already reported in this mail list

http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg0.html


The batch file has been moved. 
The menu "Cygwin X - XWin Server"
is linked to the new batch file location



> Thanks in advance.
> 
> Regards,
> Prasanta Patro

Marco



  Unisciti alla community di Io fotografo e video, il nuovo corso di 
fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: where is /usr/X11R6/lib/libGLw.a on cygwin?

2008-11-22 Thread Marco Atzeri
--- "Phan, Linh H"  ha scritto:

> Hi,
> 
>   I am getting this undefined reference to
> `_glwM2DrawingAreaWidgetClass' error:
> 
> $ g++ componentTest.o libInventorWidget.a
> -lInventorXt -lInventor -lstdc++ -L/usr/X11R6/lib
> -L/usr/local/lib -limage -ljpeg -liconv -lFL
> -lfreetype -lGL -lGLU -lXm -lXt -lXext -lXi -lX11
> -lm   -o componentTest
>
libInventorWidget.a(MyTextureEd.o):MyTextureEd.c++:(.text+0x6b3a):
> undefined reference to
> `_glwM2DrawingAreaWidgetClass'
> 
> and it is due to this line in MyTextureEd.c++:
> 
> Widget glx = XtCreateWidget("paletteGLX",
> glwMDrawingAreaWidgetClass, parent, args, n);
> 
> glwMDrawingAreaWidgetClass is defined in:
> /usr/X11R6/include/GL/GLwDrawA.h:#  define
> glwMDrawingAreaWidgetClass  
> glwM2DrawingAreaWidgetClass
> 
> I know on linux "glwM2DrawingAreaWidgetClass" is
> defined in /usr/X11R6/lib/libGLw.a.
> Does any one know where /usr/X11R6/lib/libGLw.a is
> on cygwin-1.7?
> 

For this question 
http://cygwin.com/packages/
is your friend.

I presume replaced by libGLw.dll.a 

http://cygwin.com/cgi-bin2/package-cat.cgi?file=libGLw-devel%2FlibGLw-devel-7.2-2&grep=libGLw

libGLw-devel: X11 OpenGL libraries 
(widgets libdevel) 
(installed binaries and support files)

usr/include/GL/GLwDrawA.h
usr/include/GL/GLwMDrawA.h
usr/lib/libGLw.dll.a
usr/lib/pkgconfig/glw.pc


> Thank you,
> 
> Linh
> 

Regards
Marco



  

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: [ANNOUNCEMENT] Updated: xorg-server-1.5.3-4

2008-11-25 Thread Marco Atzeri
--- Florent Fievez  ha scritto:

> Hello,
> 
> Thanks a lot for this release, it fixes my openGL
> problem. For
> curiosity, where can I find a diff between the two
> build to see what
> have been corrected ?
> 
> Best regards and thanks a lot,

on Yaakov 
http://sourceforge.net/projects/cygwin-ports

http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/xorg/xorg-server/
see rev 4997

Regards
Marco



  

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: question

2009-01-26 Thread Marco Atzeri
--- marwa chendeb ha scritto:

> Hello
> I updated Cygwin but the problem is that x server
> don't work. when i type X& the response is that :
> see attachment.
> I don't have the package CID fonts?? 
> What is the solution for this problem.
> I'm waiting your response
> Thnaks in advance
> 
> 

How to report 
> Problem reports:  
> http://cygwin.com/problems.html

Further reading
http://x.cygwin.com/docs/faq/cygwin-x-faq.html

However it looks your cygwin update is incomplete

This is coming from a X11R7.4 log file 
located in 
 
/var/log/XWin.0.log
*
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (20090121)
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line: 
*

Regards
Marco



  

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



R: starxwin.bat always "misfires" the xterm once

2009-02-16 Thread Marco Atzeri


--- Lun 16/2/09, Franz di Coccio  ha scritto:

> Da: Franz di Coccio 
> Oggetto: starxwin.bat always "misfires" the xterm once
> A: cygwin-xfree@cygwin.com
> Data: Lunedì 16 febbraio 2009, 11:08
> Hi all,
> 
>  I have installed cygwin-x on windows XP and I'm pretty
> much happy about it.
> There is only one little annoying thing that I am not able
> to fix.
> I use cygwin-x to ssh into linux systems and occasionally
> launch
> remote applications.
> I do not use a x-desktop.
> 
> I've added an icon to the quick-launch windows toolbar
> pointing to
> startxwin.bat.
> Pressing that icon should launch cygwin-x and open a xterm.
> It does so on my other window box, running win 2000.
> 
> However, on windows xp there seems to be some glitch. The
> first time I
> launch the cygwin-x
> icon after booting the OS, no xterm pops up. At least, not
> immediatly.

I have a similar issue.
It is probably due to Xwin not yet ready when xterm
tries to verify the existence of a X server

try to add 

%CYGWIN_ROOT%\bin\sleep 4

so a 4 second delay (or what ever value is fine for 
you system) before

%RUN% xterm -e /usr/bin/bash -l

this should allow xterm to find a ready Xwin.

> I've been waiting
> a few minutes, but no trace of xterm all the same.
> The xserver is running, though. I can launch an xterm from
> by right
> clicking the small X icon
> in the icon tray, but it opens in /usr/X11R6/bin, prompting
> "bash-3.2$".
> 
> If I close the xserver and launch it a second time, all
> goes as I expect to.
> The xserver is started again, and an xterm almost
> immediatly pops out
> as required
> in startxwin.bat. The xterm correctly starts from my home
> directory.
> 
> Therefore I always have to launch cygwin-x, shut down the
> server and
> launch it again.
> As I mention, this "double launching" is not
> necessary in win 2000.
> The xterm pops up the first time I launch startxwin.bat.
> 
> Is this a known problem? I've tried to search the
> mailing list but
> came up with nothing.
> Perhaps I've used the wrong search terms.
> 
> Thanks a lot for any help
> 
> F

Regards
Marco


  Passa a Yahoo! Mail.

La webmail che ti offre GRATIS spazio illimitato, 
antispam e messenger integrato.
http://it.mail.yahoo.com/  

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



R: I cannot use cygwin

2009-06-11 Thread Marco Atzeri

--- Gio 11/6/09, ajmen...@purdue.edu  ha scritto:

> Da: ajmen...@purdue.edu 
> Oggetto: I cannot use cygwin
> A: cygwin-xfree
> Data: Giovedì 11 giugno 2009, 22:35
> 
> 
> Hello,
> 
> I am trying to use cyg win and StartX to run a software but
> it is not working; I 
> attach an image and the log file to see if you could
> recommend me something to 
> do.
> 
> Thank you for your help.
> 
> Alvaro Mendoza
> 
Hi Alvaro

1) Problem reports:       http://cygwin.com/problems.html

2) your system looks ancient, it is some time that we moved
to X release 7.x 

3) try :
touch /tmp/XWin.log

to create an empty log file


Regards
Marco




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: problem with startxwin.exe and a possible solution

2010-01-22 Thread Marco Atzeri
--- Ven 22/1/10, Charles Wilson  ha scritto:

> Marco Atzeri wrote:
> > Today I start some experiments and I have found that
> > changing the menu target from 
> > 
> > C:\cygwin2\bin\run.exe /usr/bin/bash.exe -l -c
> /usr/bin/startxwin.exe
> > 
> > to 
> > 
> > C:\cygwin2\bin\run.exe -p /usr/bin
> /usr/bin/startxwin.exe
> > 
> > all the problems seem gone. 
> > The Xserver is stable and all the Xterms run
> smoothly.
> > 
> > I suppose that my login shell redefine some parameters
> that
> > startxwin.exe needs, while a much simpler 
> > "run.exe -p /usr/bin" is what is really needed.
> 
> The real issue, I think, is that your mechanism doesn't
> allow you to set
> OTHER environment variables that might need to be defined
> before
> launching XWin, such as LC_ALL etc -- which would get set
> by the
> original formula, since 'bash -l' reads your startup files
> like
> ~/.bash_profile where they might get set.
> 

As on my .bash_profile, I don't set LC_ALL and I just clean 
PATH and redirect TEMP and TMP, I have not such problem.

However I just tested that 
C:\cygwin2\bin\run.exe -p /usr/bin /usr/bin/bash.exe -l -c 
/usr/bin/startxwin.exe

is also working as expected.

Using such target I have 3 process:
bash.exe
startxwin.exe
Xwin.exe

I just checked with Process Explorer the enviroment and I 
find that, for both bash and startxwin.exe, PATH 
is not the one I have in .bash_profile..

For the bash process this does make sense, but startxwin.exe should have the 
PATH redefined. 
If I run from a bash-xterm login session another bash -l,
Process Explorer reports the first with the windows PATH but 
the second with the redefined PATH as the first is a login
shell and followed .bash_profile.

It is like the "-c" option of bash is blocking the "-l" 
option. 

As my Windows PATH don't include the cygwin /usr/bin,
without the "-p /usr/bin" bash is crippled and so also startxwin.exe..

 
> --
> Chuck

Marco





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



R: Automatically starting CYGWIN with OpenSSH

2010-06-10 Thread Marco Atzeri
--- Ven 11/6/10, MaverickUK82 ha scritto:

> 
> Hi guys,
> 
> I'm new to CYGWIN and this forum.

This is not a forum, but a mailing list,
and you are using the wrong one:

cygwin-xfree is for X on cygwin

you should use just "cygwin at cygwin dot com"
for your problem.

> 
> Sorry to ask questions immediatley after joining - but I'm
> at my wits end.
> 
> I am currently running windows vista x64.
> 
> I would like cygwin (well, OpenSSH really) to start up with
> my computer. So
> I can access the SSH server (remotely) without having to
> log into my vista
> PC and manually starting Cygwin and OpenSSH.
> 
> I am thinking maybe via runservices registry key with a
> switch at the end to
> start OpenSSH. Although I am new to this and appreciate
> there maybe a better
> way.
> 
> Hope someone can help!
> 
> 

/usr/bin/ssh-host-config

will install ssh as service.

Marco


 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Slow response to keypresses in xorg-server-1.8.0-1

2010-07-01 Thread Marco Atzeri
--- Mer 30/6/10, Jon TURNEY  ha scritto:

> Anyhow, I've cooked up a small additional change which
> should prevent this 
> blocking behaviour and uploaded a build [2]. It seems to
> resolve the problem 
> in this specific case. Perhaps you could try it out and see
> if it helps?
> 
> [1] http://cygwin.com/ml/cygwin-xfree/2010-02/msg00124.html
> [2] ftp://cygwin.com/pub/cygwinx/XWin.20100630-git-bc2f74e105146c36.exe.bz2
> 
> -- 
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer

Jon,
the new version has much more responsiveness than 1.8.0-1
the ALT-TAB switch is fluent now.

Regards
Marco







--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Bug or WAD? Midnight Commander F10 different in xterm than native or rxvt

2010-07-08 Thread Marco Atzeri
--- Ven 9/7/10, Larry Hall  ha scritto:

> On 7/8/2010 10:35 PM, Peter Farley
> wrote:
> > I don't know if this is the right place to ask this
> question, but if it is
> > not please advise me where to send it.
> >
> > Midnight Commander exits with F10, and in a native
> bash window or rxvt F10
> > exits to the last directory viewed.  In an xterm
> though, it exits to the
> > original directory from which MC was started.
> >
> > Do you think this a bug in MC or is it WAD?  If
> you think it's a bug in MC I
> > will gladly debug it myself, I just want to know if
> it's WAD for xterm's
> > first.
> >
> > I am using a fresh cygwin + cygwin/X install on WinXP
> SP3, and I will supply
> > the usual problem report documentation if needed to
> answer my question.
> 
> Sorry, I don't know anything about MC really but isn't
> there some doc on
> it that describes what F10 is supposed to do?
> 
> -- 
> Larry Hall


on my Win-XP SP2 under cygwin/X 
MC with F10 exits in the current directory

Peter,
as mc is an alias
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

I guess that under X this wrapper is working 
differently than under console

---mc-wrapper.sh--
MC_USER=`id | sed 's/[^(]*(//;s/).*//'`
MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$"
/usr/bin/mc -P "$MC_PWD_FILE" "$@"

if test -r "$MC_PWD_FILE"; then
MC_PWD="`cat $MC_PWD_FILE`"
if test -n "$MC_PWD" && test -d "$MC_PWD"; then
cd "$MC_PWD"
fi
unset MC_PWD
fi

rm -f "$MC_PWD_FILE"
unset MC_PWD_FILE


Regards
Marco






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



R: [ANNOUNCEMENT] Updated: xorg-server-1.9.0-1 (TEST)

2010-10-02 Thread Marco Atzeri
--- Gio 30/9/10, Jon TURNEY ha scritto:

> The following packages have been
> updated in the Cygwin distribution:
> 
> *** xorg-server-1.9.0-1
> *** xorg-server-dmx-1.9.0-1
> 
> This package contains XWin and the other X.Org X11
> servers.

> 
> -- Jon TURNEY
> Volunteer Cygwin/X X Server maintainer
> 

Hi Jon,
testing the 1.9.0-1 server with recent cygwin snapshots
20100924 to 20101001 (not checked the ones before) 

I am unable to run xterm as bash crashes.

Menu command:
C:\cygwin2\bin\run.exe -p /usr/bin  xterm -fn 8x13 -fg white -bg black -display 
127.0.0.1:0.0 -ls /bin/bash


bash.exe.stackdump

Exception: STATUS_ACCESS_VIOLATION at eip=610C8835
eax= ebx=001C ecx=7C801898 edx=7C90E514 esi=61165220 edi=
ebp=186CCD58 esp=186CCC80 program=C:\cygwin2\bin\bash.exe, pid 10864, thread sig
cs=001B ds=0023 es=0023 fs=003B gs= ss=0023
Stack trace:
Frame Function  Args
186CCD58  610C8835  (61165220, , , )
186CCD88  61003DF1  (, , , 61004772)
End of stack trace

no such problem with the 

$ XWin.exe --version
Release: 1.8.2.0 (10802000)
Build Date: 2010-08-06

Marco






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: R: [ANNOUNCEMENT] Updated: xorg-server-1.9.0-1 (TEST)

2010-10-02 Thread Marco Atzeri
--- Sab 2/10/10, Christopher Faylor  ha scritto:

> On Sat, Oct 02, 2010 at 04:54:25PM
> -0400, Christopher Faylor wrote:
> >On Sat, Oct 02, 2010 at 08:36:51PM +, Marco Atzeri
> wrote:
> >>testing the 1.9.0-1 server with recent cygwin
> snapshots
> >>20100924 to 20101001 (not checked the ones before)
> 
> >
> >Which snapshot does the above stack trace come from?

20101001 (if I have not messed the things)

> 
> Actually, try today's snapshot when it shows up (it's
> building now).  It
> may fix the problem.  I just found a cygwin startup
> problem today while
> trying to track down the git problem.  I think this
> may be what you're
> seeing.
> 
> cgf
> 


I will test. 

Regards
Marco






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: R: [ANNOUNCEMENT] Updated: xorg-server-1.9.0-1 (TEST)

2010-10-02 Thread Marco Atzeri
--- Sab 2/10/10, Marco Atzeri ha scritto:

> --- Sab 2/10/10, Christopher
> Faylor  ha scritto:
> 
> > On Sat, Oct 02, 2010 at 04:54:25PM
> > -0400, Christopher Faylor wrote:
> > >On Sat, Oct 02, 2010 at 08:36:51PM +, Marco
> Atzeri
> > wrote:
> > >>testing the 1.9.0-1 server with recent cygwin
> > snapshots
> > >>20100924 to 20101001 (not checked the ones
> before)
> > 
> > >
> > >Which snapshot does the above stack trace come
> from?
> 
> 20101001 (if I have not messed the things)
> 
> > 
> > Actually, try today's snapshot when it shows up (it's
> > building now).  It
> > may fix the problem.  I just found a cygwin startup
> > problem today while
> > trying to track down the git problem.  I think this
> > may be what you're
> > seeing.
> > 
> > cgf
> > 
> 
> 
> I will test. 
> 
> Regards
> Marco
> 
problem solved on

$ uname -a
CYGWIN_NT-5.1 ITQMOZCAS2NB007 1.7.8s(0.231/5/3) 20101002 17:15:53 i686 Cygwin

$ XWin.exe --version
Release: 1.9.0.0 (1090)


Thanks
Marco






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



R: Xlib.h not found

2010-10-04 Thread Marco Atzeri
--- Lun 4/10/10, gd ha scritto:

> Hi,
> I installed the xinit package for cygwin, but I cannot find
> the file Xlib.h. Where is it located, or why was it not
> installed?
> Thanks for your help
> GD
> 

it is not installed because you did not request
the development package libX11-devel

see :
http://cygwin.com/packages/
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=Xlib.h


Regards
Marco



   


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: gvim ends when the OPEN menu-item is selected

2010-10-04 Thread Marco Atzeri
--- Mar 5/10/10, Larry Hall (Cygwin X)  ha scritto:

> On 10/4/2010 6:23 AM, James Anderson
> wrote:
> > Rodrigo Medina 
> cantv.net>  writes:
> >
> >>
> >> Hi,
> >> I have just installed gvim. I have never used it
> before.
> >> After starting Xwin -multiwindow I run gvim. A
> window appears,
> >> but when the OPEN or SAVE AS menu-items are
> selected the program ends
> >
> >
> > Me Too!
> >
> > Cygwin 1.8.2 and gvim 7.3.3 on 32bit XP sp3
> 
> I assume you meant Cygwin 1.7.2?  The latest Cygwin
> package is 1.7.7.

1.8.2 looks the XWin server version

> 
> -- 
> Larry Hall             






--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: complains about the cygwin/gcc binaries

2011-01-27 Thread marco atzeri
On Thu, Jan 27, 2011 at 8:36 PM,  wrote:
> In the ROOT downloading website:
> http://root.cern.ch/drupal/content/production-versio
> n-528
> It says:
> "Note that the performance of cygwin/gcc binaries is currently very poor; we
> only pro
> vide this build as an unsupported toy. We strongly recommend to use the
> version above compiled with VC++. The ROOT team will not answer any messages
> related to problems with the win32gcc version"
>
> What's the reason of the poor performance. Is there any way to improve that?
>
> Thanks
> --Wei

In the gcc-3 era the C++ timing performance were really poor, gcc-4
solved a lot such problem.
I guess the situation is improved in the meantime but of course cygwin
is slower than an equivalent
native build as he try to replicate the UNIX/Posix enviroment in an
unfriendly MS-Windows word.

My experience porting octave says that gcc-4 is much better but I have
no idea of ROOT needs.

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: complains about the cygwin/gcc binaries

2011-01-27 Thread marco atzeri
On Thu, Jan 27, 2011 at 11:22 PM, Angelo Graziosi  wrote:
> Marco Atzeri wrote:
>>
>> In the gcc-3 era the C++ timing performance were really poor, gcc-4
>> solved a lot such problem.
>> I guess the situation is improved in the meantime but of course cygwin
>> is slower than an equivalent
>> native build as he try to replicate the UNIX/Posix enviroment in an
>> unfriendly MS-Windows word.
>>
>> My experience porting octave says that gcc-4 is much better but I have
>> no idea of ROOT needs.
>
> I follow the development of ROOT under Cygwin since ROOT-3, and there wasn't
> really big problems: each time, when prompted, they was always fixed by ROOT
> people.
>
> The performances of ROOT under Cygwin are good enough (at least with by
> builds with gcc4 compilers). Obviously Cygwin isn't a native GNU/Linux and
> often the performances are influenced by AV security applications..
>
> Ciao,
> Angelo.

the last is true but AntiVirus affect negatively also native
MS-Windows application :-((
so it is not a cygwin problem.

Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Nautilus

2011-05-18 Thread marco atzeri
On Wed, May 18, 2011 at 7:16 PM, Jon Grierson @ Church Budget  wrote:
> I have install nautilus into my cygwin enviroment and depending upon the
> version I install I get an error abgout a missing dll.  With install version
> 2.24.2-1 I get the error cygeel-2.2.dll is missing.  With install version
> 2.32.1-1 I get the error cygunique-1.0-0.dll is missing.  I cannpt fond
> either dll anywhere.  The suggestion to install  gnome translate is a
> problem as I cannot find this package anywhere either. Once nautilus is
> running I can use my new shiny cygwin environment for lots of chores.
>
> Cheers
> Jon G

Nautilus is not in cygwin packages.
I guess you installed from

http://sourceware.org/cygwinports/

so you should ask support there.

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: how to project startx window to the extended terminal

2011-06-10 Thread Marco atzeri

On 6/10/2011 8:57 PM, wxie wrote:

FYI. I haven't receive any further feedback on the following.



 man startxwin

see the EXAMPLES



Thanks
--Wei



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: how to project startx window to the extended terminal

2011-06-10 Thread Marco atzeri

On 6/10/2011 9:24 PM, wxie wrote:

Thanks for the feedback but this is not what I'm referring to. I can run
multiple servers but they all show up in the main display. I can make it
using XWin -screen 0 @2 but this doesn't work for xinit.


on these mailing lists we use to comment after,
not before the message...



Cheers
--Wei

On 6/10/2011 3:09 PM, Marco atzeri wrote:

On 6/10/2011 8:57 PM, wxie wrote:

FYI. I haven't receive any further feedback on the following.



man startxwin

see the EXAMPLES



Thanks
--Wei




man xinit

xinit -- -screen 0 @2
or
xinit -- Xwin -screen 0 @2

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Unable to open socket for inet

2011-08-03 Thread Marco atzeri

On 8/4/2011 12:35 AM, J T Halliley wrote:

Just installed Cygwin/X on WIndows XP Pro, Version 2002, SP 3.
When I invoke startxwin, here's what I get:

--
bash>  startxwin

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.10.3.0
OS: Windows XP Service Pack 3 [Windows NT 5.1 build 2600] (Win32)
Package: version 1.10.3-1 built 2011-07-19

XWin was started with the following command line:

X :0 -multiwindow

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/GP3JDP1-E6410:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet
_XSERVTransOpen: transport open failed for inet/GP3JDP1-E6410:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet
_XSERVTransSocketOpenCOTSServer: Unable to open socket for local
_XSERVTransOpen: transport open failed for local/GP3JDP1-E6410:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for local

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running
winDeinitMultiWindowWM - Noting shutdown in progress
--

It seems as though there's a general networking issue:

--
bash>  ping 127.0.0.1
icmp: unknown protocol
--

but using Windows ping from a DOS prompt works fine:

--
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>ping 127.0.0.1

Pinging 127.0.0.1 with 32 bytes of data:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
 Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
 Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
^C
C:\>
--

I am in the Administrators group, so raw sockets should work.  We do run
McAfee, so that could be an issue.

Any ideas?  Both for XWin and for ping?  Are they related?

Thanks,
Tom


check using cygwin ping, if this fail than something is blocking
the communication.

The windows ping has more "authorization" so it could
misses the problem.

regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X won't start anymore

2011-10-19 Thread Marco Atzeri

On 10/19/2011 4:17 PM, Denis Beauchemin wrote:

Hello,

I guess it happened after some MS update but I can't start X anymore (from an 
rxvt-native console since clicking the desktop icon doesn't display anything):
$ startxwin.exe

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.11.1.0
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
Package: version 1.11.1-1 built 2011-10-05

XWin was started with the following command line:

X :0 -multiwindow

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/bead2306/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD
winDetectSupportedEngines - Windows NT, allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 001f
winSetEngine - Multi Window or Rootless =>  ShadowGDI
winScreenInit - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 2944 height: 1280 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
Screen 0 added at virtual desktop coordinate (1024,0).
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel
(II) AIGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from 
list!
[dix] Could not init font path element /usr/share/fonts/Type1/, removing from 
list!
   4 [main] X 15760 fork: child 19360 - died waiting for dll loading, errno 
11
startxwin: giving up
startxwin: unable to connect to X server: Connection refused
startxwin: server error


The culprit seems the line saying "died waiting for dll loading, errno 11". 
Knowing which dll didn't load could help, I guess...

What's annoying is the fact that this used to work really fine up until about 1 
week ago...

Thanks!

Denis



latest cygwin snapshot are more informative about fork failures,
eventually you can try them

http://cygwin.com/snapshots/

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Updated: xorg-server-1.11.4-4

2012-02-23 Thread marco atzeri
On Fri, Feb 24, 2012 at 2:47 AM, Jim Reisert AD1C wrote:
> On Wed, Feb 22, 2012 at 1:13 PM, Jon TURNEY wrote:
>
>> The following packages have been updated in the Cygwin distribution:
>>
>> *** xorg-server-1.11.4-4
>> *** xorg-server-dmx-1.11.4-4
>
> Hi Jon,
>
> Did this release get pulled?  It's over 24 hours later, I've tried two
> different servers, and setup is not finding it.  I've never had this
> problem in the past.
>
> --
> Jim Reisert AD1C, , http://www.ad1c.us

it seems not yet present, the last on

http://cygwin.com/packages/xorg-server/

is   xorg-server-1.11.4-3

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: most recent xfig-3.2.5b-2 broken.

2012-02-25 Thread marco atzeri

On 2/25/2012 9:06 PM, George Barrick wrote:


Subj: most recent xfig-3.2.5b-2 broken.

   2012.02.25.19:18:18 UT

Hey cygwin-x folks,

   I just installed the xorg-server-1.11.4-5, and I
thought that some aspect of its configuration may have
broken the xfig program on my box.  This however was
untrue.  When I reverted to xorg-server-1.11.4-1, the
xfig crashed on startup as before, and I concluded
that it must be a difficulty only with xfig.

   I am running on a Dell Optiplex 380 with an Intel
Core2 E7500 2.93 GHz CPU, 4.0 GBt DRAM and an 150 GBt
Western Digital HD.  The OS is WinXp Pro. 32-bit, and
is fully up-to-date.  My CygWin installation is 1.7.10-1,
the xorg-server is 1.11.4-5, and everything in that
sub-system is up-to-date.

   The xfig is a minor part of the things I use,
but I do like to have it around.  It fails to start,
issuing the messages:


gbarrick@TS207 ~/figs/sqaccel
$ xfig sqposn.fig&
[1] 2904

gbarrick@TS207 ~/figs/sqaccel
$ /usr/bin/xfig.exe: error while loading shared libraries:
?: cannot open shared object file:
  No such file or directory


I ran the cygcheck on the xfig package, but it claims
that none of the required resources or libraries are
missing.


$ cygcheck xfig
Found: D:\cygwin\bin\xfig.exe
Found: D:\cygwin\bin\xfig.exe
D:\cygwin\bin\xfig.exe
   D:\cygwin\bin\cyggcc_s-1.dll
 D:\cygwin\bin\cygwin1.dll
   C:\WINDOWS\system32\KERNEL32.dll
 C:\WINDOWS\system32\ntdll.dll
   D:\cygwin\bin\cygX11-6.dll
 D:\cygwin\bin\cygxcb-1.dll
   D:\cygwin\bin\cygXau-6.dll
   D:\cygwin\bin\cygXdmcp-6.dll
   D:\cygwin\bin\cygXaw3d-7.dll
 D:\cygwin\bin\cygXext-6.dll
 D:\cygwin\bin\cygXmu-6.dll
   D:\cygwin\bin\cygXt-6.dll
 D:\cygwin\bin\cygICE-6.dll
 D:\cygwin\bin\cygSM-6.dll
   D:\cygwin\bin\cyguuid-1.dll
   D:\cygwin\bin\cygXi-6.dll
   D:\cygwin\bin\cygXpm-4.dll
   D:\cygwin\bin\cygjpeg-7.dll
   D:\cygwin\bin\cygpng12.dll
 D:\cygwin\bin\cygz.dll


I had reason to suspect that it was the
xorg-server because new versions had recently
been installed.  When I reverted to the previous
xorg-server-1.11.4-1, everything was not O.K.
The xfig still has the problem.

George Barrick g_barrick_at_walsh_dot_edu



just installed xfig on latest  xorg-srver 1.11.4-5
and it works.

You have likely an old version of one of the several
dll's.

Dependency Walker can help to find the wrong dll
http://www.dependencywalker.com/

or you can use strace

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: most recent xfig-3.2.5b-2 broken.

2012-02-27 Thread marco atzeri

On 2/27/2012 1:47 PM, George Barrick wrote:

Subj: most recent xfig-3.2.5b-2 broken.

  2012.02.27.12:45:48 UT

Hi Marco (and cygwin-x folks),

  I will try the experiment that I think
you are suggesting.  If the .so is part of an
older .dll, then a reinstallation of the
packages should clear up the problem.  I
have not yet done that however because the
same difficulty is emerging with the octave-3.6
that was released over the weekend.

  The message that I get is:

gbarrick@TS207 ~/jpegs/figs
$ octave
/usr/bin/octave-3.6.1.exe: error while loading shared libraries:
?: cannot open shared object file: No such file or directory


now you triggered all my attention as octave package maintainer

try this

$ cd /bin
$ strace -o /tmp/octave.strace octave-3.6.1.exe --version

it should open a system message window mentioning what is missing



George g_barrick_at_walsh_dot_edu



regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: most recent xfig-3.2.5b-2 broken.

2012-02-27 Thread marco atzeri

On 2/27/2012 3:35 PM, George Barrick wrote:

   The message that I get is:

gbarrick@TS207 ~/jpegs/figs
$ octave
/usr/bin/octave-3.6.1.exe: error while loading shared libraries:
?: cannot open shared object file: No such file or directory


now you triggered all my attention as octave package maintainer

try this

$ cd /bin
$ strace -o /tmp/octave.strace octave-3.6.1.exe --version

it should open a system message window mentioning what is missing

regards
Marco


Subj: most recent xfig-3.2.5b-2 broken.

Hi Marco,

  I ran strace on the octave-3.6.1.exe and
got an empty message file.


of course, octave process never started :-)

However, that strace

terminated with a WinXP error alert box that
said:

octav-3.6.1.exe - Unable to locate component
[
[ This application has failed to start because
[ D:\Program Files\AlwilSoftware\Avast\snxhk.dll
[ was not found.  Re-installing the application
[ may fix this problem.
[

I guess that something is seriously screwed-up if
my octave is trying to access a .dll from my
antivirus program.  I did install a program
upgrade from Avast on Friday.  It seems to be
a bit more intrusive than the previous versions.
However, my upgrade to octave-3.6.1 did not occur
until this morning.

George gbarrick_at_walsh_dot_edu


Hi George,
probably octave is just the victim of Avast
I suspect the your antivirus is screwing up cygwin in general.
Probably it tries to inject a dll in the dll chain

does "D:\Program Files\AlwilSoftware\Avast\snxhk.dll" exist ?

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: most recent xfig-3.2.5b-2 broken.

2012-02-27 Thread marco atzeri

On 2/27/2012 4:01 PM, George Barrick wrote:

Subj: most recent xfig-3.5.2b-2 broken.

  2012.02.27.15:00:43 UT


Hi George,
probably octave is just the victim of Avast I suspect that
your antivirus is screwing up cygwin in general.
Probably it tries to inject a dll in the dll chain

does "D:\Program Files\AlwilSoftware\Avast\snxhk.dll" exist ?

Regards
Marco


Hi Marco,

  Yes. The file exists, but it is in the sub-directory
Avast5 of the AlwilSoftware directory.  Apparently their
installer does not make everything perfect when it upgrades
from a previous version.

   Should I then rip out both cygwin and the antivirus,
then run a re-install of antivirus first, then the cygwin?
Forgive me, install and re-install pretty much summarizes
my suite of computing skills.  When all that I have is a
hammer, everything looks to me like a "hammer" kind of
job.

George  gbarrick_at_walsh_dot_edu



I see no reason to re-install cygwin. It is purely a Avast problem


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: most recent xfig-3.2.5b-2 broken.

2012-02-27 Thread marco atzeri

On 2/27/2012 5:20 PM, George Barrick wrote:

Subj: most recent xfig-3.5.2b-2 broken.

   2012.02.27.16:18:08 UT



I see no reason to re-install cygwin. It is purely a Avast problem



Hi Marco,

   I went and re-installed my antivirus so that its
files would be stored in a better directory.  That has
fixed my problem, as the av still slips .dll's into the
execution stack when I run cygwin processes, but now
my system knows where everything can be found.

I tested the new octave.  At first it crashed
when I asked for plots, but then I did the:

rebaseall -v


Hi George
if you see fork problem on the *.oct dll's of octave

please try
  "rebaseall -s 'dll|so|oct'"



from the ash-shell, and everything works.  Both the
latest xfig and the new octave-3.6.1 work as they
should.  Thank you for your patience.

George


you are welcome
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Need help gathering log data for gretl_x11 v1.9.7 crashing in Cygwin 1.7.11

2012-03-14 Thread marco atzeri

On 3/14/2012 7:14 AM, Chloe wrote:

When I run gretl and click File>  New Dataset>  Ok>  Forward>  Apply, gretl
crashes and dissapears, leaving no core or log. There is nothing in
/var/log/xwin/XWin.0.log either (that gretl creates). How do I collect
debugging information to submit a bug report?

To reproduce, build and run gretl : http://gretl.sourceforge.net/

I searched the archives for gretl but found nothing:
http://sourceware.org/cgi-bin/search.cgi?wm=wrd&form=extended&m=all&s=D&ul=%2Fml%2Fcygwin-xfree%2F%25&q=gretl




start with strace and check also with gdb.


Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Your program FontForge can't be used with cygwin since a few years

2012-04-01 Thread marco atzeri

On 4/1/2012 3:35 AM, epost_123 wrote:

Your program FontForge can't be used with cygwin since a few years.
Many Greetings


wrong mail target ?
cygwin has no package fontforge.

Marco





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: "cscope -d" can't find trailer offset if path contains space (was: vim mlcscope interface issues)

2012-04-17 Thread marco atzeri

On 4/17/2012 9:55 AM, Schwarz, Konrad wrote:

Hello,

an easy work around for the problem that cscope and its variant mlcscope
cannot deal with paths containing spaces under Cygwin is to replace such paths
with their DOS short name equivalents, since these do not contain spaces.


the easy solution is to not use paths with space in cygwin



Regards,
Konrad Schwarz


P.S.: Sorry for resurrecting an old thread from Jan 2007.  However, this thread
seems to be the only place the problem was discussed.


the right way is to open a new thread, not resurrecting the dead.
Things are changed in 5 years

Marco




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: cygwin octave x11

2012-05-17 Thread marco atzeri

On 5/17/2012 3:59 PM, Chillosaurus wrote:


I try to run octave in cygwin, which works fine, but if I want to draw a plot
it doesn't open a new window.
I'm a beginner with cygwin and unix-environments and was not able to find an
understandable solution.
Starting octave i get the following error:
warning: X11 DISPLAY environment variable not set
Typing "startx" I get the following:
xauth: (stdin):1:  bad "add" command line
[dix] Could not init font path element /usr/share/fonts/OTF/, removing from
list
The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning:  Type "ONE_LEVEL" has 1 levels, but  has 2 symbols
   Ignoring extra symbols

Errors from xkbcomp are not fatal to the X server
winBlockHandler - pthread_mutex_unlock()
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid
MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key..

I had this error message starting matlab, can that be fixed, is this the
same problem or a different one?
Warning: No display specified.  You will not be able to display graphics on
the screen.

thanks a lot


Hi,
octave graphics need X running so please follows

http://cygwin.com/problems.html

so we can understand you X server issue.

Instead of startx you can also try startxwin
directly or though the "X Win Server" icon on the start menu.
Or the new experimental xlaunch (in package xlaunch)

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: cygwin octave x11

2012-05-17 Thread marco atzeri

On 5/17/2012 5:17 PM, Chillosaurus wrote:


I did cygcheck, it seems to be all of status OK. When executing I got a few
warnings. Guess they can be ignored ?
$ cygcheck -s -v -r>  cygcheck.out


you forgot to attach cygcheck.out to the mail


/usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32
error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': Win32
error 5
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5
http://old.nabble.com/file/p33864961/cygcheck.out cygcheck.out
Here is the XWin.0.log
http://old.nabble.com/file/p33864961/XWin.0.log XWin.0.log

starting x works, but when I open octave and try to make a plot, I get this:
octave:1>  plot([1 4],[2 3],'--')
   2 [main] octave-3.6.1 2932 child_info_fork::abort:
C:\cygwin2\bin\cygfftw3-3.dll: Loaded to different address: parent(0x2C)
!= child(0x41)


this is a fork issue see:
http://cygwin.com/faq-nochunks.html#faq.using.fixing-fork-failures


error: popen2: process creation failed -- Resource temporarily unavailable
error: called from:
error:   /usr/share/octave/3.6.1/m/plot/private/__gnuplot_open_stream__.m at
line 30, column 44
error:   /usr/share/octave/3.6.1/m/plot/__gnuplot_drawnow__.m at line 72,
column 19
octave:2>

hope that's helpfull
Thank you.



Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: no display specified

2012-05-17 Thread marco atzeri

On 5/17/2012 6:10 PM, Chillosaurus wrote:


Thanks for the thougths. That's the solution.
Is there a chance I can use cygwin to run matlab (including plotting
functions etc.), which is located on another machine?

I'm getting this warning
Warning: No display specified.  You will not be able to display graphics on
the screen.



some more data ?
Is the remote machine a Unix one ? If so the you can look at
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-ssh-no-x11forwarding

If it is a windows machine I doubt matlab provides a X
interface usable by cygwin

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem with basic startx and xterm - no cursor or focus

2012-05-30 Thread marco atzeri

On 5/29/2012 7:18 PM, Patrick Hogan wrote:

Hi list,

A slightly more pared-down version of a question I've posed previously.

 From a new Cygwin install on Windows 7 running 1024x768 resolution,
compare the result of the following two commands run from a Cygwin
terminal:

startx /usr/bin/xterm -- -logfile broken.log

startx /usr/bin/xterm -geometry 80x50+494+51 -- -logfile works.log

The first command produces a single unmanaged xterm. No X11 cursor is
visible and the xterm is unable to receive input focus. It is not
possible to anticipate where the cursor ought to be and give the xterm
focus. Unusable.

The second command produces a single unmanaged xterm. The X11 cursor
is visible and the xterm is able to receive input focus. Works as
expected.

This seems to be a fairly fundamental problem, and the placement of
the xterm determines whether the entire X.org session is usable or
not. Does anyone know anything about this problem?

Regards,

Patrick



try using "startxwin" instead of "startx"

in addition

"xterm -ls /bin/bash" should be better for the shell enviroment
in the xterm

Regards
Marco



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X server crashes when running VTK-5-8 rendering examples

2012-05-31 Thread marco atzeri

On 5/14/2012 5:24 PM, Frederico Liporace wrote:

Hash: SHA1

Hello,

I´ve succesfully compiled vtk-5-8-0 libraries and examples
under cygwin, but the X server crashes when I try to execute
one of the examples under vtk´s Examples/Rendering/Cxx subdir.

The crash happens right after the rendering window creation. The window
stays blank for a couple of seconds and the I get the crash report.
Other then that my X environment is working OK.

cygcheck output and Xwin.log below.

Tried to run cygwin and X
as administrator, with ZoneAlarm disabled, and got the same results.

Thanks in advance for any hint,

Fred



Could you check if previous X server (1.12.0-5) has the same problem ?

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X server crash with asymptote

2012-05-31 Thread marco atzeri

On 5/31/2012 5:44 PM, Ken Brown wrote:

To reproduce:

1. Install asymptote-2.15-1.

2. Start the X server (1.12.1-1), and run the following command in an
xterm:

$ asy -V /usr/share/doc/asymptote/examples/teapot.asy

This should display a teapot in a separate window, but instead it
crashes the X server.

I've tested with cygwin-1.15 as well as the latest snapshot. The problem
doesn't occur with version 1.12.0-5 of the X server. I'm running 64-bit
Windows 7.

I assume you'll be able to reproduce this, but I'll send further
information (log, backtrace, cygcheck output) if you can't.

Ken


X server (1.12.1-1) seems to have some problems

http://www.cygwin.com/ml/cygwin-xfree/2012-05/msg00033.html

same W7/64

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Problem with geomview under cygwin

2012-06-01 Thread marco atzeri

On 5/31/2012 5:49 PM, tilo wrote:

Hello everybody. Please, help me!
I'm trying to run SaVi
(http://personal.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/)
with Geomview under Cygwin environment
(http://personal.ee.surrey.ac.uk/Personal/L.Wood/software/SaVi/building-under-
Windows/)

I have followed all the instructions on the page, but one problem occurs when I
try to run geomview.
I type ./geomview -run $savi1.4.5/savi
or ./geomview -run $c:/cygwin/savi1.4.5/savi

but xwin crashes with report:

A fatal error has occured and Cygwin/X will now exit
Caught signal 11(Segmentation Fault). Server aborting

from log file:

Vendor: the Cygwin/X Project
Realese 1.12.1.0
Package: version 1.12.1-1 built 2012-05-02
[ 10481,718] winGetWindowInfo: forcing window to exist
[ 10481,718] winCreateWindowsChildWindow - CreateWindowExA () failed: 1406
[ 10481,718] winGetWindowInfo: forcing window to exist
[ 10481,718] winCreateWindowsChildWindow - CreateWindowExA () failed: 1406
[ 10481,734] wglShareLists error: Неверный дескриптор.  (0006)
[ 10481,734] winGetWindowInfo: forcing window to exist
[ 10481,734] winCreateWindowsChildWindow - CreateWindowExA () failed: 1406
[ 10482,796] Install gdb to get reasonable backtraces
[ 10482,796] /usr/bin/xorg-backtrace failed with returncode 2
[ 10482,796] Segmentation fault at address 0x0
[ 10482,796]
Fatal server error:
[ 10482,796] Caught signal 11 (Segmentation fault). Server aborting
[ 10482,796]
[ 10482,796] Server terminated with error (1). Closing log file.

if needed, I can post whole log file.



Could you try previous X server 1.12.0-5 ?

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: XWin crashes with "Fatal server error" when starting SYBYL 8.1 over SSH

2012-06-11 Thread marco atzeri

On 6/11/2012 3:23 PM, Patrice Peterson wrote:

Hello,

In our lab, we use Cygwin to run SYBYL 8.1. SYBYL does not run locally,
we instead forward the X server of the remote machine where it is
installed over SSH. This used to work fine until a few weeks ago, though
I am embarassed to say I can't pinpoint the exact time when it stopped
working.

SYBYL usually opens two windows, a main window and a (graphical)
terminal. When the first (main) window pops up, XWin crashes with the
following error:

 Fatal server error
 ...
 Package version: 1.12.1-1 built 2012-05-02
 ...
 X was called with: X :0 -multiwindow

An full Cygwin update didn't rectify the problem, and IIRC it's not
possible to downgrade packages in Cygwin.


it is possible.

On "Select Packages" window look for "xorg-server" row,
click on "Keep" and you can circle around options:
  keep / version 1.12.1-1
  version 1.12.0-5
  source
  reinstall
  uninstall

please check if version 1.12.0-5 is functional in your case



Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Xserver crash

2012-06-20 Thread marco atzeri

On 6/20/2012 8:58 PM, Jon TURNEY wrote:

On 20/05/2012 20:48, marco atzeri wrote:

I just noticed that latest xorg-server-1.12.1-1 is crashing
when using octave with fltk interface.
Reverting to xorg-server-1.12.0-5 solves the issue

$ uname -a
CYGWIN_NT-6.1-WOW64 MARCOATZERI 1.7.16s(0.261/5/3) 20120517 02:19:46 i686 Cygwin

attached Xwin log.

To replicate run octave and at prompt just digit:

   graphics_toolkit("fltk")
   x=1:10
   plot(x,x)


Thanks for reporting this.

This (and the other OpenGL related crashes reported) should be fixed since
1.12.1-2, and with another OpenGL regression fixed in 1.12.2-1 today, this
should be back to working as well as it ever did :-)



Hi Jon,

1.12.1-2 does not crash, but also does not plot.
the plot window is empty.

I will check 1.12.2-1

Regards
Marco



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Xserver crash

2012-06-20 Thread marco atzeri

On 6/20/2012 9:27 PM, marco atzeri wrote:



Hi Jon,

1.12.1-2 does not crash, but also does not plot.
the plot window is empty.

I will check 1.12.2-1

Regards
Marco




1.12.2-1 plots fine

Thanks
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xterm and font problems after last update

2013-02-11 Thread marco atzeri

On 2/11/2013 12:42 PM, Thomas Dickey wrote:

On Mon, Feb 11, 2013 at 12:23:43PM +0100, marco atzeri wrote:

after last package update I noticed two issues:

on .XWinrc I was forced to change


The first one was reported a week ago as FreeBSD #175782,
and is fixed in #289 (last Friday).


nice to know, reverting to #287 solves the issue.




$ xfontsel.exe &
"Warning: Missing charsets in String to FontSet conversion"


The second one was (I think) reported/fixed on this list.



reported yes, I see it in some variants, solved not.

But reverting xterm, solves also the xfontsel.exe warning.

Regards
Marco





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-12 Thread marco atzeri

On 2/12/2013 3:12 PM, Jon TURNEY wrote:


I've uploaded at [1] a patched version of libXt, which includes some extra
debugging output, including the name of encoding which is causing this
warning, based on a patch at [2].  (This patch isn't really suitable for
upstreaming as it needs to be wired up to libXt's rather confusing error
reporting and localization scheme)

This should at least allow us to discover the name of the encoding which is
causing the warning.

[1] ftp://cygwin.com/pub/cygwinx/cygXt-6.dll
[2] http://lists.gnu.org/archive/html/help-gv/2010-07/msg4.html



very nice

$ xfig &
[1] 8660

marco@MARCOATZERI ~
$ Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset 
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset 
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset 
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-12 Thread marco atzeri

On 2/12/2013 4:42 PM, Jon TURNEY wrote:


$ xfig &
[1] 8660

marco@MARCOATZERI ~
$ Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,*--16-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset
-*-times-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-medium-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*

Warning: Missing charsets in String to FontSet conversion
Missing charset JISX0201.1976-0 for fontset
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*


If it offends your eye, you should be able to make this warning go away by
installing the font-sony-misc package and restarting your X server.

(Or you can just ignore the warning, which is probably pretty harmless unless
you have a need for Japanese text in your xfig diagram, assuming that is even
possible...)



the font is so tiny (28k) that installing it is not a problem at all

Thanks for the new cygXt-6.dll and the font hint.

Marco



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xmgrace doesn't load‏

2013-05-07 Thread marco atzeri

Il 5/7/2013 10:52 AM, Yoav Kashiv ha scritto:

I just installed cygwin/X + Xming + a number of packages (X11, gcc, grace, xclock, xeyes, 
etc.). I also added "C:\cygwin\bin" to the path. Most things seem to work fine. 
For example, I can open xterm, xclock, xeyes and run gcc in the cygwin window.
However, grace doesn't load. This is what I get:
$ xmgrace
/usr/bin/xmgrace.exe: error while loading shared libraries: ?: cannot open 
shared object file: No such file or directory
I'm guessing that there's a simple solution that has to do with a definition 
somewhere, but couldn't figure it out... Any suggestions? Thanks!   
   


what is the output of :
cygcheck /usr/bin/xmgrace.exe

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Missing X11 Libraries

2013-06-10 Thread marco atzeri

Il 6/11/2013 6:46 AM, Dan Piraner ha scritto:

Dear all,

I am a new Cygwin user trying to utilize the environment for running
AmberTools 13 from AmberMD.org. I followed their instructions for
configuring the installation and upon running the configure script, I
got a message saying that my XHOME directory could not be determined.
Upon some online investigation I learned that Xhome is supposed to be
the directory containing "lib/libXt.a", and that this directory is
searched for in /usr/X11R6/lib. However, my /usr/X11R6 directory does
not contain a "lib" subdirectory; it only contains "bin" and "share".


/usr/X11R6/lib is obsolete, looks on /usr/lib

libXt.a is a static library, on cygwin we have only the dynamic version

/usr/lib/libXt.dll.a

that belongs to libXt-devel-1.1.4-1 package



I'm pretty sure that I have all required components installed;
setup.exe shows almost everything in the X11 section set to "keep". In
particular, the AMBER installation guide calls for the following X11
packages, all of which are set to "keep":

libXt-devel
xinit
xorg-scripts
xorg-server-devel

Could someone please advise me as to how to obtain the X11R6/lib
directory and its associated contents?

Thank you,

Dan

P.S. I tried to paste my CygCheck.out contents here but the email
bounced with a message saying it exceeded the maximum size. Please let
me know if there are any particular subsections that I should send.


strange ow long is it ?



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



fltk / gl rendering problem

2013-06-16 Thread marco atzeri



Hi,
testing a octave/fltk graphics issue, I noticed that also the
demo of fltk with GL interface has a similar issue.

On http://matzeri.altervista.org/works/fltk_gl/
I uploaded the before and after apperance of "gl_overlay" demo.

It is enough to move the window to loose the geometrical
image while the bars are correctly re-drawn.

Running Xwin with -wgl does not show such defect, but it is
terribly slow. So I assume it is not a fltk defect but of
GL or XServer.

A copy of gl_overlay from fltk-1.3.1.9857-1 build is also uploaded.


Regards
Marco





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: fltk / gl rendering problem

2013-06-16 Thread marco atzeri

Il 6/16/2013 4:51 PM, marco atzeri ha scritto:



Hi,
testing a octave/fltk graphics issue, I noticed that also the
demo of fltk with GL interface has a similar issue.

On http://matzeri.altervista.org/works/fltk_gl/
I uploaded the before and after apperance of "gl_overlay" demo.

It is enough to move the window to loose the geometrical
image while the bars are correctly re-drawn.

Running Xwin with -wgl does not show such defect, but it is
terribly slow. So I assume it is not a fltk defect but of
GL or XServer.

A copy of gl_overlay from fltk-1.3.1.9857-1 build is also uploaded.


Regards
Marco



further experiment showed that the defect is present when the integrate
windows manager is used. With external window manager (fvwm, openbox,.. 
) that defect does not apper.


With external window manager another defect appears, the upper
bar effect is not shown at all; while it is present on the integrated
window manager.

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: fltk / gl rendering problem

2013-06-23 Thread marco atzeri

Il 6/21/2013 1:32 PM, Jon TURNEY ha scritto:

On 17/06/2013 07:48, marco atzeri wrote:

Il 6/16/2013 4:51 PM, marco atzeri ha scritto:

testing a octave/fltk graphics issue, I noticed that also the
demo of fltk with GL interface has a similar issue.


Thanks for reporting this and thanks for providing the test binaries.


On http://matzeri.altervista.org/works/fltk_gl/
I uploaded the before and after apperance of "gl_overlay" demo.

It is enough to move the window to loose the geometrical
image while the bars are correctly re-drawn.

Running Xwin with -wgl does not show such defect, but it is
terribly slow. So I assume it is not a fltk defect but of
GL or XServer.


I guess this should read "with -nowgl", in which case, this is a limitation of
the current implementation of -wgl mode, which will require lots of work to fix.


Question: is "-wgl" disabled by some of the other Xwin options ?
I was sure all my previous experiments where with "-wgl"
But I see no difference between
"xwin -rootless -nowgl" and "xwin -rootless"


I wrote a bit about these limitations at [1]

[1] http://www.cygwin.com/ml/cygwin-xfree/2012-10/msg9.html


It seems the same defect so it seems related to "-wgl",
at least in multiwindow mode.

Testing with
" xwin -multiwindow "
   the moving defect is present and slide layer are drawn

" xwin -multiwindow -nowgl"
   the moving defect is NOT present but the slide layer are NOT drawn
( same for both "xwin -rootless -nowgl" and "xwin -rootless" )



further experiment showed that the defect is present when the integrate
windows manager is used. With external window manager (fvwm, openbox,.. ) that
defect does not apper.

With external window manager another defect appears, the upper
bar effect is not shown at all; while it is present on the integrated
window manager.


When I tested this, it looks like the solid area controlled by the "sides"
slider didn't get rendered into a separate layer when using software rendering
(either -nowgl or X server in windowed mode), so this is possibly some bug or
limitation in the software renderer, or possibly in a bug in the demo not
recognizing the lack of capabilities of the software renderer.


Do you mean more likely a OpenGL bug of fltk one ?

Regards
Marco




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X11 open gl c++ code does not compile with new cygwin download

2013-11-01 Thread marco atzeri

Il 11/1/2013 2:33 PM, Wendel Dean Renner ha scritto:

installing libGLU-devel solved that problem and I added it
to my notes for next time.  Thank you.

The program IS working but I had to do one additional thing
that I do not understand why.

I got a popup message saying that the program could
not run because it could not find cygXm-2.dll
In the bin folder of the Xp system computer (where
I had updated my spare hard drive with cygwin about a month
ago) I had two files:
cygwin/bin/cygXm-2.dll
cygwin/bin/cygXm-4.dll

but in the new install on the Windows 7 computer I had only
cygwin/bin/cygXm-4.dll

So I simply copied cygXm-2.dll from the other computer
to the new and my compiled and linked program runs OK.



 cygwin/bin/cygXm-2.dll  -> lesstif-0.95

 cygwin/bin/cygXm-4.dll  -> motif-2.3.4-1


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: expose event not received by Open GL window in X11 application upon moving app window

2013-11-04 Thread marco atzeri

Il 11/4/2013 6:35 PM, Wendel Dean Renner ha scritto:

I have compiled and linked an existing X/Motif/Open GL program
under cygwin.  So far the only problem I have seen is what happens
when I move the main application window.

I have an array of drawing widgets in the main application window.
Where the drawing widget is strictly an X window, if I move the main
application window, the contents
continue to be visible without an expose event occuring (and so the
draw loop is not called).

But in the Open GL drawing area window (using glx) the contents disappears
and one sees only the back ground color.   There is no expose event
generated.  If I click the mouse on the window, an expose even is generated
and it redraws.  The same happens if I change the size of the window,  but
covering and uncovering the window with say a cygwin term window
does not generate an expose event.  Covering with a child of the
application
and uncovering does generate an expose event.

The x window is created with the line
  %RUN% XWin -multiwindow -clipboard -silent-dup-error -wgl

where I added the -wgl flag.
Doing export LIBGL_ALWAYS_INDIRECT=1 before I run the application
does not make any difference.
I used a startxwin.bat script and modified it to run my application instead
of a xterm. That allowed for an icon on the desktop to run the bat program
to run the application.

I also noted, like with Exceed, I cannot get a visual in the overlay
planes,
which I can do under Linux.  I do not have glxinfo and can't figure out
what package has that.

cygwin was downloaded an installed on a Windows 7 computer just
last week.   The graphics card is an nvidia quadro fx 3800, driver
version 320.92
On Performace Options:
Show window contents while dragging is unchecked.

Background:
The program runs under Linux (was developedorginally under SGI IRIX) and
I have been using Exceed,Exceed 3D, and Exceed XDK from OpenText
(formally Hummingbird) to run on a Windows platform.

I have only recented noted that OSF/Motif is now available with cygwin
as opposed to the prior LessTiff implementation of motif, as of Oct 2012
evidently.
My X/Motif program would not run correctly with LessTiff because
of behavior differences where I was doing a lot of  drawing widgets
attached
to the same place and managing and unmanaging them so that only one would
appear at a time, allowing the user to change the layout of the draw area
widgets.

Thanks to any advice available.



it looks like this problem
http://www.cygwin.com/ml/cygwin-xfree/2013-06/msg00050.html





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X-startup-scripts

2013-12-06 Thread marco atzeri

Il 12/7/2013 4:46 AM, Lisa Alexander ha scritto:

Hello,

I am trying to install X Cygwin and I need a package usually found under X11, 
named X-startup-scripts, but I can't seem to find it using the .exe 
installation program. Do you know where I can get this? Or has it been renamed?


http://cygwin.com/packages/x86/xinit/xinit-1.3.2-1



Thanks,
Lisa



Regards
Marco



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: configure errors for xclock

2014-05-09 Thread Marco Atzeri



On 09/05/2014 17:22, Philip Schneider wrote:

Greetings -

Very long-time X user/programmer, complete n00b using it in cygwin…

I have what should be an up-to-date cygwin install on a Windows 7 box. Used the 
setup application to retrieve the source code for xclock (tried both the 6 and 
7 versions). Trying to run “configure”, I get errors:

 No package ‘xaw7’ found
 No package ‘xmu’ found

I don’t see an entry for either of these in the setup application…

What am I doing wrong? Am I missing some somewhat-less-obvious thing to 
install? I using “configure; make” not the right way to do things?

Thanks!

— Philip
--


you need to install the packages that includes the needed header

  libXaw-devel
  libXmu-devel

for info
http://www.cygwin.com/packages/
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=xaw7&arch=x86
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=xmu&arch=x86

Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: [ANNOUNCEMENT] Updated: xorg-server-1.15.1-4

2014-07-21 Thread Marco Atzeri



On 21/07/2014 16:57, Matt D. wrote:

Jon,

I can't find a mirror that has this yet. Is there anything I can connect
to that should be up to date?


Matt D.



most of the mirrors have a 24 hours cycle

Just wait tomorrow to see it

Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: problems installing Cygwin/x‏‏

2014-09-04 Thread Marco Atzeri

On 04/09/2014 19:33, t s wrote:

I can't get cygwin/x to run. I downloaded the latest revision. Here is what 
happened.



$ Xwin :0 -multiwindow -clipboard -wgl

Welcome to the XWin X Server

Vendor: The Cygwin/X Project

Release: 1.15.1.0

OS: CYGWIN_NT-6.1 SONYZ 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64

OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (Win64)

Package: version 1.15.1-4 built 2014-07-18

XWin was started with the following command line:

Xwin :0 -multiwindow -clipboard -wgl

_XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777

_XSERVTransmkdir: this may cause subsequent errors

(EE) Fatal server error:

(EE) Can't read lock file /tmp/.X0-lock

(EE) Server terminated with error (1). Closing log file.

winDeinitMultiWindowWM - Noting shutdown in progress

$


Help, please?

My post to this mailing list of two weeks ago was deleted. It's impolite to 
delete a post without giving a reason. Please allow this post. Thank you.   




Hi TS
your mail was probably rejected by the SPAM filter. possibly as there as 
something looking


as a raw email address.

Can you also please also follow
"Run cygcheck -s -v -r > cygcheck.out and include that file as an 
attachment in your report. Please do not compress or otherwise encode 
the output. Just attach it as a straight text file so that it can be 
easily viewed. "


as reported
https://cygwin.com/problems.html

Regards
Marco








--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: FW: cygwin-xfree Digest 5 Sep 2014 16:55:49 -0000 Issue 3554

2014-09-11 Thread Marco Atzeri

On 11/09/2014 11:51, t s wrote:


From: furriner67 (at) hotmail.com
To: cygwin-xfree (at) cygwin.com; marco.atzeri (at) gmail.com
Subject: FW: cygwin-xfree Digest 5 Sep 2014 16:55:49 - Issue 3554
Date: Thu, 11 Sep 2014 05:49:53 -0400


  fwd

please see file;

cpm86.com/cygcheck.out

why are my posts to cygwin-xfree@cygwin.com not going through?

thank you



this passed ;-)


as your disk is formatted as exFat and not as NTFS

e:  fd  exFAT   122038Mb  81% CPUN   CYGWIN

I suggest this two readings:

https://cygwin.com/faq.html#faq.using.chmod
https://cygwin.com/cygwin-ug-net/ntsec.html

Regards
MArco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: FW: Cygwin start menu / mirrors

2014-10-02 Thread Marco Atzeri

On 02.10.2014 12:07, t s wrote:


fwd





Subject: Cygwin start menu / mirrors
Date: Thu, 2 Oct 2014 06:05:10 -0400


Do these updates solve the problem with the start menu?


I usually download updates from; ftp://mirrors.kernel.org/sourceware/cygwin/

Today it says;

"One or more mirrors you have selected is/are not on the list of official 
Cygwin mirrors any more. They may be out of date or missing some packages.

if you experience installation problems consider trying official mirrors only"

when I click Yes, it goes to a download screen for setup.bz2.sig

and it stalls

which server should I be using? surely mirrors.kernel.org should be trustworthy?



the ftp portion of mirrors.kernel.org was a bit unresponsive in the 
latest days.


Try using the http://mirrors.kernel.org



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: startx (xinit) & startxwin seems to hang, no logs created

2014-11-10 Thread Marco Atzeri

On 11/10/2014 7:22 AM, rhofm...@rayed.de wrote:

When i first start "X&", i get a non-functional X window and when i then
start "startx", i get a second functional Cygwin/X:1.0 window.

What does this tell me?

May there be some network related configuration problem on my machine?

Raymund Hofmann


It looks X is starting without a window manager.

try running from bash "/usr/bin/startxwin.exe"

Regards
Marco

PS:
1) the output of "cygcheck -s -v -r" must go as attachment not in line 
with the mail

2) trim the mail to bare when replying.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



possible bug in libXt or libXaw

2014-11-15 Thread Marco Atzeri

testing ncview
http://meteora.ucsd.edu/~pierce/ncview_home_page.html

I found, only on 64 bit, a segfault due to incorrect
widget (aka pointer) value.
It could be a software bug, but it looks to me
more a bug somewhere in the underlying libs

#0  LayoutChild (w=w@entry=0x60014bd50)
at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:693
#1  0x0003fa40fc26 in LayoutChild (w=w@entry=0x60014dd30)
at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:702
#2  0x0003fa40fc26 in LayoutChild (w=)
at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:702
#3  0x0003fa4104ed in Layout (fw=0x600112640, width=,
height=, force_relayout=1)
at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:565
#4  0x0003fa40fb2b in XawFormChangeManaged (w=0x600112640)
at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:1022
#5  0x0003fa228f5c in XtUnmanageChildren (children=0x22a880, 
num_children=1)

at /usr/src/debug/libXt-1.1.4-2/src/Manage.c:184
#6  0x0003fa229038 in XtUnmanageChild (child=0x60014bd40,
child@entry=0x60014dd30) at 
/usr/src/debug/libXt-1.1.4-2/src/Manage.c:204

#7  0x0003fa21b1db in XtPhase2Destroy (widget=0x60014dd30)
at /usr/src/debug/libXt-1.1.4-2/src/Destroy.c:228
#8  0x0003fa21b4e8 in _XtDoPhase2Destroy (app=app@entry=0x60003cf50,
dispatch_level=dispatch_level@entry=1)
at /usr/src/debug/libXt-1.1.4-2/src/Destroy.c:322
#9  0x0003fa22018b in XtDispatchEvent (event=0x100632940 )
at /usr/src/debug/libXt-1.1.4-2/src/Event.c:1432
#10 0x000100425526 in x_process_user_input ()
at /usr/src/debug/ncview-2.1.3-1/src/interface/x_interface.c:2492
#11 0x00010041f52a in in_process_user_input ()
at /usr/src/debug/ncview-2.1.3-1/src/interface/interface.c:149
#12 0x000100403188 in process_user_input ()
at /usr/src/debug/ncview-2.1.3-1/src/ncview.c:715
#13 0x0001004012e4 in main (argc=2, argv=0x22aae0)
at /usr/src/debug/ncview-2.1.3-1/src/ncview.c:149

(gdb) frame 0
#0  LayoutChild (w=w@entry=0x60014bd50)
at /usr/src/debug/libXaw-1.0.12-2/src/Form.c:693
693 FormConstraints ref_form = 
(FormConstraints)ref->core.constraints;

(gdb) l
688 }
689
690 form->form.new_x = form->form.dx;
691 form->form.new_y = form->form.dy;
692 if ((ref = form->form.horiz_base) != NULL) {
693 FormConstraints ref_form = 
(FormConstraints)ref->core.constraints;

694
695 LayoutChild(ref);
696 form->form.new_x += ref_form->form.new_x + XtWidth(ref) +
697 (XtBorderWidth(ref) << 1);


this is the pointer causing the segfault

(gdb) p form->form.horiz_base
$2 = (Widget) 0x6275705f6779632f

while similar pointers have a much smaller address,

(gdb) p w
$5 = (Widget) 0x60014bd50

so it that an assignment not clearing the upper
portion of the pointer.

Unfortunately my knowledge of Xt and Xaw is very limited so
if someone have any idea how to trace the bug origin,
I will appreciate.

Program and data available at:
http://matzeri.altervista.org/x86_64/ncview/
http://matzeri.altervista.org/works/ncview/

to run the program
ncview sresa1b_ncar_ccsm3_0_run1_21.nc

just changing the "Var" value 3 or 4 times trigger
the segfault.

Regards
Marco




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: possible bug in libXt or libXaw

2014-11-15 Thread Marco Atzeri



On 11/16/2014 7:30 AM, Mark Geisert wrote:

Marco Atzeri writes:

this is the pointer causing the segfault

(gdb) p form->form.horiz_base
$2 = (Widget) 0x6275705f6779632f

while similar pointers have a much smaller address,

(gdb) p w
$5 = (Widget) 0x60014bd50

so it that an assignment not clearing the upper
portion of the pointer.


$2 is not a pointer that needed partial clearing, it's a character string
"/cyg_pub".  Possibly a buffer overrun somewhere?  Hope the string fragment
points the way to somebody.

..mark



thanks for the hint,  "/cyg_pub" is a directory on the root

 $ ls -l / |grep pub
lrwxrwxrwx   1 marco  Administrators 19 Jun 26 19:11 pub -> 
/cygdrive/e/cyg_pub


where the data file was stored,
however moving it to "/tmp" produce as result

 p ref
$1 = (Widget) 0x635f7261636e5f62 aka c_racn_b

that is not very meaningful to me, so the pointer corruption
can be very generic.

Marco




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: possible bug in libXt or libXaw

2014-11-16 Thread Marco Atzeri

On 11/16/2014 10:14 AM, Mark Geisert wrote:

Marco Atzeri writes:

On 11/16/2014 7:30 AM, Mark Geisert wrote:

Marco Atzeri writes:

this is the pointer causing the segfault

(gdb) p form->form.horiz_base
$2 = (Widget) 0x6275705f6779632f

while similar pointers have a much smaller address,

(gdb) p w
$5 = (Widget) 0x60014bd50

so it that an assignment not clearing the upper
portion of the pointer.


$2 is not a pointer that needed partial clearing, it's a character string
"/cyg_pub".  Possibly a buffer overrun somewhere?  Hope the string fragment
points the way to somebody.

..mark



thanks for the hint,  "/cyg_pub" is a directory on the root

   $ ls -l / |grep pub
lrwxrwxrwx   1 marco  Administrators 19 Jun 26 19:11 pub ->
/cygdrive/e/cyg_pub

where the data file was stored,
however moving it to "/tmp" produce as result

   p ref
$1 = (Widget) 0x635f7261636e5f62 aka c_racn_b

that is not very meaningful to me, so the pointer corruption
can be very generic.


I was wrong. It is meaningful

(gdb) p form
$38 = (FormConstraints) 0x60003
(gdb) x/20bs 0x60003
0x60003:""
0x60004:""
0x60005:""
0x60006:""
0x60007:""
0x60008:"\023\200"
0x6000b:""
0x6000c:""
0x6000d:""
0x6000e:""
0x6000f:""
0x60010:"/tmp/sresa1b_ncar_ccsm3_0_run1_20p/es.nc"
0x60039:"ht_arrow"
0x60042:"ow"
0x60045:""
0x60046:""
0x60047:""
0x60048:""
0x60049:""
0x6004a:""

So it is a portion of the file name as before,
I start to feel that a pointer is not a NULL as should be...


Good Luck,


thanks
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: [ANNOUNCEMENT] Updated: xinit-1.3.4-1 (Major overhaul of X session handling)

2014-11-28 Thread Marco Atzeri



On 11/28/2014 4:03 AM, Yaakov Selkowitz wrote:

The following package has been updated in the Cygwin distribution:

* xinit-1.3.4-1

xinit contains commands used for starting X sessions.



noticed this new warning
xinit: XFree86_VT property unexpectedly has 0 items instead of 1

For what I see there is no XFree86_VT setting anywhere

Ideas ?

Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: [ANNOUNCEMENT] Updated: xinit-1.3.4-1 (Major overhaul of X session handling)

2014-11-28 Thread Marco Atzeri

On 11/29/2014 3:05 AM, Nem W Schlecht wrote:

In reference to:

 * User-defined ~/.startxwinrc files must now be executable, the
final command therein must be run in the
 foreground, and that command's exiting will end the X session,
just like with startx and ~/.xinitrc or
 ~/.Xclients.

In most UNIX systems, this last command would be the window manager.
I'm not liking fbpanel (although I will give it a try) and I don't
like using an XTerm as my "last" command, since I often close/reopen
them all when making changes to my .bashrc/.bash_profile.

Are there any suggestions from the list for some *other* program that
won't use any resources that I can use as my final foreground command?
  I don't want it to do anything, just not let X11 exit.


xclock and xeye should be light enough

Regards
Marco

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: startxwin.exe no longer exists?

2014-12-13 Thread Marco Atzeri



On 12/12/2014 7:07 PM, Will Parsons wrote:

For several years now I have been starting X windows by clicking on an
icon on my desktop that is a link to C:\cygwin\bin\startxwin.exe.  It
has recently ceased to work because apparently startxwin.exe no longer
exists.  Somehow I missed where this was removed, so what is the
recommended way of starting X from a desktop icon now?

I seem to recall that startxwin.exe was introduced some time ago
because using a script to start X was inadequate somehow, but I don't
remember the details, so what changed?


https://cygwin.com/ml/cygwin-xfree-announce/2014-11/msg4.html

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: X server doesn't start with a empty .startxwinrc

2014-12-18 Thread Marco Atzeri

On 12/18/2014 11:51 AM, Jean-Marc Colagrossi wrote:

Hi all,

I need you help to understand what's wrong with X server or my .startxwinrc
file.

I work with X server -> Xterm and vim since month now. Every thing was
always working perfectly.

Yesterday I upgraded all cygwin packages and just after that I was unable to
start X server again.

I made a new fresh installation and X server works correctly. Then I made a
copy of my olds files like .startwinrc, .bashrc .vimrc and all my shortcuts.
When I tried to start the X server I had the same problems. X server crashed.

I removed one by one all the files I copied up to I deleted .startxwinrc.
Then the X server start correctly. my .startxwinrc had only 3 lines with :

xterm -bg Black -fg White&

I deleted all the lines just to have a blank .startxwinrc. But X server
still crashes.

Here is the log when I run startxwin from terminal with an empty
.startxwinrc file

I don't understand what I did wrong as it was working fine before.


xinit behavior is changed, see relative announcement
http://www.cygwin.com/ml/cygwin-xfree-announce/2014-11/msg4.html

It will execute all command of .startxwinrc  or startxwinrc
and then the X server will shutdown.

you can
1) remove .startxwinrc, so that the default will prevail.
   see for an example /etc/defaults/etc/X11/xinit/startxwinrc

2) you put in .startxwinrc any command without "&"
   and the xserver will close when that command will end.

   as examples:
 xterm -bg Black -fg White
 sleep inf

You are not the first one, that was caught by surprise.
Re-reading the announcement helped me on understanding the matter.



Thank you

Regards,

Colagrossi Jean-Marc


Regards
Marco


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update

2014-12-23 Thread Marco Atzeri



On 12/23/2014 7:24 PM, Ben Richards wrote:

Up until the recent update to xinit-1.3.4-1 which overhauled X session
handling, I had my session set up nicely for my purposes. With the
following code in my .zshrc and an empty .startxwinrc, when I launched
Cygwin, Xwin.exe would start on display :0.0, it would set the
$DISPLAY variable, and automatically kill the X server when I exited
that terminal. I like mintty so this let me use that as my shell.

.zshrc contents:
=
startxwin &> xserver.log
x_start_success=$?
if [[ $x_start_success == 0 ]]; then
export DISPLAY=:0.0

pid=`ps | grep '/usr/bin/XWin' | awk '{print $1;}'`
alias kill_xwin="kill $pid"
if [[ $TMUX == "" ]] && [[ $x_start_success == 0 ]]; then
 alias exit="kill $pid ; \exit"
fi
fi

The aforementioned update disrupted this flow so I’m wondering if
anyone has any suggestions on how I can regain a similar sort of
functionality. I don’t like using xterm in Cygwin and would like to
keep using mintty as my main terminal interface.


try putting "sleep inf" in .startxwinrc
It should simulate the old behaviour

Regards

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/