Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | README.adoc: fix zsh integration snippet | Přemysl Eric Janouch | 2020-10-02 | 1 | -0/+6 | |
| | ||||||
* | Make the outer prompt look more normal | Přemysl Eric Janouch | 2020-10-01 | 2 | -8/+10 | |
| | | | | | | | | There's a slight issue with the inverted cell representing the cursor standing out a bit too much amongst the rest of the characters. The resulting experience is a lot more consistent, though. | |||||
* | Show external command line if appropriate | Přemysl Eric Janouch | 2020-10-01 | 2 | -9/+27 | |
| | | | | | | | | | | | | | | Since I'm already dealing with the fish shell. All of our supported shells seem to handle cursor position in Unicode (wide character) codepoints. It was easiest and most straight-forward to pass the data through yet-unused program arguments. The cursor position is marked by a Unicode glyph equivalent to ACS_DIAMOND, although ncurses doesn't get a chance to make any ACS translation. | |||||
* | README.adoc: clarify bash problems | Přemysl Eric Janouch | 2020-10-01 | 1 | -2/+3 | |
| | | | | | I've also tried tcsh but while it /can/ be used for directory navigation, it has several issues that are much more serious. | |||||
* | README.adoc: fix up hswg compatibility | Přemysl Eric Janouch | 2020-10-01 | 1 | -6/+6 | |
| | ||||||
* | README.adoc: split into subsections | Přemysl Eric Janouch | 2020-10-01 | 1 | -14/+20 | |
| | ||||||
* | README.adoc: add configuration for fish | Přemysl Eric Janouch | 2020-10-01 | 1 | -1/+19 | |
| | ||||||
* | Set cursor to child when going to parent dir | Přemysl Eric Janouch | 2020-09-29 | 1 | -18/+26 | |
| | | | | | | | | | | | That is, if it's missing from our history. This makes for a more consistent experience when traversing the filesystem. Arguably, it's only good for when 'h' is bound to the 'parent' action. Also make sure that the offset and cursor are reset when the path is changed. | |||||
* | Cleanup | Přemysl Eric Janouch | 2020-09-29 | 1 | -3/+2 | |
| | ||||||
* | Add ability to run helpers externally | Přemysl Eric Janouch | 2020-09-29 | 2 | -13/+36 | |
| | | | | So far experimental and essentially undocumented. | |||||
* | reload() doesn't really need to know the old path | Přemysl Eric Janouch | 2020-09-28 | 1 | -12/+13 | |
| | | | | | | | | | Just whether it's safe for it to keep an anchor on the current item. I've left in the safety check for an empty entries array, for the theoretical case of an empty or entirely filtered-out root directory. It will likely crash in that case, anyway, the cursor may be either -1 or 0. | |||||
* | Make anchor processing a bit more obvious | Přemysl Eric Janouch | 2020-09-28 | 1 | -2/+2 | |
| | ||||||
* | Improve PAGER defaults | Přemysl Eric Janouch | 2020-09-28 | 1 | -2/+4 | |
| | | | | | | We basically need less(1), nothing else will work correctly. I'm not sure where I took pager(1) from, might be a Debian thing. | |||||
* | README.adoc: talk about view and edit helpers | Přemysl Eric Janouch | 2020-09-28 | 1 | -4/+18 | |
| | ||||||
* | Expand a comment about overstriked underlining | Přemysl Eric Janouch | 2020-09-28 | 1 | -1/+2 | |
| | ||||||
* | Show error output from failed helpers | Přemysl Eric Janouch | 2020-09-28 | 1 | -0/+6 | |
| | | | | | | | | | | | | | Usually, when the pager or the editor fail and return a non-zero exit status, they display a message on the standard error output. We might also try to redirect this output to show_mesage() but it might not fit as a whole, so, given the relative rareness of this situation, this slight inconsistency shouldn't be much of an issue. It'd also be possible to redirect the output to run_pager() but in doing so, we might make the problem recursive. | |||||
* | Fix tilde expansion algorithm | Přemysl Eric Janouch | 2020-09-28 | 1 | -2/+2 | |
| | | | | | | | In principle correct, in practice completely broken. I wrongly assumed basic_string::find() would behave like strcspn(), and also used a nonsensical string index to check for the tilde. | |||||
* | Fix comment: the word "no-op" needs to be split | Přemysl Eric Janouch | 2020-09-28 | 1 | -1/+1 | |
| | ||||||
* | Support tilde expansion in the "chdir" action | Přemysl Eric Janouch | 2020-09-28 | 1 | -5/+24 | |
| | | | | | | | | | | | | | | | The tilde may be escaped, and this first escape may be escaped as well, so all paths should be expressable. All will just work(TM) for those who need it, and those who start filenames with backslashes are begging to have their foot shot. It appears that even Shift JIS, Big5, GB 18030, and GBK are compatible with Unix paths, meaning they don't redefine the slash (0x2F), so I'm okay with my direct multibyte string handling in unknown locales. Legacy stuff smells. | |||||
* | Make F3 change directories | Přemysl Eric Janouch | 2020-09-27 | 1 | -1/+6 | |
| | | | | | | Best complemented with a less(1) configuration that also quits on F3, just like mcview. Or invoke sdn with PAGER=mcview, even though you lose the ability to view the help that way (but gain filters). | |||||
* | Always accept ^? as well as ^H as backspace | Přemysl Eric Janouch | 2020-09-21 | 2 | -2/+4 | |
| | ||||||
* | README: add an example of configuring bindings | Přemysl Eric Janouch | 2020-09-15 | 1 | -0/+11 | |
| | ||||||
* | README: make it also work with asciidoctor | Přemysl Eric Janouch | 2020-09-15 | 1 | -1/+4 | |
| | ||||||
* | Add an action to go to the parent directory | Přemysl Eric Janouch | 2020-09-15 | 1 | -2/+7 | |
| | ||||||
* | README: make listings hswg-compatible | Přemysl Eric Janouch | 2020-08-28 | 1 | -6/+6 | |
| | ||||||
* | README: make listings libasciidoc-compatible | Přemysl Eric Janouch | 2020-08-28 | 1 | -6/+10 | |
| | ||||||
* | README: fix upstream URL | Přemysl Eric Janouch | 2020-08-28 | 1 | -1/+1 | |
| | ||||||
* | Name change | Přemysl Eric Janouch | 2020-08-28 | 3 | -4/+4 | |
| | ||||||
* | Work around an infinite loop issue | Přemysl Janouch | 2020-04-19 | 1 | -2/+23 | |
| | ||||||
* | README: fix integration snippets | Přemysl Janouch | 2020-02-13 | 1 | -2/+2 | |
| | | | | Runs of whitespace used to be smashed together. | |||||
* | Guard against ^Z in helper programs | Přemysl Janouch | 2019-12-09 | 1 | -1/+5 | |
| | | | | Resume them immediately, we are not a shell. | |||||
* | Fix change notifications | Přemysl Janouch | 2019-09-27 | 1 | -2/+1 | |
| | | | | Another embarrassing 71fbaca regression. | |||||
* | Position indicator like in vi | Přemysl Janouch | 2019-09-27 | 1 | -2/+15 | |
| | ||||||
* | Add actions imitating L/M/H in vi | Přemysl Janouch | 2019-09-27 | 1 | -2/+15 | |
| | ||||||
* | Fixes for previous commits | Přemysl Janouch | 2018-12-09 | 1 | -3/+4 | |
| | | | | | ".." used to be hidden together with hidden files, and the symlink patch introduced a compiler warning. | |||||
* | Embrace paths with symbolic links | Přemysl Janouch | 2018-12-08 | 1 | -15/+110 | |
| | ||||||
* | Add Norton Commander-like actions for F3 and F4 | Přemysl Janouch | 2018-12-03 | 1 | -2/+45 | |
| | ||||||
* | Don't show .. in the root directory | Přemysl Janouch | 2018-12-03 | 1 | -1/+2 | |
| | ||||||
* | Fix formatting | Přemysl Janouch | 2018-12-03 | 1 | -2/+4 | |
| | ||||||
* | Fix crash on unknown groups | Přemysl Janouch | 2018-12-01 | 1 | -1/+1 | |
| | ||||||
* | Also sort symlinks to directories first | Přemysl Janouch | 2018-11-10 | 1 | -2/+4 | |
| | ||||||
* | Support old libstdc++ 4.9 | Přemysl Janouch | 2018-11-04 | 1 | -4/+8 | |
| | | | | Now sdn can be built under Debian jessie with clang++ and libstdc++. | |||||
* | Update README | Přemysl Janouch | 2018-11-03 | 1 | -1/+4 | |
| | ||||||
* | Fix build on not-my-system | Přemysl Janouch | 2018-11-03 | 1 | -0/+1 | |
| | ||||||
* | Update README | Přemysl Janouch | 2018-11-03 | 1 | -0/+2 | |
| | ||||||
* | Reliability improvement | Přemysl Janouch | 2018-11-03 | 1 | -2/+4 | |
| | ||||||
* | Make confirming a search choose the item | Přemysl Janouch | 2018-11-02 | 1 | -12/+17 | |
| | ||||||
* | Add screenshot to README | Přemysl Janouch | 2018-11-02 | 2 | -1/+3 | |
| | ||||||
* | Fix level popping | Přemysl Janouch | 2018-11-02 | 1 | -18/+21 | |
| | ||||||
* | Fix history loading | Přemysl Janouch | 2018-11-02 | 1 | -1/+1 | |
| |