From: coolidge@cs.uiuc.edu (John Coolidge)
Subject: Re: starting X11 server from CommandShell
Reply-To: coolidge@cs.uiuc.edu
Organization: University of Illinois, Dept. of Comp. Sci., Urbana, IL
Date: Sun, 12 Apr 1992 19:07:49 GMT

covert@cactus.org (Richard Covert) writes:
>In article <1992Apr7.134645.15428@panix.com> spencer@panix.com (David Spencer) writes:
>>I installed the XR5 stuff from wuarchive and set DISPLAY and PATH.
>>Everything runs fine (although _painfully_ slowly) under MacX and runs
>>(quickly, but without mac access) when run as an X11R5 session.
>>
>>I have two problems:
>>
>>1. scroll bars only scroll down, not up. I have this problem in every
>>X client and under both MacX and X11R5 session.

X has three mouse buttons. The first (or left), which is bound to the
physical mouse button, does scroll-down. The second/middle, which is
bound to the left-arrow (or option-left-arrow in MacX if you set your
preferences accordingly), lets you move the scroll bar to a position.
The third/right, which is bound to right-arrow, does scroll-up.

Actually, X has five mouse buttons, but no one uses four and five (thank
goodness!).

>>2. When I try to run xinit or startx from the CommandShell (MacX not
>>running), I get
>>
>>Fatal server error:
>>ioctl I_STR VIDEOMAP_SLOT failed
>>giving up
>>xinit: Connection refused (errno 81): unable to connect to X server
>>xinit: No such process (errno 3): Server error
>>can't ioctl(): invalid argument
>>
>>I'm a _complete_ X neophyte (pretty newbie at unix generally...). What
>>am I missing?

>I am getting the same error message when I try to start X11 on my 
>Q700 with the last beta of A/UX 3.0.  Does anyuone have an answer for this?

Both of these should be made FAQs (if they're not already). You can't
start the X server from within CommandShell; both the X server and the
MacOS emulation environment want total control of the screen/keyboard/
mouse. You need to start it from Console Emulator or from a session type
for X (if you've installed my sessiontypes or Apple's X11 product, there
should be entries in the Session Type menu for X).

>BTW, I have some other A/UX questions:

>1) I just bought a cordless mouse called "ZNix" from Media Cosm (advertises
>in MacWeek). It requires a cpanel to prorgam the right mouse button. The Znix
>cpanel works fine under Sys 7.01 but the icon comes up Xed out when installed
>in A/UX. So, it appears that A/UX isn't recognizing the mouse for the cpanel.
>Huh?

A/UX does not support the ADB manager, which is used to talk to things
like mice. It sort-of-supports a subset of it, obviously, or you
couldn't read the mouse at all (nor the keyboard), but there's no
user-level access to it. Hopefully this will be fixed in some release;
it would be nice to use some ADB things under A/UX.

>3) When the NEC driver is installed in the A/UX "System Folder" I get an unimplemented
>trap error and am told to restart holding down the shift key to disable  extensions.
>unfortunately, holding the shift key down doesn't appear to disable cfolder
>extension on A/UX partitions. I found that I could get a limited A/UX shell by
>control-c killing the bootup process. I was then able to 'rm' the NEC driver
>from the A/UX 'System Folder' and then reboot A/UX.

A/UX doesn't support the SCSI Manager either. Control panels and
Extensions which are used to set up SCSI devices won't work. Most SCSI
devices (but apparently not your NEC CD-ROM) are supported by the A/UX
generic SCSI driver.

--John

        Let your mind go, and your body will follow.
                -- _L.A._Story_

+++John L. Coolidge++til May:coolidge@cs.uiuc.edu++May:coolidge@apple.com++
I speak for myself, not the UofI or Apple. Copyright 1992 John L. Coolidge.
Copying allowed only if attributed and if all copies may be further copied.