fixed font

2002-01-07 Thread Eugen Rotariu

Hi,

I've installed Cygwin 1.3.6 and xfree 4.1.0 on an XP
machine, but X fails to start saying that the fixed font
is missing. What does that mean? What can I do?

Thank you,
Eugen Rotariu




Problems with xterm as distributed (Error 14, errno 2: No such file or directory) and solution

2002-01-07 Thread Ton van Overbeek

Hello,

I've been using the Cygwin Xfree86 release to port a large Unix based
application
to the Cygwin/Xfree environment.
The application uses a Tcl/Tk based front-end which starts up an xterm
to do the
actual work.
The startup of the xterm fails with 'xterm: Error 14, errno 2: No such
file or directory'.
This issue came up also early last year on the mailing list: see the
thread starting
with http://www.cygwin.com/ml/cygwin-xfree/2001-q1/msg00-275.html.
This thread did not give the cause of the problem. Some more looking
around on the
net showed that the problem is caused when xterm is started without a
controlling
terminal. This is exactly what happens in my case when started from a
Tcl/Tk procedure.
Looking at the xterm XFree86 sourcecode in the CVS at www.xfree86.org it
turns out
the problem has already been solved with CYGWIN specific code in main.c
(accepts ENOENT as a return code when trying to open /dev/tty in
function spawn()).
So I grabbed a copy of the xterm sources (xc/programs/xterm), recompiled
and it is working now.

An other issue is that the xterm application defaults are not installed.
They are not in the cygwin/xfree86 distribution and also did not get
installed
by 'make install' after my recompilation.
After doing a 'touch' on XTerm.ad and XTerm-col.ad they got installed.
Some date/time confusion between Windows  Cygwin ??

I would suggest to replace the xterm in the distribution by the one from
the current xf_4_1 branch and also to include the app default files.

Regards,

Ton van Overbeek



FW: Program shuts down after trying to start

2002-01-07 Thread Ross Snoeyenbos



-Original Message-
From: Corinna Vinschen [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 3:34 AM
To: Ross Snoeyenbos
Cc: [EMAIL PROTECTED]
Subject: Re: Program shuts down after trying to start


On Mon, Jan 07, 2002 at 03:21:25AM -0600, Ross Snoeyenbos wrote:
 I just installed Xfree on Cygwin following the instructions in the
 Cygwin/XFree86 User's Guide exactly, and I get a message that scrolls off
 the screen about /tmp/.X11~unix should be set to root when I run startx.
 Also there are messages about /home/username/.Xauthority: No such file or
 directory, and a message that says xterm Xt error: Can't open display:
 :0xterm Xt error: Can't open display: :0, the rest goes off the right side
 of the box.

 I am running Windows 98 Second Edition with all the latest updates and
 patches as of today.
 Please help!! Send reply to [EMAIL PROTECTED] as I don't have time to check
 the archives every day, and I want to install XEmacs once the X11R6
install
 is working.

Wrong mailing list.  Go to [EMAIL PROTECTED]

Corinna

--
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.





RE: aterm under Cygwin/Xfree

2002-01-07 Thread Yaron

  Hello,

On Mon, 7 Jan 2002, Suhaib Siddiqi wrote:

 Ok, but how about building a debug version of aterm and debuging it using
 GDB?  Many times when porting a code from one platform to another, you need
 to fix it for that particular OS.

I got a few suggestions to try that, so I did (;

Unfortunately, I'm either not very good with gdb or something weird is
happening... I built with -ggdb in CFLAGS to get native gdb info.

What happens is, it does a lot of initializing stuff and then enters the
main_loop function. Then gdb pauses itself in a constant hourglass thing.
It doesn't move into the file main_loop is in (command.c) and thus becomes
useless ):

I got it to set a breakpoint inside main_loop (way to be intuitive, gdb!
(: ), and discovered it sits around in a loop looking to ch =
*cmdbuf_ptr++;, which I guess is where it waits for me to type stuff...
which seems like a good idea.

My C/C++ is not too strong, and isn't good enough for me to know what the
heck the problem is here. I see it is waiting for a buffer to fill, then
going through it... I guess I'll try and figure out what the buffer is and
why it needs to fill up!

Any help from someone who KNOWS C would be appreciated (;



-Yaron

--




xfree doesn't work

2002-01-07 Thread hongxun lee

Hi all

My script works well on the PCs in our Lab on campus but doesn't at home
(Roadrunner).
Here is the script, named xg

~~
#!/bin/bash
TERM=vt100
export TERM

XWin.exe -query  unix_sys_IP  -from  IP_working_on


When i run this script, i only changed 'IP_working_on', nothing else.
Below is the response when it is run at home (it took long time to finish):

$ . xg
ddxProcessArgument ()
ddxProcessArgument ()
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 001f
winSetEngine () - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL () - Using Windows display depth of 16 bits per
pix
el
winCreateBoundingWindowWindowed () - WindowClient w 794 h 546 r 794 l 0 b
546 t
0
winAllocateFBShadowDDNL () - lPitch: 1588
winInitVisualsShadowDDNL () - Masks f800 07e0 001f BPRGB 6 d 16
winCreateDefColormap () - Deferring to fbCreateDefColormap ()
winCloseScreenShadowDDNL () - Freeing screen resources
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - DirectDraw4 installed
winDetectSupportedEngines () - Returning, supported engines 001f
winSetEngine () - Using Shadow DirectDraw NonLocking
winCreateBoundingWindowWindowed () - WindowClient w 794 h 546 r 794 l 0 b
546 t
0
winAllocateFBShadowDDNL () - lPitch: 1588
winInitVisualsShadowDDNL () - Masks f800 07e0 001f BPRGB 6 d 16
winCreateDefColormap () - Deferring to fbCreateDefColormap ()
XDM: too many retransmissions
XDM: too many retransmissions
XDM: too many retransmissions
XDM: too many retransmissions

Fatal server error:
XDMCP fatal error: Session failed Session 430752026 failed for display
dhcp065-0
25-142-146.columbus.rr.com:0: Cannot open display

Administrator@ALLELUJA /cygdrive/d
$