File: config.h

package info (click to toggle)
mailleds 0.93-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 156 kB
  • ctags: 108
  • sloc: ansic: 816; makefile: 107; sh: 17
file content (59 lines) | stat: -rw-r--r-- 1,942 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* the default inbox location on your system.  Defaults to _PATH_MAILDIR */
/* #define MAILDIR "/var/spool/mail" */

/* The place where mailleds will store its pid files.  NOTE:
   this directory doesn't need to be global writeable, as mailleds will
   write out the pidfile as root */
 
#ifndef DEBUG
#define PIDFILE_DIR  "/var/run/"
#else
#define PIDFILE_DIR "/tmp"
#endif

/* Port to send data to.  NOTE: must be a paralell port, or you must
   know what you're doing!  You might screw up your sys with a bad port
   here. */
#define LPT_PORT 0x378
/* #define LPT_PORT 0x278 */

/* max number of virtual consoles (vt's) you will need */
#define MAX_CONSOLES 63

/* Time spent with leds on, leds off, and when -a is specified, time between 
   blink series.  These are "tune to your liking" type of params. */

/*  Martin likes these pauses, which give a _very_ quick, trekkie appeal to things. 
    Admittedly, they're easier to read the # of messages. 
    
    However, my led setup involves bright, eye-catching green lights. 
    These settings make me nervous. =) */
/*
#define BLINK_TIME_ON		40000
#define BLINK_TIME_OFF		20000
#define TIME_BETWEEN_COUNTS	80000
*/

/*  I prefer a slow, lethargic microsecond pause like this: */
#define BLINK_TIME_ON		400000
#define BLINK_TIME_OFF		300000
#define TIME_BETWEEN_COUNTS	700000

/* sleep time in seconds between mailbox checks (if there isn't any mail)
   This can be 1 considering it's just a stat now. 
*/
#define INTERVAL_BETWEEN_CHECKS 1

/* default keyboard leds to flash:
LED_SCR for scroll Lock, LED_NUM for Num Lock, LED_CAP for Caps Lock,
or 0 for none.
Boolean or these together to get the desired default.  
Just look at the examples. */

/* #define DEF_KBD_LEDS 0 */
/* #define DEF_KBD_LEDS LED_SCR | LED_NUM | LED_CAP */
#define DEF_KBD_LEDS LED_SCR

/* default parallel lights to flash.  Any boolean or combination
   of PORT_LED_[1-8] */
#define DEF_PORT_LEDS PORT_LED_1