package install_steps_stdio; # $Id: install_steps_stdio.pm,v 1.15 2000/09/14 12:56:41 prigaux Exp $





@ISA = qw(install_steps_interactive interactive_stdio);

use common qw(:common);
use interactive_stdio;
use install_steps_interactive;
use lang;

sub new($$) {
    my ($type, $o) = @_;

    $o->{partitioning}{readonly} = 1; 
    (bless {}, ref $type || $type)->SUPER::new($o);
}

sub enteringStep {
    my ($o, $step) = @_;
    print _("Entering step `%s'\n", translate($o->{steps}{$step}{text}));
    $o->SUPER::enteringStep($step);
}
sub leavingStep {
    my ($o, $step) = @_;
    $o->SUPER::leavingStep($step);
    print "--------\n";
}




sub selectLanguage {
    my ($o, $first_time) = @_;
    $o->SUPER::selectLanguage($first_time);
    lang::load_console_font($o->{lang});
}

1;
