Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc
Archive   : DVXCLOCK.ZIP
Filename : CLOCK.MAN

 
Output of file : CLOCK.MAN contained in archive : DVXCLOCK.ZIP
NAME

Clock - DESQview/X Analog/Digital Clock


DESCRIPTION

The Clock program displays the time in analog and digital forms.

The time is continuously updated at a frequency which can be specified by
the user.

Press any key or click on any mouse button to switch between a
conventional 12-hour analog clock, an "ampm" 12-hour digital clock and
a "military" 24-hour digital clock.

A stopwatch option is also provided which displays in the 24-hour digital
format with standard 2-button (Start/Stop and Lap/Reset) functionality.


SYNOPSIS

clock [options]

options:

[{-dp | -display} ]

[{-ti | -title} ]
[{-g | -geometry} [][x][{+-}[{+-}]]]
[{-pd | -padding} ]

[{-in | -iconname} ]
[{-ig | -icongeometry} [][x][{+-}[{+-}]]]
[{-ic | -iconic}]

[{-an | -analog} | {-d | -digital} | -ampm]
[{-ns | -noswitch}]

[{-sw | -stopwatch}]

[{-up | -update} ]
[{-ch | -chime}]
[{-of | -offset} [{+-}]
[{-fn | -font} ]
[{-sfn | -sfont} -[-[-[-]]]]

[{-rv | -reverse}]
[{-bg | -background} ]
[{-fg | -foreground} ]
[{-hd | -hands} ]
[{-hl | -highlight} ]
[{-hr | -hours} ]

[{-ro | -roman}]
[{-3 | -mult3}]
[{-nh | -nohours}]
[{-nt | -noticks}]

[-xrm :]
[-name ]

[-help]


EXAMPLES

Display three separate clocks with differing titles, hour offsets and window
positions:

clock -title Hawaii -offset -3 -g 160x160+0+0
clock -title "Los Angeles" -g 160x160+160+0
clock -title "New York" -offset +3 -g 160x160+320+0

Start three separate iconified clocks with differing titles, hour offsets
and colors:

clock -title Hawaii -offset -3 -iconic -bg green -fg white
clock -title "Los Angeles" -iconic -bg yellow
clock -title "New York" -offset +3 -iconic -bg LightGray

Start three separate clocks using the -name option to retrieve differing
resource values from the default \DVX\APP-DEFA\CLOCK.RES resource database
file:

clock -name hawaii
clock -name losAngeles
clock -name newYork

Start a stopwatch clock with a specified title:

clock -sw -title StopWatch


OPTIONS

-dp or -display

Specifies the default host and display number.

-ti or -title <br /> <br /> Specifies the title for the clock's main and icon windows.<br /> <br /> The default is "Clock".<br /> <br /> -g or -geometry <width>x<height>{+-}<xoffset>{+-}<yoffset><br /> <br /> Specifies the initial window geometry (dimensions and position) in pixels.<br /> <br /> The default is "164x164+0+0" for analog and "164x41+0+0" for digital clocks.<br /> <br /> -pd or -padding <pixels><br /> <br /> Specifies the width in pixels of the padding between the window border and<br /> face of an analog clock.<br /> <br /> The default is 0.<br /> <br /> -in or -iconname <title><br /> <br /> Specifies the title for the clock's icon window.<br /> <br /> The default is "Clock".<br /> <br /> -ig or -icongeometry<br /> [<width>][x<height>]<br /> [{+-}<xoffset>[{+-}<yoffset>]]<br /> <br /> Specifies the icon's window geometry (dimensions and position) in pixels.<br /> <br /> The default is determined by the window manager.<br /> <br /> -ic or -iconic<br /> <br /> Indicates that the clock's window should start up iconified.<br /> <br /> This is not the default.<br /> <br /> -an or -analog<br /> <br /> Indicates that the clock should start up as a conventional 12-hour analog<br /> clock face with hour numbers (1 - 12), tick marks and hands.<br /> <br /> This is the default.<br /> <br /> -d or -digital<br /> <br /> Indicates that the clock should start up as a 24-hour digital clock.<br /> <br /> The default is an analog clock.<br /> <br /> -ampm<br /> <br /> Indicates that the clock should start up as a 12-hour digital clock that<br /> also displays "a" when A.M. and "p" when P.M.<br /> <br /> The default is an analog clock.<br /> <br /> -ns or -noswitch<br /> <br /> Indicates that the clock does not switch between 12-hour analog, 12-hour<br /> digital and 24-hour digital modes when a key is pressed or mouse button is<br /> clicked.<br /> <br /> This is not the default.<br /> <br /> -sw or -stopwatch<br /> <br /> Indicates that the clock should start up as a 24-hour digital stopwatch<br /> with the standard 2-button (Start/Stop and Lap/Reset) functionality.<br /> Press Button 1 or the Space key for Start/Stop. Press Button 3 or the Esc<br /> key for Lap/Reset.<br /> <br /> This is not the default.<br /> <br /> -up or -update <seconds><br /> <br /> Specifies the frequency in seconds at which the clock should update its<br /> display. If the clock is obscured and then exposed, it will be updated<br /> immediately.<br /> <br /> A value of 60 seconds or less will enable a second hand on an analog clock<br /> and seconds digits on a digital clock.<br /> <br /> The default is 1 second.<br /> <br /> -of or -offset [{+-}]<hh:mm:ss><br /> <br /> Specifies the plus or minus time offset (in hours[:minutes[:seconds]]) to<br /> add to the time reported by the system clock.<br /> <br /> The default is 0 (no offset).<br /> <br /> -ch or -chime<br /> <br /> Indicates that the clock should chime once on the half hour and twice on<br /> the hour.<br /> <br /> This is not the default.<br /> <br /> -fn or -font <font name><br /> <br /> Specifies the font (scalable or non-scalable) to be used for displaying<br /> the hour numbers on an analog clock and the digits on a digital clock.<br /> <br /> The default is NULL.<br /> <br /> -sfn or -sfont -<foundry>[-<family>[-<weight>[-<slant>]]]<br /> <br /> Specifies the scalable font's foundry, family, weight and slant to be used<br /> for displaying the hour numbers on an analog clock and the digits on a<br /> digital clock.<br /> <br /> The default is "-adobe-times-bold-r".<br /> <br /> -rv or -reverse<br /> <br /> Indicates that the clock colors should display in reverse-video, with the<br /> background color defaulting to black and the foreground to white.<br /> <br /> This is not the default.<br /> <br /> -bg or -background <color><br /> <br /> Specifies the background color of the clock.<br /> <br /> If reverse-video is specified, the default is black. Otherwise, the<br /> default is white.<br /> <br /> -fg or -foreground <color><br /> <br /> Specifies the color of the tick marks on an analog clock and the digits<br /> on a digital clock.<br /> <br /> If reverse-video is specified, the default is white. Otherwise, the<br /> default is black.<br /> <br /> -hd or -hands <color><br /> <br /> Specifies the color of the insides of the hands on an analog clock.<br /> <br /> If reverse-video is specified, the default is white. Otherwise, the<br /> default is black.<br /> <br /> -hl or -highlight <color><br /> <br /> Specifies the color used to highlight the edges of the hands on an analog<br /> clock.<br /> <br /> If reverse-video is specified, the default is white. Otherwise, the<br /> default is black.<br /> <br /> -hr or -hours <color><br /> <br /> Specifies the color of the hour numbers on the face of an analog clock.<br /> <br /> If reverse-video is specified, the default is white. Otherwise, the<br /> default is black.<br /> <br /> -ro or -roman<br /> <br /> Indicates that Roman numerals (I - XII) should be used as the hour numbers<br /> of an analog clock instead of the normal Arabic numeral digits (1 - 12).<br /> Note that the Clock program uses the "IIII" convention instead of "IV"<br /> for the hour number "4".<br /> <br /> This is not the default.<br /> <br /> -3 or -mult3<br /> <br /> Indicates that only the hour numbers which are multiples of 3 (3, 6, 9, 12<br /> or III, VI, IX, XII) should be displayed on the face of an analog clock.<br /> <br /> This is not the default.<br /> <br /> -nh or -nohours<br /> <br /> Indicates that no hour numbers should be displayed on the face of an analog<br /> clock.<br /> <br /> This is not the default.<br /> <br /> -nt or -noticks<br /> <br /> Indicates that no tick marks should be displayed on the face of an analog<br /> clock.<br /> <br /> This is not the default.<br /> <br /> -xrm <resource name/class storage key>:<resource value><br /> <br /> Stores a fully-specified resource name/class storage key and value pair<br /> into the application's resource database file(s) for later retrieval.<br /> <br /> -name <resource name retrieval key parent><br /> <br /> Specifies the parent component of the resource name retrieval key used<br /> to retrieve values from the application's resource database file(s).<br /> <br /> The default is "clock".<br /> <br /> -help or any unsupported option<br /> <br /> Indicates that a brief summary of the allowed options should be printed on<br /> the standard error output device.<br /> <br /> <br /> RESOURCE OPTIONS<br /> <br /> Option Name Class Default Value<br /> ------ ---- ----- -------------<br /> <br /> -title title Title Clock<br /> -geometry geometry Geometry 164x164<br /> -padding padding Margin 0<br /> <br /> -iconname iconName Title Clock<br /> -icongeometry iconGeometry Geometry NULL<br /> <br /> -iconic iconStartup Boolean False<br /> <br /> -analog analog Boolean True<br /> -digital<br /> -ampm ampm Boolean False<br /> -noswitch switchModes Boolean True<br /> <br /> -stopwatch stopWatch Boolean False<br /> <br /> -update update Interval 1<br /> -chime chime Boolean False<br /> -offset timeOffset Time 0<br /> <br /> -font font Font NULL<br /> -sfont scalableFont ScalableFont -adobe-times-bold-r<br /> <br /> -reverse reverseVideo ReverseVideo False<br /> -foreground foreground Foreground black<br /> -background background Background white<br /> -hands hand Foreground black<br /> -highlight highlight Foreground black<br /> -hours hour Foreground black<br /> <br /> -roman romanNumerals Boolean False<br /> -mult3 multiplesOf3 Boolean False<br /> -nohours showHours Boolean True<br /> -noticks showTicks Boolean True<br /> <br /> <br /> DOS ENVIRONMENT VARIABLES<br /> <br /> DISPLAY=<display name><br /> <br /> Specifies the default host and display number.<br /> <br /> HOME=<home directory><br /> <br /> Specifies the "home" directory used to form the path of a resource file that<br /> overrides the global resources.<br /> <br /> XENVIRONMENT=<resource file><br /> <br /> Specifies the name of a resource file that overrides the global resources.<br /> <br /> <br /> RESOURCE SPECIFICATIONS<br /> <br /> \DVX\APP-DEFA\CLOCK.RES resource file<br /> <br /> RESOURCE_MANAGER server property<br /> <br /> %HOME%\XDEFAULT.RES resource file<br /> <br /> %XENVIRONMENT% resource file<br /> <br /> %HOME%\<host>\XDEFAULT.RES resource file<br /> <br /> command-line options<br /> <br /> <br /> RESOURCE NAME AND CLASS KEY PARENTS<br /> <br /> Name Key Parent: clock<br /> Class Key Parent: Clock<br /> <br /> <br /> SAMPLE RESOURCE FILE (\DVX\APP-DEFA\CLOCK.RES)<br /> <br /> # class-level resources set to application's default values.<br /> <br /> Clock*Title: Clock<br /> <br /> Clock*Foreground: black<br /> Clock*Background: white<br /> <br /> Clock.geometry: 164x164<br /> Clock.padding: 0<br /> <br /> Clock.iconStartup: False<br /> <br /> Clock.analog: True<br /> Clock.ampm: False<br /> Clock.switchModes: True<br /> <br /> Clock.stopWatch: False<br /> <br /> Clock.update: 1<br /> Clock.chime: False<br /> Clock.timeOffset: 0<br /> <br /> Clock.romanNumerals: False<br /> Clock.multiplesOf3: False<br /> Clock.showHours: True<br /> Clock.showTicks: True<br /> <br /> # "Hawaii" clock resources invoked by "clock -name hawaii"<br /> <br /> hawaii*Title: Hawaii<br /> hawaii.timeOffset: -3<br /> hawaii.geometry: 160x160<br /> hawaii*Background: green<br /> hawaii*Foreground: white<br /> <br /> # "Los Angeles" clock resources invoked by "clock -name losAngeles"<br /> <br /> losAngeles*Title: Los Angeles<br /> losAngeles.timeOffset: 0<br /> losAngeles.geometry: 160x160+160+0<br /> losAngeles*Background: yellow<br /> <br /> # "New York" clock resources invoked by "clock -name newYork"<br /> <br /> newYork*Title: New York<br /> newYork.timeOffset: +3<br /> newYork.geometry: 160x160+320+0<br /> newYork*Background: LightGray<br /> <br /> <br /> COPYRIGHT<br /> <br /> Copyright (c) 1987-89 Digital Equipment Corporation and<br /> the Massachusetts Institute of Technology.<br /> Copyright (c) 1992 Quarterdeck Office Systems, Inc.<br /> <br /> <br><br> </div><!--/entry --> </div><!-- .entry-container --> <footer class="post-footer postdata fix"> </footer><!-- .post-footer --> <div class='postdata line'> </div> <section id="comments"> <h3 class="comments"><span class="icon"> </span> 3 Responses to “Category : Alternate Operating Systems - Quarterdeck DesqView, CP/M, etc<br>Archive   : DVXCLOCK.ZIP<br>Filename : CLOCK.MAN<br>”</h3> <ol class="commentlist"> <li id="comment-468" class="comment even thread-even depth-1 plain-nested"> <div id="div-comment-468" class="comment-body"> <div class="comment-author fix vcard"> <img alt='' src='https://secure.gravatar.com/avatar/8f76d6c77c12a5a1083dce633a326642?s=48&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/8f76d6c77c12a5a1083dce633a326642?s=96&d=mm&r=g 2x' class='avatar avatar-48 photo' height='48' width='48' decoding='async'/> <div class="comment-author-link"> <cite class="fn">Daniel</cite> <span class="says">says:</span> </div> <div class="comment-meta commentmetadata"><a href="https://www.pcorner.com/list/#comment-468"> January 27, 2013 at 3:59 pm</a> </div> </div> <p>Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!</p> </div> <div class="reply"> </div> </li><!-- #comment-## --> <li id="comment-1491" class="comment odd alt thread-odd thread-alt depth-1 plain-nested"> <div id="div-comment-1491" class="comment-body"> <div class="comment-author fix vcard"> <img alt='' src='https://secure.gravatar.com/avatar/6b4f9d1304972a01f7c30ad1710ddc18?s=48&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/6b4f9d1304972a01f7c30ad1710ddc18?s=96&d=mm&r=g 2x' class='avatar avatar-48 photo' height='48' width='48' decoding='async'/> <div class="comment-author-link"> <cite class="fn">Joshie</cite> <span class="says">says:</span> </div> <div class="comment-meta commentmetadata"><a href="https://www.pcorner.com/list/#comment-1491"> March 18, 2014 at 4:57 pm</a> </div> </div> <p>This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.</p> </div> <div class="reply"> </div> </li><!-- #comment-## --> <li id="comment-31187" class="comment even thread-even depth-1 plain-nested"> <div id="div-comment-31187" class="comment-body"> <div class="comment-author fix vcard"> <img alt='' src='https://secure.gravatar.com/avatar/e91d5d889b8284060613b258afef30f7?s=48&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/e91d5d889b8284060613b258afef30f7?s=96&d=mm&r=g 2x' class='avatar avatar-48 photo' height='48' width='48' decoding='async'/> <div class="comment-author-link"> <cite class="fn">DiskingRound</cite> <span class="says">says:</span> </div> <div class="comment-meta commentmetadata"><a href="https://www.pcorner.com/list/#comment-31187"> January 14, 2015 at 10:57 pm</a> </div> </div> <p>But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: <a href="http://www.os2museum.com/wp/mtswslnk/" rel="nofollow ugc">http://www.os2museum.com/wp/mtswslnk/</a></p> </div> <div class="reply"> </div> </li><!-- #comment-## --> </ol> <div class="navigation fix"> <div class="alignleft"></div> <div class="alignright"></div> </div> </section> <!-- #comments --> </article><!--/post --> </div><!-- #content --> </div><!-- #main-col --> <div id='sidebar-shell-1' class='sidebar-shell sidebar-shell-right'> <div class="dbx-group right boxed warea" id="sidebar"> <!--widget start --><aside id="block-15" class="dbx-box suf-widget widget_block"><div class="dbx-content"> <h2 class="wp-block-heading">Login/Logout</h2> </div></aside><!--widget end --><!--widget start --><aside id="block-10" class="dbx-box suf-widget widget_block"><div class="dbx-content"><div class="logged-out wp-block-loginout"><a href="https://www.pcorner.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.pcorner.com%2Flist%2FAOS%2FDVXCLOCK.ZIP%2FCLOCK.MAN%2F">Log in</a></div></div></aside><!--widget end --><!--widget start --><aside id="block-16" class="dbx-box suf-widget widget_block"><div class="dbx-content"> <h2 class="wp-block-heading">Donation</h2> </div></aside><!--widget end --><!--widget start --><aside id="paypal_donations-4" class="dbx-box suf-widget widget_paypal_donations"><div class="dbx-content"><!-- Begin PayPal Donations by https://www.tipsandtricks-hq.com/paypal-donations-widgets-plugin --> <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <div class="paypal-donations"> <input type="hidden" name="cmd" value="_donations" /> <input type="hidden" name="bn" value="TipsandTricks_SP" /> <input type="hidden" name="business" value=" donation@pcorner.com" /> <input type="hidden" name="return" value="http://www.pcorner.com" /> <input type="hidden" name="item_name" value="Keep Site Alive" /> <input type="hidden" name="amount" value="25" /> <input type="hidden" name="rm" value="0" /> <input type="hidden" name="currency_code" value="USD" /> <input type="image" style="cursor: pointer;" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online." /> <img alt="" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1" /> </div> </form> <!-- End PayPal Donations --> </div></aside><!--widget end --></div><!--/sidebar --> </div> </div><!-- /container --> </div><!--/wrapper --> <footer> <div id='page-footer'> <div class='col-control'> <div id="cred"> <table> <tr> <td class="cred-left">© 2018 <a href='http://www.pcorner.com'>The Programmer's Corner</a> by Personalized Computer Systems </td> <td class="cred-center"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-8001169946558833" data-ad-slot="6568049104"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </td> <td class="cred-right"></td> </tr> </table> </div> </div> </div> </footer> <!-- 26 queries, 19MB in 0.411 seconds. --> <!-- location footer --> <script type='text/javascript'> //<![CDATA[ jQuery(document).ready(function($) { $('html').MagicLiquidizerTable({ whichelement: 'table', breakpoint: '780', headerSelector: 'thead td, thead th, tr th', bodyRowSelector: 'tbody tr, tr', table: '' }) }) //]]> </script> <script type="text/javascript" src="https://www.pcorner.com/wp-includes/js/comment-reply.min.js?ver=6.5.3" id="comment-reply-js" async="async" data-wp-strategy="async"></script> </body> </html> <!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Object Caching 28/51 objects using Disk Served from: www.pcorner.com @ 2024-05-30 14:54:36 by W3 Total Cache --><script defer src="https://static.cloudflareinsights.com/beacon.min.js/vef91dfe02fce4ee0ad053f6de4f175db1715022073587" integrity="sha512-sDIX0kl85v1Cl5tu4WGLZCpH/dV9OHbA4YlKCuCiMmOQIk4buzoYDZSFj+TvC71mOBLh8CDC/REgE0GX0xcbjA==" data-cf-beacon='{"rayId":"88bf8f704d3e3970","version":"2024.4.1","r":1,"token":"bb4034281aa041b0a0eb74cc298dc9b6","b":1}' crossorigin="anonymous"></script>