Linux "ls" su steroidais
„lsp“ – Terminalo failų sąrašas (ls) su „steroidais“ ir 256 spalvomis#
Kiekvienas, dirbantis terminale, per dieną šimtus kartų įveda komandą ls. Nors standartinis ls atlieka savo darbą, jo išvedimas dažnai būna perkrautas, sunkiai skaitomas, o laiko formatai reikalauja papildomų sekundžių smegenų resursų, norint suprasti, kada tiksliai failas buvo modifikuotas.
Apie 2015 metus, įkvėptas Magnus Woldrich „ls++“ projekto, nusprendžiau parašyti savo Perl wrapper'į (apgaubiančią programą) standartinei ls komandai. Taip gimė „lsp“.
Kaip tai veikia ir kuo tai ypatinga?#

„lsp“ nepakeičia jūsų sistemos ls komandos ir nebando failų sistemos skaityti pats. Vietoje to, skriptas fone paleidžia /bin/ls -hlviZ --color=always, sugauna jo išvedimą, jį išdarinėja (parse) ir suformatuoja į tobulai sulygiuotą, 256 ANSI spalvų lentelę.
Pagrindiniai privalumai:
- Gudrus spalvinimas: Skriptas failų pavadinimų spalvas gauna tiesiai iš GNU
ls, todėl jis pilnai ir be jokių papildomų pastangų palaiko jūsų~/.dircolorsarba~/.dircolors-256konfigūraciją. - Spalvotos failų teisės (Permissions): Raidės išryškintos taip, kad iš karto matytumėte failo tipą (katalogas, nuoroda) ir teises (skaitymas žaliai, vykdymas žydrai).
- Reliatyvus laikas: Pamirškite griozdiškus datų formatus (pvz.,
Oct 29 17:36). „lsp“ juos paverčia į žmogui draugišką formatą:< sec(raudona),16 min(rožinė),2 hr(geltona) ar21 day(pilka). - Moduliarumas ir rodinių keitimas: Galite įjungti arba išjungti atskirus stulpelius naudodami parametrus (
-p,-s,-t,-o,-cir t.t.). Jei parametrų nenurodysite, gausite gražų, pilną numatytąjį rodinį. - SELinux palaikymas: Sistemos administratoriams pravers galimybė rodyti SELinux saugumo kontekstą (
-cparametras). - Išlaikytas lengvumas: Nors skriptas atlieka sudėtingus formatavimus, jis naudoja tik standartinius Perl modulius (
Getopt::Long,Pod::Usage).
Diegimas ir Konfigūracija#
Pirmiausia įsitikinkite, kad turite .dircolors-256 failą savo namų kataloge, kuris apibrėžia failų tipų spalvas. Tada išsaugokite žemiau esantį kodą faile pavadinimu lsp, suteikite vykdymo teises (chmod +x lsp) ir įdėkite į $PATH katalogą (pvz., ~/.local/bin/).
Papildomai galite susikurti ~/.lsprc failą asmeniniams nustatymams.
Naudojimo pavyzdžiai:#
lsp– Parodys numatytąjį gražų katalogų sąrašą.lsp -s -t– Parodys tik failo dydį, laiką ir pavadinimą (kompaktiškas vaizdas).lsp --help– Parodys visus įmanomus argumentus ir nustatymus.- Galite jį naudoti kaip
alias ls="lsp".
Skripto Kodas#
#!/usr/bin/perl
our $APP = 'lsp';
our $VERSION = '0.360 (Updated 2026)';
use strict;
use warnings;
use Pod::Usage qw(pod2usage);
use Getopt::Long qw(GetOptions);
my $ls = "/bin/ls";
my $config = "$ENV{HOME}/.lsprc";
our(@d, @l, @c);
$d[0] = '├';
$d[1] = '─';$d[2] = '│';
$d[3] = '┤';$d[4] = ' » ';
$l[0] = 20; # inode length
$l[1] = 19; # user length
$l[2] = 19; # group length
$l[3] = 15; # link length
$l[4] = 1; # context length
$c[0] = 238; # Seperators
$c[1] = 68; # Directory
# File types
$c[2] = 65; # (d) Directory
$c[3] = 166; # (l) Symbolic link
$c[4] = 170; # (p) Named pipe
$c[5] = 220; # (s) Socket
$c[6] = 143; # (c) character device
$c[7] = 73; # (b) block device
$c[8] = 73; # (D) Door - Sun Solaris
# File permissions
$c[9] = 71; # +r Readable
$c[10] = 173; # +w Writable
$c[11] = 74; # +x Executable
$c[12] = 160; # (s) executable and setuid/setgid/sticky
$c[13] = 167; # (S) setuid/setgid or sticky, but not executable
$c[14] = 128; # (t) executable and setuid/setgid/sticky
$c[15] = 167; # (T) setuid/setgid or sticky, but not executable
$c[16] = 97; # . (S) Indicates an SELinux context is present.
$c[17] = 200; # + (C) Indicates an access control list.
$c[18] = 123; # @ (A) Indicates extended file attributes are present.
$c[19] = 216; # user
$c[20] = 220; # group
# Security context
$c[21] = 73; # user
$c[22] = 71; # role
$c[23] = 68; # type
$c[24] = 63; # level (MLS/MCS)
# File inodes and hard links
$c[25] = 68; # inodes
$c[26] = 65; # number of hard links 1
$c[27] = 71; # number of hard links 1+
# File Size
$c[28] = 249; # Size
$c[29] = 65; # K
$c[30] = 68; # M
$c[31] = 166; # G
$c[32] = 101; # B
# File Time
$c[33] = 160; # sec
$c[34] = 125; # min
$c[35] = 97; # hour
$c[36] = 60; # day
$c[37] = 241; # mon
$c[38] = 238; # year
# Read config if available
require $config if -r $config and not -z$config;
my $opt = {
'permissions' => 0,
'context' => 0,
'time' => 0,
'size' => 0,
'owner' => 0,
'links' => 0,
'inode' => 0,
'debug' => 0
};
Getopt::Long::Configure ("bundling");
GetOptions(
'p|permissions' => \$opt->{permissions},
'c|context' => \$opt->{context},
't|time' => \$opt->{time},
's|size' => \$opt->{size},
'o|owner' => \$opt->{owner},
'l|links' => \$opt->{links},
'i|inode' => \$opt->{inode},
'd|debug' => \$opt->{debug},
'm|man' => sub { pod2usage(verbose => 3); },
'h|help' => sub { pod2usage(verbose => 1); },
'v|version' => sub { print "$APP v$VERSION\n" and exit 0; },
);
sub ls {
my (@ls_args) = @_;
my($inode, $perm,$cont, $hlink,$user, $group,$size, $seconds,$file, $rel,$owner);
open(my $ls, '-\vert{}', "$ls -hlviZ --group-directories-first --color=always --time=ctime --time-style=+%s -a @ls_args")
or die("Cant popen $ls:$!");
while(my $line = <$ls>) {
print($line) if$opt->{debug};
next if $line =~ /^total/; # Skip total line
($inode,$perm, $hlink,$user, $group,$cont, $size,$seconds, $file) =$line =~ /
\s?+(\d+) # inode
\s+([rwxsStTdlpcbD\.\+\@\-]+) # perm
\s+(\d+) # hlink
\s+([^ ]+) # user
\s+([^ ]+) # group
\s+([\w\d\_\:\?]+) # context
\s+([\,\s0-9BKMGT\.]+) # size
\s+(\d+) # date
\s+(.+) # file
/gx;
if ($opt->{debug}) {
printf("[%s][%s][%s][%s][%s][%s][%s][%s][%s]\n",
$inode, $perm,$cont, $hlink,$user, $group,$size, $seconds,$file);
}
if(!$file) {
if ($line =~ /(.*):/){
printf("$d[0] \%s\n", color('underline', color($c[1], $1)));
next
} else {
next
}
}
$file = $1 .$d[4] . $2 if$file =~ m/(.+)\s->\s(.+)/g;
$rel = relative_time(time(), $seconds);$perm = perm($perm);$cont = context($cont);$size = size($size);$inode = inode($inode);$owner = owner($user,$group);
$hlink = links($hlink);
my $out = $d[2] .$file;
$out = $d[2] .$hlink . $out if$opt->{links};
$out =$d[2] . $rel .$out if $opt->{time};$out = $d[2] .$size . $out if$opt->{size};
$out =$d[2] . $owner .$out if $opt->{owner};$out = $d[2] .$cont . $out if$opt->{context};
$out =$d[2] . $perm .$out if $opt->{permissions};$out = $d[2] .$inode . $out if$opt->{inode};
# Jei jokių parametrų neperduota, spausdiname gražų default rodinį
if ($out eq $d[2] .$file) {
print($d[0],$perm, $d[3],$owner, $d[2],$rel, $d[2],$size, $d[2],$hlink, $d[2],$file , "\n")
} else {
print($out, "\n");
}
}
}
# Permissions
sub perm {
my ($perm) = @_;
$perm =~ s/(d)/color($c[2], color('bold', $1))/eg;
$perm =~ s/(l)/color($c[3], color('bold', $1))/eg;
$perm =~ s/(p)/color($c[4], color('bold', $1))/eg;
$perm =~ s/(s)/color($c[5], color('bold', $1))/eg;
$perm =~ s/(c)/color($c[6], color('bold', $1))/eg;
$perm =~ s/(b)/color($c[7], color('bold', $1))/eg;
$perm =~ s/(D)/color($c[8], color('bold', $1))/eg;
$perm =~ s/-/$d[1]/g;
$perm =~ s/(r)/color($c[9], $1)/eg;
$perm =~ s/(w)/color($c[10], $1)/eg;
$perm =~ s/(x)/color($c[11], $1)/eg;
$perm =~ s/(s)/color($c[12], color('bold', $1))/eg;
$perm =~ s/(S)/color($c[13], color('bold', $1))/eg;
$perm =~ s/(t)/color($c[14], color('bold', $1))/eg;
$perm =~ s/(T)/color($c[15], color('bold', $1))/eg;
if ($perm =~ m/([\.\@\+])/ ) {
$perm =~ s/(\.)/color($c[16], color('bold', 'S'))/eg;
$perm =~ s/(\+)/color($c[17], color('bold', 'C'))/eg;
$perm =~ s/(\@)/color($c[18], color('bold', 'A'))/eg;
} else {
$perm = $perm .$d[1];
}
return $perm;
}
# User/Group
sub owner {
my ($user,$group) = @_;
$user = color($c[19], $user);$group = color($c[20],$group);
$l[1] = length($user) if $l[1] < length($user);
$l[2] = length($group) if $l[2] < length($group);
return sprintf('%*s:%s%*s', $l[1], $user,$group, ($l[2] - length($group)), "");
}
# Security context
sub context {
my ($context) = @_;
my ($user,$role, $type,$level) = split(':', $context);$user = color($c[21], ($user or '?'));
$role = color($c[22], ($role or '?'));$type = color($c[23], ($type or '?'));
$level = color($c[24], ($level or '?'));$l[4] = length($user .$role . $type .$level)
if $l[4] < length($user .$role . $type .$level);
return sprintf('%s:%s:%s:%s%*s', $user,$role, $type,$level,
($l[4] - length($user .$role . $type .$level)), "");
}
# Inodes
sub inode {
my ($inode) = @_;$inode = color($c[25],$inode);
$l[0] = length($inode) if $l[0] < length($inode);
return sprintf('%*s', $l[0],$inode);
}
# Hard links
sub links {
my ($links) = @_;
$links = ($links > 1) ? color($c[27],$links) : color($c[26],$links);
$l[3] = length($links) if $l[3] < length($links);
return sprintf("%*s", $l[3],$links);
}
# Size
sub size {
my ($size) = @_;
if ($size =~ m/^(\S+)(K)/) {
$size = sprintf("\% 27s", color($c[28], sprintf("%4g", $1)) . color($c[29], color('bold', $2))); } elsif($size =~ m/^(\S+)(M)/) {
$size = sprintf("\% 29s", color($c[28], sprintf("%4g", $1)) . color($c[30], color('bold', $2))); } elsif($size =~ m/^(\S+)(G)/) {
$size = sprintf("\% 27s", color($c[28], sprintf("%4g", $1)) . color($c[31], color('bold', $2))); } elsif($size =~ m/^(\d+)/) {
$size = sprintf("\% 27s", color($c[28], sprintf("%4d", $1)) . color($c[32], color('bold', 'B')));
}
return $size;
}
# Time format
sub relative_time_format {
my ($color, $string,$unit) = @_;
return sprintf('%s%-3s%-3s', $color, $string,$unit);
}
sub relative_time {
my ($cur,$sec) = @_;
my $delta = $cur -$sec;
my ($unit,$ret);
$unit = "sec ";
$ret =$delta;
return relative_time_format(color($c[33]), "<", $unit) if$delta < 10;
return relative_time_format(color($c[33]),$ret, $unit) if$delta < 60;
$unit = "min ";
$ret = int($ret/60);
return relative_time_format(color($c[34]), "<", $unit) if$delta < 2 * 60;
return relative_time_format(color($c[34]),$ret, $unit) if$delta < 45 * 60;
$unit = "hour";
$ret = int($ret/60);
return relative_time_format(color($c[35]), "<", $unit) if$delta < 90 * 60;
return relative_time_format(color($c[35]),$ret, $unit) if$delta < 24 * 60 * 60;
return relative_time_format(color($c[35]),$ret, $unit) if$delta < 30 * 60 * 60;
return relative_time_format(color($c[35]),$ret, $unit) if$delta < 36 * 60 * 60;
$unit = "day ";
$ret = int($ret/24);
return relative_time_format(color($c[36]), "<", $unit) if$delta < 48 * 60 * 60;
return relative_time_format(color($c[36]),$ret, $unit) if$delta < 7 * 24 * 60 * 60;
return relative_time_format(color($c[36]),$ret, $unit) if$delta < 14 * 24 * 60 * 60;
return relative_time_format(color($c[36]),$ret, $unit) if$delta < 28 * 24 * 60 * 60;
return relative_time_format(color($c[36]),$ret, $unit) if$delta < 30 * 24 * 60 * 60;
$unit = "mon ";
$ret = int($ret/30);
return relative_time_format(color($c[37]), "<", $unit) if$delta < 2 * 30 * 24 * 60 * 60;
return relative_time_format(color($c[37]),$ret, $unit) if$delta < 12 * 30 * 24 * 60 * 60;
$unit = "year";
$ret = int($ret/12);
return relative_time_format(color($c[38]), $ret,$unit);
}
# Colorize output
map { $_ = color($c[0],$_); } @d;
sub color {
my($color_str,$data) = @_;
my ($fg,$bg) = ("\e[38;", "\e[48;");
my %color_names = (
reset => 0, clear => 0, normal => 0,
bold => 1, bright => 1, faint => 2,
italic => 3, cursive => 3, underline => 4,
underscore => 4, blink => 5, blink_ms => 6,
reverse => 7, inverse => 7, negative => 7, conceal => 8
);
my $access_by_numeric_index = 0;
$color_str = "" if not defined($color_str);
if((!exists($color_names{$color_str})) and ($color_str !~ /^\d+$/m)) {
return ($data) ? $data :$color_str;
}
my $start =$fg;
my $end = "\e[m";
if( ($color_str =~ /^\d+$/m) and ($color_str < 256) and ($color_str > -1) ) {$color_str = $start . "5;$color_str" . 'm';
$access_by_numeric_index = 1;
}
if(!defined($data)) {
return ($access_by_numeric_index) ? $color_str : "$start$color_names{$color_str}m";
}
if($data =~ /;(\d+;\d+)m$/m) {
my $esc = $1;
my @escapes = values %color_names;
for(@escapes) {
if($esc eq$_) { return $start .$color_names{$color_str} . 'm' .$data; }
}
}
my @output;
if(ref($data) eq 'ARRAY') { push(@output, @{$data}); } else { push(@output, $data); }
for my $line(@output) {
if($access_by_numeric_index) { $line =$color_str . $line .$end; }
else { $line = "$start$color_names{$color_str}m$line$end"; }
}
return (wantarray()) ? (@output) : (join('', @output));
}
# Escape arguments (safer mapping)
my @files;
for (@ARGV) {
push(@files, quotemeta($_));
}
# Detect colors support
my $tput_colors = `tput colors 2>/dev/null`;
chomp($tput_colors);
if (($ENV{TERM} &&$ENV{TERM} =~ /256/i) || ($tput_colors &&$tput_colors >= 256)) {
ls(@files);
} else {
system($ls, @files);
}
if ($opt->{debug}) {
printf("\nDebug:\n");
printf("perl version:\t%s\n", $^V);
printf("system:\t\t%s\n", $^O);
printf("config exists:\t%d\n", (-X $config));
printf("ls exists:\t%d\n", (-x $ls));
printf("ARGV:\t\t%s\n", join(", ", @ARGV));
printf("terminal:\t%s\n", $ENV{TERM});
printf("colors:\t\t%s\n", $tput_colors || "Unknown");
}
__END__
=pod
=head1 NAME
lsp - colorized ls on steroids.
=head1 USAGE
lsp [VIEW..] [FILE..]
=head1 DESCRIPTION
List information about the FILEs (the current directory by default),
formatted with 256 ANSI colors.
=head1 OPTIONS
=head3 Views
-p|--permissions print symbolic notation permissions of each file
-c|--context print security context of each file
-t|--time print relative time of each file
-s|--size print allocated size of each file
-o|--owner print user and group of each file
-l|--links print number of hard links for each file
-i|--inode print index (inode) number of each file
-d|--debug Enable debug output
-v|--version display version information and exit
=head3 Documentation
-h|--help show the help and exit
-m|--man show the manpage and exit
=head1 COPYRIGHT
Copyright 2015-2026 Mindaugas N. (Mindaugas Nefas)
Inspired by Magnus Woldrich (2010, 2011)
=head1 LICENSE
This application is free software; you may redistribute it and/or modify it
under the same terms as Perl itself.
=cut!.dircolors-256 kodas#
BLK 38;5;68
CAPABILITY 38;5;17
CHR 38;5;113;1
DIR 38;5;30
DOOR 38;5;127
EXEC 38;5;166;1
FIFO 38;5;126
FILE 38;5;253
LINK target
MULTIHARDLINK 38;5;220;1
NORMAL 38;5;254
ORPHAN 48;5;196;38;5;232;1
OTHER_WRITABLE 38;5;220;1
SETGID 48;5;234;38;5;100;1
SETUID 38;5;137
SOCK 38;5;197
STICKY 38;5;86;48;5;234
STICKY_OTHER_WRITABLE 48;5;235;38;5;139;3
# code, text, documents
.BAT 38;5;108
.PL 38;5;160
.asm 38;5;240;1
.awk 38;5;148;1
.bash 38;5;173
.bat 38;5;33
.exe 38;5;33
.msi 38;5;33
.dll 38;5;33
.vcs 38;5;33
.vcard 38;5;33
.cfg 38;5;45
.coffee 38;5;94;1
.conf 38;5;45
.css 38;5;91
.csv 38;5;50
.ctp 38;5;95
.diff 48;5;197;38;5;232
.enc 38;5;192;3
.eps 38;5;192
.etx 38;5;172
.ex 38;5;148;1
.example 38;5;225;1
.git 38;5;197
.gitignore 38;5;240
.go 38;5;36;1
.hs 38;5;155;1
.htm 38;5;125;1
.html 38;5;125;1
.info 38;5;101
.ini 38;5;122
.java 38;5;142;1
.jhtm 38;5;125;1
.js 38;5;42
.jsm 38;5;42
.jsm 38;5;42
.json 38;5;169
.jsp 38;5;45
.lisp 38;5;204;1
.log 38;5;190
.lua 38;5;34;1
.map 38;5;58;3
.markdown 38;5;184
.md 38;5;184
.mf 38;5;220;3
.mfasl 38;5;73
.mi 38;5;124
.mbox 38;5;68
.mkd 38;5;184
.mtx 38;5;36;3
.nfo 38;5;220
.o 38;5;240
.pacnew 38;5;33
.patch 48;5;197;38;5;232;1
.pfa 38;5;43
.php 38;5;93
.pid 38;5;160
.pl 38;5;214
.pm 38;5;208;1
.pod 38;5;172;1
.py 38;5;41
.pyc 38;5;65
.rb 38;5;192
.rdf 38;5;144
.rst 38;5;67
.ru 38;5;142
.sed 38;5;130;1
.sfv 38;5;197
.sh 38;5;113
.signature 38;5;206
.sql 38;5;222
.srt 38;5;116
.sty 38;5;58
.sug 38;5;44
.t 38;5;28;1
.tcl 38;5;64;1
.tdy 38;5;214
.refs 38;5;214
.tex 38;5;172
.textile 38;5;106
.docbook 38;5;106
.tfm 38;5;64
.tfnt 38;5;140
.theme 38;5;109
.txt 38;5;192
.org 38;5;202
.urlview 38;5;85
.texi 38;5;85
.vim 1
.viminfo 38;5;240;1
.xml 38;5;199
.opml 38;5;199
.zsh 38;5;173
.el 38;5;73
.elc 38;5;70
.yml 38;5;172
.template 38;5;66
.h 38;5;67
.c 38;5;32
.cc 38;5;32
.cs 38;5;74;1
.cpp 38;5;24;1
.mk 38;5;199
.old 38;5;242
# Build stuff
.1 38;5;196;1
.1p 38;5;160
.3p 38;5;160
.am 38;5;242
.in 38;5;242
.out 38;5;46;1
.make 38;5;172
.cmake 38;5;46;1
.kdev4 38;5;160;1
.pro 38;5;46;1
.ui 38;5;30;1
.glade 38;5;106
.swf 38;5;79
.graphml 38;5;126
.moc 38;5;126
.pc 38;5;100
.krp 38;5;35
.dic 38;5;130
# pictures, icons
.bmp 38;5;62
.cdr 38;5;59
.gif 38;5;72
.ico 38;5;73
.jpeg 38;5;66
.jpg 38;5;66
.JPG 38;5;66
.png 38;5;68;1
.svg 38;5;24;1
.xpm 38;5;36
.jpe 38;5;36
.xcf 38;5;36
# Emulator roms, emulator savegames
.32x 38;5;137
.A64 38;5;82
.a00 38;5;11
.a52 38;5;112
.a64 38;5;82
.a78 38;5;112
.adf 38;5;35
.atr 38;5;213
.cdi 38;5;124
.fm2 38;5;35
.gb 38;5;203
.gba 38;5;205
.gbc 38;5;204
.gel 38;5;83
.gg 38;5;138
.ggl 38;5;83
.j64 38;5;102
.nds 38;5;193
.nes 38;5;160
.rom 38;5;59;1
.sav 38;5;220
.sms 38;5;33
.st 38;5;208;1
# images
.iso 38;5;124
.nrg 38;5;124
.qcow 38;5;141
# video
.VOB 38;5;137
.IFO 38;5;240
.BUP 38;5;241
.MOV 38;5;42
.asf 38;5;25
.avi 38;5;114
.flv 38;5;131
.m2v 38;5;166
.mkv 38;5;202
.mov 38;5;42
.mp4 38;5;160
.mpg 38;5;38
.mpeg 38;5;38
.ogm 38;5;97
.ogv 38;5;94
.rmvb 38;5;112
.sample 38;5;130;1
.ts 38;5;39
.vob 38;5;137
.webm 38;5;109
.wmv 38;5;113
# music, audio
.S3M 38;5;71;1
.aac 38;5;137
.cue 38;5;112
.dat 38;5;165
.dts 38;5;100;1
.fcm 38;5;41
.flac 38;5;166;1
.m3u 38;5;172
.m4 38;5;196;3
.m4a 38;5;137;1
.mid 38;5;102
.midi 38;5;102
.mod 38;5;72
.mp3 38;5;191
.oga 38;5;95
.ogg 38;5;96
.s3m 38;5;71;1
.sid 38;5;69;1
.spl 38;5;173
.wv 38;5;149
.wvc 38;5;149
.pls 38;5;148
# fonts
.afm 38;5;58
.pfb 38;5;58
.pfm 38;5;58
.ttf 48;5;1
.pcf 38;5;65
.psf 38;5;64
# SlickEdit
.ttf 48;5;1
.pcf 38;5;65
.psf 38;5;64
# backups, undo files, tempfiles
.vpj 38;5;240
.vpw 38;5;240
.vpwhistu 38;5;240
.vtg 38;5;240
.directory 38;5;240
.bin 38;5;249
.swo 38;5;236
.swp 38;5;241
.tmp 38;5;244
.un~ 38;5;240
.bak 38;5;240
.zcompdump 38;5;240
.zwc 38;5;240
.xsession-errors 38;5;240
.sqlite_history 38;5;240
.recentf 38;5;240
.perlconsole_history 38;5;240
.mysql_history 38;5;240
.bash_history 38;5;240
.python_history 38;5;240
.wget-hsts 38;5;240
.rnd 38;5;240
.serverauth\* 38;5;240
# databases
.db 38;5;60
.dump 38;5;119
.sqlite 38;5;60
.sqlite3 38;5;60
.typelib 38;5;60
.rrd 38;5;60
# (compressed) archives
.7z 38;5;40
.a 38;5;46
.z 38;5;45
.arj 38;5;41
.bz2 38;5;44
.ipk 38;5;117
.jad 38;5;50
.jar 38;5;51
.tar 38;5;118
.gz 38;5;39
.tar.gz 38;5;34
.tgz 38;5;35;1
.xz 38;5;118
.zip 38;5;74
.part 38;5;240;1
.rar 38;5;106;1
.r00 38;5;235
.r01 38;5;235
.r02 38;5;235
.r03 38;5;236
.r04 38;5;237
.r05 38;5;238
.r06 38;5;239
.r07 38;5;240
.r08 38;5;241
.r09 38;5;242
.r10 38;5;243
.r100 38;5;244
.r101 38;5;240
.r102 38;5;241
.r103 38;5;242
.r104 38;5;243
.r105 38;5;244
.r106 38;5;245
.r107 38;5;246
.r108 38;5;247
.r109 38;5;248
.r11 38;5;244
.r110 38;5;249
.r111 38;5;250
.r112 38;5;251
.r113 38;5;252
.r114 38;5;253
.r115 38;5;254
.r116 38;5;255
.r12 38;5;245
.r13 38;5;246
.r14 38;5;247
.r15 38;5;248
.r16 38;5;249
.r17 38;5;250
.r18 38;5;251
.r19 38;5;252
.r20 38;5;253
.r21 38;5;254
.r22 38;5;255
.r25 38;5;255
.r26 38;5;254
.r27 38;5;253
.r28 38;5;252
.r29 38;5;251
.r30 38;5;250
.r31 38;5;249
.r32 38;5;248
.r33 38;5;247
.r34 38;5;246
.r35 38;5;245
.r36 38;5;244
.r37 38;5;243
.r38 38;5;242
.r39 38;5;241
.r40 38;5;240
.r41 38;5;239
.r42 38;5;238
.r43 38;5;237
.r44 38;5;236
.r45 38;5;235
.r46 38;5;235
.r47 38;5;235
.r48 38;5;235
.r49 38;5;235
.r50 38;5;236
.r51 38;5;237
.r52 38;5;238
.r53 38;5;239
.r54 38;5;240
.r55 38;5;241
.r56 38;5;242
.r57 38;5;243
.r58 38;5;244
.r59 38;5;245
.r60 38;5;246
.r61 38;5;247
.r62 38;5;248
.r63 38;5;249
.r64 38;5;250
.r65 38;5;251
.r66 38;5;252
.r67 38;5;253
.r68 38;5;254
.r69 38;5;255
.r69 38;5;255
.r70 38;5;254
.r71 38;5;253
.r72 38;5;252
.r73 38;5;251
.r74 38;5;250
.r75 38;5;249
.r76 38;5;248
.r77 38;5;247
.r78 38;5;246
.r79 38;5;245
.r80 38;5;244
.r81 38;5;243
.r82 38;5;242
.r83 38;5;241
.r84 38;5;240
.r85 38;5;239
.r86 38;5;238
.r87 38;5;237
.r88 38;5;236
.r89 38;5;235
.r90 38;5;235
.r91 38;5;235
.r92 38;5;236
.r93 38;5;237
.r94 38;5;238
.r95 38;5;239
.r96 38;5;240
.r97 38;5;241
.r98 38;5;242
.r99 38;5;243
# really compressed archives, but mostly used for documents, comics (and
# documentation on MS Windows)
.pdf 38;5;203
.djvu 38;5;141
.cbr 38;5;140
.cbz 38;5;140
.chm 38;5;144
.doc 38;5;74
# open document formats
.odt 38;5;111
.ods 38;5;112
.odp 38;5;166
.odb 38;5;161
# /etc/hosts.{deny,allow}
.allow 38;5;112
.deny 38;5;196
# other
.SKIP 38;5;244
.def 38;5;136
.err 38;5;160;1
.error 38;5;160;1
.pi 38;5;126
.properties 38;5;197;1
.torrent 38;5;133
.gp3 38;5;114
.gp4 38;5;115
.tg 38;5;99
*core 48;5;25
*desktop 38;5;45
*pcap 38;5;172
.deb 38;5;67
.rpm 38;5;68
.install 38;5;69
.bin 38;5;70
.run 38;5;202
.so 38;5;214
.vmoptions 38;5;29
# version control
.bzrignore 38;5;111
.cvsignore 38;5;111
.gitignore 38;5;111
.gitmodules 38;5;111
*TODO 38;5;99
*NEWS 38;5;99
*RELEASE_NOTES 38;5;99
*README 38;5;99
*CYCLE_PROPOSAL 38;5;99
*README.linux 38;5;99
*VERSION 38;5;99
*REPORTING-BUGS 38;5;99
*INSTALL 38;5;99
*COPYING 38;5;99
*AUTHORS 38;5;99
*ChangeLog 38;5;99
*DEVELOPER 38;5;99
*EXPOSITION 38;5;99
*LICENSE 38;5;99
*HACKING 38;5;99
*ISSUES 38;5;99
*CHANGES 38;5;99
*PATCHES 38;5;99
*STYLE 38;5;99
*BUGS 38;5;99
*__init__.py 38;5;100
# config files
.zshrc 38;5;99
.toprc 38;5;99
.packettracer 38;5;99
.Xauthority 38;5;99
.authinfo 38;5;99
.face.icon 38;5;99
.serverauth 38;5;99
.block_dns 38;5;99
.dnsmasqrc 38;5;99
.zshenv 38;5;99
.xscreensaver 38;5;99
.xinitrc 38;5;99
.tksqlite 38;5;99
.taskrc 38;5;99
.qpsrc 38;5;99
.pythonrc 38;5;99
.perldb 38;5;99
.multitailrc 38;5;99
.mpdconf 38;5;99
.hgrc 38;5;99
.gtkrc-2.0 38;5;99
.gitk 38;5;99
.gitconfig 38;5;99
.gdbinit 38;5;99
.fonts.conf 38;5;99
.ffserver.conf 38;5;99
.emacs 38;5;99
.dircolors-256 38;5;99
.dircolors 38;5;99
.backup 38;5;99
.asoundrc 38;5;99
.ackrc 38;5;99
.Xdefaults 38;5;99
.Xresources 38;5;99
.gtk-bookmarks 38;5;99
.fehbg 38;5;99
.ls++.conf 38;5;99
.ido.last 38;5;99
.cvspass 38;5;99
.Xkeymap 38;5;99
.lock 38;5;99
TERM Eterm
TERM ansi
TERM color-xterm
TERM con132x25
TERM con132x30
TERM con132x43
TERM con132x60
TERM con80x25
TERM con80x28
TERM con80x30
TERM con80x43
TERM con80x50
TERM con80x60
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM eterm-color
TERM gnome
TERM gnome-256color
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
TERM mach-color
TERM mlterm
TERM putty
TERM rxvt
TERM rxvt-256color
TERM rxvt-cygwin
TERM rxvt-cygwin-native
TERM rxvt-unicode
TERM rxvt-unicode-256color
TERM rxvt-unicode256
TERM screen
TERM screen-256color
TERM screen-256color-bce
TERM screen-bce
TERM screen-w
TERM screen.rxvt
TERM screen.linux
TERM terminator
TERM vt100
TERM xterm
TERM xterm-16color
TERM xterm-256color
TERM xterm-88color
TERM xterm-color
TERM xterm-debian