Giter Site home page Giter Site logo

larrykollar / tines Goto Github PK

View Code? Open in Web Editor NEW
49.0 10.0 7.0 1.08 MB

Tines is a console-based outliner/planner/notebook. It is a fork of the hnb outliner, which has not been updated in >10 years.

License: Other

Makefile 14.74% C 12.47% XSLT 0.19% HTML 0.33% CSS 0.01% Shell 33.09% Roff 39.09% M4 0.09%
hnb-outliner outliner opml

tines's Introduction

tines

Tines is a console-based outliner/planner/notebook. It is a fork of the hnb outliner, which has not been updated in over 10 years.

The current version is 1.11.1. See the Changelog for a list of new features.

See the ROADMAP file for further planned updates along the way to version 2.0 and beyond.

The wiki has a fairly complete and updated set of documentation. The doc directory provides manpages, sample files, and general documentation.

tines's People

Contributors

larrykollar avatar pscha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tines's Issues

Make install fails on master branch

Hello. I really like that you're updating hnb. Really awesome. I wasn't able to build from source on the master branch until I changed the -D flag to -d in src/Makefile. Afterwards I noticed this change has already been pushed to the dev branch but It's not in master yet. Is there a reason this hasn't made it into master yet?

64-bit Tines As Slow As 32-bit Hnb?

I finally got around to compiling tines on Debian Buster, after years of putting it off. Large files in hnb are simply just achingly slow to interact with. However, I see little improvement with using tines in the same large .hnb/.xml files. Is there anything I can do about that -- aside form splitting up the files..?

Unable to build

I'm unable so build tines on debian.
I've installed the ncurses and ncurses-dev and now I'm left without any further ideas

--- git clone https://github.com/larrykollar/tines
Cloning into 'tines'...
remote: Counting objects: 241, done.
remote: Total 241 (delta 0), reused 0 (delta 0), pack-reused 240
Receiving objects: 100% (241/241), 191.15 KiB | 0 bytes/s, done.
Resolving deltas: 100% (124/124), done.
Checking connectivity... done.

--- cd tines/

--- make
(cd src;make)
make[1]: Entering directory '/home/pscha/git/tines/src'
(cd libcli;make libcli.a)
make[2]: Entering directory '/home/pscha/git/tines/src/libcli'
cc -Wall   -c -o cli.o cli.c
cc -Wall   -c -o cli_history.o cli_history.c
cc -Wall   -c -o cli_tokenize.o cli_tokenize.c
ar rc libcli.a cli*.o
ranlib -s libcli.a
ranlib: invalid option -- 's'
make[2]: Leaving directory '/home/pscha/git/tines/src/libcli'
make[1]: Circular init_subsystems.c <- init_subsystems.c dependency dropped.
echo "/* this file is autogenerated, do not edit */">init_subsystems.c
cat *.c | grep "^\!init_" | sort | sed -e "s/^\!/void /g">>init_subsystems.c
echo "">>init_subsystems.c
echo "void init_subsystems(){">>init_subsystems.c
cat *.c | grep "^\!init_" | sort | sed -e "s/^\!/ /g">>init_subsystems.c
echo "}">>init_subsystems.c
cc -c -I. -Ilibcli -DHAVE_CONFIG_H -Wall -pedantic -g  -o init_subsystems.o init_subsystems.c
init_subsystems.c:2:1: error: unknown type name ‘Binary’
 Binary file (standard input) matches
 ^
init_subsystems.c:2:14: error: unknown type name ‘standard’
 Binary file (standard input) matches
          ^
Makefile:8: recipe for target 'init_subsystems.o' failed
make[1]: *** [init_subsystems.o] Error 1
make[1]: Leaving directory '/home/pscha/git/tines/src'
Makefile:17: recipe for target 'src/tines' failed
make: *** [src/tines] Error 2

greetings pscha

Typing `tines -e` at the shell prompt without any commands causes a segfault

The -e option expects one or more CLI commands to follow. Preferred behavior would be to silently quit when the command line is empty, as it does when commands are present and executed.

Typically, a Tines one-liner looks something like this:

tines -e 'today' 'go right' 'ls'

This one jumps to today's entry in the calendar (if it exists), moves into the entry's sub-items, and prints them—an easy way to set up an automatic tickler file. But Tines should quit cleanly when there are no commands to execute.

