From 774a010e8337ac75e1b1708e2f92df9c1c131c19 Mon Sep 17 00:00:00 2001 From: etienne Date: Thu, 12 Feb 2004 13:34:39 +0000 Subject: modif man + help --- src/ivymon | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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 + +Cedric Mariot has contributed the code of size management. -- cgit v1.1