Releases: HarveyHunt/cottage
Refactoring and Operators
It's now possible to send an entire operation as one command:
cottage -o op_kill 1 c
I've also refactored the code and simplified the Makefile.
Enjoy :-)
Some nice fixes and subtle changes
This is a small update to cottage
as RL is in the way. :-( I have made a few subtle changes to match new functionality that howm
now has. The single bug fix is:
- Negative arguments are now handled correctly
The new functionality / general improvements are:
- Added support for IPC_ERR_NO_CONFIG to alert the user that they are trying to change a config option that doesn't exist.
- Removed some unnecessary imports.
- Read
HOWM_SOCK
from the environment to work out where the socket is. - Added support for printing the version number.
- Changed to install directory from
/usr/local/bin/
to/usr/bin/
Cheers. :-)
A fresh start
As I mentioned in howm's latest release, I have made the decision to move away from a config header and cottage has paved the way for that.
It is now possible to configure all aspects of howm using a syntax like so:
cottage -c config_var val
I have also added some more error outputs for when things go wrong.
I have mentioned the changes to howm and my motivation for them on my blog
howm away from howm
Cottage is a small utility that allows users to control howm from the command line or scripts.
Usage is as follows:
cottage [function] <args>
Where function is one of the functions within howm that can be bound to a key and args are the arguments to be passed to the function, separated by spaces.