diff options
Diffstat (limited to 'static/freebsd/man4/nmdm.4 4.html')
| -rw-r--r-- | static/freebsd/man4/nmdm.4 4.html | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/static/freebsd/man4/nmdm.4 4.html b/static/freebsd/man4/nmdm.4 4.html new file mode 100644 index 00000000..05cd54dd --- /dev/null +++ b/static/freebsd/man4/nmdm.4 4.html @@ -0,0 +1,72 @@ +<table class="head"> + <tr> + <td class="head-ltitle">NMDM(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">NMDM(4)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">nmdm</code> — <span class="Nd">nullmodem + terminal driver</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp">To compile this driver into the kernel, place the following line + in your kernel configuration file:</p> +<div class="Bd Pp Bd-indent"><code class="Cd">device nmdm</code></div> +<p class="Pp">Alternatively, to load the driver as a module at boot time, place + the following line in <a class="Xr">loader.conf(5)</a>:</p> +<div class="Bd Pp Bd-indent Li"> +<pre>nmdm_load="YES"</pre> +</div> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">nmdm</code> driver provides two + <a class="Xr">tty(4)</a> devices connected by a virtual “null + modem” cable.</p> +<p class="Pp">If either of the two tty devices have the + <code class="Dv">CDSR_OFLOW</code> bit (“<code class="Li">stty + dsrflow</code>”) set in their line discipline, the + <code class="Nm">nmdm</code> device will emulate the speed configured in the + <a class="Xr">termios(4)</a> settings. The speed emulation works + independently in the two directions, controlled by the slower end's termios + settings (<var class="Va">c_ispeed</var>, <var class="Va">c_ospeed</var>, + <code class="Dv">CS5 ... CS8</code>, <code class="Dv">CSTOPB</code> and + <code class="Dv">PARENB</code>).</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1> +<dl class="Bl-tag Bl-compact"> + <dt><span class="Pa">/dev/nmdm</span><var class="Ar">N</var>[<span class="Pa">AB</span>]</dt> + <dd>nullmodem device nodes. Where the <span class="Pa">A</span> node has a + matching <span class="Pa">B</span> node.</dd> +</dl> +<p class="Pp">The <code class="Nm">nmdm</code> driver implements + “on-demand device creation” so simply accessing a given + instance in <span class="Pa">/dev</span> will create it.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="DIAGNOSTICS"><a class="permalink" href="#DIAGNOSTICS">DIAGNOSTICS</a></h1> +<p class="Pp">None.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">stty(1)</a>, <a class="Xr">termios(4)</a>, + <a class="Xr">tty(4)</a>, <a class="Xr">ttys(5)</a></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">The <code class="Nm">nmdm</code> driver first appeared in + <span class="Ux">FreeBSD 4.4</span>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">July 11, 2020</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
