Sponsored Content
Full Discussion: 7 segement LCD unix clock
Top Forums UNIX for Dummies Questions & Answers 7 segement LCD unix clock Post 184 by PxT on Monday 6th of November 2000 12:32:19 AM
Old 11-06-2000
Not sure <I>why</I> you would want to do this, but anyway...


You could probably get clever with Ansi escape codes to move
the cursor around for you:

echo "\033[<STRONG>R</STRONG>;<STRONG>C</STRONG>H"

Puts the cursor at row <STRONG>R</STRONG> and column <STRONG>C</STRONG>

See <A HREF="http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO-6.html">http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO-6.html</A> for some more examples.

 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sincronization clock unix with windows server..

hi all... how i can sincronization clock solaris server with windows server....both servers i connected in the same network... thank you.... Best Regards... (4 Replies)
Discussion started by: chanfle
4 Replies

2. SCO

LCD, only 22 lines?

I have a client running SCO openserver 5.0.4, character based The old 17" tube monitor died, and I replaced with an LCD monitor. I can only see 22 lines of text on-screen at a time. The LCD's have setup adjustment for scrolling up and down, but not to zoom in and out to make it fit. I swapped... (3 Replies)
Discussion started by: waywardfool
3 Replies

3. AIX

LCD codes on a P570

Anyone out there know what the LCD code 0569 means. I have a list of codes but 569 is not on it. (5 Replies)
Discussion started by: johnf
5 Replies

4. UNIX for Dummies Questions & Answers

Clock in Unix using awk

Hey everyone! Can someone help me, i need to make a program using awk, that displays the current time (hh/mm/ss), i would really apreciate it! Thanks! Alex. (4 Replies)
Discussion started by: alex_omul
4 Replies

5. UNIX for Dummies Questions & Answers

Real time of a clock for every 60 seconds in unix

hi can any one guide me on how to display real time of a clock in unix for every 60 seconds (2 Replies)
Discussion started by: ramnadh_babu
2 Replies

6. Ubuntu

Webin cannot lcd

Hi all, I am using a ubuntu 9.4 server as ftps server. We have scripts that transfer files to our customers and it is scheduled by a cron job via webmin 1.510. Here is a sample of my script psftp user@hostname lcd /FolderA/Outgoing cd FolderREm mput * When I run a cron job manually the... (0 Replies)
Discussion started by: Marko75
0 Replies

7. UNIX for Advanced & Expert Users

The UNIX clock/timer interrupt

The book The Design of the Unix Operating System speaks of a clock or timer that is used in scheduling. The clock generates interrupts that update priority information for processes and preempt processes in a round-robin fashion. It's apparent that this "clock" is not the same thing as the CPU... (1 Reply)
Discussion started by: Ultrix
1 Replies
GENCLOCK(1)						      General Commands Manual						       GENCLOCK(1)

NAME
genclock - generate a RADIANCE description of a clock SYNOPSIS
genclock [ -f face_mat ][ -c case_mat ][ -n name ] { HH:MM | hours } DESCRIPTION
Genclock produces a RADIANCE scene description of an analog clock showing the given hour. The hour may either be given as HH:MM or decimal hours. The face of the clock will have a radius of 1.0 units, with the surrounding case 1.1 (2.2 diameter). The origin is at the center of the back, and the face looks in the positive X-direction. The 12 o'clock direction corresponds to the positive Z-axis. (The Y-axis direction is 3 o'clock.) The xform(1) command may be used to resize and relocate the clock as desired. Normally, genclock produces all of the materials necessary for its own description, but options are provided to specify alternate materials for the face and case. The numbers on the face are in dark lettering, so the face material must be relatively light for them to show up well. By default, the clock is given the name "clock," but this may be changed with the -n option. EXAMPLE
To produce a 12 inch diameter clock showing 10:35 and hang it at 60 on a wall facing the Y-direction at Y=10: genclock 10:35 | xform -s 6 -rz 90 -t 20 10 60 AUTHOR
Greg Ward SEE ALSO
genrbox(1), genrev(1), gensurf(1), genworm(1), rpict(1), rvu(1), xform(1) RADIANCE
4/9/97 GENCLOCK(1)
All times are GMT -4. The time now is 06:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy