summary refs log tree commit diff
path: root/bin/dtch.c (follow)
Commit message (Collapse)AuthorAge
* Add missing include in dtchJune McEnroe2018-11-19
|
* Clean up and improve dtchJune McEnroe2018-11-12
| | | | | | Removed dependency on passwd, instead using HOME and SHELL. Added signal handlers to clean up sockets more reliably and to update the window size.
* Just print rs1 in dtch restoreTermJune McEnroe2018-07-29
|
* Fix dtch cmsg sizeJune McEnroe2018-07-29
| | | | | Apparently you actually need CMSG_SPACE and not just CMSG_LEN... Well done, everyone.
* Fix cfmakeraw callsJune McEnroe2018-07-25
| | | | | | It turns out that you're supposed to call cfmakeraw with a termios initialized by tcgetattr. Using an uninitialized termios resulted in hnel on NetBSD breaking the pty and causing a silent logout.
* Use PF_UNIXJune McEnroe2018-05-19
|
* Tabify binJune McEnroe2018-05-13
|
* Yet more tweaking of dtchJune McEnroe2018-03-06
|
* Trigger redraw on atch with 1x1 winsizeJune McEnroe2018-03-06
|
* Check revents with &June McEnroe2018-02-27
|
* Avoid unnecessary FDs in errorsJune McEnroe2018-02-23
|
* Don't bother checking result of close(2) in dtchJune McEnroe2018-02-23
|
* Clean up dtch (again, probably)June McEnroe2018-02-23
| | | | | Mostly changes to exit codes and renaming len to size. Also no more writeAll.
* Add bin/READMEJune McEnroe2018-02-01
|
* Mark dtch z and iov staticJune McEnroe2018-01-13
|
* Remove use of EBADMSGJune McEnroe2017-09-26
| | | | Not defined on OpenBSD, doesn't matter much.
* Move C file description commentsJune McEnroe2017-09-06
| | | | Comments are ugly this is why I don't put them in my code ;)
* Move C code to bin, Makefile, AGPLJune McEnroe2017-09-06
oe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe