can't get either emacs or xemacs to work with Xwin in XP

2005-06-16 Thread Philippe Oechslin

Hi there,

I've installed the latest cygwin with X11 and  the emacs, emacs-X11 and
Xemcas packages. I have a hard time getting either emacs or Xemacs to
work in X mode.

With emacs I get a frozen window and series of  "Xlib: sequence lost"
messages.

With xemacs I have
  Warning: XtRemoveGrab asked to remove a widget not on the list
  Warning: XtRemoveGrab asked to remove a widget not on the list
  Error: LTHashTableForEachItem: NULL hash table specified.

xterm and other X apps work fine and emacs works perfectly inside an
xterm or rxvt.

I've been through the faq's and the mailing list archives but I haven't
found a solution. I have a standard win XP installation with SP2.

Does anybody have an idea what could be wrong?

 thanks,

  Philippe


Re: startx hangs in sh.exe when initializing german keyboard

2005-06-16 Thread Othmar Marti

Hello

the problem is solved: I installed the latest bug-fixes from windows today 
and now sh.exe does not hang anymore...


Othmar 
On Mon, 13 Jun 2005, Othmar Marti wrote:



Hello,

thanks for the message.

I do ned the german keyboard, because the laptop has it (and I hate 
remembering the keys).


bye

Othmar Marti


On Mon, 13 Jun 2005, Alexander Gottwald wrote:


On Mon, 13 Jun 2005, Othmar Marti wrote:


Hello

and thanks for the hint.

It did not work. I am not using Zonelabs, I am using McAfee. remounting
/tmp did not work either.


Mayn personal firewalls and virus scanners alter the behaviour of the 
windows

sockets. Because of the difficulty of the fork emulation the cygwin library
relies on the standard bahaviour of the windows TCP/IP stack and may fail
if it is changed unless someon who notices such problems starts to track 
the

problem down.


Playing around I discovered that setxkbmap.exe hangs with the same
symptoms. The task manager shows sh.exe with 99% activity over minutes
(until you stop it)


If you don't need a non-us keyboard layout, you can disable the XKB 
extension

and xkbcomp by adding the -kb parameter to the XWin commandline.

bye
ago






--
Prof. Dr. Othmar Marti  Secretary
Experimental Physics
University Ulm
D-89069 Ulm
Phone +49 731 50 23011  +49 731 50 23010
Fax   +49 731 50 23037  +49 731 50 23036
e-mail [EMAIL PROTECTED]
[EMAIL PROTECTED]
Web http://wwwex.physik.uni-ulm.de
http://servex.physik.uni-ulm.de/marti
PGP-Key http://servex.physik.uni-ulm.de/marti/OthmarMarti.asc

Advanced Materials Science
http://www.uni-ulm.de/adv-mat

USt.-IdNr. DE 173703203


Re: I need a rootless Xnest like application for Linux.

2005-06-16 Thread James Supancic
I am *hoping* that I will be able to use it with XDMX in a way that
allows me to use both native application and desktop independent
applications side by side.

I am having trouble cross compiling Xming for Linux... I need to find 
library called libaclui.a. If any of you know what it is or where I
might find it, please tell me.

Thank you for your time,
Arrummzen

On 6/16/05, Kai Großjohann <[EMAIL PROTECTED]> wrote:
> James Supancic <[EMAIL PROTECTED]> writes:
> 
> > I need a rootless Xnest like application for Linux.  Will xwin, the
> > cygwin X11 server work for me?
> 
> I'm puzzled.  Why would you need that?  Isn't just plain X11 good
> enough?
> 
> A rootless X11 server makes sense for people using a non-X11 windowing
> system, like MS or Apple's Aqua.  But for putting X11 windows on an
> X11 desktop, you don't need an intermediate layer.
> 
> Kai
> 
> 
>


Re: I need a rootless Xnest like application for Linux.

2005-06-16 Thread Kai =?utf-8?Q?Gro=C3=9Fjohann?=
James Supancic <[EMAIL PROTECTED]> writes:

> I need a rootless Xnest like application for Linux.  Will xwin, the
> cygwin X11 server work for me?

I'm puzzled.  Why would you need that?  Isn't just plain X11 good
enough?

A rootless X11 server makes sense for people using a non-X11 windowing
system, like MS or Apple's Aqua.  But for putting X11 windows on an
X11 desktop, you don't need an intermediate layer.

Kai




Re: Back in Cygwin X world after ages...

2005-06-16 Thread Andreas Eibach


cygwin-xfree@cygwin.com schrieb am 16.06.05 15:26:10:
> 
> On Thu, 16 Jun 2005, Andreas Eibach wrote:
> 
> > - Most people would use startx to start the X Window session as they're 
> > used to it from Linux.
> > Strangely though, startx does NOT open a "real" X main window, but an xterm 
> > ONLY.
> > Is there a reason why? I think it's misleading.
> 
> Many people requested that startx would use the multiwindow mode instead of 
> the
> single window mode. So the startup scripts were changed to reflect  that.
>  
> > xinit, however, does the thing that *I* want, that is, a big window that 
> > fills the whole screen and launches an xterm on the upper left edge. 
> 
> you can customize how xinit (and startx) start xserver and clients.
> 
> Add a $HOME/.xserverrc which start XWin without the -multiwindow option but 
> the 
> -scrollbars options and $HOME/.xinitrc which is the same as the one in 
> /usr/X11R6/lib/X11/xinit/xinitrc but which starts an additional windowmanager.

Been through that already, but thanks anyway. :)

 
> > Unfortunately, the window is not resizable.
> 
> There is an option -scrollbars which might do that (resizable window and 
> scrollbars
> to adjust the position)

Yes! That helped.
 
> > However, with the old framebuffer-based experimental X version, I remember 
> > a pre-installed window manager *with* pull-down menus. I managed to load a 
> > window manager (by typing /usr/X11R6/bin/twm &), but there were still no 
> > pull-down menus. I like(d) fvwm / fvwm2 a lot and it had everything I 
> > needed in X. 
> 
> The cygwin distribution contains windowmaker and I remember users which
> used openbox too.

Yes, thanks! Windowmaker is exactly what I need.
(although I'd like to have fvwm2 too, I wonder why it is not offered ... ? My 
fuzzy memory tells me in the old alpha X version(s), fvwm2 was used indeed. But 
maybe my memory fails completely here.)
 
> > I hope that I do not need Gnome to be able to work reasonably with X? I 
> > like menus, but I do not need a Windoze-ish task bar; I never needed it in 
> > Linux anyway.
> > I also found all Cygwin-X start menu entries EMPTY, hence I assume that 
> > Cygwin X expects from me that I want Gnome (which I do not need in any 
> > case, at least not now :))
> 
> They usually contain links to programs from the xorg-x11-bin package.
Ummm ... that would mean that I don't have those installed? But I checked and I 
do have indeed. (xorg-x11-bin* , all of them) Strangebut well for now, I 
can live with this.

Thank you very much for your reply.

-Andreas
_
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179





Re: Some functional keys such as Enter, Tab, etc. works if only they are pressed twice

2005-06-16 Thread Alexander Gottwald
On Thu, 16 Jun 2005, Tarasov Alexey wrote:

> Alexander Gottwald wrote:
> 
> >I don't know. Please send what xev reports when you press those keys.
> >
> >  
> >
> What is xev?

xev is an event logger for the  x11 protocol. it is installed with the 
xorg-x11-bin 
package and you can run it by typing xev in an xterm window.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: Some functional keys such as Enter, Tab, etc. works if only they are pressed twice

2005-06-16 Thread Tarasov Alexey

Alexander Gottwald wrote:


I don't know. Please send what xev reports when you press those keys.

 


What is xev?

Best regards,
Alexey.


Re: cyg/lib DLL naming

2005-06-16 Thread Igor Pechtchanski
On Thu, 16 Jun 2005, Peciva Jan wrote:

> > As AGO pointed out, searching for libfreetype.dll is non-portable,
> > dangerous, and silly.
>
> Not me, who is doing that, but one large SW open-source library.
> Therefore it is clear, that it have to link with other libraries in the
> system that it is using.

Right, but that doesn't make the current approach any less dangerous,
non-portable, or silly.  You may want to contact the authors of Coin and
let the know about this bug in their code.

> Things turned in to the OS ideas. And I am not interrested in them, I
> want to simply fix the incompatibility between Coin library and Cygwin.

Not quite.  These are dynamic loading ideas.  Building a bridge DLL is
hardly an OS-level thing.

However, I can see your problem, as the code to look up the freetype DLL
is probably hard-wired into Coin, and there isn't much you can do about
it.  As you mentioned, you could use some nasty workarounds (like
providing your own stub libfreetype.dll in your application directory,
which should be found first, and which links to the appropriate freetype
DLL), but eventually Coin should be fixed.

> Coin library is important for us, because we are using it for
> visualization on our university (we are not the authors of the library).
>
> >> I think, you are missing the point. This compatibility library breaks the
> >> compatibility with non-cygwin world (see the previous discussion).
> >
> > No, I believe *you* are missing the point. [...]
>
> :-)
>
> If I skip all offensive words, I have to thank you for the discussion.

You're welcome.  However, my profanity filter is overheating while trying
to find any offensive words in my previous message.  Would you mind
letting me know what they were, so that I could add them to the filter?

Or do you mean "If I skip all offensive words that come to mind"? :-)

