Changeset 915 for dasscm/trunk/usr/bin


Ignore:
Timestamp:
Jul 16, 2010, 6:28:10 PM (14 years ago)
Author:
joergs
Message:

replaced ReadMode('noecho') by to reduce dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/usr/bin/dasscm

    r914 r915  
    10531053
    10541054    # hidden password input
    1055     print "Enter password for $input_username: ";
    1056     ReadMode('noecho');
     1055    print "Enter password stty for $input_username: ";
     1056    #ReadMode('noecho');
     1057    `stty -echo`;
    10571058    my $input_password = <STDIN>;
    1058     ReadMode('normal');
     1059    #ReadMode('normal');
     1060    `stty echo`;
    10591061    chomp($input_password);
    10601062    print "\n";
Note: See TracChangeset for help on using the changeset viewer.