#
# Minimum Profit config file Sample
#
# mp reads first /etc/mprc and then $HOME/.mprc on Unix, and
# "HKEY_CURRENT_USER\Software\Minimum Profit\Home"/.mprc on MS Windows
#

###################################################
#
# basic configuration variables
#
###################################################

# tab size (default 8)
tab_size: 8

# column where word wrap occurs (default 0, no word wrapping)
word_wrap: 0

# case sensitive comparisons (default 1)
case_sensitive_search: 1

# use automatic indentation (default 0)
auto_indent: 0

# save spaces to tab boundaries as tabs (default 1)
# (This directive is disabled and does nothing)
save_tabs: 1

# mark column # 80 (default 0)
col_80: 0

# save LF as CR/LF, for MSDOS / Windows style texts (default 0)
cr_lf: 0

# preread lines
# this is the number of lines that are read below the first
# visible line, to take into account line-running comments
# for correct syntax coloring. If your system is fast and
# the comments in your source are very lines long, increase
# this value. If your system is slow or you don't use languages
# which comments spread several lines (as Perl or Shell),
# you can set it to 0
preread_lines: 60

# path to mp_templates file
template_file: ~/.mp_templates

# language
# The two letter standard or the english name of the language can
# be used. Supported by now: english, spanish, german, italian and dutch.
# If you don't set it here, the LANG and LC_ALL environment
# variables (and the internal language info on win32) will
# be consulted. Defaults to english.
lang: en

# regular expression usage flag
# If use_regex is set to 1, search and replace operations
# use regular expressions instead of plain text searching.
# The default is 1.
use_regex: 1

# use monochrome color set (default 0)
monochrome: 0

########################################################
#
# curses specific (unix / linux / beos) variables
#
########################################################

# Use mouse positioning (default 0)
mouse: 0

# use hardware cursor (default 0)
hardware_cursor: 0

# use transparency in terminals that support it (default 1)
#transparent: 1
#BK Bruce B suggests 0 for mp's colors rather than rxvt colors...
transparent: 0

# use poor man boxes (+, - and | for frames, default 0)
poor_man_boxes: 0


########################################################
#
# win32 specific variables
#
########################################################

# font face
win32_font_face: Lucida Console

# font size
win32_font_size: 12

# path to help file to be used when using context sensitive help
win32_help_file: C:\bin\lcc\bin\win32.hlp

########################################################
#
# gtk specific variables
#
########################################################

# font face
# good ones are lucidatypewriter, courier or any
# monospaced truetype font as Courier New or Lucida Console
# (if your X11 configuration supports truetypes)
gtk_font_face: lucidatypewriter

# font size
gtk_font_size: 14

# font weight (medium or bold)
gtk_font_weight: medium

# Set this to 1 if you want to use also italic fonts
# in source code comments and such
# (take into account that not all X11 fonts can be set to italic)
gtk_use_italics: 0

# window size and position
# these values can be overriden by using -geometry
# these are the default values; set any to -1
# to let the window manager guess (usually wrong)
# the window geometry
gtk_width: 640
gtk_height: 400
gtk_xpos: 1
gtk_ypos: 1

########################################################
#
# key bindings
#
########################################################

# format is:
# bind <key name> <function name>
# for a complete list of key and function names, see the
# 'help on keys' option from the Options menu

# some examples
bind cursor-up move-up
bind cursor-down move-down
#BK bind f3 open
#BK bind ctrl-x exit

# default keys can be overwritten
#bind ctrl-x cut

# or even completely disabled, using <none>
#bind ctrl-x <none>

# if you want to start your very own keymap
# from scratch, you can insert the following
# command BEFORE your key definitions:
#bind <all> <none>

#BK and Bruce B modifications for Puppy...
#move to end of document was done by both ctrl-w and ctrl-end...
bind ctrl-w <none>
#f4 was close...
bind f4 <none>
bind ctrl-w close
#f5 was new...
bind f5 <none>
bind ctrl-n new
#f3 was open...
bind f3 <none>
bind ctrl-o open
#f10 was exit...
bind f10 <none>
bind ctrl-q exit
#f2 was save...
bind f2 <none>
bind ctrl-s save
#ctrl-t was cut...
bind ctrl-t <none>
bind ctrl-x cut
#f9 conflicts with fvwm95...
bind f9 <none>
bind f8 mark
bind ctrl-f8 unmark
#ctrl-p was paste...
bind ctrl-p <none>
bind ctrl-v paste

########################################################
#
# GUI colors (gtk and win32)
#
########################################################

# format is:
#
# gui_color <syntax name> <ink rgb> <paper rgb> [<options>]
#
# where options can be: italic, underline, reverse
#
# <syntax name> is a syntax highlight group, and can be
# any of:
#
# normal - normal (non-highlighted) text
# selected - selected block
# comment - source code comments
# string - strings and number literals
# token - programming language token
# var - programming language variable, or second set of tokens
# cursor - cursor color
# caps - any text in all caps
# local - any word contained in the current tag file
#
# <ink rgb> and <paper rgb> are a 6 digit hex number, where
# ff0000 is pure red, 00ff00 is pure green and 0000ff pure blue.
# They can also be 'default' (without quotes), to use the
# same color as the 'normal' color definition,
# or any of the following color aliases:
# black red green yellow blue magenta cyan white

# these are the defaults

gui_color normal black white
gui_color selected ff0000 white reverse
gui_color comment 00aaaa default italic
gui_color string blue default
gui_color token 00aa00 default
gui_color var ff6666 default
gui_color cursor default default reverse
gui_color caps dddd00 default
gui_color local 8888ff default underline

# white over black theme

#gui_color normal cccccc black
#gui_color selected ff0000 white reverse
#gui_color comment 00eeaa default italic
#gui_color string 5555ff default
#gui_color token 00aa00 default
#gui_color var ff6666 default
#gui_color cursor default default reverse
#gui_color caps ffff00 default
#gui_color local 8888ff default underline

# theme taken from 'Zenburn' theme from Cream for Vim
# (nice low-contrast ground colors)

#gui_color normal dbdbcc 3e3e3e
#gui_color selected ffff66 8c9b70
#gui_color comment 71d3b4 default italic
#gui_color string cc9393 default
#gui_color token efef8f default
#gui_color var e3ceab default
#gui_color cursor default default reverse
#gui_color caps ffcfaf default
#gui_color local 7f9f7f default underline

########################################################
#
# text colors (curses)
#
########################################################

# format is:
#
# text_color <syntax name> <ink color> <paper color> [<options>]
#
# where options can be: underline, reverse, bright
#
# <syntax name> is a syntax highlight group, and can be
# any of the following content colors (the same
# as in the 'gui_color' directive):
#
# normal - normal (non-highlighted) text
# selected - selected block
# comment - source code comments
# string - strings and number literals
# token - programming language token
# var - programming language variable, or second set of tokens
# cursor - cursor color
# caps - any text in all caps
# local - any word contained in the current tag file
#
# plus the following interface colors:
#
# title - the title and status bars
# menu_element - any element of the menu, except the separators
# menu_selection - the currently selected item in the menu
# frame1 - the top and left sides of the frames, plus the separators
# frame2 - the bottom and right sides of the frames
# scrollbar - color of the scrollbar
# scrollbar_thumb - color of the scrollbar thumb
#
# <ink color> and <paper color> can be any of the following
# color names:
# black red green yellow blue magenta cyan white
# They can also be 'default' (without quotes), to use the
# same color definition as the 'normal' color definition.
# If the 'normal' ink or paper is set to 'default',
# the default terminal color (can be transparent for X terminals)
# is used.

# these are the defaults
text_color normal default default
text_color selected red white reverse
text_color comment green default
text_color string blue default bright
text_color token green default bright
text_color var red default
text_color cursor default default reverse
text_color caps yellow default bright
text_color local cyan default underline

text_color title blue white reverse bright
text_color menu_element blue white reverse bright
text_color menu_selection white black
text_color frame1 blue blue reverse bright
text_color frame2 blue black reverse bright
text_color scrollbar default default
text_color scrollbar_thumb blue white reverse bright

########################################################
#
# menu options
#
########################################################

# syntax:
# menu <menu_bar_name> or
# menu_item <function>
# <menu_bar_name> is simple text, and <function> is
# a Minimum Profit function (see above and the
# Options/Help on Keys menu), or - for a separator
# 20201209 easyos 2.5.1, commented-out all these menu items, they caused a double-menu...

#menu &File
#menu_item new
#menu_item open
#menu_item reopen
#menu_item save
#menu_item save-as
#menu_item close
#menu_item -
#menu_item sync
#menu_item -
#menu_item exit
#
#menu &Edit
#menu_item cut
#menu_item copy
#menu_item paste
#menu_item delete-line
#menu_item -
#menu_item mark
#menu_item unmark
#menu_item -
#menu_item edit-templates-file
#menu_item edit-config-file
#menu_item -
#menu_item exec-command
#menu_item exec-function
#
#menu &Search
#menu_item seek
#menu_item seek-next
#menu_item replace
#menu_item replace-all
#menu_item toggle-case
#menu_item toggle-regex
#menu_item -
#menu_item find-tag
#menu_item completion
#menu_item -
#menu_item grep
#
#menu &Go to
#menu_item next
#menu_item move-bof
#menu_item move-eof
#menu_item move-bol
#menu_item move-eol
#menu_item goto
#menu_item move-word-right
#menu_item move-word-left
#menu_item -
#menu_item document-list
#
#menu &Options
#menu_item toggle-save-tabs
#menu_item toggle-cr-lf
#menu_item toggle-auto-indent
#menu_item toggle-column-80
#menu_item -
#menu_item record-macro
#menu_item play-macro
#menu_item -
#menu_item set-tab-size
#menu_item set-word-wrap
#menu_item -
#menu_item key-help
#menu_item -
#menu_item about

#######################################
#
# Including other configuration files
#
#######################################

source /etc/mprc.colors

#######################################
#
# other directives
#
#######################################

# ctags command line
# this is the command that will be executed if a tag is requested
# an a ./tags file is not found.
ctags_cmd: ctags *

# another useful value
#ctags_cmd: ctags -R

# status line format string
# The information in the status line can be formatted using
# a printf()-like string. Any text will be shown verbatim
# except the following directives:
#
#	%m	Writes '*' if current text is modified, nothing otherwise
#	%x	Writes current X (column) position
#	%y	Writes current Y (line) position
#	%l	Writes total number of lines in current text
#	%R	Writes 'R' if in 'recording macro' mode, nothing otherwise
#	%s	Writes current syntax highlight mode
#
# default setting is below

status_format: %m %x,%y [%l] %R %s
