Age | Commit message (Collapse) | Author |
|
|
|
Affecting both -Tascii and -Thtml:
* The .IP HEAD uses the second argument as the width, not the last one.
* Only print the first .IP HEAD argument, not all but the last.
Affecting only -Tascii:
* The .IP and .TP HEADs must be printed without literal mode,
but literal mode must be restored afterwards.
* After the .IP and .TP bodies, we only want term_newln(), not
term_flushln(), or we would get two blank lines in literal mode.
* The .TP HEAD does not use TWOSPACE, just like .IP doesn't either.
* In literal mode, clear NOLPAD after each line, or subsequent lines
would get no indentation whatsoever.
Affecting only -Thtml:
* Only print next-line .TP children, instead of all but the first.
OK kristaps@ on the -Tascii part; and:
"Can you work this into man_html.c, too?"
|
|
Affecting both -Tascii and -Thtml:
* The .IP HEAD uses the second argument as the width, not the last one.
* Only print the first .IP HEAD argument, not all but the last.
Affecting only -Tascii:
* The .IP and .TP HEADs must be printed without literal mode,
but literal mode must be restored afterwards.
* After the .IP and .TP bodies, we only want term_newln(), not
term_flushln(), or we would get two blank lines in literal mode.
* The .TP HEAD does not use TWOSPACE, just like .IP doesn't either.
* In literal mode, clear NOLPAD after each line, or subsequent lines
would get no indentation whatsoever.
Affecting only -Thtml:
* Only print next-line .TP children, instead of all but the first.
OK kristaps@ on the -Tascii part; and:
"Can you work this into man_html.c, too?"
|
|
Originally, tmux commands were parsed in the client process into a
struct with the command data which was then serialised and sent to the
server to be executed. The parsing was later moved into the server (an
argv was sent from the client), but the parse step and intermediate
struct was kept.
This change removes that struct and the separate parse step. Argument
parsing and printing is now common to all commands (in arguments.c) with
each command left with just an optional check function (to validate the
arguments at parse time), the exec function and a function to set up any
key bindings (renamed from the old init function).
This is overall more simple and consistent.
There should be no changes to any commands behaviour or syntax although
as this touches every command please watch for any unexpected changes.
|
|
* Do not segfault on empty .Db, .Rs, .Sm, and .St.
* Let check_count() really throw the requested level, not always ERROR.
* Downgrade most bad argument counts from ERROR to WARNING.
* And some related internal cleanup.
Looks fine to kristaps@.
Note that the macros using eerr_ge1() still need to be checked at a later
time; but as all the others are done, let's use what we already have.
|
|
and supports larger terminals than the older way.
If the new mouse-utf8 option is on, UTF-8 mouse input is enabled for all
UTF-8 terminals. The option defaults to on if LANG etc are set in the
same manner as the utf8 option.
With help and based on code from hsim at gmx.li.
|
|
the remaining ones default to the empty string, not to NULL.
Regression reported and fix tested by kristaps@.
|
|
semconfig() declaration. Move the COMPAT_35 SysV IPC structures into
the only source files that uses them
ok millert@, kettenis@, deraadt@
|
|
argument parsing (in man_argv.c, man_args()), both having different bugs,
to use one common macro argument parser (in mandoc.c, mandoc_getarg()),
because from the point of view of roff, man macros are just roff macros,
hence their arguments are parsed in exactly the same way.
While doing so, fix these bugs:
* Escaped blanks (i.e. those preceded by an odd number of backslashes)
were mishandled as argument separators in unquoted arguments to
user-defined roff macros.
* Unescaped blanks preceded by an even number of backslashes were not
recognized as argument separators in unquoted arguments to man macros.
* Escaped backslashes (i.e. pairs of backslashes) were not reduced
to single backslashes both in unquoted and quoted arguments both
to user-defined roff macros and to man macros.
* Escaped quotes (i.e. pairs of quotes inside quoted arguments) were
not reduced to single quotes in man macros.
OK kristaps@
Note that mdoc macro argument parsing is yet another beast for no good
reason and is probably afflicted by similar bugs. But i don't attempt
to fix that right now because it is intricately entangled with lots of
unrelated high-level mdoc(7) functionality, like delimiter handling and
column list phrase handling. Disentagling that would waste too much
time now.
|
|
correctly. Found by Thomas Adam.
|
|
ok krw, miod
|
|
ok krw, miod
|
|
stuff.
|
|
|
|
|
|
ok chl@
|
|
jakemsr@ ok.
|
|
ok jmc@ jsing@
|
|
ok espie@
|
|
runtime instead of forcing the user to-recreate the interface with the
changed options. The code now re-configures the interface instead of
returning EBUSY. For example, it is now possible to run "ifconfig
vlan1 vlandev em0; ifconfig vlan1 vlandev em1" in a sequence.
ok claudio@ deraadt@
|
|
|
|
it not NULL before using it.
fixes crash reported by jmc@
|
|
- zap a trailing tab
|
|
by Dmitry Komissaroff (uticom author)
ok jsg@
|
|
|
|
|
|
(those play nasty games with the stack pointer).
|
|
to change the environment that functions assume they run in. use
sub-shells or absolute paths when possible.
ok krw
|
|
|
|
espie@ ok.
|
|
VD_OP_GET_VTOC and VD_OP_GET_DISKGEOM. Factor out the code to ACK descriptors
and fix a bug copying in/out a descriptor that crosses a page boundary.
|
|
another CPU.
ok miod@
|
|
report it in dmesg.
|
|
|
|
|
|
document PrelinkStuffOnly
|
|
|
|
use mkdir directly to be able to report errors in a sane way (as the
File::Path interface is prone to change).
allow prepare to specify its own destdir (for temp files).
use state->system to report more errors.
be consistent in destdir error printing.
|
|
|
|
Xorg is not yet built in xenocara, this will come later.
ok miod@
|
|
|
|
|
|
NetBSD
|
|
isn't NULL.
Original to hppa's elroy(4) by, and ok kettenis@
|
|
|
|
|
|
|
|
|
|
in the messages that ACK descriptors. Makes OpenSolaris virtual disk clients
much happier and able to boot from a bootable automatic installer cdrom.
|
|
Serialize processing ACPI tasks for sleep/powerdown/GPE event
ok deraadt@
|