summaryrefslogtreecommitdiff
path: root/usr.bin/cu/command.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-03-22Add -E to change the escape character, from Artturi Alm.Nicholas Marriott
2017-12-10-r restricted mode blocks certain operations as ~ operations.Theo de Raadt
2015-10-05Set the line file descriptor nonblocking and make it blocking again forNicholas Marriott
2015-10-05Style nits on a couple of casts.Nicholas Marriott
2013-11-12simpler prototype repairsTheo de Raadt
2012-07-15Add a command (~D) to drop the DTR line for a second (similar to usingNicholas Marriott
2012-07-11Make ~~ send a ~, pointed out by naddy.Nicholas Marriott
2012-07-10Add ~R command to start recording output to a file.Nicholas Marriott
2012-07-10Use function to restore termios and add ~X to help.Nicholas Marriott
2012-07-10Add builtin XMODEM send support with ~X, only tested with lrz -X so far.Nicholas Marriott
2012-07-10+limits.h.Nicholas Marriott
2012-07-10Once we've set up termios, lines need to be \r\n terminated, and we needNicholas Marriott
2012-07-10closefrom(STDERR_FILENO + 1) not STDOUT_FILENO so that output actually appear...Nicholas Marriott
2012-07-10Implement ~C.Nicholas Marriott
2012-07-10Restore termios and signal handlers before ~$ so ^C will kill child.Nicholas Marriott
2012-07-10Add a ~S escape to change the speed interactively (not using ~s sinceNicholas Marriott
2012-07-10Add first cut of replacement for tip/cu. Not linked to the build.Nicholas Marriott