This file is indexed.

/usr/share/slsh/rline/emacskeys.sl is in slsh 2.2.4-3ubuntu1.

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% A simple emacs-emulation for SLrline

require ("rline/complete");
require ("rline/editfuns");

rline_unsetkey ("^@");
foreach $1 ([1:255])
{
   $2 = char (-$1);		       %  byte-semantics
   rline_unsetkey ($2);
   rline_setkey ("self_insert", $2);
}

rline_setkey ("bdel",			"^?");
rline_setkey ("bol",			"^A");
rline_setkey ("left",			"^B");
rline_setkey ("kbd_quit",		"^C");
rline_setkey ("del",			"^D");
rline_setkey ("eol",			"^E");
rline_setkey ("right",			"^F");
rline_setkey ("kbd_quit",		"^G");
rline_setkey ("bdel",			"^H");
rline_setkey ("enter",			"\n");
rline_setkey (&rline_kill_eol,		"^K");
rline_setkey ("redraw",			"^L");
rline_setkey ("enter",			"\r");
rline_setkey ("down",			"^N");
rline_setkey ("up",			"^P");
rline_setkey ("quoted_insert",		"^Q");
rline_setkey (&rline_kill_bol,		"^U");
rline_setkey (&rline_kill_region,	"^W");
rline_setkey (&rline_yank,		"^Y");
rline_setkey ("trim",			"\e\\");
rline_setkey (&rline_bskip_word,	"\eb");
rline_setkey (&rline_skip_word,		"\ef");
rline_setkey (&rline_copy_region,	"\ew");
rline_setkey ("complete",		"\t");

#ifdef UNIX VMS
rline_setkey (&rline_set_mark,		"^@");
rline_setkey ("up",			"\e[A");
rline_setkey ("down",			"\e[B");
rline_setkey ("right",			"\e[C");
rline_setkey ("left",			"\e[D");
rline_setkey ("up",			"\eOA");
rline_setkey ("down",			"\eOB");
rline_setkey ("right",			"\eOC");
rline_setkey ("left",			"\eOD");
#else
rline_setkey (&rline_set_mark,		"^@^C");
rline_setkey ("up",			"^@H");
rline_setkey ("down",			"^@P");
rline_setkey ("right",			"^@M");
rline_setkey ("left",			"^@K");
rline_setkey ("del",			"^@S");
rline_setkey ("eol",			"^@O");
rline_setkey ("bol",			"^@G");

rline_setkey ("up",			"\xE0H");
rline_setkey ("down",			"\xE0P");
rline_setkey ("right",			"\xE0M");
rline_setkey ("left",			"\xE0K");
rline_setkey ("del",			"\xE0S");
rline_setkey ("eol",			"\xE0O");
rline_setkey ("bol",			"\xE0G");
#endif