an idea for building win32 based xfd

2002-11-13 Thread Kin Taishin
Please let me have your comments on my idea that
(Baims to build win32 based x font server which is capable of
(Bexporting fonts installed on a Windows machine.
(BBy using this server, cygwin/xfree users do not need to
(Binstall X-specific fonts aside from Windows fonts.
(BThis server is expected to behave as xfd. So any X server
(Bwill benefit from this server.
(BSince font installation is done in Windows side, almost no
(Bfont configuration effort is required in X side.
(BI'd like to have your opinion about this. I guess this kind of
(Bidea has already poped up in many peoples' mind.
(BThere might be a similar project or software proposed by
(Bsomeone else before...
(BAny comment?
(B
(BThanks,
(BTaishin



RE: Questions on Xwin.exe arguments

2002-11-13 Thread Pille Geert (bizvdm)
Hallo Randall,

If U cn rd ths U cn gt a gd jb

Gerard

-Original Message-
From: Randall R Schulz [mailto:rrschulz@;cris.com]
Sent: dinsdag 12 november 2002 18:09
To: [EMAIL PROTECTED]
Subject: Re: Questions on Xwin.exe arguments


Vola,

Are you imploring some university to answer your questions? If you're 
addressing a human being from whom you wish to solicit an answer to your 
questions, then please use the English word "you."

While I am just one man and most certainly not an institution of any kind, 
I can tell you that window activation behavior in X is handled by the 
window manager. By default, twm uses the "classic" X focus-follows-mouse 
behavior. If twm allows this to be changed, the twm documentation probably 
holds that answer to how. Look for the word "focus" or "Focus" for 
starters. Also read the options regarding window raising behavior ("raise" 
/ "Raise").

By the way, the activation behavior you want (that expected by most 
personal computer users who've never used X) is the default in Window 
Maker. Perhaps you'd like to try it. It's a lot "fancier" than twm, which 
you may or may not find desirable. Twm is pretty much the most elementary 
window manager available for XFree86/Cygwin. The next step up in terms of 
features and sophistication would be "fvwm2." I think it also has the kind 
of default window activation behavior you want.

Randall Schulz
Mountain View, CA USA


At 08:44 2002-11-12, you wrote:
>Hi!
>I am running XWindo under Windows95 using the startxwin.bat where I have
>
>start XWin   -emulate3buttons 100
>run xterm -bg white -fg black -bd blue -ms blue  -e 'source ~/.login' &
>run twm
>run xsetroot -solid blue
>
>Do U know what should I have with XWin.exe so that the xterm behaves the 
>way it
>behaves under LINUX, i.e when U have 2 xterm windows one over the other 
>and U go
>to one of them and click your mouse and that xterm becomes active. Whereas 
>what
>I see now is that I have to click the Top Border of the xterm to make it 
>Active;
>
>I would Greatly Appreciate if U suggest something I should do.
>[by the way I used -lesspointer option to find out the same behavior!!!]
>
>Thanks in advance,
>regards,
>vola



===
This email is confidential and intended solely for the use of the individual to whom 
it is addressed. 
If you are not the intended recipient, be advised that you have received this email in 
error and that any use, dissemination, forwarding, printing, or copying of this email 
is strictly prohibited.
You are explicitly requested to notify the sender of this email that the intended 
recipient was not reached.




RE: Cygwin Connection Tool for Windows

2002-11-13 Thread Sylvain Petreolle
Oh, Cygwin running X-Server on Vmware.
What a ...<= don't know how to say that :)

> UPS, havent tested it on XP Yet ;(
> I will try to fix this as soon as i have installed XP on VMWare ;P
> Did you get it running on Win2k?
> 


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Emacs in XWin is performing oddly

2002-11-13 Thread Alexander Gottwald
On Tue, 12 Nov 2002, Jim Drash wrote:

> I have installed all of the cygwin emacs packages and I now am
> experiencing problems with emacs with the X server.  Launching emaces
> causes one of the following:
> 
> 1) the application never displays its window (CPU utilization to 100%)
> 2) the application displays its window but it is unresponsive (CPU
> utilization to 100%)
> 3) About 1 in 4 times it runs correctly even after a clean reboot of the
> PC

Has anyone tested cygwin emacs with linux xserver?

Does the same happen?




Re: Cygwin Connection Tool for Windows

2002-11-13 Thread Rasjid Wilcox
On Wed, 13 Nov 2002 9:16 pm, Sylvain Petreolle wrote:
> Oh, Cygwin running X-Server on Vmware.
> What a ...<= don't know how to say that :)

And what is wrong with that??  How else do you test Cygwin when you run Linux 
at home??  (Or, Why dual boot when you can VMWare?  ;-)

Rasjid.




RE: Cygwin Connection Tool for Windows

2002-11-13 Thread Alexander Gottwald
On Wed, 13 Nov 2002, Sylvain Petreolle wrote:

> Oh, Cygwin running X-Server on Vmware.
> What a ...<= don't know how to say that :)
> 
> > UPS, havent tested it on XP Yet ;(
> > I will try to fix this as soon as i have installed XP on VMWare ;P
> > Did you get it running on Win2k?

Guess what I'm doing all the time.

I have a cross-compiler running on linux and test all cygwin/Cygwin XFree
changes in a VmWare.  

This was the only way to fix some bugs in the cygwin network handling on
_very_ old win95. This was _much_ better than breaking my workstation.

bye
ago




Re: Cygwin Connection Tool for Windows

2002-11-13 Thread Sylvain Petreolle
 --- Rasjid Wilcox <[EMAIL PROTECTED]> a écrit : > On Wed, 13 Nov
2002 9:16 pm, Sylvain Petreolle wrote:
> > Oh, Cygwin running X-Server on Vmware.
> > What a ...<= don't know how to say that :)
Excuse if I made you misunderstand me.
Is because of my bad english.

But I was really surprised to see someone using VmWare for that.
(I'm currently trying to run Cygwin under Wine ;))

> And what is wrong with that??  How else do you test Cygwin when you
> run Linux 
> at home??  (Or, Why dual boot when you can VMWare?  ;-)
> 
> Rasjid.
>  

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Emacs in XWin is performing oddly

2002-11-13 Thread Artur Hefczyc
> > I have installed all of the cygwin emacs packages and I now am
> > experiencing problems with emacs with the X server.  Launching emaces
> > causes one of the following:
> >
> > 1) the application never displays its window (CPU utilization to 100%)
> > 2) the application displays its window but it is unresponsive (CPU
> > utilization to 100%)
> > 3) About 1 in 4 times it runs correctly even after a clean reboot of the
> > PC
I have exactly the same problem!
I am not sure if this is emacs problem. It looks like
new version of XWin have this problem.
Emacs in terminal works well.
Tried to return to previous versions of X, hm it doesn't work.
Now I have real problem so please if someone knows how
to avoid this send message.

Artur
--
Artur Hefczyc[EMAIL PROTECTED]
Open Source Developer
http://wttools.sourceforge.net/





RE: an idea for building win32 based xfd

2002-11-13 Thread Thomas Chadwick
Please let me have your comments on my idea that
aims to build win32 based x font server which is capable of
exporting fonts installed on a Windows machine.
By using this server, cygwin/xfree users do not need to
install X-specific fonts aside from Windows fonts.
This server is expected to behave as xfd. So any X server
will benefit from this server.
Since font installation is done in Windows side, almost no
font configuration effort is required in X side.
I'd like to have your opinion about this. I guess this kind of
idea has already poped up in many peoples' mind.
There might be a similar project or software proposed by
someone else before...
Any comment?

Thanks,
Taishin


First of all, don't you mean xfs, not xfd?

Secondly, how is this different from running the stock xfs that's in the 
XFree86 distro using free-type to support the Windows fonts?


_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



Re: Emacs in XWin is performing oddly

2002-11-13 Thread Thomas Chadwick
On Tue, 12 Nov 2002, Alexander Gottwald  wrote:

I have installed all of the cygwin emacs packages and I now am
experiencing problems with emacs with the X server.  Launching emaces
causes one of the following:

1) the application never displays its window (CPU utilization to >100%)
2) the application displays its window but it is unresponsive (CPU
utilization to 100%)
3) About 1 in 4 times it runs correctly even after a clean reboot of the
PC


Has anyone tested cygwin emacs with linux xserver?

Does the same happen?


I don't have a Linux X-server nearby, but I do have AIXWindows running 
nearby.  I changed my DISPLAY variable and launched emacs.  It popped up 
very quickly on the AIXWindows display (much faster than I normally see in 
the XWin server).  However, pointer movement on the target display was 
sluggish, and the Win2k Task Manager says it is using upwards of 95% CPU all 
the time.

There is definitely something wrong with emacs in X11 mode, and I think this 
experiment shows that it's a client-side problem, not server-side.


_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail



Two colormaps ?

2002-11-13 Thread Christian SARDIN
Hello,
I try to explain my problem.

I have a graphic application running fine on HP-UX, and displaying OK on HP 
workstation. I try to have it display (correctly ! ) on my notebook.

The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro.

I installed Cygwin version 1.3.13-2 including XFree 86   4.2.15
twm is the only window manager installed. So I use it.

The application (staticcaly linked with X11R5 lib) requires 2 colormaps...
and use XtConvertAndStore for various colors. So I need PseudoColor mode, I
use :
startx -- -emulatepseudo -depth 8 -fullscreen

I rlogin Hp-Ux-Workstation and start the application.
It is mostly OK but ...:
The application opens windows, with drawings... and it is not re-drawn (I 
have to ask for redraw through an  application fonctionality) ! Any suggest 
whould be welcome !

The other problem is for the drawings requiring the second colormap, of 
course.. Is there a way to have it ?

By now, I have only tried Cygwin, but I expect to install Mandrake 9 soon 
(but I miss the disk driver !).
May be Xf86config will help ?

 I hope that someone can help me to solve that. (And that my english can be 
understood)


Thanks a lot.
Christian






Colormap problems

2002-11-13 Thread Christian SARDIN
Hello ,

I try to explain my problem.


I have a graphic application running fine on HP-UX, and displaying OK on HP 
workstation. I try to have it display (correctly ! ) on my notebook.

The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro.

I installed Cygwin version 1.3.13-2 including XFree 86   4.2.15
twm is the only window manager installed. So I use it.

The application (staticcaly linked with X11R5 lib) uses XtConvertAndStore 
for various colors. So I need PseudoColor mode, I use :
startx -- -emulatepseudo

If I only do that it is the 3rd Visual which is in PseudoColor, and I don't 
know how to use it ? Is there a bug or a "good" way to use it ?
So I have used
startx -- -emulatepseudo -depth 8 -fullscreen

I rlogin Hp-Ux-Workstation and start the application.
It is mostly OK but XtConvertAndStore do not all succeed :
OK for from_value.addr =
*   "#94949494949494"
*   "#dededededede"
*   "#adadadadadad"
*   "#424242424242"
*   "#bdbdbdbdbdbd"
*   "#212121212121"
*   "#"
*   "#c2c2c2c2c2c2"
*   "#4fff4fff4fff"
And fails for
*   "#737373737373"
*   "#636363636363"
*   "#280028002800"
Do you have any idea of what can be the reason ?

I hope that one can tell me how to solve this. (And that my english can be 
understood)

Thanks
Christian





Re: Emacs in XWin is performing oddly

2002-11-13 Thread Harold L Hunt II
Hmm...

I am beginning to wonder if I built the last release with the munged 
binutils release that was only around for a day or two.  That same 
release of binutils caused my class project code to segfault on startup 
everytime... updating to the latest bintuils cured the problem.  Maybe I 
will make a new release soon...

Harold

Artur Hefczyc wrote:

I have installed all of the cygwin emacs packages and I now am
experiencing problems with emacs with the X server.  Launching emaces
causes one of the following:

1) the application never displays its window (CPU utilization to 100%)
2) the application displays its window but it is unresponsive (CPU
utilization to 100%)
3) About 1 in 4 times it runs correctly even after a clean reboot of the
PC
 

I have exactly the same problem!
I am not sure if this is emacs problem. It looks like
new version of XWin have this problem.
Emacs in terminal works well.
Tried to return to previous versions of X, hm it doesn't work.
Now I have real problem so please if someone knows how
to avoid this send message.

Artur
--
Artur Hefczyc[EMAIL PROTECTED]
Open Source Developer
http://wttools.sourceforge.net/


 





Re: Two colormaps ?

2002-11-13 Thread Harold L Hunt II
Christian,

Do NOT use the -emulatepseudo parameter.  It does not do what you think 
it does.

ONLY use the following parameters:
startx -- -depth 8 -fullscreen

Give that a try and report back.

Harold

Christian SARDIN wrote:

Hello,
I try to explain my problem.

I have a graphic application running fine on HP-UX, and displaying OK on HP 
workstation. I try to have it display (correctly ! ) on my notebook.

The notebook : HP VT 6200 , 15" , 1400x1050 resolution, Windows XP Pro.

I installed Cygwin version 1.3.13-2 including XFree 86   4.2.15
twm is the only window manager installed. So I use it.

The application (staticcaly linked with X11R5 lib) requires 2 colormaps...
and use XtConvertAndStore for various colors. So I need PseudoColor mode, I
use :
	startx -- -emulatepseudo -depth 8 -fullscreen

I rlogin Hp-Ux-Workstation and start the application.
It is mostly OK but ...:
The application opens windows, with drawings... and it is not re-drawn (I 
have to ask for redraw through an  application fonctionality) ! Any suggest 
whould be welcome !

The other problem is for the drawings requiring the second colormap, of 
course.. Is there a way to have it ?

By now, I have only tried Cygwin, but I expect to install Mandrake 9 soon 
(but I miss the disk driver !).
May be Xf86config will help ?

I hope that someone can help me to solve that. (And that my english can be 
understood)


Thanks a lot.
Christian



 





Re: Emacs in XWin is performing oddly

2002-11-13 Thread David Starks-Browning
On Wednesday 13 Nov 02, Harold L Hunt II writes:
> Hmm...
> 
> I am beginning to wonder if I built the last release with the munged 
> binutils release that was only around for a day or two.  That same 
> release of binutils caused my class project code to segfault on startup 
> everytime... updating to the latest bintuils cured the problem.  Maybe I 
> will make a new release soon...
> 
> Harold

Harold,

I've been posting to the main cygwin list.  I don't know about your
segfaults, but the "spinning" described below is reproducible outside
of X.

Regards,
David

> Artur Hefczyc wrote:
> 
> >>>I have installed all of the cygwin emacs packages and I now am
> >>>experiencing problems with emacs with the X server.  Launching emaces
> >>>causes one of the following:
> >>>
> >>>1) the application never displays its window (CPU utilization to 100%)
> >>>2) the application displays its window but it is unresponsive (CPU
> >>>utilization to 100%)




Re: Emacs in XWin is performing oddly

2002-11-13 Thread Harold L Hunt II
David,

Excellent.  I believe I can now punt this problem over to the emacs 
packagers.  :)  Hey, are you the emacs packager for Cygwin?

Harold

David Starks-Browning wrote:

On Wednesday 13 Nov 02, Harold L Hunt II writes:
 

Hmm...

I am beginning to wonder if I built the last release with the munged 
binutils release that was only around for a day or two.  That same 
release of binutils caused my class project code to segfault on startup 
everytime... updating to the latest bintuils cured the problem.  Maybe I 
will make a new release soon...

Harold
   


Harold,

I've been posting to the main cygwin list.  I don't know about your
segfaults, but the "spinning" described below is reproducible outside
of X.

Regards,
David

 

Artur Hefczyc wrote:

   

I have installed all of the cygwin emacs packages and I now am
experiencing problems with emacs with the X server.  Launching emaces
causes one of the following:

1) the application never displays its window (CPU utilization to 100%)
2) the application displays its window but it is unresponsive (CPU
utilization to 100%)
 


 





Re: Emacs in XWin is performing oddly

2002-11-13 Thread David Starks-Browning
On Wednesday 13 Nov 02, Harold L Hunt II writes:
> David,
> 
> Excellent.  I believe I can now punt this problem over to the emacs 
> packagers.

No, it's not just emacs, either.

> Hey, are you the emacs packager for Cygwin?

No, just a grateful user.

Regards,
David




Re: an idea for building win32 based xfs

2002-11-13 Thread Kin Taishin
 Thanks for dropping me your comments.


First of all, don't you mean xfs, not xfd?


 That's my mistake. It's xfs. Sorry.


Secondly, how is this different from running the stock xfs that's in the 
XFree86 distro using free-type to support the Windows fonts?

 I should have stated my point more clearly.
 I want to get rid of fonts.dir file. mkfontdir doesn't work for me.
 Although FreeType provides decent font handling functions,
 win32 API does it better because fonts for Windows are made for 
Windows use. And I believe cygwin/xfree gains better performance with 
more exploitation of win32 API.
 So I have three options:
 1) remake mkfontdir using win32 API
the easiest work but still inside of fonts.dir world.
 2) remake xfs using win32 API
don't know how much work should be done but worth to try?
 3) replace Xft layer of XFree86 with win32-based code
