head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.54 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.50 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.48 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.46 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.44 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.42 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.40 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1; locks; strict; comment @# @; 1.3 date 2000.12.17.23.41.09; author wiz; state dead; branches; next 1.2; 1.2 date 99.10.28.19.04.57; author jlam; state Exp; branches; next 1.1; 1.1 date 99.10.07.17.23.01; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Move lots of packages to new time category; fix links; add time subcategory to main Makefile. @ text @$NetBSD: patch-ac,v 1.2 1999/10/28 19:04:57 jlam Exp $ --- asclock.man.orig Wed Sep 16 11:56:00 1998 +++ asclock.man Thu Oct 28 13:14:36 1999 @@@@ -1,14 +1,18 @@@@ -.TH asclock 0.99 "23 July 1996" asclock +.TH asclock 1.0 "11 April 1998" asclock .UC .SH NAME \fBasclock\fP \- the AfterStep clock .SH SYNOPSIS .B asclock -[ -help] [-12 | -24] [-shape] - [-position \fI[+|-]x[+|-]y\fP] +[ -help] [-12 | -24] [-shape] [-exe \fIprogram\fP] [-led \fIcolor\fP] - [-noblink] [-iconic] + [-clockxpm \fIxpm\fP] + [-monthxpm \fIxpm\fP] + [-weekdayxpm \fIxpm\fP] + [-year] + [-position \fI[+|-]x[+|-]y\fP] + [-noblink] [-iconic] [-dock] .SH DESCRIPTION The \fBasclock\fP is a clock written to emulate the date/time application on the NEXTSTEP(tm) operating system. \fBasclock\fP supports multiple languages, @@@@ -23,12 +27,17 @@@@ where options include: -12 12 hour format -24 24 hour format + -shape without groundplate -exe program to start on click -led color of the led + -clockxpm clock xpm + -monthxpm month xpm + -weekdayxpm weekday xpm + -year show year instead of time -position [+|-]x[+|-]y position of asclock - -shape without groundplate -noblink don't blink -iconic start up as icon + -dock Window Maker docking .fi .RE .IP "-12 or -24" @@@@ -50,6 +59,22 @@@@ .I showrgb .P (part of X11). .RE +.IP "-monthxpm " +.RS +specifies the XPM file for the month pages. +.RE +.IP "-clockxpm " +.RS +specifies the XPM file for the clock and calendar display. +.RE +.IP "-weekdayxpm " +.RS +specifies the XPM file for the weekday pages. +.RE +.IP "-year" +.RS +shows the current the year in the display instead of the current time. +.RE .IP "-position [+|-]x[+|-]y " .RS specifies the starting position of \fBasclock\fP. The [+|-] works like the standard X-Windows x/y geometry option. @@@@ -66,6 +91,10 @@@@ .RS This gives weird output with AfterStep, so don't bother. It's for mwm and other wm's with no hint functionality. .RE +.IP "-dock" +.RS +starts \fBasclock\fP in docking mode. This option is necessary to dock \fBasclock\fP in the Window Maker dock. \fBasclock\fP ignores the -iconic option when started in docking mode. +.RE .SH INVOCATION \fBasclock\fP can be called from one of many ways. The most common invocation is the command line: @@@@ -86,6 +115,14 @@@@ will cause \fBasclock\fP to use the shape extensions so that it will be a button on the \fBWharf (1)\fP button bar under the \fBafterstep (1)\fP window manager. + +If you run Window Maker then you should use the "-dock" option: +.nf + + [user@@host] ~% asclock -shape -12 -dock & + +.fi +and then drag the icon to the dock. .SH BUGS we don't have bugs :) .SH COPYRIGHTS @ 1.2 log @Internationalize asclock (hi, Hubert!). Asclock now respects the environment setting LANG= or can be started with the option "-lang ", where is a two-letter country abbreviation as found in /usr/share/misc/language. Also, change MAINTAINER to jlam@@netbsd.org. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @* fetch aslock from the One True Source http://www.asclock.org/ * modify our local patches to add new -dock option to asclock. This used to be called "-withdrawn" before, but was changed to match the options of the other "official" asclock distributions. * install the month and day XPMs for other languages in the name of internationalization @ text @d3 93 a95 9 --- ./Imakefile.orig Wed Sep 16 11:56:00 1998 +++ ./Imakefile Thu Oct 7 01:28:40 1999 @@@@ -1,5 +1,5 @@@@ -XPMLIB = -L/usr/lib/X11 -lXpm +XPMLIB = -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXpm DEPLIBS = $(DEPXLIB) LOCAL_LIBRARIES = $(XPMLIB) $(XLIB) @