summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdntel
diff options
context:
space:
mode:
authorhm <hm@FreeBSD.org>2000-10-09 14:22:51 +0000
committerhm <hm@FreeBSD.org>2000-10-09 14:22:51 +0000
commit5ab5e2a391ce47dd5453a8592c99baf8e9b2a6f4 (patch)
tree26a8d414a4a8b7be8fb22e1e65e5ba4889daf0ae /usr.sbin/i4b/isdntel
parentf334879ea56c48ab237e6528968d81dd32e9f209 (diff)
downloadFreeBSD-src-5ab5e2a391ce47dd5453a8592c99baf8e9b2a6f4.zip
FreeBSD-src-5ab5e2a391ce47dd5453a8592c99baf8e9b2a6f4.tar.gz
update to i4b version 0.95.04
Diffstat (limited to 'usr.sbin/i4b/isdntel')
-rw-r--r--usr.sbin/i4b/isdntel/display.c12
-rw-r--r--usr.sbin/i4b/isdntel/isdntel.816
2 files changed, 11 insertions, 17 deletions
diff --git a/usr.sbin/i4b/isdntel/display.c b/usr.sbin/i4b/isdntel/display.c
index d1f36fe..53e6637 100644
--- a/usr.sbin/i4b/isdntel/display.c
+++ b/usr.sbin/i4b/isdntel/display.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
+ * Copyright (c) 1997, 2000 Hellmuth Michaelis. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,11 +27,11 @@
* isdntel - isdn4bsd telephone answering machine support
* ======================================================
*
- * $Id: display.c,v 1.7 1999/12/13 21:25:26 hm Exp $
+ * $Id: display.c,v 1.9 2000/07/19 08:56:24 hm Exp $
*
* $FreeBSD$
*
- * last edit-date: [Mon Dec 13 21:53:57 1999]
+ * last edit-date: [Wed Jul 19 10:08:06 2000]
*
*----------------------------------------------------------------------------*/
@@ -49,8 +49,10 @@ init_screen(void)
initscr(); /* curses init */
+ curses_ready = 1;
+
if((COLS < 80) || (LINES < 24))
- fatal(0, "ERROR, minimal screensize must be 80x24, is %dx%d, terminating!", COLS, LINES);
+ fatal("ERROR, minimal screensize must be 80x24, is %dx%d, terminating!", COLS, LINES);
if((main_w = newwin(LINES-START_O-2, COLS, START_O, 0)) == NULL)
@@ -88,8 +90,6 @@ init_screen(void)
refresh();
wrefresh(main_w);
-
- curses_ready = 1;
}
/*---------------------------------------------------------------------------*
diff --git a/usr.sbin/i4b/isdntel/isdntel.8 b/usr.sbin/i4b/isdntel/isdntel.8
index 997ad71..5dca414 100644
--- a/usr.sbin/i4b/isdntel/isdntel.8
+++ b/usr.sbin/i4b/isdntel/isdntel.8
@@ -50,14 +50,11 @@ The following options are supported:
.It Fl a
Use
.Ar aliasfile
-as the pathname for an aliasfile containing aliases for phone numbers.
-The
+as the pathname for an aliasfile containing aliases for phone numbers. The
default path is
.Em /etc/isdn/isdntel.alias .
The format of an alias entry is the number string followed by one or more
-spaces or tabs.
-The rest of the line is taken as the alias string.
-Comments
+spaces or tabs. The rest of the line is taken as the alias string. Comments
are introduced by a leading blank, tab or "#" character.
.It Fl d
Use
@@ -74,11 +71,9 @@ The format of a voice message filename is:
Use
.Ar playcommand
as the command string to execute for playing a voice message to some audio
-output facility.
-The characters
+output facility. The characters
.Em %s
-are replaced by the currently selected filename.
-The default string is
+are replaced by the currently selected filename. The default string is
.Em cat %s | alaw2ulaw >/dev/audio
.It Fl t
The value for
@@ -87,8 +82,7 @@ specifies the time in seconds the program rereads the spool directory
when there is no keyboard activity.
.El
.Pp
-The screen output should be obvious.
-If in doubt, consult the source.
+The screen output should be obvious. If in doubt, consult the source.
.Sh SEE ALSO
.Xr isdnd 8
.Xr isdnd.rc 5
OpenPOWER on IntegriCloud