Age | Commit message (Collapse) | Author |
|
kill-window - if a window is linked into only one session it unlinked and
destroyed.
|
|
from any sessions. In fact the implementation only affected the current
session, making it the same as unlink-window but destroying the window if it
was linked into only one session (unlinkw gives an error). Change the behaviour
to match what it documented and was originally intended.
|
|
annoying and it is only use for iterating, so use a sentinel to mark the end of
each array instead. Different fix for a problem pointed out by Kalle Olavi
Niemitalo.
|
|
|
|
not just the status line. Changing this also revealed the check for the status
line was incorrect when drawing the pane.
|
|
redraw it as to draw the entire screen, just skip all lines but the last.
This makes horizontal split redraw properly when the status line is off.
|
|
generate the same linkage as those with c89 semantics.
ok sthen@
|
|
this way we not only improve the synopsis accuracy but also match
descriptions provided by IEEE Std 1003.1-2008, FreeBSD and NetBSD
for this command; while here, synchronize the operand name.
description for the optional arguments proposed by jmc@
ok jmc@
|
|
|
|
|
|
ok millert@
|
|
decision for whether or not a pane should be drawn out of the layout code and
into the redraw code.
This is needed for the new layout design, getting it in now to make that easier
to work on.
|
|
|
|
|
|
instead. Pointed out by millert a while ago.
|
|
maintain and is only going to get worse as more are used. So instead, add a new
uint64_t member to cmd_entry which is a bitmask of upper and lowercase options
accepted by the command.
This means new single character options can be used without the need to add it
explicitly to the list.
|
|
|
|
ok claudio@ henning@ dlg@
|
|
|
|
|
|
- move the code back into cmd.c and merge with the existing functions where
possible;
- accept "-tttyp0" as well as "-t/dev/ttyp0" for clients;
- when looking up session names, try an exact match first, and if that fails
look for it as an fnmatch pattern and then as the start of a name - if more
that one session matches an error is given; so if there is one session called
"mysession", -tmysession, -tmysess, -tmysess* are equivalent but if there
is also "mysession2", the last two are errors;
- similarly for windows, if the argument is not a valid index or exact window
name match, try it against the window names as an fnmatch pattern and a
prefix.
|
|
screen interactive programs to preserve the screen contents. When activated, it
saves a copy of the visible grid and disables scrolling into and resizing out
of the history; when deactivated the visible data is restored and the history
reenabled.
|
|
|
|
|
|
fix from joerg at netbsd via kristaps@
|
|
so that's what e.g. NetBSD and FreeBSD do. However, for *now*, we want to
stick with the exact behaviour of the in-tree groff in OpenBSD.
ok jmc@
|
|
(even though it's useless, unescaped "-" is just the same)
|
|
|
|
|
|
|
|
from joerg at netbsd via kristaps@
|
|
|
|
|
|
The simplification of the internal code has already been done before,
this is just the user interface adjustment.
|
|
define additional warning macro mdoc_nwarn()
remove obsolete warning functions mdoc_warn(), pwarn(), vwarn(), nwarn()
remove various now unused "enum mdoc_warn" and "enum mwarn"
|
|
and use the so improved mdoc_nerr() at many places;
get rid of now unused static functions perr()
|
|
ok millert
|
|
and use the so improved mdoc_nerr() at many places
|
|
use it as a new argument to mdoc_err(), the same way as for for man_err(),
and use string tables instead of switch statements to select error messages
|
|
mdoc_verr is not using enum mdoc_warn, so use it at a few more places
|
|
remove type from mdoc_vwarn arguments, and use this function where apropriate
|
|
unify manwarn() and mdocwarn() into mwarn()
|
|
ok millert@ gilles@ sthen@
|
|
frees the command list bound to the key while it is still being executed,
leading to a use after free. To prevent this, create a dead keys list and defer
freeing replaced or removed key bindings until the main loop when the key
binding will have finished executing.
Found by Johan Friis when creating a key binding to reload his configuration
file.
|
|
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks.
|
|
single function, from Kalle Olavi Niemitalo.
|
|
user-specified one.
|
|
of 0 work as expected.
|
|
|
|
and makes emacs happy when pasting into some modes. A new -r (raw) flag to
paste-buffer pastes without the translation.
From Kalle Olavi Niemitalo, thanks!
|