summaryrefslogtreecommitdiff
path: root/usr.bin/cu/cu.c
AgeCommit message (Expand)Author
2017-12-10-r restricted mode blocks certain operations as ~ operations.Theo de Raadt
2017-08-22Call isatty(3) prior to ioctl(TIOCEXCL) to check if cu(1) was invoked on aRicardo Mestre
2015-10-16doug and I think the kernel has enough features to supportTheo de Raadt
2015-10-05Set the line file descriptor nonblocking and make it blocking again forNicholas Marriott
2015-05-18Add -d flag and dc capability to open devices non-blocking, used for theNicholas Marriott
2015-02-08Separate the two usages for cu so you can either give it -l and -s (likeNicholas Marriott
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-04-12-l should override HOST, pointed out by claudio@Nicholas Marriott
2014-03-31If HOST or the host argument starts with a /, treat it as a device nameNicholas Marriott
2014-03-31Fix REMOTE to work like tip(1) - it can be either a path to a remote(5)Nicholas Marriott
2014-03-26Add support for retrieving the line and speed from the /etc/remote dvNicholas Marriott
2013-11-20unsigned char casts with ctype macros are pretty obvious when dealingTheo de Raadt
2013-04-24simplify tilde expand as seen in ssh. ok nicmTed Unangst
2013-01-17Fix a couple of spacing/style nits.Nicholas Marriott
2013-01-17Instead of creating line termios from scratch, call tcgetattr() andNicholas Marriott
2012-07-13kill unused variableAlexander Hall
2012-07-13make the compat for -XXX to -s XXX simpler. sometimes you dont need to useDavid Gwynne
2012-07-12Set CLOCAL in remove c_cflag or line noise is likely to make cu exit asNicholas Marriott
2012-07-12Add handler for SIGHUP.Nicholas Marriott
2012-07-10Fix usage.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-10Once we've set up termios, lines need to be \r\n terminated, and we needNicholas 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