| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Height of a window can be negative, when both hardstatus and caption
are turned on, and the terminal size is reduced to one-line height.
So handle those cases more gracefully.
Fixes savannah bug #29037.
|
|
|
|
|
|
| |
It looks like 'ys' can be negative at times, which results in invalid
memory reads, and possibly writes. Valgrind log from Friedrich Delgado
Friedrichs in savannah bug #29050.
|
| |
|
|
|
|
|
| |
Make sure the allocated memory is always freed. Also, do not reference freed memory.
Thank you valgrind.
|
| |
|
|
|
|
|
|
| |
Pressing 'K' in the window-list will kill a window (after confirmation).
Also, added some notes.
|
|
|
|
|
|
| |
Press ',' to switch the selected window with its previous window (in
the same group). Similarly, press '.' to switch with the next
window.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Press '/' to enter the search string, then pressing 'n' will search
forward, and 'N' will search backward. Press '/' again to change the
search string.
|
|
|
|
| |
Page-up/down, home/end, ^A, ^E, ^B, ^F, ^D, ^U keys do their things.
|
|
|
|
|
|
|
|
|
|
| |
If defined SHADOWPW, we may have passwd records in core, that the user
would not be able to access otherwise. In that case, we should not dump
core, as the core file would contain the passwd records, and would be
readable for the user.
We do not explicitly check for eff_uid == 0, because if his real_uid is
also 0 he could have read all this anyway. Leaving only the cases where the
two uids differ.
|
| |
|
|
|
|
|
|
|
| |
This window list should be better than the old one, mostly
code-wise, as there's yet no new functionality. However, it should
be much simpler to add typeahead search and other nifty things now
than before.
|
|
|
|
|
| |
Pressing 'm' toggles the MRU-ness, pressing 'a' shows the list of all windows.
Still left to do: deal with nested view.
|
|
|
|
| |
Do not remove a row from the list if it is already in the correct position.
|
|
|
|
|
|
|
|
| |
Update the window-list whenever window ordering/etc. changes. There
is an unusual bug where the selection in a list changes
automatically when switching windows in another display. Need to
investigate this issue. Also, left to do: support nested list, and
advanced navigations introduced (e.g. toggle MRU, nestedness etc.)
|
| |
|
|
|
|
|
|
| |
The window list now uses the list-framework. The basic window list
is working. The list for a group, or nested/mru lists still need
some work. This is going to be a much simpler code than before.
|
|
|
|
|
|
|
|
|
|
| |
The list of displays uses this framework. Eventually, the list of
windows, bindkeys etc. will also use this framework.
In the list of displays, you can press 'd' to detach the selected
display (and 'D' to power-detach).
Eventually, the plan is to add typeahead search in the list too.
|
|
|
|
|
| |
You enter some text in the input, then press ctrl+r to cycle through
the history that has the entered text as a substring.
|
|
|
|
|
|
|
| |
Excluding the PID from the expansion of $STY makes it possible to
do, e.g. 'source screenrc-$STY' to load session-specific commands.
If the PID is desired, for some reason, then '$PID.$STY' should be
used instead.
|
|
|
|
|
|
|
|
| |
This is another bug introduced when the max number of windows was
made configurable. Bug reported by Christian Ebert in
<20100218160955.GC21624@krille.blacktrash.org>.
And fix a typo.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Without this, commands like '-Q echo $STY' would fail with error:
no space left for variable expansion.
|
|
|
|
| |
Closes #28473 on savannah.
|
|
|
|
| |
Closes #28616 on savannah.
|
|
|
|
| |
Closes #28586 on savannah.
|
|
|
|
|
|
|
| |
The man-page is updated for: mousetrack, defmousetrack,
focusminsize, group and layout commands.
Closes #28715 on savannah.
|
|
|
|
| |
Closes #28743 on savannah.
|
|
|
|
|
|
|
|
| |
The man-page is updated to show that if the window selected using
'-p' cannot be determined with -X or -Q flags, then the command
specified will not be executed.
Fixes #28783 in savannah.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
Using this, it will be possible to detect if a particular window
exists or not.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some commands now can be queried from a remote session using the
'-Q' flag, e.g. 'screen -Q windows'. The commands will send the
response to the stdout of the querying process. If there was an
error in the command, then the querying process will exit with
a non-zero status.
The commands that can be queried now are:
echo
info
lastmsg
time
title
windows
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is the just the start of querying an existing session. The goal
is to allow something like "windows=`screen -Q windows`" in a bash
script to get back the results from the 'windows' command.
Most of the framework is done. Now the commands need to be updated
to specially deal with the queries.
|
| |/
|/| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
A command name can be prefixed by '@' to suppress the error
messages, and by '-' to suppress the normal messages. The flags are
currently parsed, but not acted upon.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The limit can be increased using the 'maxwin' command. There is
still an upper-limit of 2048 windows.
|