summary refs log tree commit diff
path: root/bin/modem.c (follow)
Commit message (Collapse)AuthorAge
* Add modem -r flag to set baud rateJune McEnroe2020-12-08
| | | | | | Also fix it to continue reading output, rather than exiting as soon as the child exits... Except on macOS this still doesn't seem to work correctly for some reason.
* Make all copyright headers consistentJune McEnroe2019-01-01
|
* Use typedefs uint and byteJune McEnroe2018-11-12
|
* Use PascalCase for constantsJune McEnroe2018-09-02
| | | | Get outta here, underscores.
* 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.
* Clean up modem loopJune McEnroe2018-05-13
|
* Add modemJune McEnroe2018-05-13
href='/cgit-pink/commit/ui-tree.c?h=1.4.0&id=112973615a78ce61fd6e767128df03b075be72ca&follow=1'>fix segfault when displaying empty blobsEric Wong When size is zero, subtracting one from it turns it into ULONG_MAX which causes an out-of-bounds access on buf. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for HEAD requestsLars Hjemli This is a quick 'n dirty hack which makes cgit honor HEAD requests. Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-19Add support for ETag in 'plain' viewLars Hjemli When downloading a blob identified by its path, the client might want to know if the blob has been modified since a previous download of the same path. To this end, an ETag containing the blob SHA1 seems to be ideal. Todo: add support for HEAD requests... Suggested-by: Owen Taylor <otaylor@redhat.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12ui-tree: escape ascii-text properly in hexdump viewLars Hjemli Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2009-02-12Makefile: add doc-related targetsLars Hjemli