Changeset 915


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

replaced ReadMode('noecho') by to reduce dependencies

Location:
dasscm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.spec

    r905 r915  
    1414Version:        1.0
    1515Release:        0
    16 Requires:       subversion perl perl-TermReadKey
     16Requires:       subversion perl
     17#               perl-TermReadKey:
     18#                   replaced ReadMode('noecho') by `stty -echo`
     19#                   to reduce dependencies
    1720Source:         %{name}_%{version}.orig.tar.gz
    1821BuildRoot:      %{_tmppath}/%{name}-%{version}-build
  • 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.