zygo

ncurses gopher client
Log | Files | Refs

commit e50861398cea864d3da6e37e699285e33edbc534
parent 289d40b12e2478c0e61e03b78a86eecb79024aa7
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 11 Feb 2022 16:37:54 +0000

FAQ

Diffstat:
AFAQ | 22++++++++++++++++++++++
MMakefile | 1+
DREADME | 1-
3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/FAQ b/FAQ @@ -0,0 +1,22 @@ +zygo FAQ: +Q: Why are there warning messages about undefined functions!? +A: Ignore them, it's for your own good. If it compiles, it's probably fine. + (zygo uses the widechar functions from libncursesw. On some systems these are + defined in /usr/include/ncurses.h. On some systems they aren't. This isn't + an issue aslong as it can link with the widechar library.) + +Q: Okay, I ignored the warning messages, but it still didn't compile. Help? +A: You need ncursesw (widechar ncurses). + +Q: AHHH HELP WHY IS IT OPENING A BROWSER? WHY DOES IT SAY WEIRD STUFF? WHY + IS [LITERALLY ANYTHING ELSE WEIRD] HAPPENING? +A: It's probably xdg-open's fault. zygo is designed primarily as a browser of + gopher menus, but can also display text files for convenience. For any other + file, the plumber is invoked to decide what to do with the file, allowing for + greater customizability and unified behaviour between multiple programs using + the same concept. One recommendation I've seen is rifle(1) from the ranger(1) + file manager. (Writing your own plumber is simple, the uri of the file is + placed in argv[1] of the plumber). + +Q: Why is it called zygo? +A: https://en.wikipedia.org/w/index.php?title=Zygogeomys&redirect=no diff --git a/Makefile b/Makefile @@ -29,6 +29,7 @@ include config.mk $(BIN): $(OBJ) $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJ) + @echo "---> If you see any warnings or weird things happening, read the FAQ in INSTALL <---" $(OBJ): Makefile config.mk zygo.h zygo.o: config.h diff --git a/README b/README @@ -1 +0,0 @@ -Name: https://en.wikipedia.org/w/index.php?title=Zygogeomys&redirect=no