Re: Does cygwin support xim?

2005-03-16 Thread Alexander Gottwald
On Tue, 15 Mar 2005, Duong Duong wrote:

 I have ported a Vietnamese keyboard application from
 linux to cygwin, but it can't run as I want. When it
 ran, it warned that  Cannot load either en_US.UTF-8
 or vi_VN.UTF-8 lo. To use this program you must have
 one of these locales installed. Despite it ran but it
 didn't have any effect on keyboard.
 
 I want to ask you that Is cygwin/x support xim?.

I don't know. XIM should be compiled in but I know of no XIM server
available for cygwin. Maybe the japanese users may shed some light
on this.

 The second, could you tell me something about locale
 support in cygwin?

I'm not sure but the last statements I heard told there are only 
very few locales supported in cygwin.

Maybe you should try using the X11 locale support in the application.
Use -DX_LOCALE when compiling and see /usr/X11R6/include/X11/Xlocale.h

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


gnuplot: unable to open display ''

2005-03-16 Thread Anthony John Sibthorpe
Hi
I have been unable to view gnuplot images or run the test command even with my
terminal type set to x11, as x11 just aborts.
Nor can I do: startx
as I get the following (no terminal, and just hangs):
$ startx
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.2.0-1
Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:
X :0 -multiwindow -clipboard
(WW) /tmp mounted int textmode
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X1
1/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/font
s/100dpi/
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Multi Window or Rootless = ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth: 32
winFinishScreenInitFB - Masks: 00ff ff00 00ff
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 bpp 32
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello

Not sure what is going on, as I have all the Cygwin x11 options installed.
Plus none of the Cygwin-X icons on the start menu do anything.
Any help at all appreciated.
Ant


Re: gnuplot: unable to open display ''

2005-03-16 Thread Alexander Gottwald
On Wed, 16 Mar 2005, Anthony John Sibthorpe wrote:

 Hi
 
 I have been unable to view gnuplot images or run the test command even with my
 terminal type set to x11, as x11 just aborts.

The error message indicates you did not have the DISPLAY variable set. 
This is usally done when using an xterm but not in the cygwin console.

$ export DISPLAY=:0.0
$ gv

 Nor can I do: startx
 
 as I get the following (no terminal, and just hangs):
 $ startx
 
 Welcome to the XWin X Server
 Vendor: The Cygwin/X Project
 Release: 6.8.2.0-1
 
 Contact: cygwin-xfree@cygwin.com
 
 XWin was started with the following command line:
 
 X :0 -multiwindow -clipboard
 
 (WW) /tmp mounted int textmode
 [snip]

 winInitMultiWindowWM - Hello
 winMultiWindowXMsgProc - Hello

This seems like a problem with the threads which occured with personal firewalls
like ZoneAlarm or beacuse of /tmp being mounted in textmode

can you please try if

$ mount -buf $(cygpath -m /tmp) /tmp

If you're using ZoneAlarm5 you can downgrade to ZoneAlarm 4.5 which did not 
experience such problems.

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


Re: Does cygwin support xim?

2005-03-16 Thread Kensuke Matsuzaki
Hi,
I have ported a Vietnamese keyboard application from
linux to cygwin, but it can't run as I want. When it
ran, it warned that  Cannot load either en_US.UTF-8
or vi_VN.UTF-8 lo. To use this program you must have
one of these locales installed. Despite it ran but it
didn't have any effect on keyboard.
I want to ask you that Is cygwin/x support xim?.
At least there are some xim server for Japanese,
kinput:
http://www.on.cs.keio.ac.jp/~maru/cygwin-xfree-jp-supplement/
imeproxy:
http://sourceforge.jp/projects/imeproxy/
Also I posted xim server which uses Windows IME.
http://www.cygwin.com/ml/cygwin-xfree/2005-01/msg00066.html
http://www.cygwin.com/ml/cygwin-xfree/2005-01/msg00067.html

I'm not sure but the last statements I heard told there are only 
very few locales supported in cygwin.

Maybe you should try using the X11 locale support in the application.
Use -DX_LOCALE when compiling and see /usr/X11R6/include/X11/Xlocale.h
Cygwin's locale support is limited, so X is compiled with X Locale.
There are following lines in cygwin.cf
#define StandardDefines -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE \
-D_X86_ -D__CYGWIN__ -D_XOPEN_SOURCE ...
So, if use Imakefile, imake adds -DX_LOCALE.
I can find vi_VN.tcvn and vi_VN.viscii in xc/nls, but not find 
vi_VN.UTF-8 though. I don't know about Vietnamese locale well,
but maybe someone have to write vi_VN.UTF-8.

zakki.
--
Kensuke Matsuzaki
mailto:[EMAIL PROTECTED]
http://peppermint.jp


XWin minimal installation

2005-03-16 Thread Juan José Gutiérrez de Quevedo Pérez
This might be of interest to some people in the list, so there it goes.

I've just finished making a small distribution of X/Cygwin (only 2Mb),
and have placed it in the following address:
http://www.iteisa.com/xmins/
(xmins--XWin Minimal Installation)

What I've done basically is take the necessary cygwin and X/Cygwin
files and package them in a convenient (and small, I might add) way,
so that I can carry it around in a usb stick, or download it in a short
time from the internet in case of need.

I know it's not a full X/Cygwin server (most extensions are not
working, like xkb or xfixes), but it's enough to i.e. run a remote
gnome session or start some programs through ssh in a remote host.

There are some things I don't actually like about how it has turned
out, actually, the main being that it doesn't support xkb(it always
said couldn't load keymap, I think it's because of the binary-
mounting /tmp thingy) and that it is needing windows scripting host
right now to ask for a host to query. For the later the solution would
be to create a frontend to allow selecting most of the xserver options
such as -query -indirect, etc... This frontend would also allow me to
delete all those awfull entries from the start menu (there are 9 right
now)

-- 
Juan José Gutiérrez de Quevedo
Director Técnico ([EMAIL PROTECTED])
ITEISA (http://www.iteisa.com)


Re: XWin minimal installation

2005-03-16 Thread Steven Boothe
Juan José Gutiérrez de Quevedo Pérez wrote:
This might be of interest to some people in the list, so there it goes.
I've just finished making a small distribution of X/Cygwin (only 2Mb),
and have placed it in the following address:
http://www.iteisa.com/xmins/
(xmins--XWin Minimal Installation)
Ooo aa!
I'm wondering if this can be used to create a bundled application package
and hence install script for apps dependent on Cygwin/X11??? That would be
very nice indeed!
The application I have in mind is Scribus. Which we finally have a nice
recipe for installing version 1.2.1 via Cygwin at:
http://wiki.scribus.net/Installing_Scribus_on_Win32
But I know it could become even more accessible to an even wider audience
if we could create a fairly small bundled installer type of package. My
first initial tests came out way to large in size do to all the many files
that were included but didn't need to be. :)
Excellent work!


Re: XWin minimal installation

2005-03-16 Thread Brian Dessent
Juan José Gutiérrez de Quevedo Pérez wrote:

 This might be of interest to some people in the list, so there it goes.
 
 I've just finished making a small distribution of X/Cygwin (only 2Mb),
 and have placed it in the following address:
 http://www.iteisa.com/xmins/
 (xmins--XWin Minimal Installation)
 
 What I've done basically is take the necessary cygwin and X/Cygwin
 files and package them in a convenient (and small, I might add) way,
 so that I can carry it around in a usb stick, or download it in a short
 time from the internet in case of need.

I don't see anywhere that you provide the source to the utilities in
your binary package.  This is required under the GPL.  As far as I know
you're not allowed to just say get them from cygwin.com, you must
offer them from the same place as the binaries.

Brian


AW: XWin minimal installation

2005-03-16 Thread Marco Lechner
Does this also work, if I install the Xmins on the USB-Stick? So that I can
use it like XliveUSB-Stick (like the XliveCD from
http://xlivecd.indiana.edu/?

Marco


-
Marco Lechner

office:
Department of Physische Geographie
University of Freiburg
Werderring 4
D-79085 Freiburg
Germany
phone +49 (0)761 / 203-3548
email [EMAIL PROTECTED]


 -Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Juan José Gutiérrez
de Quevedo Pérez
Gesendet: Mittwoch, 16. März 2005 22:33
An: cygwin-xfree@cygwin.com
Betreff: XWin minimal installation


This might be of interest to some people in the list, so there it goes.

I've just finished making a small distribution of X/Cygwin (only 2Mb),
and have placed it in the following address:
http://www.iteisa.com/xmins/
(xmins--XWin Minimal Installation)

What I've done basically is take the necessary cygwin and X/Cygwin
files and package them in a convenient (and small, I might add) way,
so that I can carry it around in a usb stick, or download it in a short
time from the internet in case of need.

I know it's not a full X/Cygwin server (most extensions are not
working, like xkb or xfixes), but it's enough to i.e. run a remote
gnome session or start some programs through ssh in a remote host.

There are some things I don't actually like about how it has turned
out, actually, the main being that it doesn't support xkb(it always
said couldn't load keymap, I think it's because of the binary-
mounting /tmp thingy) and that it is needing windows scripting host
right now to ask for a host to query. For the later the solution would
be to create a frontend to allow selecting most of the xserver options
such as -query -indirect, etc... This frontend would also allow me to
delete all those awfull entries from the start menu (there are 9 right
now)

--
Juan José Gutiérrez de Quevedo
Director Técnico ([EMAIL PROTECTED])
ITEISA (http://www.iteisa.com)