about summary refs log tree commit diff stats
path: root/doc/cha.1
Commit message (Collapse)AuthorAgeFilesLines
* Update docsbptato2025-02-111-61/+61
|
* Update docsbptato2025-01-151-2/+2
|
* CHA_CONFIG_DIR -> CHA_DIRbptato2024-12-271-1/+1
| | | | | | | It isn't really limited to config. It just happens to be in XDG_CONFIG_HOME because XDG basedirs suck. (W3M_DIR works similarly.)
* term: respect LINES, COLUMNS; do not crash without vi/vebptato2024-12-011-0/+4
|
* config.toml: respect TMPDIRbptato2024-11-121-0/+4
| | | | | also, fix a bug in the chapath parser so that param expansion actually works
* config: refactor, accept more possible config dirsbptato2024-10-281-0/+3
| | | | | | | | | | | | | | | | | | | | | I'm starting to favor dotfiles over XDG basedirs, but there's no reason why we couldn't have both. So now the search path is: 0. if config was set through -C, use that 1. $CHA_CONFIG_DIR is set -> $CHA_CONFIG_DIR/config.toml 2. $XDG_CONFIG_HOME is set -> $XDG_CONFIG_HOME/chawan/config.toml 3. ~/.config/chawan/config.toml exists -> use that 4. ~/.chawan/config.toml exists -> use that Notably, this makes it so the default directory is ~/.chawan *if* you don't have an existing config.toml file. So in that case known_hosts will be placed in ~/.chawan/known_hosts. However, configurations with a config in ~/.config/chawan/config.toml continue to work as expected, as for those the known_hosts file remains inside ~/.config/chawan/. Finally, I've added a default user CGI directory to reduce friction in setting CGI up. (Like known_hosts, it's also relative to whatever config dir you have.)
* doc: update manpagesbptato2024-09-021-1/+3
|
* doc: revert capitalization changebptato2024-03-141-1/+1
| | | | it looks weird
* man: rewrite in Nimbptato2024-03-131-1/+1
| | | | | | | | | | | | Depending on Perl just for this is silly. Now we use libregexp for filtering basically the same things as w3mman2html did. This required another patch to QuickJS to avoid pulling in the entire JS engine, but in return, we can now run regexes without a dummy JS context global variable. Also, man.nim now tries to find a man command on the system even if it's not in /usr/bin/man.
* Update docsbptato2024-02-251-8/+8
|
* Add mancha man page viewerbptato2024-01-261-3/+3
| | | | | | | | | | derived from w3mman2html.cgi, there are only a few minor differences: * different man page opener command * use man:, man-k:, man-l: instead of query string to specify action * no form input (C-lC-uman:pageC-m is faster anyway) TODO rewrite in Nim so we don't have to depend on Perl...
* Fix for sourcehut markdown parsing, small doc improvementsbptato2023-12-151-1/+1
| | | | hopefully this works
* Add -C optionbptato2023-10-271-27/+31
|
* manpage: fix incorrect infobptato2023-10-261-1/+1
|
* slightly refactor md to man preprocessing, update manpagebptato2023-10-131-3/+4
|
* Add urimethodmap supportbptato2023-09-301-1/+1
| | | | yay
* loader: add local-cgibptato2023-09-301-1/+2
| | | | | | | | | | | Add w3m-style local CGI support. It is not quite as powerful as w3m's local CGI, because it lacks an equivalent to W3m-control. Not sure if it's worth adding; we certainly shouldn't allow passing JS in headers, but a custom language for headers does not sound like a great idea either... eh, idk. also, TODO add multipart
* improve manpagesbptato2023-09-201-5/+8
|
* add manpagesbptato2023-09-201-0/+123
still needs some work