1%
2%  Special file for Linux systems--- do NOT preparse it.
3%
4
5% This file sets up the console keys pgup/dn, etc.
6% To use it, simply rename it to defaults.sl.
7
8% variable UCB_Mailer;  UCB_Mailer = "/bin/mail";
9
10% The directory where info files are kept.  Modify this appropriately.  See
11% 'install.all' for a discussion of this.
12
13%Info_Directory = ???
14
15
16$1 = getenv ("TERM");
17if ($1 == NULL) $1 = "";
18if (is_list_element ("linux,console,con80x25,con80x28", $1, ','))
19{
20   USE_ANSI_COLORS = 1;   % uncomment if your console is a color one!
21   OUTPUT_RATE = 0;
22   TERM_CANNOT_SCROLL = -1;   % Truth is, linux console does not scroll well.
23   setkey("bol",      		"^[[1~");	% home
24   setkey("toggle_overwrite",	"^[[2~");       % insert
25   setkey("delete_char_cmd",	"^[[3~");       % delete
26   setkey("eol",		"^[[4~");       % end
27   setkey("page_up",		"^[[5~");
28   setkey("page_down",		"^[[6~");
29}
30