| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This reduces code size a little and should fix a scan-build warning.
Notes:
svn path=/head/; revision=238508
|
|
|
|
|
|
|
|
|
|
| |
quotation. Also make sure we have the same amount of columns in each row as
the number of columns we specify in the head arguments.
Reviewed by: brueffer
Notes:
svn path=/head/; revision=233992
|
|
|
|
| |
Notes:
svn path=/head/; revision=233457
|
|
|
|
|
|
|
|
| |
The `struct modes' are only used by the getter-functions in the same
file, so we can safely mark them static and const.
Notes:
svn path=/head/; revision=228406
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=221372
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've noticed various terminal emulators that need to obtain a sane
default termios structure use very complex `hacks'. Even though POSIX
doesn't provide any functionality for this, extend our termios API with
cfmakesane(3), which is similar to the commonly supported cfmakeraw(3),
except that it fills the termios structure with sane defaults.
Change all code in our base system to use this function, instead of
depending on <sys/ttydefaults.h> to provide TTYDEF_*.
Notes:
svn path=/head/; revision=214680
|
|
|
|
|
|
|
| |
They have no effect when coming in pairs, or before .Bl/.Bd
Notes:
svn path=/head/; revision=213573
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the MPSAFE TTY import, we have support for the TAB0 and TAB3 flags
to handle tab expansion, while we only used to support OXTABS. Switch
stty(1) to use tab0 and tab3 to print whether tab expansion is turned on
or off. Implement the oxtabs and tabs switches by setting the
appropriate TABx value.
Even though POSIX only lists this as being XSI, we'd better follow it.
Notes:
svn path=/head/; revision=182052
|
|
|
|
|
|
|
|
|
|
| |
understand which code paths aren't possible.
This commit eliminates 117 false positive bug reports of the form
"allocate memory; error out if pointer is NULL; use pointer".
Notes:
svn path=/head/; revision=181269
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When I ported most applications away from <sgtty.h>, I noticed none of
them were actually using these definitions. I kept them in place,
because I didn't want to touch tools like pstat(8) and stty(1).
In preparation for the MPSAFE TTY layer, remove these definitions. This
doesn't have any impact with respect to binary compatibility (see
tty_conf.c).
We couldn now add an #error to <sys/ioctl_compat.h> when included
outside the kernel. Unfortunately, kdump's mkioctls includes this file
unconditionally.
Approved by: philip (mentor)
Notes:
svn path=/head/; revision=180559
|
|
|
|
|
|
|
|
| |
PR: 81256
Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
Notes:
svn path=/head/; revision=146636
|
|
|
|
| |
Notes:
svn path=/head/; revision=141578
|
|
|
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
Notes:
svn path=/head/; revision=140353
|
|
|
|
| |
Notes:
svn path=/head/; revision=139969
|
|
|
|
|
|
|
|
| |
This change is NOP, because TTYDEF_LFLAG = TTYDEF_LFLAG_ECHO now,
but to minimize diffs with other BSDs.
Notes:
svn path=/head/; revision=137314
|
|
|
|
|
|
|
|
|
| |
PR: 73423
Submitted by: Michiel Boland <michiel@boland.org>
Overlooked by: phk
Notes:
svn path=/head/; revision=137131
|
|
|
|
| |
Notes:
svn path=/head/; revision=131505
|
|
|
|
| |
Notes:
svn path=/head/; revision=131484
|
|
|
|
|
|
|
| |
OK'ed by: imp, core
Notes:
svn path=/head/; revision=127958
|
|
|
|
| |
Notes:
svn path=/head/; revision=114576
|
|
|
|
| |
Notes:
svn path=/head/; revision=114433
|
|
|
|
| |
Notes:
svn path=/head/; revision=99110
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o Change
int
foo() {
...
to
int
foo(void)
{
...
Notes:
svn path=/head/; revision=90111
|
|
|
|
|
|
|
|
|
| |
set WARNS=0.
Reviewed by: mike
Notes:
svn path=/head/; revision=87323
|
|
|
|
|
|
|
| |
Submitted by: ru
Notes:
svn path=/head/; revision=87094
|
|
|
|
| |
Notes:
svn path=/head/; revision=87083
|
|
|
|
|
|
|
|
| |
PR: 24063
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
Notes:
svn path=/head/; revision=82237
|
|
|
|
| |
Notes:
svn path=/head/; revision=81687
|
|
|
|
| |
Notes:
svn path=/head/; revision=81622
|
|
|
|
| |
Notes:
svn path=/head/; revision=81462
|
|
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Notes:
svn path=/head/; revision=78624
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=76882
|
|
|
|
| |
Notes:
svn path=/head/; revision=76810
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=73421
|
|
|
|
| |
Notes:
svn path=/head/; revision=73233
|
|
|
|
| |
Notes:
svn path=/head/; revision=71895
|
|
|
|
| |
Notes:
svn path=/head/; revision=70056
|
|
|
|
|
|
|
|
|
| |
for backspacing.
Submitted By: Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>
Notes:
svn path=/head/; revision=69321
|
|
|
|
| |
Notes:
svn path=/head/; revision=68935
|
|
|
|
| |
Notes:
svn path=/head/; revision=68575
|
|
|
|
|
|
|
| |
Pointed-by: bde
Notes:
svn path=/head/; revision=59790
|
|
|
|
|
|
|
|
|
|
| |
comcontrol, having it in stty cause too many problems with existing drivers
and tty access permissings of non-superuser.
Asked-by: bde
Notes:
svn path=/head/; revision=59788
|
|
|
|
|
|
|
| |
It allows to restore tty state without a warning for non-superuser
Notes:
svn path=/head/; revision=59787
|
|
|
|
| |
Notes:
svn path=/head/; revision=59718
|
|
|
|
| |
Notes:
svn path=/head/; revision=59716
|
|
|
|
| |
Notes:
svn path=/head/; revision=59715
|
|
|
|
| |
Notes:
svn path=/head/; revision=59714
|
|
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57663
|
|
|
|
| |
Notes:
svn path=/head/; revision=56853
|
|
|
|
| |
Notes:
svn path=/head/; revision=50471
|