Thread Perldoc Escape sequencen: Wie muss ich mein Terminal einstelle? (13 answers)
Opened by frodus at 2005-01-14 15:21

frodus
 2005-01-14 15:21
#50740 #50740
User since
2003-09-26
147 Artikel
BenutzerIn
[default_avatar]
Hi Leute,

wie muss ich mein Terminal unter Linux/Unix einstellen
damit es mit den escape Sequencen von perldoc zurecht kommt?

Hier mal ein Beispile meiner aktuellen Ausgabe:
Quote
ESC[1mNAMEESC[0m
Getopt::Long - Extended processing of command line options

ESC[1mSYNOPSISESC[0m
use Getopt::Long;
my $data = "file.dat";
my $length = 24;
my $verbose;
$result = GetOptions ("length=i" => \$length, # numeric
"file=s" => \$data, # string
"verbose" => \$verbose); # flag

ESC[1mDESCRIPTIONESC[0m
The Getopt::Long module implements an extended getopt function called
ESC[4mGetOptions()ESC[24m. This function adheres to the POSIX syntax for command
line options, with GNU extensions. In general, this means that options
have long names instead of single letters, and are introduced with a
double dash "--". Support for bundling of command line options, as was
the case with the more traditional single-letter approach, is provided
but not enabled by default.

View full thread Perldoc Escape sequencen: Wie muss ich mein Terminal einstelle?