/usr/share/perl5/auto/Term/ReadLine/Zoid/ViCommand/_get_chr.al is in libterm-readline-zoid-perl 0.07-2.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 | # NOTE: Derived from lib/Term/ReadLine/Zoid/ViCommand.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Term::ReadLine::Zoid::ViCommand;
#line 225 "lib/Term/ReadLine/Zoid/ViCommand.pm (autosplit into blib/lib/auto/Term/ReadLine/Zoid/ViCommand/_get_chr.al)"
## Two helper subs ##
sub _get_chr { # get extra argument
my $self = shift;
my $chr = $self->key_name( $self->read_key );
return $self->vi_reset if $chr eq 'escape';
return undef if length $chr > 1;
#print STDERR "got argument chr: $chr\n";
$$self{vi_command} .= $chr;
return $chr;
}
# end of Term::ReadLine::Zoid::ViCommand::_get_chr
1;
|