No reverse video or color on many Arch derivitives

HNB has the same problem. It runs fine on Arch Linux and Chakra. However when I run it on Manjaro Linux or Antergos all text is white and there is no text coloring or revere video. It does not matter if I am using xterm, rxvt, urxvt, lxterminal or gnome-terminal. I am willing to help troubleshoot this, but I have no idea where to even start.

Need a Windows port

Tines has inherited hooks for Windows builds from hnb, but I don't have a Windows environment here (let alone a Windows development environment). Anyone want to take a crack at building on Windows and adding a pull request?

OPML export: ampersand (and likely angle brackets) are not escaped for title element

How to test:

  1. Move to any node (preferably with children) that has an & in the content.
  2. Press F5 (command line) and enter export_opml_branch test.opml
  3. Using xmllint, the exported OPML document is not well-formed.
  4. Viewing in a text editor, note the head/title element has unescaped characters.

Inserting < in a node, it looks like export drops it.

make install fails

make install fails with this error

install -D /usr/local/bin
install: missing destination file operand after '/usr/local/bin'
Try 'install --help' for more information.
Makefile:23: recipe for target 'install' failed
make: *** [install] Error 1

This is on Debian Sid, gcc 7.2.0

Ä and Ö

Hi! I just compiled tines on Slackware Linux. I love the feel and look of this.

Typing Finnish alphabets ä or ö produces gibberish like M-CM-$. Changing terminal emulator's encoding from unicode to something else produces different kinds of gibberish. Hmm.

Compile error on Cygwin

Attempting to build Tines on Cygwin fails in prefs.c. The way ESCDELAY is implemented in Cygwin curses is the cause. Not sure what the workaround should be.

$ make
(cd src;make)
make[1]: Entering directory '/home/lkollar/tines/src'
cc -c -I. -Ilibcli -DHAVE_CONFIG_H -Wall -pedantic -g  -o prefs.o prefs.c
In file included from ui_cli.h:4:0,
                 from ui.h:8,
                 from prefs.c:28:
prefs.c: In function ‘init_prefs’:
prefs.c:82:35: error: lvalue required as unary ‘&’ operand
  cli_add_int ("escdelay", (long *)&ESCDELAY,
                                   ^
libcli/cli.h:47:22: note: in definition of macro ‘cli_add_int’
  cli_add_item (name, integer, NULL, NULL, usage)
                      ^
prefs.c: In function ‘write_default_prefs’:
prefs.c:101:3: warning: string length ‘18224’ is greater than the length ‘4095’ ISO C99 compilers are required to support [-Woverlength-strings]
   );
   ^
make[1]: *** [Makefile:8: prefs.o] Error 1
make[1]: Leaving directory '/home/lkollar/tines/src'
make: *** [Makefile:17: src/tines] Error 2

lkollar@LP-LKOLLAR-01 ~/tines
$

pageup and pagedown keys don't work

For some reason these keys don't work. I'm using the current git on Debian Unstable in urxvt. I tried in xterm, still doesn't work. They should jump down some lines.

Merge in fixes from `lhnb`

Good start with this project, hnb is fairly unique in its domain, even if a tad obscure.

It may be possible to merge in fixes from the lhnb project, which was also a continuation of hnb (though not as extensive a rehaul as tines seems to be) and contains various improvements and bugfixes.

Very laggy on arch linux

Running tines is very laggy on current arch linux.
Hitting ESC takes 1-2 seconds to show the menu.
Happens on every terminal (vte based, urxvt, xterm)

hnb does not have this issue

What can I provide to help you finding the issue?

create calendar is buggy

When I create a calendar with the default configuration the calendar does not look as it is supposed to.
The month nodes are in the node above the year node and in reverse order. There is an empty node in there too.

after changing the tinesrc section about the calendar to the following:

        macro define pl_add_yr
            getquery "Year (4 digits)"
            add "$query Calendar"
            insert_below
            movenode down
            movenode right
            insert_cal 12 $query
            insert_cal 11 $query
            insert_cal 10 $query
            insert_cal 9 $query
            insert_cal 8 $query
            insert_cal 7 $query
            insert_cal 6 $query
            insert_cal 5 $query
            insert_cal 4 $query
            insert_cal 3 $query
            insert_cal 2 $query
            insert_cal 1 $query
        end

there is only the empty node left that is bugging me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.