may be...but I'm not an X guru!

 Fontconfig will eventually resolve this problem but I wonder if 
win32-based xfs sounds no nice?

Taishin



Re: an idea for building win32 based xfs

2002-11-13 Thread Alexander Gottwald
On Thu, 14 Nov 2002, Kin Taishin wrote:

>   Thanks for dropping me your comments.
> 
> > First of all, don't you mean xfs, not xfd?
> 
>   That's my mistake. It's xfs. Sorry.
> 
> > Secondly, how is this different from running the stock xfs that's in the 
> > XFree86 distro using free-type to support the Windows fonts?
> 
>   I should have stated my point more clearly.
>   I want to get rid of fonts.dir file. mkfontdir doesn't work for me.
>   Although FreeType provides decent font handling functions,
>   win32 API does it better because fonts for Windows are made for 
> Windows use. And I believe cygwin/xfree gains better performance with 
> more exploitation of win32 API.
>   So I have three options:
>   1) remake mkfontdir using win32 API
>  the easiest work but still inside of fonts.dir world.

there is a mkfontdir for truetype fonts. (ttmkfdir)

>   2) remake xfs using win32 API
>  don't know how much work should be done but worth to try?

A lot. the fontserver renders the truetype font to a bitmap font if it
receives a request for font x at size y. You would have to do this for 
all characters.