> Let me give you the last question:
> If I understand it correctly, I can not link with cygwin based DLLs
> without a special handling code. Am I true?

In this context (linking from a pure Win32 application), yes, you need to
put some initialization code in (with the latest snapshot, that is).

A rejoinder question, though: if you're buidling a native Win32
application, why not use the native build of freetype as well?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT


Re: Back in Cygwin X world after ages...

2005-06-16 Thread Alexander Gottwald
On Thu, 16 Jun 2005, Andreas Eibach wrote:

> - Most people would use startx to start the X Window session as they're used 
> to it from Linux.
> Strangely though, startx does NOT open a "real" X main window, but an xterm 
> ONLY.
> Is there a reason why? I think it's misleading.

Many people requested that startx would use the multiwindow mode instead of the
single window mode. So the startup scripts were changed to reflect  that.
 
> xinit, however, does the thing that *I* want, that is, a big window that 
> fills the whole screen and launches an xterm on the upper left edge. 

you can customize how xinit (and startx) start xserver and clients.

Add a $HOME/.xserverrc which start XWin without the -multiwindow option but the 
-scrollbars options and $HOME/.xinitrc which is the same as the one in 
/usr/X11R6/lib/X11/xinit/xinitrc but which starts an additional windowmanager.

> Unfortunately, the window is not resizable.

There is an option -scrollbars which might do that (resizable window and 
scrollbars
to adjust the position)


> However, with the old framebuffer-based experimental X version, I remember a 
> pre-installed window manager *with* pull-down menus. I managed to load a 
> window manager (by typing /usr/X11R6/bin/twm &), but there were still no 
> pull-down menus. I like(d) fvwm / fvwm2 a lot and it had everything I needed 
> in X. 

The cygwin distribution contains windowmaker and I remember users which
used openbox too.

> I hope that I do not need Gnome to be able to work reasonably with X? I like 
> menus, but I do not need a Windoze-ish task bar; I never needed it in Linux 
> anyway.
> I also found all Cygwin-X start menu entries EMPTY, hence I assume that 
> Cygwin X expects from me that I want Gnome (which I do not need in any case, 
> at least not now :))

They usually contain links to programs from the xorg-x11-bin package.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: cyg/lib DLL naming

2005-06-16 Thread Pečiva Jan
> As AGO pointed out, searching for libfreetype.dll is non-portable,
> dangerous, and silly.

Not me, who is doing that, but one large SW open-source library. Therefore it is
clear, that it have to link with other libraries in the system that it is using.

Things turned in to the OS ideas. And I am not interrested in them, I want to
simply fix the incompatibility between Coin library and Cygwin. Coin library is
important for us, because we are using it for visualization on our university
(we are not the authors of the library).

>> I think, you are missing the point. This compatibility library breaks the
>> compatibility with non-cygwin world (see the previous discussion).
>
> No, I believe *you* are missing the point. [...]

:-)

If I skip all offensive words, I have to thank you for the discussion.

Let me give you the last question:
If I understand it correctly, I can not link with cygwin based DLLs without a
special handling code. Am I true?

John


Back in Cygwin X world after ages...

2005-06-16 Thread Andreas Eibach

Yeah,

as I have to work a lot with Windows at the moment and I can't just switch to 
Linux "for a moment", I decided to delve back into cygwin world (after 3 years 
of abstinence!).
Whoa, this was kinda experimental stuff back then! I remember this 
framebuffer-based X Window on top of Cygwin, working perfectly, that guy with 
the complicated Arabic (?) surname I got the latest alpha builds from, and, of 
course, Harold and Alexander, without whom this package would not be this 
advanced as it is now.

Everything is installed, runs nicely, but there's a few thoughts anyway:

- Most people would use startx to start the X Window session as they're used to 
it from Linux.
Strangely though, startx does NOT open a "real" X main window, but an xterm 
ONLY.
Is there a reason why? I think it's misleading.

xinit, however, does the thing that *I* want, that is, a big window that fills 
the whole screen and launches an xterm on the upper left edge. Unfortunately, 
the window is not resizable.

However, with the old framebuffer-based experimental X version, I remember a 
pre-installed window manager *with* pull-down menus. I managed to load a window 
manager (by typing /usr/X11R6/bin/twm &), but there were still no pull-down 
menus. I like(d) fvwm / fvwm2 a lot and it had everything I needed in X. I hope 
that I do not need Gnome to be able to work reasonably with X? I like menus, 
but I do not need a Windoze-ish task bar; I never needed it in Linux anyway.
I also found all Cygwin-X start menu entries EMPTY, hence I assume that Cygwin 
X expects from me that I want Gnome (which I do not need in any case, at least 
not now :))

A few suggestions would be nice,
in any case thanks for the awesome work.

-Andreas
__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193