NAME
rtconsole - RT text client console
VERSION
version 0.1
USAGE
rtconsole [options]
OPTIONS
Options can be set --like=this, --like this, or -l this
- --server server_name
-
Specify the RT server
- --user user_name
-
Specify the user to connect to the server
- --pass password
-
Specify the password to connect to the server
- --download-dir download_directory
-
Specify the directory to use to download and store files (from a ticket attachment for instance).
- --view-image
-
Specify the command line to execute to display image.
%s
will be replaced by the file name. - --view-text
-
Specify the command line to execute to display text.
%s
will be replaced by the file name. - --config-file filename
-
Specify the config file to read. Default $HOME/.rtconsolerc
- --generate-config
-
Generates the config file
- --help
-
Print this help
- --version
-
Print the program name and version, then exit
- --debug
-
Outputs errors and debug messages on STDERR. enable this to see what's going wrong. I recommend redirecting STDERR to a temp file to avoid breaking the display
DESCRIPTION
rtconsole is a text client to RT using ncurses.
FILES
The config file $HOME/.rtconsolerc (see the --config-file option) can be use to set options. The format is .ini file style. Here is an example with all possible keys/values for now :
[connection]
server=rt.cpan.org
user=dams
pass=my_password
[files]
download_dir=/some/directory # where to store attachments
view_image=/usr/bin/cacaview %s # how to display an image (%s in the filename)
view_text=/usr/bin/nano %s # how to display a text (%s in the filename)
There are 2 sections for now : connection
and files
. More will be added in the next versions of this software.
You can generate the config file by using --generate-config. It'll be saved at the location specified with --config-file, or at the default location ($HOME/.rtconsolerc
)
AUTHOR
Damien "dams" Krotkine (DAMS@CPAN.org)
BUGS
There are undoubtedly serious bugs lurking somewhere in this code. Bug reports and other feedback are most welcome.
COPYRIGHT
Copyright (c) 2007, Damien Krotkine. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the terms of Perl itself