wmii/cmd/wmiir.1

82 lines
1.8 KiB
Groff
Raw Normal View History

2005-12-18 18:55:06 +03:00
.TH WMIIR 1 wmii-3
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
2006-03-22 18:26:42 +03:00
is a client to access wmii's filesystem from the command line or from shell
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 it's address. Currently, the address can only be a
socket file. The syntax for
.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 .
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 displays the root of the wmii filesystem. For more information about the
contents of this filesystem, see
.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
2006-03-22 18:26:42 +03:00
.B echo -n select 2 | wmiir write /ctl
Bring into view all clients having a tag of '2'. To learn about clients and
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