CLOCK(1) General Commands Manual CLOCK(1)NAME
clock - display the time in an icon or window
SYNOPSIS
clock
AVAILABILITY
This command is available with the OpenWindows environment. For information about installing OpenWindows, refer to the OpenWindows Instal-
lation and Start-Up Guide.
DESCRIPTION
clock is an OpenWindows XView utility that displays the current time in a window or icon. When the window is open, clock can display the
time in either analog or digital format. The clock window is scalable in either format.
USAGE
When the clock window is open, it has a floating menu from which you can bring up a property window. From this property sheet, you can
modify the display of the tool by selecting either the Analog or Digital choice box.
Seconds:
On the analog version, this selection starts a second hand on the face of the clock. On the digital version, it adds two dig-
its to the digital readout.
Date:
Turns on a date display for both analog and digital versions of clock.
BUGS
If you reset the system time, clock will not reflect the new time until you change its window state from open to icon, or vice versa. To
reset the system time, see date (1V).
The date display does not go well with the round clock face.
Occasionally, when clock is uncovered, the face will be visually corrupted. Use the Refresh button from the frame menu to repair.
11 June 1990 CLOCK(1)
Check Out this Related Man Page
CLOCK(1) General Commands Manual CLOCK(1)NAME
clock - display the time in an icon or window
SYNOPSIS
clock
AVAILABILITY
This command is available with the OpenWindows environment. For information about installing OpenWindows, refer to the OpenWindows Instal-
lation and Start-Up Guide.
DESCRIPTION
clock is an OpenWindows XView utility that displays the current time in a window or icon. When the window is open, clock can display the
time in either analog or digital format. The clock window is scalable in either format.
USAGE
When the clock window is open, it has a floating menu from which you can bring up a property window. From this property sheet, you can
modify the display of the tool by selecting either the Analog or Digital choice box.
Seconds:
On the analog version, this selection starts a second hand on the face of the clock. On the digital version, it adds two dig-
its to the digital readout.
Date:
Turns on a date display for both analog and digital versions of clock.
BUGS
If you reset the system time, clock will not reflect the new time until you change its window state from open to icon, or vice versa. To
reset the system time, see date (1V).
The date display does not go well with the round clock face.
Occasionally, when clock is uncovered, the face will be visually corrupted. Use the Refresh button from the frame menu to repair.
11 June 1990 CLOCK(1)
Hi,
Anyone ever write a unix clock program that display the clock out in 7 segment LCD style.
I tried doing one with case statements:
!/usr/bin/ksh
clock=`date`
case $clock in
#This prints out the number 0
0)
echo " -"
echo "| |"
echo
echo "| |"
echo " -"
;;
... (4 Replies)
Ok,
I figured out how to code my LCD clock program the only problem I am now having is - making it print out.
I have my for loops and case statements in my program and after that I need to print out the time I know how to use the date with the cut command. But I am unsure on how to link my... (2 Replies)
Yeah, we all know where to find screenshots of Unix and Linux, but it would be awesome to see some of your *nix screenshots. Okay.. to explain: This is my KDE desktop on Yellow Dog Linux. I changed the background recently to a Commodore 64 theme (pretty cool) and no longer is the Konstruct Konsole... (25 Replies)
how can I copy a file from unix to window machine (and vice versa), if ftp is not available? please tell me what else is convenient? Thanks! (6 Replies)
Hi Frnds,
i face a peculiar issue.
I am managing 200 Aix workstations and 20 sun boxes.
I am not anle to export the display from aix workstations to sun box,
But vice versa it is working fine.
But if i try to export the display to a sun box from other sun box it works perfectly.
Could... (3 Replies)
How do I run OpenWindows on a Solaris10 Sparc system?
I know it has been discontinued, but I have some applications that only run on OpenWin. And I would like to run Solaris10 instead of Solaris8, hence the problem. Can I download, install and run it with Solaris10?
Thanks, Mike (5 Replies)
hey folks,
i am stuc in this problem. You all might help me out.
I want to write a BASH script to display time every 15 seconds using %r field descriptor. And want to clear the window each time before displaying time using clear command. Please help me out (3 Replies)
I found via Google a way to show the date and time stamp once I log in. However, whenever I cd to another directory it doesn't display the correct path.
Here are the relevant parts from my .kshrc :
unset _h _m _s
eval $(date "+_h=%H ;_m=%M ;_s=%S")
((SECONDS =... (3 Replies)
Hi again! I'm still learning with unixacademy dvds and I have a question related to a timekeeping. Again I'm new to Linux and UNIX and most of my computing experince is Windows. I researched this on google but couldn't find a clear answer. I've been tweeking time zones in my last excersize...
... (31 Replies)
i am writing the following snippet and cannot figure out why the variable measType remains 0. it should be 1
I also tried "\#analog" and '\#analog' in the test statement and it still doesn't work. What is going on?
bash$ measType=0
bash$ read line < 2iconfig.ini
bash$ echo $line
#analog... (4 Replies)
The attachment says it all really...
It is a DEMO at a glance digital readout using the "date" command to make it useful...
For a Mocbook Pro 13", OSX 10.7.5, but may well work on Linux variants too.
Enjoy...
#!/bin/bash
#
# Clock.sh
# A bash DEMO to create a 6 x 7 character set... (4 Replies)
I am trying to implement a simple chess clock. It should have the following options: start, stop, reset, read.
Reset will set the time to zero
Start will start the clock
Stop will stop the clock
My problem is that I want that start continues counting
the time from the time it had when it... (6 Replies)