/* defrc.h auto-generated from default.morerc */
#define DEFRC "\
#\n\
# This is the default initialization file for more(1). To avoid any need to\n\
# change the manpage or helpfile, almost all commands maintain their historical\n\
# keymappings. Some additional twoggles may be added that will be left for\n\
# the intrepid user to discover.\n\
#\n\
# This file is compiled directly into more; changing this file will not change\n\
# the actual defaults (unless it is changed in the source directory and more\n\
# is recompiled). The correct way to change the global defaults is by\n\
# adding a /etc/dot.morerc global initialization file.\n\
#\n\
# In general, the average user is not expected have any interest in changing\n\
# default keybindings.\n\
# \n\
# If you use an ~/.morerc that is dependent on specific features of this\n\
# default morerc, you should copy this default morerc to ~/.defmorerc so that\n\
# possible future changes in this file do not cause problems for you. The\n\
# ~/.defmorerc file will cause the compiled-in default morerc to be ignored.\n\
#\n\
# The default initialization file is compiled into more(1) so that more(1)\n\
# will work and be usable even if the filesystem (and the location\n\
# /usr/share/misc/default.morerc, where this would be stored if it was not\n\
# compiled into more(1)) is missing or away without leave (chroot directory,\n\
# fs crash, badly written rescue floppy, or any other reason).\n\
#\n\
# BUGS: a) There is no documentation (this is arguably a feature).\n\
# b) There is no \"map\" command.\n\
#\n\
# $FreeBSD: src/usr.bin/more/default.morerc,v 1.3 2000/05/11 00:56:55 hoek Exp $\n\
#\n\
\n\
# The \"deftog\" is required to initialize more(1).\n\
#\n\
# Each of the toggle variables in the proceeding list will be initialized.\n\
# A toggle variable \"togvar\" will be initialized into two variables:\n\
# ${togvar_s} and ${togvar_n}. The _s variant will hold a string representing\n\
# the toggle state, and the _n variant will hold a number representing the\n\
# toggle state. The toggle states are numbered from 0 to n, in the order\n\
# listed for the toggle.\n\
#\n\
# _ls_direction forw back direction of last search\n\
# _ls_sense noinvert invert find match/non-matching to last search\n\
# _wraplines off on currently wrapping lines?\n\
# _statprompt on off currently displaying the long prompt?\n\
#\n\
# If the fact that \"off on\" is in a different order from \"on off\" bothers\n\
# you, then you are probably abusing the variables.\n\
#\n\
# Additionally, the following variables are set,\n\
#\n\
# ${_curhscroll} number of columns scrolled horizontally\n\
# ${_ls_regexp} regular expression from the last search\n\
#\n\
# In addition to variables set by deftog, the following variables are\n\
# also available,\n\
#\n\
# ${_sc_height} number of rows on the screen\n\
# ${_sc_width} number of columns on the screen\n\
# ${_termcap_XX} where 'XX' refers to any of the termcap codes from\n\
# termcap(5), string, numeric, or flag\n\
#\n\
\n\
deftog\n\
\n\
\n\
#\n\
# basic internal initialization for things used inside this file\n\
#\n\
set lsthscr 1\n\
# Add \"set hkey_scroll true\" to ~/.morerc to enable all the hjkl keys (but\n\
# disabling h)elp).\n\
set hkey_scroll false\n\
set scr_scroll 0\n\
# We have no way of resetting this on SIGWINCH as the old more A_H_SCROLL did\n\
# It's probably just as well... (since resetting would lose the old value!)\n\
# (Actually, we could emulate it from here if we really wanted to).\n\
set half_scroll (${_sc_height} / 2)\n\
# magic number indicating the value is not initialized\n\
set savedhscroll 87382\n\
\n\
macro 1 j 'forw_scroll ${number}'\n\
macro 1 k 'back_scroll ${number}'\n\
macro 1 \"${_termcap_kd}\" \\\n\
'forw_scroll ${number}'\n\
macro 1 \"${_termcap_ku}\" \\\n\
'back_scroll ${number}'\n\
macro 1 \\n 'forw_scroll ${number}'\n\
macro 1 \"${_termcap_kN}\" \\\n\
'forw (${_sc_height} * ${number})'\n\
macro 1 \"${_termcap_kP}\" \\\n\
'back (${_sc_height} * ${number})'\n\
set com_getscr 'condition (${number} != 0); \\\n\
set scr_scroll ${number}; \\\n\
condition (${number} == 0); \\\n\
set scr_scroll ${_sc_height}; \\\n\
condition true;'\n\
macro 0 \" \" 'eval ${com_getscr}; forw ${scr_scroll};'\n\
macro 0 f 'eval ${com_getscr}; forw ${scr_scroll};'\n\
macro 0 \"\" 'eval ${com_getscr}; forw ${scr_scroll};'\n\
macro 0 b 'eval ${com_getscr}; back ${scr_scroll};'\n\
macro 0 \"\" 'eval ${com_getscr}; back ${scr_scroll};'\n\
set com_sethalfscroll 'condition (${number} != 0); \\\n\
set half_scroll ${number}; \\\n\
condition true;'\n\
macro 0 d 'eval ${com_sethalfscroll}; forw_scroll ${half_scroll}'\n\
macro 0 \"\" 'eval ${com_sethalfscroll}; forw_scroll ${half_scroll}'\n\
macro 0 u 'eval ${com_sethalfscroll}; back_scroll ${half_scroll}'\n\
macro 0 \"\" 'eval ${com_sethalfscroll}; back_scroll ${half_scroll}'\n\
# An argument can be made that we should move by whatever tab was set to\n\
# using the -x argument to more(1)\n\
macro 1 \"\\t\" 'rscroll (${number} * 8)'\n\
macro 1 '[Z' 'lscroll (${number} * 8)'\n\
set com_rscroll 'condition (${number} != 0); \\\n\
set lsthscr ${number}; \\\n\
condition true; \\\n\
rscroll ${lsthscr};'\n\
set com_lscroll 'condition (${number} != 0); \\\n\
set lsthscr ${number}; \\\n\
condition true; \\\n\
lscroll ${lsthscr};'\n\
# this little trick lets the user simply set hkey_scroll=true in their own\n\
# ~/.morerc file to enable the 'l' and 'h' keys the way Bill meant them\n\
macro 0 h 'condition ${hkey_scroll}; eval ${com_lscroll}; \\\n\
condition_! ${hkey_scroll}; help; \\\n\
condition true;'\n\
macro 0 l 'condition ${hkey_scroll}; eval ${com_rscroll}; \\\n\
condition_! ${hkey_scroll}; error \"key not enabled\"; \\\n\
condition true;'\n\
macro 0 :help 'help'\n\
macro 0 \"${_termcap_kr}\" \\\n\
'eval ${com_rscroll}'\n\
macro 0 \"${_termcap_kl}\" \\\n\
'eval ${com_lscroll}'\n\
macro 0 \"${_termcap_kh}\" \\\n\
'condition (${_wraplines_n} && (${savedhscroll} != 87382)); \\\n\
rscroll 1; \\\n\
rscroll ${savedhscroll}; \\\n\
condition_toggle; \\\n\
set savedhscroll ${_curhscroll}; \\\n\
lscroll ${_curhscroll}; \\\n\
lscroll 1; \\\n\
condition true;'\n\
macro 1 n 'research ${_ls_direction_n} ${number}'\n\
macro 1 N 'research (${_ls_direction_n} + 1) ${number}'\n\
macro 1 / 'magicasksearch forw ${number}'\n\
macro 1 ? 'magicasksearch back ${number}'\n\
macro 0 G 'condition (${number} == 0); goend; \\\n\
condition (${number} != 0); goline ${number}; \\\n\
condition true;'\n\
macro 1 g 'goline ${number}'\n\
macro 0 p 'gopercent ${number}'\n\
macro 0 % 'gopercent ${number}'\n\
macro 0 \"${_termcap_@7}\" \\\n\
'goend'\n\
# Quote since it's technically an isspace() character\n\
macro 0 \"\" 'repaint'\n\
macro 0 r 'repaint'\n\
macro 0 R 'flush'\n\
macro 0 v 'edit'\n\
macro 0 :e 'askfile'\n\
macro 0 E 'askfile'\n\
# The old keymaping for 'N'\n\
#macro 1 N 'file next ${number}'\n\
macro 1 :n 'file next ${number}'\n\
macro 1 P 'file prev ${number}'\n\
macro 1 :p 'file prev ${number}'\n\
macro 0 :a 'file_list'\n\
macro 0 m 'setmark ?'\n\
macro 0 \\' 'gomark ?'\n\
macro 0 :t 'asktag'\n\
macro 1 t 'nexttag ${number}'\n\
macro 1 T 'prevtag ${number}'\n\
macro 0 \"\" 'stat (${_statprompt_n} + 1)'\n\
macro 0 = 'stat (${_statprompt_n} + 1)'\n\
macro 0 q 'quit'\n\
macro 0 :q 'quit'\n\
macro 0 ZZ 'quit'\n\
# This command intentionally disabled by default. The command parser is\n\
# too baroque to expose hapless users to.\n\
#macro 0 :: 'usercom'\n\
"
syntax highlighted by Code2HTML, v. 0.9.1