Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 1998 03:54:29 -0800 (PST)
From:      pc@inr.fzk.de
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/6190: sdr-2.4a7 (and 2.3a1) : Calendar doesn't work right (+ "fix")
Message-ID:  <199804011154.DAA12310@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804011154.DAA12310>