FIXED: there were some odd bugs in commandline parsing, some options were unavailable.

FIXED:          Forgot "PreferredEditor" config-option in the new config format.
FIXED:          the interactive "cd .." command has ignored the presence of a
                "DefaultLong" setting(and search too)... thx to Peter.
CHANGED:        Optimized a little bit the output routine, now it is better to read.
ADDED:          sub format and appropriate config-option for text formatting capabilities.
CHANGED:        changed getconfig regexp, which allows now also to use Option = Param.
FIXED:          was not possible to override config-options, which are set by default to
                something.
ADDED:          note chacks now, if a database os actually really encrypted and exits with
                an error if it s and the user turned off encryption. This protects her from
                destroying it's own database ..
This commit is contained in:
TLINDEN
2012-02-10 20:15:34 +01:00
parent 9a2d07e0e0
commit 7d308cde40
7 changed files with 1676 additions and 442 deletions

38
README
View File

@@ -1,4 +1,4 @@
note 1.0.5 by Thomas Linden, 14/05/2000
note 1.0.6 by Thomas Linden, 18/05/2000
=======================================
Introduction
@@ -292,6 +292,36 @@ Topics
Formatting of notes
===================
Another very nice feature is the possibility to format the note-text (as much as
shell allows it). First, you can use the note-internal "magic-strings" for color-
izing. Those strings looks much like HTML:
"<green>here is a green line of text</green> no more green."
As you see, the beginning of another color starts with a tag(kinda) of the color
<colorname> and ens with an end tag </colorname>.
The following colors are available:
black, red, green, yellow, blue, magenta, cyan and white.
Beside colorizing text, you can also create bold or underlined text! If you decide
to use this (additional) feature, you need to set the Config-Option "FormatNotes"
to 1 which turns it on.
Usage is very straightforward, if a word (a word is defined as some text with at least
one space surrounded) is between a magic mark-character. Here are the available
things, you can do:
bold: **word**
underlined: __word__
inverse: {{word}}
The text will be formatted using the actually note-color.
Scripting
=========
@@ -326,8 +356,8 @@ Scripting
Format of the notedb (binary backend)
=====================================
The database where the notes are stored is a binary file of
the following format:
The database where the notes are stored is a binary fixed record length file
of the following format:
It consists of three fixed length fields per entry. The fields
have the following types:
o Number: Integer (1 byte)
@@ -484,4 +514,4 @@ Contributors / Credits
Last changed
============
14/05/2000
18/05/2000