File: linux.sl

package info (click to toggle)
jed 0.98.7-14
  • links: PTS
  • area: main
  • in suites: slink
  • size: 3,088 kB
  • ctags: 3,851
  • sloc: ansic: 29,315; makefile: 257; sh: 248
file content (29 lines) | stat: -rw-r--r-- 898 bytes parent folder | download | duplicates (4)
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
%
%  Special file for Linux systems--- do NOT preparse it.
%

% This file sets up the console keys pgup/dn, etc.  
% To use it, simply rename it to defaults.sl.

% variable UCB_Mailer;  UCB_Mailer = "/bin/mail";

% The directory where info files are kept.  Modify this appropriately.  See
% 'install.all' for a discussion of this.

%Info_Directory = ???


$1 = getenv ("TERM");
if ($1 == NULL) $1 = "";
if (is_list_element ("linux,console,con80x25,con80x28", $1, ','))
{
   USE_ANSI_COLORS = 1;   % uncomment if your console is a color one!
   OUTPUT_RATE = 0;
   TERM_CANNOT_SCROLL = -1;   % Truth is, linux console does not scroll well.
   setkey("bol",      		"^[[1~");	% home
   setkey("toggle_overwrite",	"^[[2~");       % insert
   setkey("delete_char_cmd",	"^[[3~");       % delete
   setkey("eol",		"^[[4~");       % end
   setkey("page_up",		"^[[5~");	
   setkey("page_down",		"^[[6~");
}