bin/64251: -font option for `xclock -digital' no workie

Ronald F.Guilmette rfg at monkeys.com
Sun Mar 14 01:20:05 PST 2004


>Number:         64251
>Category:       bin
>Synopsis:       -font option for `xclock -digital' no workie
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 14 01:20:04 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ronald F. Guilmette
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Infinite Monkeys & Co.
>Environment:
System: FreeBSD segfault.monkeys.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Sat Mar 13 19:19:29 PST 2004 root at segfault.monkeys.com:/usr/src/sys/i386/compile/rfg20040313-4 i386

>Description:

On upgrading from FreeBSD 4.7 to 5.2.1, I found that the -font option for the
`xclock -digital' command is no longer functional.  It seems to be accepted,
but has no effect.  (It still works just fine on xterm however.)

This is bumming me out. :-(

>How-To-Repeat:

First, do:
	xclock -digital &

Then do:
	xclock -digital -font 12x24 &

then look at both clock displays.  You will see that the font is the same
one in both cases (i.e. some default font that xclock is using).

When you have done that, then try:

	xterm &
	xterm -font 12x24 &

and you'll see that the two fonts in this case are clearly VERY different.

>Fix:

Beats me!

The xclock man page talks about ``widgets'' and ``the clock widget'',
but I am not exactly an Xpert, so this stuff is all greek to me.  I
suppose that if I grunged around long enough, and begged for help from
the Right People, then somebody would take pity on me and enlighten me
as to which file on disk, exactly, the font for xclock needs to be
specified in.  But that is pretty much besides the point.

The point is, why doesn't the old -font command line option (for xclock)
which worked fine under FreeBSD 4.7 still work?  And if that option is
no longer accepted by xclock, then why doesn't its use produce some sort
of an error when xclock is invoked?  (It seems rather rude to accept an
option, but then just IGNORE the bloody thing.  At the very least, it is
rather unhelpful.)

Something is rotten here.

Could somebody please as least add something to the SEE ALSO portion of
the xclock man page... hopefully some helpful pointer to some other
document or man page that would enlighten idiots like me about where to
go in order to diddle the ``font resource'' for the ``Clock widget''?

(Of course, I assume that even if I _do_ diddle that, it will have a
global effect upon all instances of xclock, so maybe that ain't so
swell afetr all, and the command line -font option really should be
made to work... again.)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list