d base platform for many utilities</title> <meta name='generator' content='cgit v1.2.1'/> <meta name='robots' content='index, nofollow'/> <link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/> <link rel='shortcut icon' href='/favicon.ico'/> <link rel='alternate' title='Atom feed' href='http://gitweb.mageia.org/software/drakx/atom/perl-install/install/steps_stdio.pm?h=15.54' type='application/atom+xml'/> <link rel='vcs-git' href='git://git.mageia.org/software/drakx' title='drakx Git repository'/> <link rel='vcs-git' href='ssh://git@git.mageia.org/software/drakx' title='drakx Git repository'/> </head> <body> <div id='cgit'><table id='header'> <tr> <td class='logo' rowspan='2'><a href='/'><img src='//nav.mageia.org/css/mageia-logo-nav-3.png' alt='cgit logo'/></a></td> <td class='main'><a href='/'>index</a> : <a title='drakx' href='/software/drakx/'>drakx</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='368f416649ed34557702a946ec8c0cec2fd45294'/><select name='h' onchange='this.form.submit();'> <option value='distro/mdv2007.1'>distro/mdv2007.1</option> <option value='distro/mdv2008.0'>distro/mdv2008.0</option> <option value='distro/mdv2008.1'>distro/mdv2008.1</option> <option value='distro/mdv2009.0'>distro/mdv2009.0</option> <option value='distro/mdv2009.1'>distro/mdv2009.1</option> <option value='distro/mdv2010.0'>distro/mdv2010.0</option> <option value='distro/mes5'>distro/mes5</option> <option value='distro/mes5-2.6.33'>distro/mes5-2.6.33</option> <option value='distro/mes6'>distro/mes6</option> <option value='distro/mga1'>distro/mga1</option> <option value='distro/mga2'>distro/mga2</option> <option value='distro/mga3'>distro/mga3</option> <option value='distro/mga4'>distro/mga4</option> <option value='distro/mga5'>distro/mga5</option> <option value='distro/mga6'>distro/mga6</option> <option value='distro/mga7'>distro/mga7</option> <option value='distro/mga8'>distro/mga8</option> <option value='distro/mga9'>distro/mga9</option> <option value='master'>master</option> <option value='topic/Corpo_2_1'>topic/Corpo_2_1</option> <option value='topic/KA9_0'>topic/KA9_0</option> <option value='topic/MDK-10-update'>topic/MDK-10-update</option> <option value='topic/MDK-10_1-update'>topic/MDK-10_1-update</option> <option value='topic/MDK-10_2-update'>topic/MDK-10_2-update</option> <option value='topic/MDK-2006_0-update'>topic/MDK-2006_0-update</option> <option value='topic/MDK92-branch'>topic/MDK92-branch</option> <option value='topic/MDKC_1_0'>topic/MDKC_1_0</option> <option value='topic/PCMCIA_CS_DISTRO'>topic/PCMCIA_CS_DISTRO</option> <option value='topic/R9_0-64bit-branch'>topic/R9_0-64bit-branch</option> <option value='topic/R9_1_HP-branch'>topic/R9_1_HP-branch</option> <option value='topic/a'>topic/a</option> <option value='topic/before_matchbox_wm'>topic/before_matchbox_wm</option> <option value='topic/bug-13680'>topic/bug-13680</option> <option value='topic/dietlibc'>topic/dietlibc</option> <option value='topic/efi'>topic/efi</option> <option value='topic/extlinux'>topic/extlinux</option> <option value='topic/firewall'>topic/firewall</option> <option value='topic/gdk-pixbuf-0-branch'>topic/gdk-pixbuf-0-branch</option> <option value='topic/gi-ppc'>topic/gi-ppc</option> <option value='topic/ia64-8_1'>topic/ia64-8_1</option> <option value='topic/mandrakesoft'>topic/mandrakesoft</option> <option value='topic/mlcd4'>topic/mlcd4</option> <option value='topic/ppp'>topic/ppp</option> <option value='topic/rp-pppoe'>topic/rp-pppoe</option> <option value='topic/switching_to_dnf'>topic/switching_to_dnf</option> <option value='topic/switching_to_urpmi'>topic/switching_to_urpmi</option> <option value='topic/unlabeled-1.1.1'>topic/unlabeled-1.1.1</option> <option value='topic/v_webmin_0_87'>topic/v_webmin_0_87</option> <option value='topic/x86_64-branch'>topic/x86_64-branch</option> <option value='user/animtim/designWork'>user/animtim/designWork</option> <option value='user/colin/rescue-systemd'>user/colin/rescue-systemd</option> <option value='user/ennael/mga6'>user/ennael/mga6</option> <option value='user/erwan/bug-13680'>user/erwan/bug-13680</option> <option value='user/jibz/aarch64'>user/jibz/aarch64</option> <option value='user/martinw/mga6'>user/martinw/mga6</option> <option value='user/pterjan/arm64'>user/pterjan/arm64</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>Mageia Installer and base platform for many utilities</td><td class='sub right'>Thierry Vignaud [tv]</td></tr></table> <table class='tabs'><tr><td> <a href='/software/drakx/?h=15.54'>summary</a><a href='/software/drakx/refs/?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>refs</a><a href='/software/drakx/log/perl-install/install/steps_stdio.pm?h=15.54'>log</a><a class='active' href='/software/drakx/tree/perl-install/install/steps_stdio.pm?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>tree</a><a href='/software/drakx/commit/perl-install/install/steps_stdio.pm?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>commit</a><a href='/software/drakx/diff/perl-install/install/steps_stdio.pm?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>diff</a><a href='/software/drakx/stats/perl-install/install/steps_stdio.pm?h=15.54'>stats</a></td><td class='form'><form class='right' method='get' action='/software/drakx/log/perl-install/install/steps_stdio.pm'> <input type='hidden' name='h' value='15.54'/><input type='hidden' name='id' value='368f416649ed34557702a946ec8c0cec2fd45294'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/software/drakx/tree/?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>root</a>/<a href='/software/drakx/tree/perl-install?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>perl-install</a>/<a href='/software/drakx/tree/perl-install/install?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>install</a>/<a href='/software/drakx/tree/perl-install/install/steps_stdio.pm?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>steps_stdio.pm</a></div><div class='content'>blob: f6a759caee43644a9a8ede58bf3539c293c190bb (<a href='/software/drakx/plain/perl-install/install/steps_stdio.pm?h=15.54&id=368f416649ed34557702a946ec8c0cec2fd45294'>plain</a>) <table summary='blob content' class='blob'> <tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a> <a id='n2' href='#n2'>2</a> <a id='n3' href='#n3'>3</a> <a id='n4' href='#n4'>4</a> <a id='n5' href='#n5'>5</a> <a id='n6' href='#n6'>6</a> <a id='n7' href='#n7'>7</a> <a id='n8' href='#n8'>8</a> <a id='n9' href='#n9'>9</a> <a id='n10' href='#n10'>10</a> <a id='n11' href='#n11'>11</a> <a id='n12' href='#n12'>12</a> <a id='n13' href='#n13'>13</a> <a id='n14' href='#n14'>14</a> <a id='n15' href='#n15'>15</a> <a id='n16' href='#n16'>16</a> <a id='n17' href='#n17'>17</a> <a id='n18' href='#n18'>18</a> <a id='n19' href='#n19'>19</a> <a id='n20' href='#n20'>20</a> <a id='n21' href='#n21'>21</a> <a id='n22' href='#n22'>22</a> <a id='n23' href='#n23'>23</a> <a id='n24' href='#n24'>24</a> <a id='n25' href='#n25'>25</a> <a id='n26' href='#n26'>26</a> <a id='n27' href='#n27'>27</a> <a id='n28' href='#n28'>28</a> <a id='n29' href='#n29'>29</a> <a id='n30' href='#n30'>30</a> <a id='n31' href='#n31'>31</a> <a id='n32' href='#n32'>32</a> <a id='n33' href='#n33'>33</a> <a id='n34' href='#n34'>34</a> <a id='n35' href='#n35'>35</a> <a id='n36' href='#n36'>36</a> </pre></td> <td class='lines'><pre><code><span class="hl kwa">package</span> install<span class="hl opt">::</span>steps_stdio<span class="hl opt">;</span> <span class="hl slc"># $Id$</span> <span class="hl kwa">use</span> diagnostics<span class="hl opt">;</span> <span class="hl kwa">use</span> strict<span class="hl opt">;</span> <span class="hl kwa">use</span> vars <span class="hl str">qw(</span><span class="hl ipl">@ISA</span><span class="hl str">)</span><span class="hl opt">;</span> <span class="hl kwb">@ISA</span> <span class="hl opt">=</span> <span class="hl str">qw(install::steps_interactive interactive::stdio)</span><span class="hl opt">;</span> <span class="hl kwa">use</span> common<span class="hl opt">;</span> <span class="hl kwa">use</span> interactive<span class="hl opt">::</span>stdio<span class="hl opt">;</span> <span class="hl kwa">use</span> install<span class="hl opt">::</span>steps_interactive<span class="hl opt">;</span> <span class="hl kwa">use</span> lang<span class="hl opt">;</span> <span class="hl kwa">sub</span> new<span class="hl opt">(</span><span class="hl kwb">$$</span><span class="hl opt">) {</span> <span class="hl kwc">my</span> <span class="hl opt">(</span><span class="hl kwb">$type, $o</span><span class="hl opt">) =</span> <span class="hl kwb">@_</span><span class="hl opt">;</span> <span class="hl opt">(</span><span class="hl kwc">bless</span> <span class="hl opt">{},</span> <span class="hl kwc">ref</span><span class="hl opt">(</span><span class="hl kwb">$type</span><span class="hl opt">) ||</span> <span class="hl kwb">$type</span><span class="hl opt">)-></span><span class="hl kwd">SUPER</span><span class="hl opt">::</span>new<span class="hl opt">(</span><span class="hl kwb">$o</span><span class="hl opt">);</span> <span class="hl opt">}</span> <span class="hl kwa">sub</span> charsetChanged <span class="hl opt">{</span> <span class="hl kwc">my</span> <span class="hl opt">(</span><span class="hl kwb">$o</span><span class="hl opt">) =</span> <span class="hl kwb">@_</span><span class="hl opt">;</span> lang<span class="hl opt">::</span>load_console_font<span class="hl opt">(</span><span class="hl kwb">$o</span><span class="hl opt">->{</span>locale<span class="hl opt">});</span> <span class="hl opt">}</span> <span class="hl kwa">sub</span> enteringStep <span class="hl opt">{</span> <span class="hl kwc">my</span> <span class="hl opt">(</span><span class="hl kwb">$o, $step</span><span class="hl opt">) =</span> <span class="hl kwb">@_</span><span class="hl opt">;