>   3) replace Xft layer of XFree86 with win32-based code
>  may be...but I'm not an X guru!

never. This would break a lot of remote programs which require X11 fonts.

Better idea: Take xfs, strip all font handling except TTF and replace reading
of fonts.dir by an inline ttmkfdir or build the datastructure using simple
w32api TrueType functions.

bye
ago




Re: rootless mode and mousing to other windows

2002-11-13 Thread Gerald S. Williams
So how was it that you start rootless mode again?

Just kidding.

I guess I should have mentioned that I was about to go on
vacation for over a week after I sent my last message.

My impression of XOpenWin was that it was going to replace
the low-level graphic calls from Windows with calls to X.
Ambitious, but sounds like a great deal of overhead. This
does solve some of the problems you'll run into trying to
get Windows to manage X applications, though. I'll have to
join the win32-x11 mailing list and see what's happening
there.

The current direction you're taking is to allow Windows to
manage the X windows (please keep this a separate feature
from -rootless). I hope somebody's thinking about keeping
this compatible with XOpenWin, since there could be some
serious benefits to using both together.

There are a number of other ways that integration between
Windows and X could have been approached, although these
are the most straightforward approaches. Both approaches
wrap everything of interest, albeit at opposite ends (and
the end results look totally different).

But right now I'm interested in something much simpler:
just removing focus from all windows when X itself loses
focus. I've looked at this briefly, but I'd better follow
up in another e-mail, rather than causing this thread to
fork too much.

