Changeset 15027 for misc/runpugs/perl

Show
Ignore:
Timestamp:
01/10/07 17:10:03 (23 months ago)
Author:
andara
Message:

[runpugs]
-release of what was the 'devel' version, v0.3.0
-window/tab close now terminates session. Thanks diakopter.
-for those who didn't use the devel version: it's much faster now

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • misc/runpugs/perl/runpugs3.pl

    r14954 r15027  
    6868                last; 
    6969        }; 
    70         $cmdline=~/$Web::Terminal::Settings::quit_message/  
     70        $cmdline=~/$Web::Terminal::Settings::quit_message|Aborted/  
    7171        && do { 
    7272        $cmd='clear'; 
     
    135135            $reply = "Sorry, Unicode is not yet supported.\n".$Web::Terminal::Settings::prompt; 
    136136        } else { 
    137             if ($cmd=~/>\s+(\:*help)\b/) { 
     137            if ($cmd=~/\s*(\:*help)\b/) { 
    138138                $cmd=~s/$1/:h/; 
    139             } elsif ($cmd=~/>\s+(\:*(quit|bye))\b/) { 
     139            } elsif ($cmd=~/\s*(\:*(quit|bye))\b/) { 
    140140                $cmd=~s/$1/:q/; 
    141141            }