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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
|
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
<HTML>
<HEAD>
<TITLE>man page(1)</TITLE>
</HEAD>
<BODY bgcolor=white>
<A HREF="#toc">Table of Contents</A><P>
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
<P>
nasd - Network Audio System server
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
<P>
<B>nasd</B> [:listen port offset] [-option ...]
<H2><A NAME="sect2" HREF="#toc2"><B>Description</B></A></H2>
<P>
<I>nasd</I> is the generic name for the Network Audio System
server. It is frequently a link or a copy of the appropriate
server binary for driving the most frequently used
server on a given machine.
<H2><A NAME="sect3" HREF="#toc3"><B>Starting</B> <B>the</B> <B>Server</B></A></H2>
<P>
The server is usually started from /etc/rc or a user's
startup script.
<P>
When the Network Audio System server starts up, it takes
over /dev/audio. Note, that if ReleaseDevice is set to
TRUE [default] in the nasd.conf file, nasd will relinquish
control of the audio device whenever it has finished playing
a sound. This means you can use other non-NAS applications
when nasd is running, as long as nasd isn't currently
playing a song. If ReleaseDevice is set to FALSE
in the nasd.conf file, applications that attempt to access
/dev/audio themselves will fail while nasd is running.
<H2><A NAME="sect4" HREF="#toc4"><B>Network</B> <B>Connections</B></A></H2>
<P>
The Network Audio System server supports connections made
using the following reliable byte-streams:
<DL>
<DT><I>TCPIP</I></DT></DT>
<DD>
The server listens on port 8000+<I>n</I>, where <I>n</I> is the listen
port offset.
</DD>
</DL>
<P>
<I>Unix</I> <I>Domain</I><BR>
The X server uses <I>/tmp/.sockets/audio</I><B>n</B> as the filename
for the socket, where <I>n</I> is the display number.
<H2><A NAME="sect5" HREF="#toc5"><B>Options</B></A></H2>
<P>
All of the Network Audio System servers accept the following
generic command line options. Options specific to a
particular server may also be available, and are not
listed here. Try `nasd -?' for a list of those options,
if available.
<DL>
<DT><B>-aa</B> </DT></DT>
<DD> Allows any client to connect. By default, access
is allowed only to authenticated clients.
</DD>
<DT><B>-local</B> </DT></DT>
<DD>Allows only clients on the local host to connect.
By default, access is allowed to local and remote
hosts.
</DD>
<DT><B>-v</B> </DT></DT>
<DD> Enable verbose messages. This option overrides
the nasd.conf file setting.
</DD>
<DT><B>-d</B> <I>n</I> </DT></DT>
<DD> Enable debugging output at level <I>n</I>, where <I>n</I> is a
positive integer. The higher the level, the more
output you will get. A value of 0 [default] disables
debugging output. This option overrides the
nasd.conf file setting. When debugging is
enabled, stderr is not closed by the nasd process,
and all debugging messages are written there.
</DD>
<DT><B>-pn</B></DT></DT>
<DD>
</DD>
<DT><B>-nopn</B> <B>[default]</B></DT></DT>
<DD>
Enables or disables Partial Networking. Enabling
Partial Networking allows the server to start,
even if the server cannot establish all of its
well-known sockets (connection points for
clients), but establishes at least one.
</DD>
<DT><B>-config</B> <I>file</I> </DT></DT>
<DD> Use the config file <I>file</I>, instead of the default (/etc/nasd/nasd.conf).
</DD>
</DL>
<H2><A NAME="sect6" HREF="#toc6"><B>Signals</B></A></H2>
<P>
The Network Audio System server attaches special meaning
to the following signals:
<P>
<I>SIGHUP</I> This signal causes the server to close all existing
connections, free all resources, and restore
all defaults.
<P>
<I>SIGTERM</I> This signal causes the server to exit cleanly.
<P>
<I>SIGUSR1</I> This signal is used quite differently from either
of the above. When the server starts, it checks
to see if it has inherited SIGUSR1 as SIG_IGN
instead of the usual SIG_DFL. In this case, the
server sends a SIGUSR1 to its parent process after
it has set up the various connection schemes.
<H2><A NAME="sect7" HREF="#toc7"><B>Diagnostics</B></A></H2>
<P>
Too numerous to list them all.
<H2><A NAME="sect8" HREF="#toc8"><B>Files</B></A></H2>
<DL>
<DT>/tmp/.sockets/audio* </DT></DT>
<DD> Unix domain socket
</DD>
</DL>
<P>
/usr/adm/audio*msgs
<DL>
<DT>/dev/audio </DT></DT>
<DD> Audio device
</DD>
</DL>
<H2><A NAME="sect9" HREF="#toc9"><B>See</B> <B>Also</B></A></H2>
<P>
<A HREF="man:nas(1)">nas(1)</A>
, <A HREF="man:auinfo(1)">auinfo(1)</A>
, <A HREF="man:auplay(1)">auplay(1)</A>
, <A HREF="man:auctl(1)">auctl(1)</A>
, <A HREF="man:nasd.conf(1)">nasd.conf(1)</A>
<H2><A NAME="sect10" HREF="#toc10"><B>Bugs</B></A></H2>
<P>
If <I>au</I> dies before its clients, new clients won't be able
to connect until all existing connections have their TCP
TIME_WAIT timers expire.
<P>
The current access control support is weak at best.
<H2><A NAME="sect11" HREF="#toc11"><B>Copyright</B></A></H2>
<P>
Copyright 1993, Network Computing Devices, Inc.
<H2><A NAME="sect12" HREF="#toc12"><B>Authors</B></A></H2>
<P>
The Network Audio System server was originally written by
Greg Renda and Dave Lemke, with large amounts of code borrowed
from the sample X server.
<P>
The sample X server was originally written by Susan Angebranndt,
Raymond Drewry, Philip Karlton, and Todd Newman,
from Digital Equipment Corporation, with support from a
large cast. It has since been extensively rewritten by
Keith Packard and Bob Scheifler, from MIT.
<P>
<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
<UL>
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
<LI><A NAME="toc2" HREF="#sect2">Description</A></LI>
<LI><A NAME="toc3" HREF="#sect3">Starting the Server</A></LI>
<LI><A NAME="toc4" HREF="#sect4">Network Connections</A></LI>
<LI><A NAME="toc5" HREF="#sect5">Options</A></LI>
<LI><A NAME="toc6" HREF="#sect6">Signals</A></LI>
<LI><A NAME="toc7" HREF="#sect7">Diagnostics</A></LI>
<LI><A NAME="toc8" HREF="#sect8">Files</A></LI>
<LI><A NAME="toc9" HREF="#sect9">See Also</A></LI>
<LI><A NAME="toc10" HREF="#sect10">Bugs</A></LI>
<LI><A NAME="toc11" HREF="#sect11">Copyright</A></LI>
<LI><A NAME="toc12" HREF="#sect12">Authors</A></LI>
</UL>
</BODY></HTML>
|