Thanks
In theory, it should be no problem. X windows is X windows.
However, bear in mind that VMS uses older X windows version, while Linux
and most Unixes uses more recent X protocol version with added
functions. If Excursion is old, then the Linux boxes may be sending X
commands to Excursion that Excursion doesn't understand. But overall it
*should* work.
Make sure you tell Excursion to allow connections from the Linux host.
Google for xMing. It is a fine, modern X display server that also works
with VMS clients.
/Wilm
Have you tried ReflectionX from WRQ? It is a fairly expensive product.
The functionality is very good, it offers
terminal emulation, X windows and an FTP window. I use it mainly fr
DEC VT100/VT300 and Burroughs T27 emulation
and X windows of course. Very easy to install and use.
I found an affordable kit (version 14) on eBay last year. Right now
there's one for sale at $150 on ebay.
Hans
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b5016b2$0$14119$703f...@textnews.kpn.nl...
Hmm, "intuitive" should be the word. After installation, you run the
executable image. The dialog helps you to configure your display server
(for Windows, use the "multiple windows" mode), and you can save the
config to an .xlaunch file, that you can use afterwards.
For optimal results, use the remote font server option in Xming to point
to a VMS server with DECwindows Motif installed, and enable the font
server on that VMS system. This will ensure that all VMS client apps use
the familiar fonts.
The Help for Xming should explain it all...
/Wilm
> For optimal results, use the remote font server option in Xming to point
> to a VMS server with DECwindows Motif installed, and enable the font
> server on that VMS system. This will ensure that all VMS client apps use
> the familiar fonts.
The font server is only available on Alpha-VMS (and I assume those IA64
things). It is "installed" by default. But you need to edit
SYS$COMMON:[SYSMGR]DECW$PRIVATE_SERVER_SETUP.COM
to set the DECW$START_FONT_SERVER to "True"
Out of curiosity, why would Excursions not work as a target for a Linux
system's windows ?
The X terminal gets X protocol. It is agnostic on whether the
application is based on Motif, GTK or whatever.
#1 - extensions. Many Linux applications assume the presence of specific
extensions which may not be present on an older X11 implementation.
I use the WRQ (Attachmate) X11 emulator on my PC's and am very happy with
it.
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b508f3a$0$14119$703f...@textnews.kpn.nl...
After installing Xming, you can run Xming.exe. This is your display
server, and now using default settings. It will signal its presence by
an icon in your system tray. Right clicking the icon will give you
access to, among others, the Help area.
If the default settings do not please you (and for VMS clients, they
most likely won't), you can start the Xlaunch wizard. At completion of
the wizard, you save the settings as an *.Xlaunch file. The Xlaunch
extension is associated with Xming.exe, so clicking the saved file will
start a display server with the saved settings.
I'll send you my VMS.xlaunch file by separate mail.
/Wilm
Wilm,
I'd be interested in what you are using to set up your keyboard mapping.
I'm currently using an xmodmap file I created that is applied after
connecting to VMS. I'd much rather use the xkb files that come with xming,
but I haven't been able to find a combination that gives me the correct
emulation for the VMS keypad and function keys.
Thanks,
Jeff
My standard PC keyboard works fine with the "-xkbmodel pc105" modifier
in Xming. I have not found it necessary to modify anything on the server
side or on the VMS client side. Editors, including TPU and Teco work
fine with DECterm.
/Wilm
Thanks Wilm,
I retried the with the modifier you use and confirmed I do not end up with a
keypad that I could use for an editor like EDT. I am not sure what the
difference is.
For example, when running DECW$UTILS:XEV, pressing the Num Lock key should
give me a symbol of KP_F1, but I get the Num_Lock symbol.
I'll have to give it some more thought.
-Jeff
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4B55DEE6...@spam.gmail.com...
Indeed, save the following as text, rename to *.xlaunch, and Robert's
your father's brother.
<?xml version="1.0" encoding="utf-8"?>
<XLaunch
xmlns="http://www.straightrunning.com/XmingNotes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.straightrunning.com/XmingNotes
XLaunch.xsd"
WindowMode="MultiWindow"
ClientMode="NoClient"
Display="0"
Clipboard="true"
NoAccessControl="true"
FontServer="netbck"
ExtraParams="-nodecoration +bs -wm -dpi 100 -multimonitors -xkbmodel
pc105 -nolisten inet6"
/>
/Wilm
Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
Contact: http://sourceforge.net/forum/?group_id=156984
Xming was started with the following command line...
Xming :0 -multiwindow -clipboard -ac -fp tcp/netbck:7100
-nodecoration +bs -wm -dpi 100 -multimonitors -xkbmodel pc105
-nolisten inet
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1920 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransTransNoListen: unable to find transport: inet6
Fatal server error:
Failed to disable listen for inet6 transport
winDeinitMultiWindowWM - Noting shutdown in progress
"Wilm Boerhout" <wboe...@gmail.com> wrote in message
news:c3f711fa-a0c6-4d8e...@j14g2000yqm.googlegroups.com...
Maybe it's because you have the free version of Xming, and I paid for
it. Try it without the "-nolisten inet" phrase.
/Wilm
\what is the pc105 as it wraps around, is that your pc name, the server
connection or that supposed to be a part of the previous line
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b588902$0$14129$703f...@textnews.kpn.nl...
Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
Contact: http://sourceforge.net/forum/?group_id=156984
Xming :0 -multiwindow -clipboard -ac -fp tcp/stimpy:7100
-nodecoration +bs -wm -dpi 100 -multimonitors -xkbmodel pc105
XdmcpRegisterConnection: newAddress 10.73.10.201
(++) FontPath set to "tcp/stimpy:7100"
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1920 height: 1200 depth:
32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
32
glWinInitVisuals:1596: glWinInitVisuals
glWinInitVisualConfigs:1503: glWinInitVisualConfigs
glWinSetVisualConfigs:1581: glWinSetVisualConfigs
init_visuals:1055: init_visuals
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
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
glWinScreenProbe:1390: glWinScreenProbe
fixup_visuals:1303: fixup_visuals
init_screen_visuals:1336: init_screen_visuals
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
(++) XKB: model: "pc105"
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b588902$0$14129$703f...@textnews.kpn.nl...
Yeah sorry, text sometines wraps. the pc105 is part of the xkbmodel
string, it should all be on one line.
If the icon just sits there, it means your X display server is working.
You now need to send something there from your VMS clients. I always use
(on the VMS X display client system):
$ tcpip ping <your Xming node>
This is just to verify that the network is OK, then
$ set disp /cre /node=<your Xming node> /transp=tcpip
$ mc decw$clock
You should see a small window with the DECwindows clock in it.
Then:
$ cre/term /det
Should get you an Xterm window
NOTE: the name "netbck" is a local Alpha system name on my network that
runs an X font server. Delete the FontServer="netbck" phrase or replace
with your own font server
/Wilm
$set disp/cre/node=10.73.10.201/trans=tcpip
j$mc decw$clock
X Toolkit Warning: Cannot convert string
"-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
X connection to _WSA139: broken (explicit kill or server shutdown).
%XLIB-F-IOERROR, xlib io error
does the above mean I need a font server somewhere and if so how do I know
if my vms box is setup correctly
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b589810$0$14130$703f...@textnews.kpn.nl...
Let us first get the terminology right:
eXcursion, Xming --> the X display server
VMS, Unix --> contain X clients like clock, xterm, whatever.
The X display server is just that, it accepts command from clients and
displays them on a screen. Now eXcursion has a clever way to poke a VMS
client (xCursion calls that "applications"), so that the VMS client
sends something back to the display server on your PC.
Xming also has that facility, but it is set up differently than
eXcursion. You access it via the system tray. Anyway, that's too
advanced for now.
If you have the base functionality working (and you're not there yet)
you can set up things on the VMS end so that a login dialog appears
automagically on your PC at VMS startup.
1. what does the "ping" command report? If you can't ping from VMS to
the xMing PC, it's no point going on. Fix it first.
2. If ping works, try DECW$clock as specified before. Forget about the
font warning, the font will be replaced by something ugly but working
(it's a warning). The xlib error is serious though, and could be the
starting point for some troubleshooting. The xMing log file could give
you a clue.
Backtranslating should be in place for the X protocol to work, so the PC
and the VMS sytem shouyld know each others name, not only the IP
address. Set up DNS or use the hosts file (PC), local host database
(TCPIP SET HOST) on VMS.
/Wilm
For a previous version of Xming, I have at one time worked with the
following Xmodmap on VMS. It may be a starting point for you.
CAUTION: some lines may have wrapped.
-----------------------------------
$!
$! For XMING & DECterm
$!
$ xmodmap SYS$INPUT
$DECK
!
! Mouse:
!
pointer = 1 2 3 4 5 6 7
!
! Editing keypad
!
! 106 097 099
! 107 103 105
!
! 098
! 100 104 102
!
keycode 106 = Insert
keycode 97 = Find
keycode 99 = Prior
keycode 107 = Delete
keycode 103 = Select
keycode 105 = Next
!
keycode 98 = Up
keycode 100 = Left
keycode 104 = Down
keycode 102 = Right
!
! Numeric Keypad
!
! 077 112 063 082
!
! 079 080 081
! 086
! 083 084 085
!
! 087 088 089
! 108
! 090 091
!
keycode 77 = KP_F1
keycode 112 = KP_F2
keycode 63 = KP_F3
keycode 82 = KP_F4
!
keycode 79 = KP_7
keycode 80 = KP_8
keycode 81 = KP_9
!
keycode 83 = KP_4
keycode 84 = KP_5
keycode 85 = KP_6
!
keycode 87 = KP_1
keycode 88 = KP_2
keycode 89 = KP_3
!
keycode 108 = KP_Enter
!
keycode 90 = KP_0
keycode 91 = KP_Decimal
!
! Function keys, top row
!
!keycode 95 = Help
!keycode 96 = Do
!
keycode 72 = F6 0x1008fe06 F6 0x1008fe06 F6 0x1008fe06
keycode 95 = F11 0x1008fe0b F11 0x1008fe0b F11 0x1008fe0b
keycode 96 = F12 0x1008fe0c F12 0x1008fe0c F12 0x1008fe0c
$EOD
-----------------------------------
should be
keycode 107 = DRemove
/Wilm
keycode 48 = apostrophe quotedbl apostrophe quotedbl dead_acute
dead_diaeresis
[mind the wrap]
is also handy.
Thanks Wilm,
I already had a file that would work for xmodmap. The posting you made
should help anyone else looking for the same data.
The format I was looking for was the xkb format. Bojan Nemec posted one
here if anyone is interested:
To activate on the xserver startup command, I used: -xkblayout us_vms
There is still one issue I need to resolve. Switching from an X window to a
non-X window (like a browser) and back to the X window causes a problem.
The remapped Num Lock key, if active, will simulate a key press and a key
release. This causes an application to think the PF1 key has been pressed,
when in fact, is has not been.
-Jeff