-Jerry



Re: Lesstif problem ?

2002-11-13 Thread Philippe Bastiani
Of course: the problem appears after the rebuilding of the Lesstif
modules...

--
Philippe







About editres

2002-11-13 Thread Philippe Bastiani
Sorry, the beginning of this thread does not appear on the gname server...

To reply to Alexander: well step by step...

>Start a xterm
>start editres
>Menu:Commands|Get Tree
> Click on the xterm window
>Select vt100 in the tree
>Menu:Commands|Show Resource Box
OK
>Click with mouse button 2 (the one in the middle) on "color0"
>You should see "black" in the window below
NOK (there is a black cursor; and no color...)
>Enter text "red"
NOK (I cannot modify the value)
>Click on "Apply"

A+
Philippe Bastiani







Re: Adding a german keyboard to a default installation ...

2002-11-13 Thread Philippe Bastiani
-1- Copy .Xmodmap in your c:\cygwin\etc\X11\xinit
-2- Add the following command in the  in your startxwin.bat: "start /B
xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap"

A+
Philippe







Re: Adding a german keyboard to a default installation ...

2002-11-13 Thread Harold L Hunt II
Philippe,

Be careful, the ``/B'' is not supported on Windows 95/98/Me.  Besides, 
the startxwin.bat file is now distributed with the ``run.exe'' program 
that performs the same function as ``start /B'' on all Windows 
platforms, so you should have said:

-2- Add the following command in your startxwin.bat: ``run xmodmap 
/usr/X11R6/lib/X11/xinit/.Xmodmap''


Harold

Philippe Bastiani wrote:

-1- Copy .Xmodmap in your c:\cygwin\etc\X11\xinit
-2- Add the following command in the  in your startxwin.bat: "start /B
xmodmap /usr/X11R6/lib/X11/xinit/.Xmodmap"

A+
Philippe




 





xterm consumes all cpu

2002-11-13 Thread Jake D. Stern
[ This is a bug report. ]

What happens: boot winxp, start cygwin, run startxwin.bat, and XWin starts
normally.  If the first action is anything other than to close the xterm,
for example, open the desktop menu, then everything will run fine.  However,
if the first action is to close the xterm, either by typing 'exit' or by
clicking on the button in the window bar, the xterm process will consume
100% of my cpu (according to winxp task manager, assuming that was opened
previously, because it will take forever to open after.)

Interestingly, after killing the zombie xterm and window manager processes
in winxp task manager and restart xwin, I can close xterm either by typing
exit or clicking on the button in the window bar first and everything will
run fine.  So, it is only the first time after rebooting that this happens.
I've tried this with wmaker, twm and fvwm2 window managers, and the problem
persists except for the window manager that forces me to click to place the
xterm, because that forces a first action other than to close the xterm.

