1.\" $NetBSD: wsmuxctl.8,v 1.13 2009/03/09 19:24:33 joerg Exp $ 2.\" Copyright (c) 2001 The NetBSD Foundation, Inc. 3.\" All rights reserved. 4.\" 5.\" Author: Lennart Augustsson 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 16.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 17.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 18.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 19.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 20.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 21.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 22.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 23.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 24.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 25.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 26.\" POSSIBILITY OF SUCH DAMAGE. 27.\" 28.Dd October 13, 2001 29.Dt WSMUXCTL 8 30.Os 31.Sh NAME 32.Nm wsmuxctl 33.Nd configure wsmuxes 34.Sh SYNOPSIS 35.Nm 36.Op Fl a Ar dev 37.Fl f Ar ctldev 38.Op Fl l 39.Op Fl L 40.Op Fl r Ar dev 41.Sh DESCRIPTION 42The 43.Nm 44allows to adding and removing devices connected to a 45.Xr wsmux 4 . 46.Pp 47Added and removed devices are specified by a name, not a path name. 48Simply use 49.Em wsmouseN , 50.Em wskbdN , 51or 52.Em wsmuxN 53where N is the number of the device. 54.Pp 55The options are: 56.Bl -tag -width xxxxxxxxx 57.It Fl a Ar dev 58Add the specified device to the mux. 59.It Fl f Ar ctldev 60Specify the control device of the wsmux to operate on. 61A number may be given, which is then taken to be the number of the mux. 62.It Fl l 63List all devices connected to a mux. 64.It Fl L 65List all devices connected to a mux and recursively list mux subdevices. 66.It Fl r Ar dev 67Remove the specified device from the mux. 68.El 69.Sh SEE ALSO 70.Xr wsmux 4 71