# 0.8 # This is a sample config for the note script # There are usefully defaults set in note itself. # # The default database backend is NOTEDB::binary. # # Copy it to your $HOME as .noterc # # This config has to be valid perl code. Therefore # please be careful! # # You can contact me per email: # # Thomas Linden, 19/03/2000 # Your home, better do not change it! $HOME = $ENV{'HOME'}; # specify the path, where the NOTEDB directory # resides $libpath = "/usr/local/lib"; # you need to decide which database backend you want # to use. Please refer to the corresponding documentation # for closer information about the certain backend! # Currently supported types: "binary" or "mysql". $dbdriver = "binary"; # backend specific settings: ####### mysql ############### # sql database settings. $dbhost = ""; # mysql server (hostname) $dbuser = ""; # mysql username $dbpasswd = ""; # her password $dbname = ""; # database name $table = "note"; # Table and field names. $fnum = "number"; $fnote = "note"; $fdate = "date"; ######## end mysql ########### ####### binary db ################## # The location of the note-database. If it does # not exist, it will be created. Only if $driver = "binary" $NOTEDB = $HOME . "/.notedb"; # Define the maximum bytes a note can have in a # note-entry. $MAX_NOTE = 4096; # Define the maximum bytes a timestamp can have # in a note-entry. $MAX_TIME = 24; ####### end binary ################# # uncomment this, if you want to run note always # in interactive mode #$ALWAYS_INT = "YES"; # uncomment this, if you want to use always your # favorite editor (even for creating notes) instead # of #$ALWAYS_EDIT = "YES"; # uncomment this, if you dont prefer that note updates # the timestamp of a note after editing it. It will # keep the original timestamp if this option is set. #$KEEP_TIMESTAMP = "YES"; # uncomment and edit it, if you want to use another # editor than the default $EDITOR or as fallback vi. #$PreferredEditor = "emacs"; # This option turns topic-support on or off # comment it out, if you don't need it $TOPIC = 1; # You can specify your own topic separator here. # the default topic separator is a normal slash: "/" #$TopicSep = '/'; # The maximum width for displaying a note. $maxlen = 30; # if $COLOR equals NO, then everything will be # displayed with your default colors (mostly black) $COLOR = "YES"; # Color-definitions of the various fields. Will be # ignored if $COLOR = "NO". $BORDER_COLOR = "BLACK"; # Borders $NUM_COLOR = "blue"; # Note number $NOTE_COLOR = "green"; # The note itself $TIME_COLOR = "black"; # The time $TOPIC_COLOR = "BLACK"; # The topic "prompt" # The following colors are available: # black, red, green, yellow, blue, magenta, cyan and white. # It will be bold if it is uppercase. # You can append an underscore, if you like it underscored, # ie: blue_ # Or, you can append an "I", if you like it inverted # keep this "1;" please! 1;