Subject: Re: X display tectonics
To: David Brownlee , Colin Wood <cwood@ichips.intel.com>
From: T. Sean (Theo) Schulze <tschulze@compuserve.com>
List: port-mac68k
Date: 02/17/1998 13:07:52
Thanks David, Colin and Paul.

On 2/16/98 23:14, Colin Wood at cwood@ichips.intel.com wrote:

>
>David Brownlee wrote:
>> 	The system is outputting a line to the console indicating
>> 	an 'su' has taken place. You should really run xconsole or
>> 	one 'xterm -C' to capture this console output.
>
>I think that this requires "options UCONSOLE" in the kernel config file,=

>but the GENERIC kernels do include this option.
> =


I checked the xterm man page, and the flag "-C" is supposed to send =

console output to the xterm window so blessed.  'Course the man page also=
 =

says this option is not supported on all systems.  I normally run with =

one window set up with the "-C" flag, and that window runs in the =

foreground so that when I exit that xterm, I exit X Window.  I've just =

run some tests using the "-C" flag on some other windows to see if I =

could use the "-C" flag in a window called specifically to do a su, but =

in each case I still got the shift I described.  I can report, however, =

that xrefresh works well. :-)

Note also that I am running GENERICSBC#56, so if this option needs to be =

compiled into the kernel, it would appear it was not compiled into =

GENERICSBC#56.

>> On Mon, 16 Feb 1998, T. Sean (Theo) Schulze wrote:
>> =

>> > Whenever I am running X under my own account and I su to root in one=
 of =

>> > the xterms, the left hand side of the screen shifts up one line.  Th=
e =

>> > shifted section is about as wide as my system prompt, and there is a=
 =

>> > small one-line high bit of black and white at the bottom left-hand c=
orner =

>> > of the screen.  All the icons and windows lying on the "fault line" =
get =

>> > shifted also, and I usually make the windows into icons or vice vers=
a to =

>> > get most everything back to looking like it should.  Generally, I ha=
ve to =

>> > do something to cause a screen redraw to make it go away completely.=

>> > =

>> > I suspect what is happening is that somehow after I su, the new syst=
em =

>> > prompt is getting partially printed to the display.  Does anyone els=
e =

>> > have this problem?  I don't see anything about this in the (April '9=
7) =

>> > FAQ.  Can I do something to make this stop, or should I just live wi=
th =

>> > it?  I just noticed that even though xset has blanked the screen, wh=
en I =

>> > telneted in and su'd, the blanked screen shifted.
>
>Just wondering, what FAQ was this that you were looking at?
>

The FAQ I was looking at was the NetBSD/mac68k FAQ with Answers v1.2.1, =

21 April, 1997.  I apologize if this is covered in a newer version of the=
 =

FAQ.  I'll pull down a newer one tonight and go over it.  (Good to be =

current anyway!)

>> > System Info:
>> > IIci running in 1.3 and the 1.3 X with 24MB RAM, 24MB swap on a Quan=
tum =

>> > Maverick 540MB hard drive.  I am running X in color using the lkm an=
d =

>> > color server.  I have an Apple High Resolution NUBUS board installed=
=2E  =

>> > Kernel is GENERICSBC#56.
>
>I you were running X in B&W mode, you would actually see the message tha=
t
>it outputs.  For some reason, the text that prints after the screen
>switches modes is all scrunched up.
>
>> > I don't think the system has much to do with it though, because I us=
ed to =

>> > have this problem with the 1.2 ditribution too.
>
>Make sure that you have the 1.3 version of xterm or xconsole if you are
>going to try David's idea.  The 1.2 versions didn't seem to work.
>
Yep.  Thanks to you (Colin) and Mark Andres, I was able to upgrade to the=
 =

1.3 X distribution. (Good job, guys! Thanks!)

BTW, going back over some messages I had missed over the last couple of =

weeks, I noticed a reference to trying to solve this problem by editing =

syslog.conf.  I haven't really look too deaply into that, but I wonder if=
 =

it would work.  Essentially, I would be trying to get the system to not =

put up a command prompt in a window.  That could work too well, and when =

I su'd, I wouldn't have a system prompt at all. :-\

Regards,

Sean


                 T. Sean (Theo) Schulze
71410.25@compuserve.com            TSSchulze@aol.com
****************************************************
                 =

                      One world.
                       =