/usr/lib/x86_64-linux-gnu/perl5/5.24/auto/Term/ReadLine/Gnu/XS/change_ornaments.al is in libterm-readline-gnu-perl 1.35-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # NOTE: Derived from blib/lib/Term/ReadLine/Gnu/XS.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Term::ReadLine::Gnu::XS;
#line 455 "blib/lib/Term/ReadLine/Gnu/XS.pm (autosplit into blib/lib/auto/Term/ReadLine/Gnu/XS/change_ornaments.al)"
# sample function of rl_message()
sub change_ornaments {
my($count, $key) = @_; # ignored in this function
rl_save_prompt;
rl_message("[S]tandout, [U]nderlining, [B]old, [R]everse, [V]isible bell: ");
my $c = chr rl_read_key;
if ($c =~ /s/i) {
ornaments('so,me,,');
} elsif ($c =~ /u/i) {
ornaments('us,me,,');
} elsif ($c =~ /b/i) {
ornaments('md,me,,');
} elsif ($c =~ /r/i) {
ornaments('mr,me,,');
} elsif ($c =~ /v/i) {
ornaments('vb,,,');
} else {
rl_ding;
}
rl_restore_prompt;
rl_clear_message;
}
# end of Term::ReadLine::Gnu::XS::change_ornaments
1;
|