wmii/cmd/wmiir.1

87 lines
1.9 KiB
Groff
Raw Normal View History

2006-05-19 19:38:45 +04:00
.TH WMIIR 1 wmii-4
2005-11-18 18:54:58 +03:00
.SH NAME
wmiir \- window manager improved 2 remote
2005-11-18 18:54:58 +03:00
.SH SYNOPSIS
.B wmiir
2006-03-22 18:26:42 +03:00
.RB [ \-a
.IR address ]
2005-11-18 18:54:58 +03:00
.I action
2006-03-22 18:26:42 +03:00
.I file
2005-11-18 18:54:58 +03:00
.br
.B wmiir
2005-11-18 18:54:58 +03:00
.B \-v
.SH DESCRIPTION
.SS Overview
.B wmiir
is a client to access the filesystem of
.BR wmiiwm (1)
from the command line or from shell
2006-03-22 18:26:42 +03:00
scripts. It can be used to configure
.BR wmii (1).
2005-11-18 18:54:58 +03:00
.SS Options
.TP
2006-03-22 18:26:42 +03:00
.BI \-a " address"
Lets you specify the address to which
.B wmiir
2006-03-22 18:26:42 +03:00
will establish a connection. If this option is not supplied, and the
environment variable WMII_ADDRESS is set,
.B wmiir
will use this value as its address. Currently, the address can only be a
unix socket file or a tcp socket. The syntax for
2006-03-22 18:26:42 +03:00
.I address
is taken (along with many other profound ideas) from the Plan 9 operating
system and has the form
.BR unix!/path/to/socket
for unix socket files, and
.BR tcp!hostname!port
for tcp sockets.
2005-11-18 18:54:58 +03:00
.TP
.B \-v
Prints version information to stdout, then exits.
2005-11-18 18:54:58 +03:00
.TP
The syntax of the actions is as follows:
.TP
2006-03-22 18:26:42 +03:00
.B write
Writes the supplied data from stdin to
.IR file,
overwriting any previous data. The data to be written is arbitrary
and only gains meaning (and restrictions) when it is interpreted by
.BR wmiiwm (1).
See
.B EXAMPLES
below.
2005-11-18 18:54:58 +03:00
.TP
2006-03-22 18:26:42 +03:00
.B create
Creates file or directory but does not write any data. If the file exists,
nothing is done.
2005-11-18 18:54:58 +03:00
.TP
2006-03-22 18:26:42 +03:00
.B read
Reads file or directory contents
2005-11-18 18:54:58 +03:00
.TP
2006-03-22 18:26:42 +03:00
.B remove
Removes file or directory tree
2005-11-18 18:54:58 +03:00
.SH ENVIRONMENT
.TP
2006-03-22 18:26:42 +03:00
WMII_ADDRESS
2005-11-18 18:54:58 +03:00
See above.
.SH EXAMPLES
.TP
2006-03-22 18:26:42 +03:00
.B wmiir read /
This prints the root directory of the wmii filesystem. For more information
about the contents of this filesystem, see
2006-03-22 18:26:42 +03:00
.BR wmiiwm (1).
.TP
.B echo -n quit | wmiir write /ctl
Write 'quit' to the main control file of the wmii filesystem, effectively
leaving wmii.
2005-11-18 18:54:58 +03:00
.TP
.B echo -n view 2 | wmiir write /ctl
2006-05-17 00:18:27 +04:00
Bring into view all clients tagged '2'. To learn about clients and
2006-03-22 18:26:42 +03:00
tags, see
.BR wmiiwm (1).
2005-11-18 18:54:58 +03:00
.SH SEE ALSO
.BR wmii (1),
2006-03-22 18:26:42 +03:00
.BR wmiiwm (1)
http://www.cs.bell-labs.com/sys/man/5/INDEX.html