Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / i4b / isdnphone / isdnphone.8
1 .\"
2 .\" Copyright (c) 1999, 2001 Hellmuth Michaelis. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\"     $Id: isdnphone.8,v 1.4 1999/12/13 22:11:55 hm Exp $
26 .\"
27 .\" $FreeBSD: src/usr.sbin/i4b/isdnphone/isdnphone.8,v 1.5.2.2 2001/12/16 15:13:38 hm Exp $
28 .\"
29 .\"     last edit-date: [Mon Dec 13 23:05:19 1999]
30 .\"
31 .\"
32 .Dd March 24, 1999
33 .Dt ISDNPHONE 8
34 .Os
35 .Sh NAME
36 .Nm isdnphone
37 .Nd telephone dialing and more for isdn4bsd
38 .Sh SYNOPSIS
39 .Nm
40 .Op Fl d
41 .Op Fl h
42 .Op Fl k Ar string
43 .Op Fl n Ar number
44 .Op Fl u Ar unit
45 .Sh DESCRIPTION
46 .Nm
47 is part of the isdn4bsd package and is used to handle dialing and hangup
48 for the telephone control interfaces /dev/i4bteld<n>.
49 .Pp
50 Options are provided to dial out or hang up using commandline parameters
51 (for use in scripts) or, if none of those options are specified, bring up
52 a curses-based fullscreen interface.
53 .Pp
54 The following options are available:
55 .Bl -tag -width Ds
56 .It Fl d
57 enable debugging message display.
58 .It Fl h
59 hang up a possibly open telefone connection on the selected interface.
60 .It Fl k
61 send the specified string using the keypad facility information element.
62 .It Fl n
63 dial the specified number on the selected interface.
64 .It Fl u
65 Set the unit number to specify the interface used.
66 .El
67 .Sh FILES
68 /dev/i4bteld<n>
69 .Sh EXAMPLES
70 The command:
71 .Bd -literal -offset indent
72 isdnphone -n 1234
73 .Ed
74 .Pp
75 dials calls the number 1234 to establish a call on /dev/i4btel0
76 .Sh AUTHORS
77 The
78 .Nm
79 utility and this manpage were written by
80 .An Hellmuth Michaelis Aq hm@freebsd.org .