| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
|
|
| |
no objections from deraadt, ok millert
|
|
|
|
|
| |
from Jan Klemkow
ok nicm
|
|
|
|
|
|
|
|
| |
non-TTY and if that's the case then close the application. Otherwise without
this verification if it's really a non-TTY then cu(1) will be aborted by
pledge(2).
feedback and OK by deraadt@
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
few drivers that do not support cua* so tty* must be used.
ok miod millert
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
(so, for example, "cu /dev/cuaU0" will work).
|
|
|
|
|
|
|
| |
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@.
|
|
|
|
|
|
|
|
|
| |
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@.
|
|
|
|
|
| |
with argv or optarg
ok ratchov
|
| |
|
| |
|
|
|
|
| |
adjust it (per POSIX), reported by kettenis.
|
|
|
|
|
|
| |
ok dlg@ nicm@
while at it, kill one more and add #include <ctype.h> per nicm's request
|
|
|
|
|
|
| |
goto.
ok nicm@
|
|
|
|
| |
discovered by naddy.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
to reset termios before exiting. So add custom versions of err(),
errx(), warn(), warnx() to handle this.
|
| |
|
|
|
|
| |
may want to use it for variables later).
|
|
Currently supports only -l and -s (no parity), no variables and ~., ~>,
~$, ~#, ~^Z, ~?. More to come.
Tested by naddy, otto. ok miod deraadt
|