As this is a very strange and unlikely to be stumbled upon, I thought you'd
want to know about it.   Config attached.

[ Thanks, Mark Harig. ]


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Nov 13 13:44:47 2002

Windows XP Professional Ver 5.1 Build 2600 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Common Files\Adaptec Shared\System
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\Program Files\SSH Communications Security\SSH Secure Shell
C:\cygwin\usr\X11R6\bin

SysDir: C:\WINDOWS\System32
WinDir: C:\WINDOWS

HOME = `C:\cygwin\home\Jake'
MAKE_MODE = `unix'
PWD = `/home/Jake'
USER = `Jake'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\Jake\Application Data'
CLIENTNAME = `Console'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `CYPHER'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\Jake'
INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\'
LIB = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\'
LOGONSERVER = `\\CYPHER'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 6 Stepping 5, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0605'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `[\u@\H]$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINDOWS'
TEMP = `c:\DOCUME~1\Jake\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\Jake\LOCALS~1\Temp'
USERDOMAIN = `CYPHER'
USERNAME = `Jake'
USERPROFILE = `C:\Documents and Settings\Jake'
VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck.exe'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts
  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS8158Mb  75% CP CS UN PA FC XP
d:  hd  NTFS   24466Mb  48% CP CS UN PA FC STORAGE
e:  hd  FAT  133Mb  32% CPUN   DOS
f:  hd  FAT32   2090Mb  17% CPUN   SHARE
g:  hd  NTFS   7Mb  99% CP CS UN PA FC End
h:  cd   N/AN/A

C:\cygwin  / system  binmode
C:\cygwin/bin  /usr/bin  system  binmode
C:\cygwin/lib  /usr/lib  system  binmode
C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
.  /cygdrive userbinmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\

RE: Cygwin Connection Tool for Windows -- new release

2002-11-13 Thread Stephen Liu
Hi Mario,

At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote:

Hi!
You can find the new release at www.thelinuxbeat.com --> projects --> cygwin
tool


Is the website down.  I could not connect it.

Thanks

Stephen Liu




The Setup error is fixed and the binary setup file shrank to 2,4MB (from
~8MB).

Check it out!!






Re: xfree leaking memory?

2002-11-13 Thread Christopher Faylor
On Tue, Nov 05, 2002 at 09:07:56PM -0500, Christopher Faylor wrote:
>On Tue, Nov 05, 2002 at 05:00:55PM -0500, Harold L Hunt II wrote:
>>It was mentioned that the memory size increased when a new X window 
>>(such as an xterm) is opened, but that it does not decrease when that 
>>window is destroyed.  This indicates one of a few things to me:
>>
>>1) We are not freeing our window privates (directly or indirectly). 
>>This seems plausible, but I don't think our window privates are even 1 
>>kilobyte.
>
>I thought I should point out that Cygwin doesn't currently return
>deallocated memory to the windows pool.  So, the heap only gets larger.

I thought I should point out that, while I wrote the function in
question, the above statement was completely wrong.  I was investigating
sbrk() operation for an unrelated matter and noticed that it was
dutifully releasing unused memory back to the system.

I don't know why I thought things behaved any differently than this but
I thought I should correct any misperceptions that I caused.

cgf



RE: Cygwin Connection Tool for Windows -- new release

2002-11-13 Thread Mario Ohnewald
nope, it worked for me ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:cygwin-xfree-owner@;cygwin.com]On Behalf Of Stephen Liu
Sent: Thursday, November 14, 2002 3:31 AM
To: Mario Ohnewald; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Cygwin Connection Tool for Windows -- new release


Hi Mario,

At 07:36 PM 11/13/2002 +0100, Mario Ohnewald wrote:
>Hi!
>You can find the new release at www.thelinuxbeat.com --> projects -->
cygwin
>tool

Is the website down.  I could not connect it.

Thanks

Stephen Liu



>The Setup error is fixed and the binary setup file shrank to 2,4MB (from
>~8MB).
>
>Check it out!!






Re: an idea for building win32 based xfs

2002-11-13 Thread Kin Taishin
Thank you for your comments.

Alexander Gottwald wrote:


there is a mkfontdir for truetype fonts. (ttmkfdir)


I forgot to mention. But ttmkfdir does not support TrueType Collection 
files (*.ttc). And this one is based on FreeType 1, I guess.

 2) remake xfs using win32 API
don't know how much work should be done but worth to try?



A lot. the fontserver renders the truetype font to a bitmap font if it
receives a request for font x at size y. You would have to do this for 
all characters.

I will use w32api to render fonts. Anti-aliasing would be a thing to be 
implemented later.

 3) replace Xft layer of XFree86 with win32-based code
may be...but I'm not an X guru!



never. This would break a lot of remote programs which require X11 fonts.

Better idea: Take xfs, strip all font handling except TTF and replace reading
of fonts.dir by an inline ttmkfdir or build the datastructure using simple
w32api TrueType functions.


I see. I'll take the latter approach.
I really appreciate your giving me an advice!

Thanks,
Taishin