| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Handle wrapping correctly when \r appears in the input, and don't
remove the \r from the output.
- For lines longer than 79 characters, don't drop every 80th character.
- Style: Braces around compound while statement.
PR: 114498
Submitted by: Niclas Zeising <niclas.zeising@gmail.com> (earlier version)
|
|
|
|
|
|
|
| |
Apparently with the new pts code stalled entries are printed, when they are
not with the BSD ptys.
Submitted by: Michal Mertl <mime at traveller dot cz>
|
| |
|
|
|
|
|
| |
LC_CTYPE setting instead of the receiver's when determining which
characters are printable.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
|
|
|
|
| |
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
|
| |
|
|
|
|
| |
Not added to Makefile as WARNS=2 will be made default.
|
|
|
|
|
|
|
|
|
|
| |
also use this, and they shouldn't have to have their own prototypes.
- Silence warnings about constness and signedness in ttymsg(). This
includes changing the return value to a `const char *', and changing
the types of `left' and `wret' (both byte counts) to ssize_t.
Reviewed by: bde
|
|
|
|
| |
Reviewed by: imp, markm
|
| |
|
|
|
|
|
|
|
|
| |
egid (tty).
Obtained from: OpenBSD
Submitted by: Maxime Henrion <mux@qualys.com>
Reviewed by: imp
|
|
|
|
|
| |
PR: 25541
Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>
|
|
|
|
|
|
|
| |
Don't treat pointer as a boolean, but instead test it against NULL.
Add warning for groups that don't exist
Submitted by: ru
|
|
|
|
|
|
|
| |
a given group.
o Minor code style cleanups while I'm here
Reviewed by: bde, kris, markm, audit@
|
|
|
|
|
|
| |
with each other.
Reviewed by: markm, dwmalone
|
| |
|
|
|
|
|
| |
In the case where the program is executed by a daemon running in the
background the terminal might not have a tty. The '(null)' is confusing.
|
|
|
|
|
|
| |
PR: 17867
Submitted by: Joel Ray Holveck <joelh@gnu.org>
Nagged by: nrahlstr
|
|
|
|
|
|
|
|
| |
Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK.
PR: bin/8681
Submitted by: koyama takahiro <tah@d1.dion.ne.jp>
Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>
|
|
|
|
|
|
| |
unnecessary forced linewraps on some terminals.
Submitted by: David McNett <nugget@slacker.com>
|
|
|
|
|
|
|
| |
insertion of redundant crlf's. Eliminated the venetian-blind effect
in walled text.
Submitted by: David McNett <nugget@slacker.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
|
|
| |
Increase the size of a number of buffers and replace strcpy/strcat/sprintf
with snprintf(). There was a minor and possibly not exploitable security
hole related to one sprintf().
|
|
|
|
|
|
| |
PR: 7278
Reviewed by: phk
Submitted by: Harlan.Stenn@pfcs.com
|
| |
|
|
|
|
|
|
| |
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
| |
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
|
|
|