NetBSD Problem Report #35309

From  Thu Dec 21 18:15:51 2006
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id 2177363BA6D; Thu, 21 Dec 2006 18:15:51 +0000 (UTC)
Message-Id: <>
Date: Thu, 21 Dec 2006 18:15:51 +0000 (UTC)
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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 21 18:20:02 +0000 2006
>Last-Modified:  Tue Apr 14 20:50:08 +0000 2009
>Originator:     Arthur Townsend
>Release:        3.1
3.1 for i386
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.

--- 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: */
     = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+  gtk_window_set_position(GTK_WINDOW(screen->tme_gtk_screen_window),
+                          GTK_WIN_POS_CENTER);
                        TRUE, TRUE, TRUE);



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

From: Izumi Tsutsui <>
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 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 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,
    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

 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 \

 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-When: Tue, 14 Apr 2009 20:50:08 +0000
fredette is status observer now and thus can't fix this


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.