where are Xlib.h Xutil.h Xatom.h ecc???

2003-02-20 Thread kkk
i'm trying to compile a small program (that uses Xforms)
make requests:
X11/Xlib.h
X11/Xutil.h
X11/Xatom.h
X11/keysum.h
X11/Xresource.h
X11/cursorfont.h

where are they placed?
/usr/include/X11 is absent!








Re: where are Xlib.h Xutil.h Xatom.h ecc???

2003-02-20 Thread Sylvain Petreolle
you forgot to install the headers!
install the XFree86-prog package with setup.exe.
see http://www.cygwin.com/packages
 --- kkk [EMAIL PROTECTED] a écrit :  i'm trying to compile a
small program (that uses Xforms)
 make requests:
 X11/Xlib.h
 X11/Xutil.h
 X11/Xatom.h
 X11/keysum.h
 X11/Xresource.h
 X11/cursorfont.h
 
 where are they placed?
 /usr/include/X11 is absent!
 
 
 
 
  

=
Sylvain Petreolle
[EMAIL PROTECTED] 
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259

Don't think you are. Know you are. Morpheus, in Matrix.

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



Re: (fwd) non us keyboards and cygwin xfree86

2003-02-20 Thread David Starks-Browning
On Thursday 6 Feb 03, Alexander Gottwald writes:
 On Thu, 6 Feb 2003, J S wrote:
 
  Hi Tom,
  
  I tried that but got:
  
  $ xkbcomp -xkm -m gb /usr/X11R6/lib/X11/xkb/keymap/xfree86 
  /etc/X11/xkb/keymap/gb
  Error:Include file wrong type (expected KeyNames, got Keymap)
Include file xfree86 ignored
Abandoning keycodes file gb
 
 Why are still people working with this way? The keyboard is configurable
 in the config file /etc/X11/XF86Config. A sample config file can be found
 at http://www.tu-chemnitz.de/~goal/xfree/XF86Config-4.bz2

But how do we use /etc/X11/XF86Config?  I don't have one there
already.  I downloaded your sample, but there was a lot of other stuff
besides the keyboard options.  Is there a trick to getting it to work?
I tried deleting everything in your sample except:

Section InputDevice
Option XkbRules   xfree86
Option XkbModel   pc105
Option XkbLayout  gb
EndSection

(I'm trying to use a UK keyboard layout.)  Did I delete too much?

Note the FAQ (4.5) talks about this, but doesn't say anything about
XF86Config.  I also have no XF86Config man page.  I use
/usr/X11R6/bin/startx to start X.

Thanks for your help!

Regards,
David




Re: (fwd) non us keyboards and cygwin xfree86

2003-02-20 Thread Colin Harrison

Hi

You will need more than that in your /etc/X11/XF86Config file:-

Section ServerLayout
Identifier  dummy
Screen  dummy
InputDevice Keyboard1 CoreKeyboard
EndSection

Section InputDevice
Identifier  Keyboard1
Driver  Keyboard
Option  XkbRules xfree86
Option  XkbModel pc105
Option  XkbLayout gb
EndSection

Section Monitor
Identifier  dummy
EndSection

Section Device
Identifier  dummy
Driver  dummy
EndSection

Section Screen
Identifier  dummy
Device  dummy
Monitor dummy
EndSection


Works for me.

The X system is fussy..so use dos2unix if you used a Windows editor to
create it.

Colin Harrison





Re[2]: XKB config?

2003-02-20 Thread Lev Serebryakov
Hello, Alexander!
Tuesday, February 18, 2003, 12:17:56 AM, you wrote:

AG I've used the parse from the XFree86 server and unfortunatly it requires
AG some special sections which we do not need. 

AG A minimal config file is:

AG Section InputDevice
AG  Identifier RuKeyboard
AG  Driver Keyboard
AG  Option XkbRules   xfree86
AG  Option XkbModel   pc101
AG  Option XkbLayout  ru
AG  Option XkbOptions grp:ctrl_shift_toggle
AG EndSection

AG Section Device
AG Identifier  dummy
AG Driver  dummy
AG EndSection

AG Section Monitor
AG Identifier  dummy
AG EndSection

AG Section Screen
AG Identifier  dummy
AG Device  dummy
AG Monitor dummy
AG EndSection
 Thank you! It works! May be, it will be good idea to put something
 like this (not for Russian keyboard, but, for example, for default)
 into XFree86-etc-4.2.0-x.tar.bz2?

   Lev Serebryakov
/---\
| FIDONet: 2:5030/661.0 |
| E-Mail:  [EMAIL PROTECTED]   |
| Page:http://lev.serebryakov.spb.ru/   |
| ICQ UIN: 3670018  |
| Phone:   You know, if you have world nodelist |
\===/




XFree86-cygwin KDE national keybord layouts

2003-02-20 Thread Lev Serebryakov
Hello, cygwin-xfree! How are you?

  Does somebody use KDE under cygwin XFree86 (of course, KDE is
  started on UNIX, not on Win+cygwin) and national keyboard layout?

  I've setup russian keyboard (thanks to Alexander Gottwald), and it
  works under twm + xterm.

  No I'm trying to make it work under KDE.

  KDE is configured for two keyboard layouts: English and Russian.
  I've configured `ctrl+shift' group toggle in KDE. But it doen't work
  -- it allows to switch layouts via clicing on flag icon on dock, but
  it doesn't do anything when I press ctrl+shift.

  Is it problem of KDE or XFree86-cygwin or something else?

   Lev Serebryakov
/---\
| FIDONet: 2:5030/661.0 |
| E-Mail:  [EMAIL PROTECTED]   | 
| Page:http://lev.serebryakov.spb.ru/   |
| ICQ UIN: 3670018  |
| Phone:   You know, if you have world nodelist |
\===/




Re: XFree86-cygwin KDE national keybord layouts

2003-02-20 Thread Andrew Markebo
/ Lev Serebryakov [EMAIL PROTECTED] wrote:
| [...]
|   KDE is configured for two keyboard layouts: English and Russian.
|   I've configured `ctrl+shift' group toggle in KDE. But it doen't work
|   -- it allows to switch layouts via clicing on flag icon on dock, but
|   it doesn't do anything when I press ctrl+shift.
|
|   Is it problem of KDE or XFree86-cygwin or something else?

Something else I think, if my memory doesn't fail me, MS Windows can't
provide all the nifty keyboard-combinations (like C-S-[something])
that are available under for example linux..

 /Andy

-- 
 The eye of the beholder rests on the beauty!




Re: (fwd) non us keyboards and cygwin xfree86

2003-02-20 Thread Alexander Gottwald
David Starks-Browning wrote:

 But how do we use /etc/X11/XF86Config?  I don't have one there
 already.  I downloaded your sample, but there was a lot of other stuff
 besides the keyboard options.  

The other stuff is not used, but partly required. The easiest way is to 
add/replace the options you already mentioned in your mail. 

bye
ago

NP: Blutengel - No god
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723




Re: (fwd) non us keyboards and cygwin xfree86

2003-02-20 Thread Alexander Gottwald
David Starks-Browning wrote:

 But how do we use /etc/X11/XF86Config?  I don't have one there
 already.  I downloaded your sample, but there was a lot of other stuff
 besides the keyboard options. 

I have replaced the configfile with a version, where all unused sections 
were replaced with the minimal (dummy) sections.

http://www.tu-chemnitz.de/~goal/xfree/XF86Config.bz2

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




Re: using rxvt with other shells

2003-02-20 Thread Igor Pechtchanski
On Thu, 20 Feb 2003, Elfyn McBratney wrote:

  On Wed, Feb 19, 2003 at 05:00:51PM -0500, Igor Pechtchanski wrote:
  FYI, pdksh (http://web.cs.mun.ca/~michael/pdksh/) compiles OOTB on
  Cygwin and is a fully conformant ksh implementation.  If all you need is
  ksh, there you go.
 
  Anyone want to provide pdksh as a package?  It seems like last year's
  offer to provide the real ATT ksh has dried up.
  cgf

 Perhaps I'm showing my getopt weakness' but I'm getting an error originating
 in sh.h from a redef of struct option? Igor did you do anything special to
 get rid of this, or is it my lack of getopt'ness knowledge?
 Elfyn McBratney

Umm, no, I didn't do anything special.  But I haven't compiled pdksh since
last June.  It seems that in the meantime, unistd.h included getopt.h, and
now the struct option defined by pdksh (which doesn't use getopt at all)
conflicts with getopt's.  I'm sure I could get it to compile.  The easiest
would be to rename the struct, I suppose...  I'd like to have a minimal
patch if I intend to package it...
Igor
P.S. I'll report to the cygwin-apps list when I make progress on this one.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune