Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-04 | Include stdint.h for the uint{8,16}_t types. OK nicm@ | Todd C. Miller | |
2015-10-16 | doug and I think the kernel has enough features to support | Theo de Raadt | |
pledge "stdio rpath wpath cpath getpw proc exec tty" now. It will be hard to drop many of those features unless cu becomes privsep for the "upload" commands. | |||
2015-10-05 | Set the line file descriptor nonblocking and make it blocking again for | Nicholas Marriott | |
xmodem and child processes, makes xmodem work with -d. Reported by Kim Zeitler via guenther@, tested by Jiri B. ok (and a small change) guenther | |||
2015-10-05 | Style nits on a couple of casts. | Nicholas Marriott | |
2015-05-18 | Add -d flag and dc capability to open devices non-blocking, used for the | Nicholas Marriott | |
few drivers that do not support cua* so tty* must be used. ok miod millert | |||
2015-04-24 | remove the old tip SCCS note | Theo de Raadt | |
2015-02-28 | Reduce usage of predefined strings in manpages. | Anthony J. Bentley | |
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@ | |||
2015-02-08 | Separate the two usages for cu so you can either give it -l and -s (like | Nicholas Marriott | |
cu) or you can give it a host to look up in /etc/remote (like tip). Mixing the two was unclear and caused mixups with -l and the HOST environment variable. So usage is now: usage: cu [-l line] [-s speed | -speed] cu [host] And HOST and REMOTE are ignored for the first form. ok deraadt claudio | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-09-21 | Fix an invalid escape sequence. | Daniel Dickman | |
ok nicm@ | |||
2014-04-12 | -l should override HOST, pointed out by claudio@ | Nicholas Marriott | |
2014-03-31 | If HOST or the host argument starts with a /, treat it as a device name | Nicholas Marriott | |
(so, for example, "cu /dev/cuaU0" will work). | |||
2014-03-31 | Fix REMOTE to work like tip(1) - it can be either a path to a remote(5) | Nicholas Marriott | |
database or a description (for example "foo:dv=/dev/bar"). Add support for HOST which works as I thought REMOTE did. Manpage help from jmc@. | |||
2014-03-26 | Add support for retrieving the line and speed from the /etc/remote dv | Nicholas Marriott | |
and br capabilities like tip(1). No other capabilities are supported. Also handle REMOTE in the environment as either a separate remote(5) file or a host. Discussed with and approval from several, man page help from schwarze@. | |||
2013-11-20 | unsigned char casts with ctype macros are pretty obvious when dealing | Theo de Raadt | |
with argv or optarg ok ratchov | |||
2013-11-12 | simpler prototype repairs | Theo de Raadt | |
2013-07-20 | Add support for XMODEM-CRC and fix transfer initiation. Successfully | Christian Weisgerber | |
tested in CRC and checksum modes against a Soekris net6501. tweaks and ok nicm@ | |||
2013-04-24 | simplify tilde expand as seen in ssh. ok nicm | Ted Unangst | |
2013-03-11 | Simplify text about -l and use cua not tty in examples. | Nicholas Marriott | |
2013-03-09 | Add new cu to the build and disable tip. Also bump "first appeared in" | Nicholas Marriott | |
to .Ox 5.4 in cu.1. New cu is a libevent-based implementation of the useful features of the old tip/cu, plus a few new things like basic xmodem support. ok deraadt | |||
2013-01-17 | Fix a couple of spacing/style nits. | Nicholas Marriott | |
2013-01-17 | Instead of creating line termios from scratch, call tcgetattr() and | Nicholas Marriott | |
adjust it (per POSIX), reported by kettenis. | |||
2012-11-21 | Plug fp leak, from rustyBSD at gmx dot fr. | Nicholas Marriott | |
2012-07-15 | Add a command (~D) to drop the DTR line for a second (similar to using | Nicholas Marriott | |
~# for a BREAK). This is useful as it makes some microcontroller boards reset. From Visa Hankala. | |||
2012-07-13 | kill unused variable | Alexander Hall | |
ok dlg@ nicm@ while at it, kill one more and add #include <ctype.h> per nicm's request | |||
2012-07-13 | make the compat for -XXX to -s XXX simpler. sometimes you dont need to use | David Gwynne | |
goto. ok nicm@ | |||
2012-07-12 | Set CLOCAL in remove c_cflag or line noise is likely to make cu exit as | Nicholas Marriott | |
discovered by naddy. | |||
2012-07-12 | Add handler for SIGHUP. | Nicholas Marriott | |
2012-07-12 | Describe ~X as "send" not "transfer" to be clearer. | Nicholas Marriott | |
2012-07-11 | Make ~~ send a ~, pointed out by naddy. | Nicholas Marriott | |
2012-07-11 | Separate total block counter (reported to user) from 8-bit block counter | Nicholas Marriott | |
put into the header, pointed out by naddy. | |||
2012-07-10 | Fix usage. | Nicholas Marriott | |
2012-07-10 | Add ~R command to start recording output to a file. | Nicholas Marriott | |
2012-07-10 | Use function to restore termios and add ~X to help. | Nicholas Marriott | |
2012-07-10 | Trim some unused externs. | Nicholas Marriott | |
2012-07-10 | Add builtin XMODEM send support with ~X, only tested with lrz -X so far. | Nicholas Marriott | |
2012-07-10 | +limits.h. | Nicholas Marriott | |
2012-07-10 | Once we've set up termios, lines need to be \r\n terminated, and we need | Nicholas Marriott | |
to reset termios before exiting. So add custom versions of err(), errx(), warn(), warnx() to handle this. | |||
2012-07-10 | closefrom(STDERR_FILENO + 1) not STDOUT_FILENO so that output actually ↵ | Nicholas Marriott | |
appears ;-). | |||
2012-07-10 | Implement ~C. | Nicholas Marriott | |
2012-07-10 | Restore termios and signal handlers before ~$ so ^C will kill child. | Nicholas Marriott | |
2012-07-10 | Add a ~S escape to change the speed interactively (not using ~s since | Nicholas Marriott | |
may want to use it for variables later). | |||
2012-07-10 | Add first cut of replacement for tip/cu. Not linked to the build. | Nicholas Marriott | |
Currently supports only -l and -s (no parity), no variables and ~., ~>, ~$, ~#, ~^Z, ~?. More to come. Tested by naddy, otto. ok miod deraadt |