This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Xterminal


Dear all,

I'm still experiencing the problem when running Cygwin/XFree86 4.3, e.g. I can't get the characters that I get with 'AltGr'-combination with a swedish keyboard layout and OpenVMS DECterm or GVIM (launched from OpenVMS).

I can workaround the DECterm thing by launching an xterm from cygwin (with a long '-xrm...' string), but I cant live without the '{', '[', ']' and '}' in GVIM for obvious reasons (who can ?).

snip from my /tmp/XWin.log
(==) Using preset keyboard for "Swedish (Sweden)" (0000041d), type "4"
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc105" Layout = "se" Variant = "(null)" Options = "(null)"


Packages installed:
Cygwin Package Information
Package              Version
XFree86-bin          4.3.0-1

Cygwin Package Information
Package              Version
XFree86-etc          4.3.0-3


Default setting of the keyboards is as setxkbmap -v 10 reports: ~> setxkbmap.exe -v 10 Setting verbose level to 10 locale is C Applied rules from xfree86: model: pc105 layout: se Trying to build keymap using the following components: keycodes: xfree86+aliases(qwerty) types: complete compat: complete symbols: pc/pc(pc105)+pc/se geometry: pc(pc105)

Default setting reported by xmodmap (on CYGWIN)
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40)
mod2 Num_Lock (0x4d)
mod3 mod4 Super_L (0x73), Super_R (0x74)
mod5 ISO_Level3_Shift (0x71)


xmodmap settings reported when run from DECterm on OpenVMS:
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40)
mod2        Num_Lock (0x4d)
mod3
mod4        Super_L (0x73),  Super_R (0x74)
mod5        BadKey (0x71)

(Who is this BadKey guy ?)

I've tried modifiying the keyboard with setxkbmap.exe like the following
setxkbmap -rules xfree86 -model compaqeak8 -layout "se,us_intl" -option "grp alt_shift_toggle"


and then shifting with alt-shift between the SE and us_intl but nothing happens.

I've tried to manipulate the settings through various modifications with xmodmap, but without success.

It seems like the XFree86 4.3 version is not compatible with clients compiled/linked with pre- 4.3 version.

It works when I'm running Debian GNU/Linux with XFree86 4.2nnn, as it did when I ran Cygwin/XFree86 4.2 before upgrading to 4.3.

I've run the 'xev' on both cygwin and OpenVMS where as the cygwin gives me the correct:
<snip>
KeyPress event, serial 22, synthetic NO, window 0xa00001,
root 0x3a, subw 0xa00002, time 2776000, (59,55), root:(65,78),
state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes: ""


KeyPress event, serial 22, synthetic NO, window 0xa00001,
   root 0x3a, subw 0xa00002, time 2776031, (59,55), root:(65,78),
   state 0x80, keycode 13 (keysym 0x24, dollar), same_screen YES,
   XLookupString gives 1 bytes:  "$"
<snip>

and the latter (OpenVMS) gives me something like:
<snip>
KeyPress event, serial 22, synthetic NO, window 0xa00001,
   root 0x3a, subw 0xa00002, time 2776000, (59,55), root:(65,78),
   state 0x0, keycode 113 (keysym 0xfe03, unknown), same_screen YES,
   XLookupString gives 0 bytes:  ""

it gives me just "2"
<snip>

I have RTFM and learned alot but obviously not enough, I would very much appreciate input on how to solve this.


Regards - Ingvaldur


-----Original Message-----
From: Ingvaldur Sigurjonsson
Sent: Mon 2003-08-25 11:56 AM
To: cygwin-xfree@cygwin.com
Cc: Subject: Re: Xterminal


Hi all,

Enclosed you find a 'decxterm.sh'-shell script that launches an ordinary xterm but with the keyboard remapped to suit OpenVMS LK* keyboard mappings.

I was previously using DECTerm but after the latest upgrade of XFree86 Server for Cygwin (-> 4.3x) the keyboard didn't function as it used to be. I couldn't get any key's that needed the 'AltGr' in a combination (like '@','$','{','[',']','}'). I'm using Swedish keyboard layout. The same symptom appears when I'm using GVIM from OpenVMS, haven't tried Emacs yet (maybe in next life...).

I also recommend that you copy the DECW-fonts (the 75dpi and/or 100dpi) from OpenVMS to your XFree86/Cygwin fontdirectory /usr/X11R6/lib/X11/fonts...
I found them here: SYS$COMMON:[SYSFONT.DECW].


You add the DECW fonts to your fontpath with a script like:

#!/bin/sh
echo "Adding DECW Fonts (75dpi)"
xset fp+ /usr/X11R6/lib/X11/fonts/decw/75dpi

I've been using the XFree86/Cygwin daily since April against OpenVMS systems and Unixes, and I must say that I'm very impressed by it, previously I did use Reflection X (and Xcursion), but XFree86/Cygwin is a very good alternative/replacement for those products.

Regards
- Ingvaldur

> Gillian,
> Yes, it can work with VMS.  I used to work at the NSCL (National
> Superconducting Cyclotron Laboratory) and they used VMS and I was able
> to get it to work, as were others that posted some information on the
> Internet.  However, I do not recall what the correct steps were to take,
> nor do I recall who had posted information on how to do this.  My best
> suggestion is for you to search Google.
> Good luck,
> Harold
> Gillian Dell wrote:
>> Hello.
>> I've installed the cygwin/xfree86 package on my PC.
>> My question is, can it worked with a remote VMS
>> machine (running DECWindows motif)?.
>> If so I do I configure it to run?
>>
>> Regards,
>>
>> Gillian



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]