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