diff -Nru hnb-1.9.18/debian/changelog hnb-1.9.18+ds1/debian/changelog --- hnb-1.9.18/debian/changelog 2013-07-13 16:00:56.000000000 +0000 +++ hnb-1.9.18+ds1/debian/changelog 2015-08-23 11:04:05.000000000 +0000 @@ -1,3 +1,16 @@ +hnb (1.9.18+ds1-1) unstable; urgency=medium + + * Rebuilt upstream source tar ball without generated files: + + doc/Documentation.html + + src/cli_history.o (fixes lintian warning source-is-missing) + + src/hnbrc.inc + + src/init_subsystems.c + * Run under LC_ALL=C to fix FTBFS under some locales. (Closes: #795638) + * Declare compliance with Debian Policy 3.9.6 (no changes needed) + * Add patch to fix spelling error in resulting binary. + + -- Axel Beckert Sun, 23 Aug 2015 13:04:00 +0200 + hnb (1.9.18-10) unstable; urgency=low * Apply wrap-and-sort diff -Nru hnb-1.9.18/debian/control hnb-1.9.18+ds1/debian/control --- hnb-1.9.18/debian/control 2013-07-13 16:00:56.000000000 +0000 +++ hnb-1.9.18+ds1/debian/control 2015-08-23 10:48:26.000000000 +0000 @@ -5,7 +5,7 @@ Uploaders: Axel Beckert Build-Depends: debhelper (>= 9~), libncursesw5-dev -Standards-Version: 3.9.4 +Standards-Version: 3.9.6 Homepage: http://hnb.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/collab-maint/hnb.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/hnb.git diff -Nru hnb-1.9.18/debian/patches/28_fix_spelling_error_in_binary.patch hnb-1.9.18+ds1/debian/patches/28_fix_spelling_error_in_binary.patch --- hnb-1.9.18/debian/patches/28_fix_spelling_error_in_binary.patch 1970-01-01 00:00:00.000000000 +0000 +++ hnb-1.9.18+ds1/debian/patches/28_fix_spelling_error_in_binary.patch 2015-08-23 11:01:35.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Fix spelling error in binary + Issue found by lintian (spelling-error-in-binary). +Author: Axel Beckert +Forwarded: no + +Index: hnb/src/evilloop.c +=================================================================== +--- hnb.orig/src/evilloop.c 2015-08-23 12:59:22.044999482 +0200 ++++ hnb/src/evilloop.c 2015-08-23 13:00:33.341207608 +0200 +@@ -343,7 +343,7 @@ + void init_evilloop () + { + cli_add_int ("forced_up", &forced_up, +- "wether movement upwards is forced beyond first sibling"); ++ "whether movement upwards is forced beyond first sibling"); + cli_add_int ("forced_down", &forced_down, +- "wether movement downwards is forced beyond last sibling"); ++ "whether movement downwards is forced beyond last sibling"); + } diff -Nru hnb-1.9.18/debian/patches/series hnb-1.9.18+ds1/debian/patches/series --- hnb-1.9.18/debian/patches/series 2013-07-13 15:35:43.000000000 +0000 +++ hnb-1.9.18+ds1/debian/patches/series 2015-08-23 11:00:09.000000000 +0000 @@ -25,3 +25,4 @@ 26_makefile_ldflags.patch 27_fix_segfault_on_unset_$HOME.patch 50_debian_use_sensible-browser_instead_of_w3m.patch +28_fix_spelling_error_in_binary.patch diff -Nru hnb-1.9.18/debian/rules hnb-1.9.18+ds1/debian/rules --- hnb-1.9.18/debian/rules 2013-07-13 15:35:43.000000000 +0000 +++ hnb-1.9.18+ds1/debian/rules 2015-08-23 10:28:28.000000000 +0000 @@ -6,6 +6,7 @@ #export DH_VERBOSE=1 export DEB_CPPFLAGS_MAINT_PREPEND="-I/usr/include/ncursesw" +export LC_ALL=C %: dh $@ diff -Nru hnb-1.9.18/doc/Documentation.html hnb-1.9.18+ds1/doc/Documentation.html --- hnb-1.9.18/doc/Documentation.html 2003-08-27 02:50:58.000000000 +0000 +++ hnb-1.9.18+ds1/doc/Documentation.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,368 +0,0 @@ - - - - -tree exported from hnb - - - - -
Introduction to hnb -
Introducing hnb -
hnb is an hierarchical notebook, that is an editor that focuses on editing and managing information in a hierarchical manner. This type of editor is also known as outline editors.
-
hnb was written as a personal itch of the author, he knew no other such program and thought out how he wanted it to work. Some of the additional features in hnb have been inspired by other similar programs.
-
I, that is Øyvind Kolås <pippin@users.sourceforge.net> use hnb to maintain my contact list, my to-do lists, my calendar, writing documentation and reports.
-
-
Installing hnb -
Unix -
prepackaged binaries -
prepackaged binaries for hnb exist for some operating-systems/distributions, these might not be the latest versions.
-
Andras Bali maintains a Debian package of hnb, which can be installed by issuing -
apt-get install hnb
-
-
Patrick Li maintains a Free-BSD ports package of hnb, I don't know how to install it on Free-BSD.
-
-
compiling -
hnb comes packaged in a tar.gz file, this file contains a Makefile, hopefully installing hnb is as simple as: -
make
-
su -
<enter root password>
-
-
make install
-
-
platform specific workarounds -
SuSE Linux: -
SuSE Linux doesn't install ncurses as curses, which ncurses actually does by default if it is allowed to. Changing the CFLAGS line in src/Makefile to -lncurses instead of -lcurses makes hnb compile on SuSE
-
-
OS X / Darwin: -
the preprocessor that OS X uses doesn't work properly. Adding -no-cpp-precomp to the Makefile should make it compile properly on OS/X as well
-
-
-
-
-
-
Starting hnb -
When you start hnb it automatically loads the default database, ~/.hnb and lets you edit it, this is to make it convenient to have your personal information like contacts and to-do list readily available. -
If ~/.hnb doesn't exist a sample database will be loaded instead
-
-
The full commandline usage for hnb is -
hnb [options] [filename] [-e 'comand' ['command' ['command' ..]]]
-
options: -
-h or --help show recognized options
-
-
-a or --ascii use tab indented ASCII for loading/saving database -
ASCII doesn't remember attributes like to-do status, done etc.
-
-
-o or --opml use OPML DTD for loading/saving database
-
-x or --xml invoke hnb as a XML editor
-
--hnb use hnb DTD for loading/saving database, this is the default unless you've changed it in the preferences file
-
-
running commands -
by running -
hnb -e 'go_root' 'oexport_htmlcss test.html'
-
-
hnb will load the default database, go to the start of the database, and export it with the htmlcss filter to a file called test.html
-
-
-
In the latest version hnb also contains a menu that can be invoked by pressing F9, for advanced commands the commandline (F5) is preferred.
-
-
Quitting hnb -
By pressing ESC, hnb will ask you whether you want to save or not, if you press ESC again hnb will return to normal operation.
-
-
Importing data -
To import the contents of another file, you press ^L (Ctrk+L), you will then get a list of choices of format to import from.
-
Choose the desired format
-
Enter the relative or full path of the filename you want imported.
-
hnb will add that file under the current level.
-
-
Exporting data -
To export the current tree to another file.
-
press ^E (ctrl+E)
-
Choose the desired format
-
Enter the relative or full path of the filename you want to write to.
-
-
Printing -
hnb doesn't support printing to a printer directly, but by using an intermediate format you can get some quite good printouts, a good candidate is the HTML/CSS format.
-
-
-
Using Outlines -
Managing entries -
Navigating amongst entries -
The arrow keys will move you amongst the entries in the tree, you may also start typing the name of a entry that exist on the current level, and hnb will take you to the entry that matches what you've typed, pressing tab twice will enter the sub-level of the current entry, this behavior is modeled after the name completion in Unix shells.
-
PageUp/PageDown will skip a large amount of entries up and down.
-
Home will bring you to the 'root' (the first entry) of the tree.
-
Searching -
^F will ask you for a search term, you may thereafter navigate amongst the occurrences of the search term with up/down n/p, pressing space or return will make you stop where you found the substring, ESC will bring you back to where you started the search.
-
-
-
Moving entries -
You can move entries either by pressing shift and using the arrow keys, the entry will then move within the constraints of the hierarchical structure.
-
You can also move entries by cutting and pasting a entry, this has much of the same effect, cut is instantiated with ^C and the paste command is ^V
-
-
Adding entries -
Pressing insert will add a new entry below the current. You will also immediately enter edit mode.
-
You may also exploit the fact that searching by keyboard for a entry that doesn't exist, and pressing enter, will create the entry name that you entered.
-
-
Deleting entries -
If you press delete the current entry will be deleted, if it has children you will be asked to confirm the action.
-
Cutting can also be used to remove data, no confirmation will be asked whether you want to fulfill you action or not, but the data will be available from the clipboard.
-
-
Indenting and Outdenting entries -
> will move the current entry and all the following entries of the same level to be children of the preceding entry.
-
< will move the current entry and all the following entries of the same level to follow the parent of the preceding entry.
-
-
Expanding and Collapsing entries -
expanding -
pressing '+' on a entry with sub entries will display the sub entries even when you're not within them, thus displaying a larger portion of the tree.
-
-
collapsing -
Pressing '-' has the opposite effect of '+' it hides the expanded entries
-
-
operations working on the whole outline -
pressing F10 brings up the user menu,.. a menu where miscellany commands that don't fit anywhere else are added,.. here you may expand or collapse all entries in the current tree.
-
-
-
-
Editing entries -
Pressing Return will start editing the current entry, now the cursor keys move between the characters of the data in the entry instead amongst the entries
-
(most) Default editing shortcuts
-
Splitting entries -
When editing a entry you may press ^S, the entry being edited will be split in the current position. The data to the left of the cursor will be retained in the current entry, whilst the remaining data will be inserted in a new entry below.
-
-
Joining entries -
Pressing ^J whilst editing a entry will join the following entry, (as long as it doesn't have sub-nodes) will merge the data in; at the end of the entry being edited.
-
-
-
Spell-checking -
By default hnb is configured to use ispell for spell-checking.
-
Pressing F6 will spell-check the current entry
-
Ispell will start and guide you through the unmatched words in the current entry.
-
Thereafter you can press space to spell check the next entry, escape to cancel the changes or return to accept the changes made.
-
-
Sorting entries -
pressing ctrl+s will sort the entries on the current level
-
-
-
Other features -
Todo-list mode -
^T toggles checkmarks instead of bullets,. ^D checks or unchecks the checkmarks.
-
percentages are shown for unchecked parents that have checked subentries
-
-
Using URL's -
If an entry contains a web url ^A will bring up the configured web browser, (see your ~/.hnbrc for more information about configuration)
-
-
Calendars -
From the commandline you can issue a command like 'insert_cal 3 2003' to insert a calendar template.
-
-
Using Email addresses -
If an entry contains a email-address ^A will bring up the configured mail client, (see your ~/.hnbrc for more information about configuration)
-
-
-
Configuring hnb -
Nothing here yet, please examine your ~/.hnbrc (created automatically the first time you run hnb) for information.
-
-
sample data -
This is a stripped down version of the authors default database.. the real database contains >4000 entires
-
contacts -
frodo baggins -
or perhaps underhill
-
555-12341324
-
frode@bagend.net
-
-
merry -
meridoc somthing
-
555-23234324
-
-
peregrin took -
aka pippin
-
pippin@users.sourceforge.net
-
-
sam gamgee -
samwise
-
555-12341234
-
sam@gamgee.com
-
-
-
calendar -
2003 March -
Sat_01
-
Sun_02
-
Mon 03
-
Tue 04
-
Wed 05
-
Thu 06
-
Fri 07
-
Sat_08
-
Sun_09
-
Mon 10
-
Tue 11 remember to do some stuff
-
Wed 12
-
Thu 13
-
Fri 14
-
Sat_15
-
Sun_16 -
got some sub entries on my todolist here,..
-
-
Mon 17
-
Tue 18
-
Wed 19
-
Thu 20
-
Fri 21
-
Sat_22
-
Sun_23
-
Mon 24
-
Tue 25
-
Wed 26
-
Thu 27
-
Fri 28
-
Sat_29
-
Sun_30
-
Mon 31
-
-
2003 April -
Tue 01 Aprils Fool -
need to find some good ideas for jokes
-
-
Wed 02
-
Thu 03
-
Fri 04
-
Sat_05
-
Sun_06
-
Mon 07
-
Tue 08
-
Wed 09
-
Thu 10
-
Fri 11
-
Sat_12
-
Sun_13
-
Mon 14
-
Tue 15
-
Wed 16
-
Thu 17
-
Fri 18
-
Sat_19
-
Sun_20
-
Mon 21
-
Tue 22
-
Wed 23
-
Thu 24
-
Fri 25
-
Sat_26
-
Sun_27
-
Mon 28
-
Tue 29
-
Wed 30
-
-
-
to-do -
hnb todo -
force all expanded
-
clones
-
calendar
-
new documentation -
start
-
asdfasdfadsf
-
blah
-
asdfasdf
-
asdfasdf
-
-
revert to last saved version
-
known bugs -
insert bug -
press right
-
type data
-
press insert
-
data is lost,..
-
-
-
show all of bottommost node when possible
-
menu
-
add real percentages again,.. so I don't have to fake it like I did above on new documentation,..
-
-
-
school -
notes from exam cramming,..
-
paper outlines
-
...
-
-
work -
I've removed quite a lot of the stuff I actually keep in my database...
-
-
movie manuscripts -
one of them made,.. some of them in planning,.
-
I don't want everybody to see them,..
-
but it's an actual node in my database
-
-
bookmarks -
http://hnb.sourceforge.net/
-
norwegian short film festivals -
http://www.kortfilmfestivalen.no/
-
http://www.minimalen.com/
-
-
news -
k5 -
http://www.kuro5hin.org/
-
-
slashdot -
http://slashdot.org/
-
-
nettavisen -
http://www.nettavisen.no/
-
-
dagbladet -
http://www.dagbladet.no/
-
-
vg -
http://www.vg.no/
-
-
fark.com -
http://www.fark.com/
-
-
-
-
quotes -
Peoples Front To Reunite Gondwanaland: 'Stop the Laurasian Separatist Movement!'
-
slashdot -
disbelief -
To anyone who is still stubborn enough to insist that BlackICE Defender is actually good for something: PLEASE do not write to me. I don't want to hear it. I'm a scientist who will not find your mystic beliefs to be compelling. I respect your right to your own opinions, no matter how blatantly they fly in the face of logic and reality. That is, after all, the nature of faith. Happy computing. I suggest prayer.
-
-
-
the movie zardoz -
The gun is good. The penis is evil. The penis shoots seeds, and makes new life, and poisons the earth with a plague of men, as once it was. But the gun shoots death, and purifies the earth of the filth of brutals. Go forth and kill!
-
-
-
old -
I keep a 'trashbin' where I stow away outdated entries,.. just to be able to search it,.. and save it later,..
-
-
- Binary files /tmp/yJyUjHYkpa/hnb-1.9.18/src/cli_history.o and /tmp/1enmPqcJgc/hnb-1.9.18+ds1/src/cli_history.o differ diff -Nru hnb-1.9.18/src/hnbrc.inc hnb-1.9.18+ds1/src/hnbrc.inc --- hnb-1.9.18/src/hnbrc.inc 2003-08-27 02:50:59.000000000 +0000 +++ hnb-1.9.18+ds1/src/hnbrc.inc 1970-01-01 00:00:00.000000000 +0000 @@ -1,564 +0,0 @@ -"# configuration file for hnb,\n\ -#\n\ -# use a tab-spacing of 4 when editing this file, or edit it thorugh\n\ -# hnb with \"hnb -a ~/.hnbrc\" to take advantage of the indentation in it\n\ -#\n\ -# (please be aware that this is the configuration file for a development version,\n\ -# things might change drastically soon,.. or perhaps later)\n\ -\n\ -##### bullets\n\ - # what kind of bullets are displayed before each item\n\ - ##### samples\n\ - #bullet_parent \" -\"\n\ - #bullet_parent \" *\"\n\ - #bullet_parent \" ·\"\n\ - #bullet_parent_expanded \" +\"\n\ - #bullet_parent_expanded \" *\"\n\ - #bullet_parent_expanded \" ·\"\n\ - #bullet_leaf \" *\"\n\ - #bullet_leaf \" -\"\n\ - bullet_leaf \" ·\"\n\ - bullet_parent \" +\"\n\ - bullet_parent_expanded \" -\"\n\ - \n\ -##### user interface\n\ - ##### display format\n\ - # defining how each node is displayed, the display string syntax is\n\ - # interpreted as follows:\n\ - #\n\ - # spaces turn into real spaces, i means indentation, - means bullet,\n\ - # d means the real data of the node, x is a temporary placeholder for\n\ - # upcoming column-types,. (for debugging only)\n\ - #\n\ - # i and x can take an argument specifying how many characters wide\n\ - # the field should be\n\ - #\n\ - # until further features are added, only the multiplier after\n\ - # indentation actually does something\n\ - # # indicates node number (actually line number when used as a folding editor)\n\ - ##### samples\n\ - #display_format # \"i4- d\"\n\ - display_format \"i4- d\"\n\ - \n\ - ##### fixed focus\n\ - # lock the selection bar to a position 1/3 down the screen\n\ - fixedfocus \"0\"\n\ - \n\ - \n\ -##### external commands\n\ - ##### http:// handler\n\ - # what command is executed when a user wants a action performed on a\n\ - # entry containing an URL\n\ - # \n\ - # * is substituted for the URL\n\ - #\n\ - # the X ones have their error and standard output redirected to dev/null\n\ - # and are put into the background to keep hnb running afterwards\n\ - ##### samples\n\ - #web_command \"opera -remote 'openURL(*)' > /dev/null 2>&1 &\"\n\ - #web_command \"netscape -remote 'openURL(*)' > /dev/null 2>&1 &\"\n\ - #web_command \"netscape -remote 'openURL(*,new-window)' > /dev/null 2>&1 &\"\n\ - #web_command \"mozilla -remote 'openURL(*)' > /dev/null 2>&1 &\"\n\ - #web_command \"mozilla -remote 'openURL(*,new-window)' > /dev/null 2>&1 &\"\n\ - #web_command \"konqueror * > /dev/null 2>&1 &\"\n\ - #web_command \"galeon -n > /dev/null 2>&1 &\"\n\ - web_command \"w3m *\"\n\ - #web_command \"lynx *\"\n\ - #web_commend \"rxvt -fn fixed -rv +sb -e w3m * > /dev/null 2>&1 &\"\n\ - #web_command \"opera -remote 'openURL(*,new-window)' > /dev/null 2>&1 &\"\n\ - \n\ - ##### mail@handler\n\ - # what command is executed when a user wants a action performed on a\n\ - # entry containing a mail-address\n\ - # \n\ - # * is substituted for the mail-address\n\ - #\n\ - ## samples\n\ - #mail_command \"xterm -rv pine * > /dev/null 2>&1 &\"\n\ - #mail_command \"xterm -rv +sb -e mutt * > /dev/null 2>&1 &\"\n\ - #mail_command \"pine *\"\n\ - mail_command \"mutt *\"\n\ - \n\ - ##### spell checking\n\ - # the spell-checker used\n\ - #\n\ - ## samples\n\ - #spell_command \"aspell -c\"\n\ - #spell_command \"ispell -x\"\n\ - #spell_command \"ispell -x -damerican\"\n\ - #spell_command \"ispell -x -dbritish\"\n\ - #spell_command \"ispell -x -dbokmål\"\n\ - #spell_command \"ispell -x -dnynorsk\"\n\ - spell_command \"ispell -x\"\n\ - \n\ - \n\ -##### file formats\n\ - ##### Default Format\n\ - # hnb, opml, xml, ascii are possible choices\n\ - format \"hnb\"\n\ - \n\ - ##### Remember current position in tree\n\ - # wheter hnb remembers the current position in a file, (currently\n\ - # supported by the hnb DTD only, but might easily be extended since\n\ - # it fakes it with a XML comment) 1=true 0=false\n\ - savepos \"1\"\n\ - \n\ - ##### XML format\n\ - ##### XML Cuddling\n\ - # When loading xml files, should data be allowed on \n\ - # the same line as tags?\n\ - xml_cuddle \"0\"\n\ - ##### Autosave\n\ - # when nodes_changed reaches above threshold, invoke autosave\n\ - autosave_threshold \"15\"\n\ - autosave_threshold_nodes_changed \"0\"\n\ - \n\ - # if change has occured but is less than threshold, save when number\n\ - # of \"ticks\"/keypresses, invoke autosave\n\ - autosave_timeout \"50\"\n\ - autosave_timer \"0\"\n\ - \n\ - \n\ - \n\ -##### Color/style\n\ - # color scheme configuration, syntax is:\n\ - # \"style \"\n\ - # legal items are shown below\n\ - # colors are: blue, cyan, green, red, magenta, yellow, black and white\n\ - # attributes are: normal, reverse, bold, underline\n\ - \n\ - macro define 'style_standard' \n\ - style menuitem default/default reverse\n\ - style menutext cyan/default normal\n\ - style parentnode default/default bold\n\ - style node default/default normal\n\ - style bullet cyan/default normal\n\ - style selected yellow/red bold\n\ - style parentselected yellow/red bold\n\ - style background default/default normal\n\ - end\n\ - macro define 'style_alternate' \n\ - style menuitem red/white normal\n\ - style menutext black/white normal\n\ - style parentnode default/default bold\n\ - style node default/default normal\n\ - style bullet yellow/default normal\n\ - style selected yellow/blue normal\n\ - style parentselected yellow/blue bold\n\ - style background default/default normal\n\ - end\n\ - \n\ - macro style_standard\n\ -##### key-bindings\n\ - #\n\ - # syntax: \n\ - # \"bind \"\n\ - #\n\ - # multiple actions can be chained together by using the virtual key \"..\"\n\ - # as the following key-binding\n\ - #\n\ - ##################################################\n\ - \n\ - context main\n\ - helptext \"ESC| menu || |F2| save || |F5| commandline || |return| edit |\n\ - bind f1 'status \"Take a look at ~/.hnbrc to check out the configuration\"'\n\ - bind .. 'status \"there you will also find details about the available keybindings.\"'\n\ - bind .. 'status \"please feel free to contribute more useful keybindings and helptexts...\"'\n\ - \n\ - bind esc menu\n\ - bind ^Q 'context quitsave'\n\ - \n\ - bind f5 'commandline'\n\ - bind .. 'status --clear'\n\ - \n\ - bind f6 'macro m_spellcheck'\n\ - macro define m_spellcheck\n\ - context spellcheck\n\ - save_state\n\ - spell\n\ - end\n\ - \n\ - bind ^E 'context export'\n\ - bind ^L 'context import'\n\ - bind ^F 'macro m_search'\n\ - macro define m_search\n\ - context search\n\ - save_state\n\ - getquery \"enter keyword to search for\"\n\ - search -f \"$query\"\n\ - end\n\ - \n\ - bind f9 menu\n\ - bind f10 'context user'\n\ - \n\ - bind ^G 'context grab'\n\ - bind .. 'save_state'\n\ - \n\ - bind ^A 'action'\n\ - bind up up\n\ - bind down down\n\ - bind left left\n\ - bind right right\n\ - bind npage pagedown\n\ - bind ppage pageup\n\ - bind home \"go root\"\n\ - \n\ - \n\ - bind return edit\n\ - bind del remove\n\ - \n\ - bind ins insert_below\n\ - bind .. edit\n\ - \n\ - bind tab complete\n\ - bind ^T toggle_todo\n\ - bind ^D toggle_done\n\ - bind > indent\n\ - bind < outdent\n\ - bind f2 save\n\ - \n\ - bind ^X save_state\n\ - bind .. cut\n\ - \n\ - bind ^C copy\n\ - \n\ - bind ^V paste\n\ - bind .. down\n\ - \n\ - bind ^S save_state\n\ - bind .. sort\n\ - \n\ - bind backspace backspace\n\ - bind backspace2 backspace\n\ - \n\ - bind sleft \"movenode left\"\n\ - bind sright \"movenode right\"\n\ - bind sprevious \"movenode up\"\n\ - bind snext \"movenode down\"\n\ - \n\ - bind + expand\n\ - bind - collapse\n\ - \n\ - bind ^Z restore_state\n\ - \n\ - context nodeedit\n\ - helptext \"editing node | |ESC| revert || |return| confirm\"\n\ - bind up up\n\ - bind down down\n\ - bind left left\n\ - bind right right\n\ - \n\ - bind return confirm\n\ - bind esc cancel\n\ - \n\ - bind ^S split\n\ - bind ^J join\n\ - \n\ - bind backspace backspace\n\ - bind backspace2 backspace\n\ - \n\ - bind ^A bol\n\ - bind home bol\n\ - bind ^E eol\n\ - bind end eol\n\ - \n\ - bind del delete\n\ - \n\ - context lineedit\n\ - helptext lineedit\n\ - \n\ - bind up up\n\ - bind down down\n\ - bind left left\n\ - bind right right\n\ - \n\ - bind return confirm\n\ - bind esc cancel\n\ - bind tab complete\n\ - \n\ - bind backspace backspace\n\ - bind backspace2 backspace\n\ - bind del delete\n\ - \n\ - bind ^A bol\n\ - bind home bol\n\ - bind ^E eol\n\ - bind end eol\n\ - \n\ - context confirm\n\ - helptext \" y | | j | |return| confirm || |any key| cancel\"\n\ - \n\ - bind y confirm\n\ - bind j confirm\n\ - bind return confirm\n\ - \n\ - bind any cancel\n\ - \n\ - context quitsave\n\ - helptext \"Save on exit? | | Y |es | J |a || | N |o || |ESC| cancel\"\n\ - bind Y save\n\ - bind .. quit\n\ - \n\ - bind y save\n\ - bind .. quit\n\ - \n\ - bind J save\n\ - bind .. quit\n\ - \n\ - bind j save\n\ - bind .. quit\n\ - \n\ - bind N quit\n\ - bind n quit\n\ - \n\ - bind esc \"context main\"\n\ - bind any unbound\n\ - \n\ - context spellcheck\n\ - helptext \"Spellchecking | |Space| next node |ESC| cancel |F6,Return| confirm changes\"\n\ - \n\ - bind space \"go recurse\"\n\ - bind .. spell\n\ - \n\ - bind down \"go recurse\"\n\ - bind .. spell\n\ - \n\ - bind up \"go backrecurse\"\n\ - bind .. spell\n\ - \n\ - bind return \"context main\"\n\ - bind f6 \"context main\"\n\ - \n\ - bind esc restore_state\n\ - bind .. \"context main\"\n\ - \n\ - bind any unbound\n\ - context grab\n\ - helptext \"Node grabbed | |return| |space| drop here || |ESC| cancel\"\n\ - bind esc restore_state\n\ - bind .. \"context main\"\n\ - bind return \"context main\"\n\ - bind space \"context main\"\n\ - bind left \"movenode left\"\n\ - bind right \"movenode right\"\n\ - bind up \"movenode up\"\n\ - bind down \"movenode down\"\n\ - bind any unbound\n\ - context export\n\ - helptext \"Export | | A |scii || | H |tml html| C |ss | P |ostscript | O |PML |ESC| cancel \"\n\ - macro define m_export_ascii\n\ - save_state\n\ - go root\n\ - getquery 'what file should I save the ASCII output in?'\n\ - export_ascii $query\n\ - restore_state\n\ - context main\n\ - end\n\ - macro define m_export_html\n\ - save_state\n\ - go root\n\ - getquery 'what file should I save the HTML output in?'\n\ - export_html $query\n\ - context main\n\ - restore_state\n\ - end\n\ - macro define m_export_htmlcss\n\ - save_state\n\ - go root\n\ - getquery 'what file should I save the HTML/CSS output in?'\n\ - export_htmlcss $query\n\ - context main\n\ - restore_state\n\ - end\n\ - macro define m_export_opml\n\ - save_state\n\ - go root\n\ - getquery 'what file should I save the OPML output in?'\n\ - export_opml $query\n\ - context main\n\ - restore_state\n\ - end\n\ - macro define m_export_ps\n\ - save_state\n\ - go root\n\ - getquery 'what file should I save the PostScript output in?'\n\ - export_ps $query\n\ - context main\n\ - restore_state\n\ - end\n\ - bind esc \"context main\"\n\ - bind A \"macro m_export_ascii\"\n\ - bind a \"macro m_export_ascii\"\n\ - bind H \"macro m_export_html\"\n\ - bind h \"macro m_export_html\"\n\ - bind C \"macro m_export_htmlcss\"\n\ - bind c \"macro m_export_htmlcss\"\n\ - bind O \"macro m_export_opml\"\n\ - bind o \"macro m_export_opml\"\n\ - bind P \"macro m_export_ps\"\n\ - bind p \"macro m_export_ps\" \n\ - bind any unbound\n\ - context import\n\ - helptext \"Import | | A |scii | O |PML | H |hnb |ESC| cancel \"\n\ - \n\ - bind esc ..\n\ - bind .. \"context main\"\n\ - bind A ..\n\ - bind .. 'getquery \"what file should I import ASCII from?\"'\n\ - bind .. 'import_ascii \"$query\"'\n\ - bind .. 'context main'\n\ - bind a ..\n\ - bind .. 'getquery \"what file should I import ASCII from?\"'\n\ - bind .. 'import_ascii \"$query\"'\n\ - bind .. 'context main'\n\ - bind O ..\n\ - bind .. 'getquery \"what file should I import OPML from?\"'\n\ - bind .. 'import_opml \"$query\"'\n\ - bind .. 'context main'\n\ - bind o ..\n\ - bind .. 'getquery \"what file should I import OPML from?\"'\n\ - bind .. 'import_opml \"$query\"'\n\ - bind .. 'context main'\n\ - bind H ..\n\ - bind .. 'getquery \"what file should I import HNB data from?\"'\n\ - bind .. 'import_hnb \"$query\"'\n\ - bind .. 'context main'\n\ - bind h ..\n\ - bind .. 'getquery \"what file should I import HNB data from?\"'\n\ - bind .. 'import_hnb \"$query\"'\n\ - bind .. 'context main'\n\ - \n\ - bind any unbound\n\ - context search\n\ - helptext \"Searching | |ESC| cancel || | n |ext || | p |revious || |space|/|return| go\"\n\ - bind down 'search -f \"$query\"'\n\ - bind up 'search -b \"$query\"'\n\ - bind P 'search -b \"$query\"'\n\ - bind p 'search -b \"$query\"'\n\ - bind n 'search -f \"$query\"'\n\ - bind N 'search -f \"$query\"'\n\ - \n\ - bind return \"context main\"\n\ - \n\ - bind esc \"context main\"\n\ - bind .. restore_state\n\ - \n\ - bind any unbound\n\ - context user\n\ - helptext \"Usermenu | |ESC| cancel |F1| ispell language |F2| browser command |F3| expand all |F4| collapse all\"\n\ - bind esc \"context main\"\n\ - \n\ - bind f1 \"context user_ispell\"\n\ - bind f2 \"context user_browser\"\n\ - bind f3 \"expand --all\"\n\ - bind .. \"context main\"\n\ - \n\ - bind f4 \"collapse --all\"\n\ - bind .. \"context main\"\n\ - \n\ - bind any \"unbound\"\n\ - \n\ - context user_ispell\n\ - helptext \"Language for ispell: | |F1| Br.english |F2| Am.english |F3| Norwegian bokmål |F4| Norwegian nynorsk\"\n\ - bind f1 'spell_command \"ispell -x -damerican\"'\n\ - bind .. 'context main'\n\ - \n\ - bind f2 'spell_command \"ispell -x -dbritish\"'\n\ - bind .. 'context main'\n\ - \n\ - bind f3 'spell_command \"ispell -x -dbokmål\"'\n\ - bind .. 'context main'\n\ - \n\ - bind f4 'spell_command \"ispell -x -dnynorsk\"'\n\ - bind .. 'context main'\n\ - \n\ - bind esc 'context main'\n\ - bind any unbound\n\ - \n\ - context user_browser\n\ - helptext \"Browser action: | |F1| w3m replace hnb |F2| w3m in rxvt |F3| Opera, new tab |F4| Mozilla new window\"\n\ - bind f1 'browser_command \"w3m *\"'\n\ - bind .. 'context main'\n\ - \n\ - bind f2 'web_commend \"xterm -T \\\"w3m spawned from hnb\\\" -fn fixed -rv +sb -e w3m * > /dev/null 2>&1 &\"'\n\ - bind .. 'context main'\n\ - \n\ - bind f3 'web_command \"opera -remote 'openURL(*,new-window)' > /dev/null 2>&1 &\"'\n\ - bind .. 'context main'\n\ - \n\ - bind f4 'web_command \"mozilla -remote 'openURL(*,new-window)' > /dev/null 2>&1 &\"'\n\ - bind .. 'context main'\n\ - \n\ - bind esc 'context main'\n\ - bind any unbound\n\ - \n\ - \n\ - ##### key related options\n\ - ##### escdelay\n\ - # how long the program should wait before accepting that ESC(27d) is the\n\ - # ESC key and not the start of an escape sequence\n\ - # increase this number if you are using hnb over a slow network link\n\ - # value given is in ms (1/1000seconds)\n\ - #\n\ - escdelay 100\n\ -##### menu definition\n\ - ##### file\n\ - menu \"File\" \"------------\" \"\"\n\ - menu \"File\" \"save F2\" \"save\"\n\ - menu \"File\" \"save as.. \" \"macro saveas\"\n\ - macro define saveas\n\ - getquery db_file 'fila to save'\n\ - save_state\n\ - go root\n\ - export_$format $db_file\n\ - restore_state\n\ - end\n\ - menu \"File\" \"revert \" \"revert\" \n\ - menu \"File\" \"------------\" \"\"\n\ - menu \"File\" \"export ^E\" \"context export\"\n\ - menu \"File\" \"import ^L\" \"context import\"\n\ - menu \"File\" \"------------\" \"\"\n\ - menu \"File\" \"spell chk F6\" \"macro m_spellcheck\"\n\ - menu \"File\" \"expand all\" \"expand --all\"\n\ - menu \"File\" \"collapse all\" \"collapse --all\"\n\ - menu \"File\" \"statistics\" \"macro stats\"\n\ - macro define stats\n\ - status \"file: \\\"$db_file\\\" format:$format\"\n\ - mem\n\ - stats \n\ - end\n\ - menu \"File\" \"------------\" \"\"\n\ - menu \"File\" \"exit ^Q\" \"context quitsave\"\n\ - ##### edit\n\ - menu \"Edit\" \"---------\" \"\"\n\ - menu \"Edit\" \"copy ^C\" \"copy\"\n\ - menu \"Edit\" \"cut ^X\" \"cut\"\n\ - menu \"Edit\" \"paste ^V\" \"paste\"\n\ - menu \"Edit\" \"---------\" \"\"\n\ - menu \"Edit\" \"Search ^F\" \"macro m_search\"\n\ - ##### entry\n\ - menu \"Entry\" \"--------------\" \"\"\n\ - menu \"Entry\" \"edit return\" \"edit\"\n\ - menu \"Entry\" \"delete del\" \"remove\"\n\ - menu \"Entry\" \"--------------\" \"\"\n\ - menu \"Entry\" \"do action ^A\" \"action\"\n\ - menu \"Entry\" \"indent >\" \"indent\"\n\ - menu \"Entry\" \"outdent <\" \"outdent\"\n\ - menu \"Entry\" \"toggle todo ^T\" \"toggle_todo\"\n\ - menu \"Entry\" \"toggle done ^D\" \"toggle_done\"\n\ - menu \"Entry\" \"expand +\" \"expand\"\n\ - menu \"Entry\" \"collapse -\" \"collapse\"\n\ - ##### level\n\ - menu \"Level\" \"------------\" \"\"\n\ - menu \"Level\" \"sort ^S\" \"sort -a\"\n\ - menu \"Level\" \"sort (desc.)\" \"sort -d\"\n\ - menu \"Level\" \"shuffle \" \"sort -r\"\n\ -#####\n\ - context main\n\ - macro define m_about\n\ - status \"hnb - hierarchical notebook http://hnb.sourceforge.net/\"\n\ - status \"(c) Øyvind Kolås 2001-2003 pippin@users.sourceforge.net\"\n\ - end\n\ - \n\ - macro m_about\n\ -" diff -Nru hnb-1.9.18/src/init_subsystems.c hnb-1.9.18+ds1/src/init_subsystems.c --- hnb-1.9.18/src/init_subsystems.c 2003-08-27 02:50:59.000000000 +0000 +++ hnb-1.9.18+ds1/src/init_subsystems.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,84 +0,0 @@ -/* this file is autogenerated, do not edit */ -void init_autosave(); -void init_cal(); -void init_cli_macro(); -void init_clipboard(); -void init_commandline(); -void init_evilloop(); -void init_exec_cmd(); -void init_expanded(); -void init_file(); -void init_file_ascii(); -void init_file_binary(); -void init_file_help(); -void init_file_hnb(); -void init_file_html(); -void init_file_opml(); -void init_file_ps(); -void init_file_xml(); -void init_go(); -void init_insertbelow(); -void init_keepstate(); -void init_mem(); -void init_movenode(); -void init_nodetest(); -void init_outdent_indent(); -void init_prefs(); -void init_query(); -void init_quit(); -void init_remove(); -void init_search(); -void init_sort(); -void init_spell(); -void init_stats(); -void init_tree_todo(); -void init_ui_binding(); -void init_ui_cli(); -void init_ui_draw(); -void init_ui_edit(); -void init_ui_menu(); -void init_ui_overlay(); -void init_ui_style(); - -void init_subsystems(){ - init_autosave(); - init_cal(); - init_cli_macro(); - init_clipboard(); - init_commandline(); - init_evilloop(); - init_exec_cmd(); - init_expanded(); - init_file(); - init_file_ascii(); - init_file_binary(); - init_file_help(); - init_file_hnb(); - init_file_html(); - init_file_opml(); - init_file_ps(); - init_file_xml(); - init_go(); - init_insertbelow(); - init_keepstate(); - init_mem(); - init_movenode(); - init_nodetest(); - init_outdent_indent(); - init_prefs(); - init_query(); - init_quit(); - init_remove(); - init_search(); - init_sort(); - init_spell(); - init_stats(); - init_tree_todo(); - init_ui_binding(); - init_ui_cli(); - init_ui_draw(); - init_ui_edit(); - init_ui_menu(); - init_ui_overlay(); - init_ui_style(); -}