📄 feature.h
字号:
/*--------------------------------*-C-*---------------------------------* * file: feature.h * * Compile-time configuration. *----------------------------------------------------------------------* * Copyright (C) 1997 1998 mj olesen <olesen@me.QueensU.CA> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *----------------------------------------------------------------------*/#ifndef _FEATURE_H#define _FEATURE_H/*----------------------------------------------------------------------* * #define ICONWIN * to enable fancy (active) icon * * #define REMINDERS * to enable the appointment reminder functions * * #define NO_REMINDER_EXEC * to disable the execution of a program on an appointment * * #define DATE_ON_CLOCK_FACE * to display today's date on the face of the clock * Note: this requires REMINDERS since it uses the same font * * #define MAIL * to enable xbiff-type mail reminders * * #define MAIL_BELL * to enable xbiff-type mail reminders with a beep * * #define MAIL_SPAWN "xmh\ -font\ 7x14\&" * to define a mail program to run * * #define MAIL_SPOOL "/var/spool/mail/" * to define the mail spool when the $MAIL variable isn't set * * program size approximately doubles from no options to all options *----------------------------------------------------------------------*/#define ICONWIN#define REMINDERS/* #define NO_REMINDER_EXEC */#define DATE_ON_CLOCK_FACE#define MAIL/* #define MAIL_BELL *//* #define MAIL_SPAWN "xmh\ -font\ 7x14\&" *//* #define MAIL_SPOOL "/var/spool/mail/" *//*----------------------------------------------------------------------* * #define CLOCKUPDATE 30 * to define the frequency (seconds) to update the clock * * #define MAILUPDATE 60 * to define the frequency (seconds) to check for new mail * * #define REMINDERS_TIME 10 * to define the frequency (minutes) to check ~/.rclock * * #define DEFER_TIME 3 * to define the amount (minutes) to defer a message * * #define ADJUST_TIME * to add -adjust command-line option * * #define CENTURY 2000 * to set the base century for 2 digit year short-hand *----------------------------------------------------------------------*/#define CLOCKUPDATE 30#define MAILUPDATE 60#define REMINDERS_TIME 10#define DEFER_TIME 3#define ADJUST_TIME/* #define CENTURY 2000 *//*----------------------------------------------------------------------* * #define FONT_NAME "7x14" * to define the font to be used for appointment reminders * * #define FG_COLOR_NAME "black" * #define BG_COLOR_NAME "white" * to define the foreground/background colors to use *----------------------------------------------------------------------*/#define FONT_NAME "7x14"#define FG_COLOR_NAME "black"#define BG_COLOR_NAME "white"/*----------------------------------------------------------------------* * #define DAY_NAMES "umtwrfs*" * define this string appropriate for any language. * * It starts with a symbol for Sunday, ends with Saturday, then '*' * NOTE: 8 characters total - 7 days of the week plus '*' *----------------------------------------------------------------------*/#define DAY_NAMES "umtwrfs*"/*----------------------------------------------------------------------* * #define SUBTICKS * to show additional minute/second markings *----------------------------------------------------------------------*/#define SUBTICKS/*----------------------------------------------------------------------* * sort out conflicts *----------------------------------------------------------------------*/#if defined (MAIL_BELL) || defined (MAIL_SPAWN) || defined (MAIL_SPOOL)# ifndef MAIL# define MAIL# endif#endif#endif /* whole file *//*----------------------- end-of-file (C header) -----------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -