rtconsole - RT text client console
version 0.1
rtconsole [options]
Options can be set --like=this, --like this, or -l this
Specify the RT server
Specify the user to connect to the server
Specify the password to connect to the server
Specify the directory to use to download and store files (from a ticket attachment for instance).
Specify the command line to execute to display image. %s will be replaced by the file name.
%s
Specify the command line to execute to display text. %s will be replaced by the file name.
Specify the config file to read. Default $HOME/.rtconsolerc
Generates the config file
Print this help
Print the program name and version, then exit
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
rtconsole is a text client to RT using ncurses.
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.
connection
files
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)
$HOME/.rtconsolerc
Damien "dams" Krotkine (DAMS@CPAN.org)
There are undoubtedly serious bugs lurking somewhere in this code. Bug reports and other feedback are most welcome.
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
To install RT::Client::Console, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Client::Console
CPAN shell
perl -MCPAN -e shell install RT::Client::Console
For more information on module installation, please visit the detailed CPAN module installation guide.