From owner-freebsd-ports Wed Apr 1 04:00:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12872 for freebsd-ports-outgoing; Wed, 1 Apr 1998 04:00:03 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA12865; Wed, 1 Apr 1998 04:00:02 -0800 (PST) (envelope-from gnats) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA12310; Wed, 1 Apr 1998 03:54:29 -0800 (PST) (envelope-from nobody) Message-Id: <199804011154.DAA12310@hub.freebsd.org> Date: Wed, 1 Apr 1998 03:54:29 -0800 (PST) From: pc@inr.fzk.de To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/6190: sdr-2.4a7 (and 2.3a1) : Calendar doesn't work right (+ "fix") Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6190 >Category: ports >Synopsis: sdr-2.4a7 (and 2.3a1) : Calendar doesn't work right (+ "fix") >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 1 04:00:01 PST 1998 >Last-Modified: >Originator: Peter Cornelius >Organization: Forschungszentrum Karlsruhe >Release: FreeBSD 2.2.5-RELEASE >Environment: FreeBSD inr-delphi.fzk.de 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Fri Jan 23 20:26:48 CET 1998 root@inr-delphi.fzk.de:/usr/src/sys/compile/INR-DELPHI i386 (but with some more recent sys sources) >Description: Calling 'Calendar' from the sdr menu, a error tcl window pops open saying setlocale: file not found or something like that. The (other) window that supposedly shows the calendar then stays empty. This is probably a more general problem, but so far I haven't had the time to track it down. For now, I can live with my "fix". This also occurs on a "clean" 2.2.5R machine that I use at home (also Pentium w/. 32 MB RAM). All I did was to throw away the error message. Obviously, this doesn't cure the problem, but it makes its symptoms go away. >How-To-Repeat: Click 'Calendar' button in sdr. >Fix: Here's a diff -c sdr.tcl sdr.tcl.orig, made in ${WRKSRC}/src/: *** sdr.tcl Wed Apr 1 13:27:34 1998 --- sdr.tcl.orig Wed Apr 1 12:47:04 1998 *************** *** 3126,3132 **** incr mon -12 incr year } ! set cal [exec cal $mon $year 2>/dev/null] .cal.f0.c addtag mon$i withtag \ [.cal.f0.c create text [expr $i*$fw*32] 0 -anchor nw\ -fill $fg -font $font] --- 3126,3132 ---- incr mon -12 incr year } ! set cal [exec cal $mon $year] .cal.f0.c addtag mon$i withtag \ [.cal.f0.c create text [expr $i*$fw*32] 0 -anchor nw\ -fill $fg -font $font] >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message