Sponsored Content
Full Discussion: 7 segement LCD unix clock
Top Forums UNIX for Dummies Questions & Answers 7 segement LCD unix clock Post 201 by PxT on Wednesday 8th of November 2000 03:29:16 PM
Old 11-08-2000
You should use figlet for this:
http://st-www.cs.uiuc.edu/users/chai/figlet.html

Source code is available, if you like. There are webified versions if you dont feel like downloading and installing.

Code:
 _     ___         ___   ___         ___   ___  
  |       |   |       | |  /|   |   |  /| |   | 
  +    -+-         -+-  | + |       | + |  -+-| 
  |   |       |   |     |/  |   |   |/  |     | 
 ---   ---         ---   ---         ---   ---

 

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
SNMP_TRAP_API(3)						     Net-SNMP							  SNMP_TRAP_API(3)

NAME
send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs from a Net-SNMP MIB module SYNOPSIS
#include <net-snmp/agent/agent_trap.h> void send_easy_trap(int trap, int specific); void send_trap_vars(int trap, int specific, struct variable_list *vars); void send_v2trap(struct variable_list *vars); DESCRIPTION
These three routines may be used to send traps from a MIB module within the Net-SNMP agent (including an AgentX subagent). send_easy_trap() sends an SNMPv1 trap (or the SNMPv2 equivalent) to the list of configured trap destinations (or "sinks"), using the pro- vided values for the generic trap type, and specific trap value. send_trap_vars() is similar, but appends the supplied list of variable bindings to the traps that are sent. send_v2trap() uses the supplied list of variable bindings to form an SNMPv2 trap, which is sent to SNMPv2-capable sinks on the configured list. An equivalent INFORM is sent to the configuredq list of inform sinks. Sinks that can only handle SNMPv1 traps are skipped. The various "send_trap()" calls allow you to specify traps in different formats. And the various "trapsink" directives allow you to spec- ify destinations to receive different formats. But *all* traps are sent to *all* destinations, regardless of how they were specified. I.e. it's ___ trapsink / send_easy_trap ___ [ Trap ] ____ trap2sink ___ [ Generator ] send_v2trap / [ ] ----- informsink ____ trapsess *Not* send_easy_trap -------------------> trapsink send_v2trap -------------------> trap2sink ???? -------------------> informsink ???? -------------------> trapsess WARNINGS
These routines are used to send the traps immediately they are called. Invoking them at the appropriate time is left to the MIB module programmer. SEE ALSO
snmpd.conf(5), snmptrapd(8) 4.2 Berkeley Distribution 7 Mar 2002 SNMP_TRAP_API(3)
All times are GMT -4. The time now is 11:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy