summaryrefslogtreecommitdiff
path: root/src/ivymon
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivymon')
-rwxr-xr-xsrc/ivymon10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/ivymon b/src/ivymon
index 9af7002..24dbe0b 100755
--- a/src/ivymon
+++ b/src/ivymon
@@ -102,6 +102,7 @@ Tk::CmdLine::SetArguments();
if (not GetOptions('-help', '-history=s', '-b=s', '-bus=s', '-bind=s@',
'-send=s@', '-size=s', '-undersize') or $opt_help) {
print "Usage: ivymon [-b[us] bus] [-help] [-history length]\n";
+ print " [-size VGA|SVGA|XGA|SXGA|UXGA]\n";
print " [-bind regexp1] ... [-bind regexpN] \n";
print " [-send message1] ... [-send messageN] \n";
print " [standard X11 options...]\n";
@@ -437,13 +438,14 @@ if($smallsized){
my $clientsSeeBindings_btn =
$clientsButtons_fm->Button(-command => [\&showClientBindings],
-state => 'disabled',
- -text => $clientsSeeBindings_btnmsg)->pack(-side => 'left');
+ -text => $clientsSeeBindings_btnmsg
+ )->pack(-side => 'left');
+
my $clientsKill_btn =
$clientsButtons_fm->Button(-command => [\&killClient],
-state => 'disabled',
-text => "Kill")->pack(-side => 'left');
-
#----------------------------------------------------------------------------------
# Messages to send area
#----------------------------------------------------------------------------------
@@ -2171,7 +2173,7 @@ Sets the history size of messages window (default: 200000). If ivymon receives m
Sets the size of the IvyMon window. Can be VGA or 640, SVGA or 800, XGA or 1024, SXGA or 1280, UXGA or 1600. Default is XGA (1024x768).
-=item B<-undersize|noundersiez>
+=item B<-undersize|noundersize>
Slightly reduce the IvyMon window to fit it in screen with borders of the window manager. Default: noundersize.
@@ -2194,3 +2196,5 @@ ivymon -b 10.192.36.255:3456 -history 20000 -bind 'PLN:(.*) SectorActivation sec
=head1 AUTHORS
Daniel Etienne <etienne@cena.fr>
+
+Cedric Mariot <mariot@cena.fr> has contributed the code of size management.