diff --git a/xen-create-image b/xen-create-image index fd57d1f..9f649a3 100755 --- a/xen-create-image +++ b/xen-create-image @@ -208,7 +208,7 @@ suffixed with either Mb, or Gb. -- http://www.steve.org.uk/ - $Id: xen-create-image,v 1.44 2005-12-21 02:47:41 steve Exp $ + $Id: xen-create-image,v 1.45 2005-12-21 02:53:49 steve Exp $ =cut @@ -251,7 +251,9 @@ my %CONFIG; # # The width of the current terminal, used for line-wrapping. # -my $TERMINAL_WIDTH = getTerminalWidth(); +my ( $TERMINAL_WIDTH, $TERMINAL_HEIGHT ) = getTerminalSize(); + + # # Constants for filesystem usage. @@ -634,34 +636,12 @@ print "Done\n"; # # Give status message # -print <