NetBSD Problem Report #35309

From www@NetBSD.org  Thu Dec 21 18:15:51 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id 2177363BA6D; Thu, 21 Dec 2006 18:15:51 +0000 (UTC)
Message-Id: <20061221181551.2177363BA6D@narn.NetBSD.org>
Date: Thu, 21 Dec 2006 18:15:51 +0000 (UTC)
From: sigmfsk@aol.com
Reply-To: sigmfsk@aol.com
To: gnats-bugs@NetBSD.org
Subject: TME sun3 emulator, running without a window manager, overwrites tmesh prompt
X-Send-Pr-Version: www-1.0

>Number:         35309
>Category:       pkg
>Synopsis:       TME sun3 emulator, running without a window manager, overwrites tmesh prompt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 21 18:20:02 +0000 2006
>Closed-Date:    Sun May 15 00:42:05 +0000 2022
>Last-Modified:  Sun May 15 00:42:05 +0000 2022
>Originator:     Arthur Townsend
>Release:        3.1
>Organization:
>Environment:
3.1 for i386
>Description:
When TME starts, it requires mouse-input to open the two GTK console X windows.  If desired, TME can be started automatically without operator mouse input by running TME without a window manager (remove twm from the .xinitrc file).  But in this scenario the TME console windows overwrite the original terminal window with the tmesh> prompt.  The following patch is merely a nice-to-have that, in the case of running without a window manager, TME creates the GTK console windows in the middle of the screen, thereby allowing the tmesh> prompt to be seen.  When run with a window manager, there is no change in functionality, as the mouse position decides the original GTK console window position.
>How-To-Repeat:

>Fix:
--- gtk-screen.c.orig   2006-12-18 09:35:14.000000000 -0500
+++ gtk-screen.c        2006-12-18 09:36:18.000000000 -0500
@@ -537,6 +537,8 @@
      and auto-shrink: */
   screen->tme_gtk_screen_window
     = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+  gtk_window_set_position(GTK_WINDOW(screen->tme_gtk_screen_window),
+                          GTK_WIN_POS_CENTER);
   gtk_window_set_policy(GTK_WINDOW(screen->tme_gtk_screen_window),
                        TRUE, TRUE, TRUE);

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->fredette
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Fri, 22 Dec 2006 00:03:00 +0000
Responsible-Changed-Why:
Assign to the package author.


From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35309 CVS commit: pkgsrc/emulators/tme
Date: Sat, 17 Mar 2007 13:44:21 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tsutsui
 Date:		Sat Mar 17 13:44:20 UTC 2007

 Modified Files:
 	pkgsrc/emulators/tme: Makefile distinfo
 	pkgsrc/emulators/tme/patches: patch-ac
 Added Files:
 	pkgsrc/emulators/tme/patches: patch-ab patch-ai patch-aj patch-ak
 	    patch-al patch-am patch-an patch-ap patch-aq patch-ar patch-aw
 	    patch-ax patch-az patch-ba patch-bb patch-bc patch-bd patch-be

 Log Message:
 Apply various fixes. Most of them are contributed by Arthur Townsend
 (see his ILVSUN3 page http://www.ilvsun3.com/ for more details),
 and some others are from skrll and me.

 patch-ab: (from skrll)
  fix an invalid pointer cast for -fstrict-aliasing

 patch-a[cijklmn]: PR pkg/34113 (by me)
  - specify -fno-strict-aliasing in Makefiles (for workaround)
  - add several casts to appease -Wpointer-sign
  - remove a static decl from a global function
  - add a cast and remove unused variable

 patch-ap: (from Arthur, tweaked by me)
  disable "cannot generate keysym" warnings on tmesh startup

 patch-aq: PR pkg/33969 (from Arthur)
  TME sun3 emulator incorrectly emulates cmp2 and chk2 M68K instructions

 patch-ar: PR pkg/34538 (from Arthur)
  TME sun3 emulator incorrectly calculates EA with immediate mode
  instructions with PC indirect 16-bit displacement addressing

 patch-aw: PR pkg/35010 (from Arthur)
  sun3 emulator asserts when using stdin/stdout for emulated serial console

 patch-ax: PR pkg/35009 (from Arthur)
  TME sun3 emulator asserts when running two emulators with ethernet

 patch-az: PR pkg/35305 (from Arthur, with some minor tweaks by me)
  TME sun3 emulator incorrectly emulates ethernet obie & i825x6 hardware

 patch-ba: PR pkg/35309 (from Arthur)
  TME sun3 emulator, running without a window manager,
  overwrites tmesh prompt

 patch-bb: PR pkg/34690 (from Arthur, modified by me)
  TME sun3 emulator incorrectly performs: movel sp,-(sp)
  (also modify m68k-insns-auto.sh to mark cas instructions CANFAULT)

 patch-bc: PR pkg/34571 (from Arthur, modified by me)
  TME sun3 emulator doesn't consider floating point infinities to be equal

 patch-bd: (by me)
  - avoid invalid 32 bit shifts in fb-xlat-auto.sh,
    which may cause broken screen fonts when tme is compiled with gcc4

 patch-be: (by me)
   fix decoding cas instructions

 Makefile: (by me)
  - add some CONFIGURE_ARGS to avoid invalid shifts more than
   (or equal to) variable sizes, which could be problematic on gcc4
  - bump PKGREVISION


 To generate a diff of this commit:
 cvs rdiff -r1.13 -r1.14 pkgsrc/emulators/tme/Makefile
 cvs rdiff -r1.6 -r1.7 pkgsrc/emulators/tme/distinfo
 cvs rdiff -r0 -r1.3 pkgsrc/emulators/tme/patches/patch-ab
 cvs rdiff -r1.3 -r1.4 pkgsrc/emulators/tme/patches/patch-ac
 cvs rdiff -r0 -r1.1 pkgsrc/emulators/tme/patches/patch-ai \
     pkgsrc/emulators/tme/patches/patch-aj \
     pkgsrc/emulators/tme/patches/patch-ak \
     pkgsrc/emulators/tme/patches/patch-al \
     pkgsrc/emulators/tme/patches/patch-am \
     pkgsrc/emulators/tme/patches/patch-an \
     pkgsrc/emulators/tme/patches/patch-ap \
     pkgsrc/emulators/tme/patches/patch-aq \
     pkgsrc/emulators/tme/patches/patch-ar \
     pkgsrc/emulators/tme/patches/patch-aw \
     pkgsrc/emulators/tme/patches/patch-ax \
     pkgsrc/emulators/tme/patches/patch-az \
     pkgsrc/emulators/tme/patches/patch-ba \
     pkgsrc/emulators/tme/patches/patch-bb \
     pkgsrc/emulators/tme/patches/patch-bc \
     pkgsrc/emulators/tme/patches/patch-bd \
     pkgsrc/emulators/tme/patches/patch-be

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: fredette->pkg-manager
Responsible-Changed-By: spz@NetBSD.org
Responsible-Changed-When: Tue, 14 Apr 2009 20:50:08 +0000
Responsible-Changed-Why:
fredette is status observer now and thus can't fix this


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 00:42:05 +0000
State-Changed-Why:
tsutsui@ apparently committed a fix in 2007


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.