sfeed_curses

[fork] ncurses UI for reading sfeed files
git clone git://hhvn.uk/sfeed_curses
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2022-03-19 17:02Smarter author padding.hhvn1+5-4
2022-02-22 13:01Only pad author section by amount needed.hhvn1+14-4
2021-08-21 19:46sfeed_curses.c: use `plumb`hhvn1+1-1
2021-07-09 16:13sfeed_curses.c: don't kill children on exithhvn1+0-7
2021-07-03 14:50sfeed_curses.c: don't move forward one in search if input emptyhhvn1+4-0
2021-06-18 21:13sfeed_curses.c: lineeditor: return explicit NULL on escapehhvn1+2-1
2021-06-18 21:03sfeed_curses.c: handle escape key in lineeditor()hhvn1+13-2
2021-05-13 20:16sfeed_curses.c: display authorhhvn1+6-3
2021-04-01 22:34sfeed_curses.c: show only new in sidebarhhvn1+1-1
2021-03-28 00:52LICENSE: add copyrighthhvn1+1-0
2021-02-08 13:16sfeed_curses.c: use (capital) J, K, L keys to navigate sidebar without leaving main panehhvn1+32-0
2020-10-12 19:22Use ATTR_REVERSE for the cursor - this gives more contrast, and makes it easier to know the status of the currently selected feed/itemhhvn1+10-10
2020-10-12 00:09use urlhand2 script as plumberhhvn1+1-1
2020-10-12 00:09themeinghhvn2+16-15
2020-10-05 21:50bump version to 0.9.3Hiltjo Posthuma1+1-1
2020-10-02 11:45sfeed_curses: fix regression which ignored reading $SFEED_MARK_{READ,UNREAD}Hiltjo Posthuma1+2-2
2020-09-27 10:13Makefile: add a comment for Gentoo / distros requiring -ltinfoHiltjo Posthuma1+5-0
2020-09-12 17:18line editor: improve signal handling, support SIGINT, SIGTERMHiltjo Posthuma1+11-1
2020-09-12 17:14urls: free the memory for urls when done checkingHiltjo Posthuma1+33-22
2020-09-21 14:32Makefile: fix build with gcc -Wl,--as-neededĐoàn Trần Công Danh1+1-1
2020-09-08 22:00handle SIGTERM with higher priority while multiple signals are not processedHiltjo Posthuma1+3-2
2020-09-03 20:32improve memory and error handling of error-case in loading feed itemsHiltjo Posthuma1+8-6
2020-08-23 14:41bump version to 0.9.2Hiltjo Posthuma1+1-1
2020-08-23 12:57add minimal shim no_curses.h to allow an easy compile without curses/ncursesHiltjo Posthuma4+52-19
2020-08-23 12:55fix annoying type issue on different (n)curses versions causing a warningHiltjo Posthuma1+14-8
2020-08-22 13:33code-style: set markread and unread at startup like the other variablesHiltjo Posthuma1+20-20
2020-08-22 12:52sfeed_curses.1: improve man pageHiltjo Posthuma1+75-69
2020-08-19 17:29getsidebarwidth(): no need for a buffer just for counting the charactersHiltjo Posthuma1+2-4
2020-08-19 17:14README: update tested OS listHiltjo Posthuma1+4-1
2020-08-19 17:11revert back to using vfprintf and fprintf + a fflushHiltjo Posthuma1+5-3
2020-08-19 17:05improve cursor visibility and behaviour on some terminalsHiltjo Posthuma1+17-9
2020-08-19 17:00fix a file descriptor leak on startup when stdin is not a ttyHiltjo Posthuma1+2-1
2020-08-19 16:45explicitly define VMIN and VTIME values for read()Hiltjo Posthuma1+2-0
2020-08-19 16:42fix scrolling issue on some terminalsHiltjo Posthuma1+3-1
2020-08-19 16:33use reverse mode (for real)Hiltjo Posthuma1+1-1
2020-08-13 18:16code clarity: feed_items_get: remove one tiny brain-lookup for `ret`Hiltjo Posthuma1+5-5
2020-08-13 18:11popen: show the command which might have failedHiltjo Posthuma1+2-2
2020-08-13 18:04clarity: rename err() to die()Hiltjo Posthuma1+25-28
2020-08-13 17:57code clarity: group items properties in a structHiltjo Posthuma1+48-31
2020-08-09 08:23bump version to 0.9.1Hiltjo Posthuma1+1-1
2020-08-08 17:46code-style: small comment rewording and consistency fixesHiltjo Posthuma1+11-12
2020-08-08 17:43Fix a crash with small window width and garbage data if utf8pad failsHiltjo Posthuma1+10-11
2020-08-07 13:13add $SFEED_YANKER to make xclip an optional dependency and configurable at run-timeHiltjo Posthuma3+42-20
2020-08-07 12:18change plumb() to a bit more generic forkexec()Hiltjo Posthuma2+8-8
2020-08-07 12:06add OpenBSD pledge supportHiltjo Posthuma1+5-0
2020-08-03 21:54bump version to 0.9Hiltjo Posthuma1+1-1
2020-08-03 21:50README: add note to tested HaikuOSHiltjo Posthuma1+1-1
2020-08-03 13:50use cursor_normal, instead of cursor_visibleHiltjo Posthuma1+1-1
2020-08-03 13:48handle tparm() returning NULLHiltjo Posthuma1+2-0
2020-08-02 11:27sfeed_content.1 man page and some minor word tweaksHiltjo Posthuma2+25-2
2020-08-02 11:26sfeed_content: respect the user default $PAGER, fallback to less -RHiltjo Posthuma1+1-1
2020-08-02 11:14sfeed_content: make the content example script the default and install itHiltjo Posthuma5+7-7
2020-08-02 11:06README: use the existing plumb function instead of system()...Hiltjo Posthuma1+4-2
2020-08-02 11:05do not compile-in the lazyload code which is disabled by defaultHiltjo Posthuma1+5-1
2020-08-01 12:01sfeed_markread: return success also if an url is already marked read/unreadHiltjo Posthuma1+2-2
2020-08-01 12:01add a comment about the use of optional callbacksHiltjo Posthuma1+1-1
2020-08-01 11:07README: tiny word tweakHiltjo Posthuma1+2-2
2020-08-01 10:53README: add a small section of some minor issues found while testing terminalsHiltjo Posthuma1+15-1
2020-07-31 13:24README: add example to run a scriptable custom command from inside the programHiltjo Posthuma1+37-0
2020-07-30 20:08make it easier to change the style/colors in one placeHiltjo Posthuma2+91-36
2020-07-30 16:11write data directly without buffering and flush logicHiltjo Posthuma1+47-35
2020-07-29 19:18remove an unused variable and a unneeded lineHiltjo Posthuma1+0-2
2020-07-29 18:51improve / clarify the logic of (re)drawing a few rowsHiltjo Posthuma1+24-32
2020-07-29 16:37Revert "pane_setpos: pedantic clarify fix, no functional change"Hiltjo Posthuma1+1-2
2020-07-28 18:58pane_setpos: pedantic clarify fix, no functional changeHiltjo Posthuma1+2-1
2020-07-28 18:58improve some commentsHiltjo Posthuma1+8-8
2020-07-28 17:56kill some lines, no functional difference intendedHiltjo Posthuma1+13-34
2020-07-26 11:03simplify scrollbar drawing, making it also easier to customizeHiltjo Posthuma1+17-15
2020-07-26 09:32tiny style improvementHiltjo Posthuma1+1-1
2020-07-24 17:10updategeom(): set PaneItems the same height and y as PaneFeedsHiltjo Posthuma1+3-3
2020-07-24 11:01code-style in draw() move statusbar update near drawHiltjo Posthuma1+10-9
2020-07-22 16:10remove a line, clarify/cleanup the code a bitHiltjo Posthuma1+11-12
2020-07-22 12:28bump version to 0.8.2Hiltjo Posthuma1+1-1
2020-07-22 10:21remove unneeded variableHiltjo Posthuma1+1-1
2020-07-22 10:15reread urls if using an url list for mark read and loading a feedHiltjo Posthuma1+5-4
2020-07-22 09:27rework updatesidebar drawing and width calculationHiltjo Posthuma1+36-22
2020-07-22 09:22minor style/consistency: improve comment and reorder updatetitle() callHiltjo Posthuma1+2-2
2020-07-21 10:00bump version to 0.8.1Hiltjo Posthuma1+1-1
2020-07-20 20:06fix an issue on reloadall and handling the current open feedHiltjo Posthuma1+2-2
2020-07-20 17:51on reload all always close and reopen the current feed (if its a path)Hiltjo Posthuma1+1-0
2020-07-18 14:56fix cursor visibility in urxvtHiltjo Posthuma1+2-2
2020-07-17 12:23bump version to 0.8Hiltjo Posthuma1+1-1
2020-07-17 12:15include sys/time.h for struct timevalHiltjo Posthuma1+1-0
2020-07-17 12:12linetoitem: whoops, zero link, fixes freeing a bogus pointerHiltjo Posthuma1+2-0
2020-07-17 12:01if not using an urlfile then do not load links unnecesarily in memoryHiltjo Posthuma1+5-4
2020-07-17 11:49markread: on change: update the current row or just the items paneHiltjo Posthuma1+21-8
2020-07-17 11:18readch: not all systems signal EINTR in select()Hiltjo Posthuma1+9-1
2020-07-17 10:58reduce some unneccesary draws/writesHiltjo Posthuma1+7-6
2020-07-16 21:12fix a tiny code-style regressionHiltjo Posthuma1+1-1
2020-07-16 21:04sfeed_curses.1: reference sfeed_markread(1)Hiltjo Posthuma1+1-0
2020-07-16 20:26add support for another option to mark items as read/unreadHiltjo Posthuma6+265-12
2020-07-16 17:12make lazyload an #ifdef, LAZYLOADHiltjo Posthuma1+6-2
2020-07-16 15:31fork: kill some lines and make the flow easier to readHiltjo Posthuma1+6-8
2020-07-16 15:29pane_row_get can lazyload items (if lazyload=1)Hiltjo Posthuma1+2-2
2020-07-16 15:28linetoitem: code-style + do not set isnew hereHiltjo Posthuma1+1-3
2020-07-16 15:26pane_row_get: check if pos < 0Hiltjo Posthuma1+1-1
2020-07-16 15:23pipeitem: properly signal exit status of childHiltjo Posthuma1+4-2
2020-07-16 12:33Refactor updating of new itemsHiltjo Posthuma1+34-13
2020-07-16 11:38fix-up position if neededHiltjo Posthuma1+8-4
2020-07-16 11:34Makefile: add ${SCRIPTS} in dist too, it is empty/unused for nowHiltjo Posthuma1+2-1
2020-07-15 17:43pedantic fix when an item has an invalid timestamp and time-travellingHiltjo Posthuma1+2-2
2020-07-15 15:25handle SIGHUP for reloading all feeds and document all handled signalsHiltjo Posthuma2+32-9
2020-07-15 15:13rework signal handling as event inputHiltjo Posthuma1+63-26
2020-07-15 07:10on reloading all feeds: store and restore numeric positionHiltjo Posthuma1+3-0
2020-07-14 19:35update the entire sidebar when (re)loading a single feedHiltjo Posthuma1+4-2
2020-07-14 19:35reload all: remove now redundant check for stdinHiltjo Posthuma1+0-2
2020-07-14 19:34item_row_get: check f->fp just in caseHiltjo Posthuma1+1-1
2020-07-14 19:33fix crash when reopening a feed (stdin) from the sidebarHiltjo Posthuma1+6-2
2020-07-14 19:32feed_count: set totalnew, total = 0 in the function itself, like feed_load()Hiltjo Posthuma1+1-1
2020-07-14 19:31feed_getitems: f->path can be NULL when reading from stdinHiltjo Posthuma1+1-1
2020-07-13 20:06remove 'r' keybind for redrawHiltjo Posthuma2+2-3
2020-07-13 16:19feeds_load: do not close and reopen the current feed needlesslyHiltjo Posthuma1+6-6
2020-07-13 16:12updatesidebar: small code-style tweakHiltjo Posthuma1+5-5
2020-07-13 16:11keep the current feed position when reading reloading + a simplificationHiltjo Posthuma1+1-5
2020-07-13 16:11sfeed.1: improve SFEED_FEED_PATH documenting for stdinHiltjo Posthuma1+2-1
2020-07-11 11:10pipeitem: simplificationHiltjo Posthuma1+2-5
2020-07-08 17:34no need to flush after setting mousemodeHiltjo Posthuma1+0-1
2020-07-08 17:34improve commentsHiltjo Posthuma1+7-7
2020-07-06 15:38bump version to 0.7Hiltjo Posthuma1+1-1
2020-07-05 23:37mousereport: simplify some codeHiltjo Posthuma2+9-11
2020-07-05 23:35pane_setpos: flush the output when drawing 1 or 2 dirty rows directlyHiltjo Posthuma1+1-0
2020-07-05 23:34mousereport: remove draw(), use the draw in the general input handling codeHiltjo Posthuma1+1-2
2020-07-05 20:59setpos: a simplification and pedantic fixHiltjo Posthuma1+3-6
2020-07-04 12:08bump version to 0.6Hiltjo Posthuma1+1-1
2020-07-04 11:48reuse readch() in the tiny line editorHiltjo Posthuma1+18-22
2020-07-04 11:44use application mode (smcup and rmcup)Hiltjo Posthuma1+9-1
2020-07-04 10:40improve mouse support: improve encoding extended rangeHiltjo Posthuma1+11-12
2020-07-03 17:59save and restore cursorHiltjo Posthuma1+23-0
2020-07-03 17:09readch() fix checking of read(2) return valueHiltjo Posthuma1+1-1
2020-07-03 17:01rework line reading for searchingHiltjo Posthuma1+44-27
2020-07-03 17:00just use 0 (stdin/STDIN_FILENO) for ttyfdHiltjo Posthuma1+10-12
2020-07-03 17:00remove unused variableHiltjo Posthuma1+0-1
2020-07-03 13:51improve the uiprompt a bitHiltjo Posthuma1+6-7
2020-07-03 12:18README: tested on Windows (cygwin gcc with mintty)Hiltjo Posthuma1+1-0
2020-07-03 11:00README: small tweakHiltjo Posthuma1+1-1
2020-07-03 10:56Rework and wrap usage of the curses functionsHiltjo Posthuma1+82-36
2020-07-03 10:56small code-style tweaks and commentsHiltjo Posthuma1+4-6
2020-07-03 10:54remove atexit handling, just use cleanup() + _exit/exitHiltjo Posthuma1+5-3
2020-07-01 16:50don't skip items with no timestamp, do conversion of localtime at draw timeHiltjo Posthuma1+29-36
2020-07-01 16:49try to cleanup nicely on SIGTERM and SIGINTHiltjo Posthuma1+10-3
2020-07-01 16:49small code-style and commentHiltjo Posthuma1+2-2
2020-07-01 16:46hardcode DECTCEM sequence for vt220 compatibility (OpenBSD and NetBSD)Hiltjo Posthuma1+10-4
2020-06-30 09:44shuffle some global variables and functionsHiltjo Posthuma1+37-42
2020-06-29 18:05bump version to 0.5Hiltjo Posthuma1+1-1
2020-06-29 17:55README: improve itHiltjo Posthuma1+68-4
2020-06-29 17:53input handling improvementsHiltjo Posthuma1+26-9
2020-06-29 17:52remove redundant check for fseek code in "lazyload" modeHiltjo Posthuma1+0-4
2020-06-29 17:50popen: don't use exec-on-close flag, which is non-POSIXHiltjo Posthuma1+1-1
2020-06-29 17:49sfeed_curses.1: small man page improvementsHiltjo Posthuma1+5-2
2020-06-29 17:46use sigaction instead of signal and enforce BSD signal semantics (SA_RESTART)Hiltjo Posthuma1+14-2
2020-06-28 21:01theres no need to updategeom when toggling new itemsHiltjo Posthuma1+1-1
2020-06-28 20:12add flag to pipeitem if output is wanted or not and to restore term settingsHiltjo Posthuma1+21-9
2020-06-28 18:37remove unused includeHiltjo Posthuma1+0-1
2020-06-28 18:34bump version to 0.4Hiltjo Posthuma1+1-1
2020-06-28 18:31add keybind y to yank url and keybind E to yank the enclosure urlHiltjo Posthuma2+14-2
2020-06-28 16:31sfeed_curses.1: small rewordingHiltjo Posthuma1+3-1
2020-06-28 13:30call _exit(2) for child process which is safer than exit(3)Hiltjo Posthuma1+1-1
2020-06-28 13:28recount items when updating the title and redraw the selected feed rowHiltjo Posthuma1+14-6
2020-06-28 11:35pipeitem, plumb: make it more flexible making `cmd` a parameterHiltjo Posthuma1+9-9
2020-06-28 11:32Makefile: add comment about -lncursesHiltjo Posthuma1+3-0
2020-06-27 21:20whoops, included an unintended change: set lazyload to 0 by default againHiltjo Posthuma1+1-1
2020-06-27 21:17some pedantic fixes and rm unused codeHiltjo Posthuma1+10-23
2020-06-27 21:06bump version to 0.3Hiltjo Posthuma1+1-1
2020-06-27 21:02set SFEED_PATH_PATH when changing feedsHiltjo Posthuma2+14-0
2020-06-27 21:00use pane_row_get for loading the row data, remove some unused varsHiltjo Posthuma1+4-4
2020-06-27 19:51do not change a feed when togging new or all itemsHiltjo Posthuma1+0-2
2020-06-27 19:46fix regression in selection of feed when `togglenew` is set for the sidebarHiltjo Posthuma1+10-5
2020-06-27 19:46fix regression in sidebar calculation when `onlynew` items are shownHiltjo Posthuma1+3-2
2020-06-27 19:45if the same feed is set then reopen its `fp` if neededHiltjo Posthuma1+0-3
2020-06-27 19:44feed_getitems: remove unused want parameter, change ssize_t to size_tHiltjo Posthuma1+6-17
2020-06-27 09:20memory-optimizations, refactor, lazy-loading optionHiltjo Posthuma1+328-170
2020-06-27 08:35remove unused experimental test codeHiltjo Posthuma1+0-66
2020-06-27 08:32simplify checking for isatty()Hiltjo Posthuma1+1-4
2020-06-27 08:31use terminfo(5) names consistently for escape codesHiltjo Posthuma1+5-6
2020-06-27 08:30add 'c' hotkey for viewing (c)ontentHiltjo Posthuma2+3-2
2020-06-26 12:31bump version to 0.2Hiltjo Posthuma1+1-1
2020-06-26 11:07use the same sidebar size alwaysHiltjo Posthuma1+0-2
2020-06-26 10:35rework reopening /dev/tty and reading from stdinHiltjo Posthuma1+11-8
2020-06-26 10:35small cleanup, read devnullfd once at startupHiltjo Posthuma1+4-7
2020-06-26 09:52comment out unused logic (seek offset) that breaks reading from stdin for nowHiltjo Posthuma1+2-2
2020-06-26 08:46typo fix and other minor fixesHiltjo Posthuma2+1-3
2020-06-25 22:47do not reserve any space for invalid TSV linesLeonardo Taccari1+3-1
2020-06-24 20:21ignore TSV lines with which are invalid, like an invalid/empty dateHiltjo Posthuma1+1-1
2020-06-24 20:07simplification / remove redundant codeHiltjo Posthuma1+6-21
2020-06-24 18:23fix wrong vi keys, thanks adc!Hiltjo Posthuma2+4-4
2020-06-24 18:21add commented out test codeHiltjo Posthuma1+45-0
2020-06-24 18:20feed_load: fix an issue of using the previous position and redrawing an invalid rowHiltjo Posthuma1+14-5
2020-06-24 18:02remove unnecessary check and a whitespace fixHiltjo Posthuma1+2-3
2020-06-24 18:02add erealloc wrapperHiltjo Posthuma1+12-2
2020-06-24 18:01Makefile: add object dependencyHiltjo Posthuma1+2-0
2020-06-24 17:09fix crash when there are no itemsHiltjo Posthuma1+4-2
2020-06-24 17:08sfeed_curses.1: change reference and bump dateHiltjo Posthuma1+2-2
2020-06-24 16:59initial repoHiltjo Posthuma6+1738-0