mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 09:53:23 +00:00
Allow the font to be specified on the command line
This commit is contained in:
parent
69bbf5ca2a
commit
1dc9e56c74
1 changed files with 6 additions and 1 deletions
|
@ -86,7 +86,7 @@ use Net::hostent;
|
||||||
my $scriptname = $0;
|
my $scriptname = $0;
|
||||||
$scriptname =~ s!.*/!!; # get the script name, minus the path
|
$scriptname =~ s!.*/!!; # get the script name, minus the path
|
||||||
|
|
||||||
my $options = 'dDv?hHuqQgGit:T:c:l:o:e:'; # Command line options list
|
my $options = 'dDv?hHuqQgGit:T:c:l:o:e:f:'; # Command line options list
|
||||||
my %options;
|
my %options;
|
||||||
my %config;
|
my %config;
|
||||||
my $debug = 0;
|
my $debug = 0;
|
||||||
|
@ -308,6 +308,7 @@ sub check_config()
|
||||||
|
|
||||||
$config{user} = $options{l} if ( $options{l} );
|
$config{user} = $options{l} if ( $options{l} );
|
||||||
$config{terminal_args} = $options{t} if ( $options{t} );
|
$config{terminal_args} = $options{t} if ( $options{t} );
|
||||||
|
$config{terminal_font} = $options{f} if ( $options{f} );
|
||||||
|
|
||||||
$config{ignore_host_errors} = "yes" if ( $options{i} );
|
$config{ignore_host_errors} = "yes" if ( $options{i} );
|
||||||
|
|
||||||
|
@ -1873,6 +1874,10 @@ currently logged in user). NOTE: will be overridden by <user>@<host>
|
||||||
|
|
||||||
Specify the initial part of the title used in the console and client windows
|
Specify the initial part of the title used in the console and client windows
|
||||||
|
|
||||||
|
=item -f "5x8"
|
||||||
|
|
||||||
|
Specify the font to use in the terminal windows. Use standard X font notation.
|
||||||
|
|
||||||
=item -o "-x -o ConnectTimeout=10" - for ssh connections
|
=item -o "-x -o ConnectTimeout=10" - for ssh connections
|
||||||
|
|
||||||
=item -o "" - for rsh connections
|
=item -o "" - for rsh connections
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue