[comp.unix.sysv386] Roell's port of Xview2.0

grant@gouche.UUCP (Grant Munsey) (02/27/91)

I just finished building T. Roell's port of Xview 2.0 for X386 v1.1.
I have noticed quite a few bugs in this port. Is this due to:
	1) A problem on my part (I'm using ISC 2.2, gcc 1.39)
	2) An incomplete port (I realize it's a lot of work!)
	3) Bugs in Xview 2.0

The biggest problems so far are:
1) code in the xview library wasn't handling meta modifiers
   properly so I couldn't use the quick key combinations in textedit.
2) cmdtool is flakey unless you turn off scrollbars.
3) cmdtool uses pts and thus dosn't seem to support TIOCWINSIZE or
   job control.

Anybody using xview under X386 on a day to day basis?
-- 
Grant Munsey, Mainticore, Inc. (408) 733-3838
grant@gouche.portal.com  or  {uunet!opusys,decwrl!apple!portal}!gouche!grant

roell@informatik.tu-muenchen.de (Thomas Roell) (02/27/91)

>1) code in the xview library wasn't handling meta modifiers
>   properly so I couldn't use the quick key combinations in textedit.

I never looked at this part of the code. But it seems to be a bug in XView 2.0
itself.

>2) cmdtool is flakey unless you turn off scrollbars.

On a SPARC 1 I had quite similar problems ...

>3) cmdtool uses pts and thus dosn't seem to support TIOCWINSIZE or
>   job control.

The real big problem is the the ttysw stuff in XView 2.0 is sooo BSD 
specific, that I failed to get all things working. For example in BSD
there is a packet-mode for transmitting date between pty and application.
Also the signal-handling of the ptys is broken, since the is no
TIOCPGRP in SysV. But I think, the most XView application still work under
SysV 3.2.

- Thomas
--
_______________________________________________________________________________
E-Mail (domain):	 roell@lan.informatik.tu-muenchen.de
UUCP (if above fails):   roell@tumult.{uucp | informatik.tu-muenchen.de}
famous last words: "diskspace - the final frontier..."

dawes@suphys.physics.su.OZ.AU (David Dawes) (02/28/91)

In article <1991Feb27.104819.26082@newsserv.informatik.tu-muenchen.de> roell@informatik.tu-muenchen.de (Thomas Roell) writes:
>>2) cmdtool is flakey unless you turn off scrollbars.
>
>On a SPARC 1 I had quite similar problems ...

From my experience with cmdtool (on both XView and SunView), its always
been like that.  I guess that's why when it's started under the name
`shelltool' the scrollbars are disabled.

>>3) cmdtool uses pts and thus dosn't seem to support TIOCWINSIZE or
>>   job control.
>
>The real big problem is the the ttysw stuff in XView 2.0 is sooo BSD 
>specific, that I failed to get all things working. For example in BSD
>there is a packet-mode for transmitting date between pty and application.
>Also the signal-handling of the ptys is broken, since the is no
>TIOCPGRP in SysV. But I think, the most XView application still work under
>SysV 3.2.

I made an attempt at getting this stuff to work under (BSD 4.2 derived)
Ultrix 3.1 -- and had similar problems caused by the lack of some of
those ioctls.

David
--
------------------------------------------------------------------------------
 David Dawes (dawes@suphys.physics.su.oz.au) DoD#210   | Phone: +612 692 2639
 School of Physics, University of Sydney, Australia    | Fax:   +612 660 2903
------------------------------------------------------------------------------