| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
hyperlink feature used by some terminals requires lots of characters
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#length-limits
mentions around 2083 characters, set it to a bit more.
Bug: 57718
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
echo -e "\e]49\e; \n\ec"
crashes screen.
This happens because 49 is divided by 10 and used as table index
resulting in access to w_xtermosc[4], which is out of bounds with table
itself being size 4. Increase size of table by 1 to 5, which is enough
for all current uses.
As this overwrites memory based on user input it is potential security
issue.
Reported-by: pippin@gimp.org
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change RunBlanker to call OpenDevice so permissions on slave
PTY are correctly set.
* Update handling of file descriptors after fork to be similar to
ForkWindow on at pty (fixes debug and leaked descriptors)
* Allow display of error message when display blocked by blanker
(because message is probably from blanker failing to start)
Bug: 55512
Cherry-picked form screen-v4, with some modifications
Signed-off-by: Scott Shambarger <devel@shambarger.net>
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windowlist has two toggles that affect its output: the list can be sorted in
either index or MRU order, and the list can contain either just immediate
children windows of all descendant windows. Since window groups use the same
code for their own output, they also support these toggles.
However, in the current code base, these toggles are reset to index ordering and
display of immediate children only every time a particular window group is
swapped out of and back into a pane.
Amadeusz:
added commit message + changed variable names + some reformatting
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
|
|
|
|
| |
finally we can get rid of wtab and maxwin
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
those variables are used to maintain most recently used list and I want
to reuse w_next to make proper list of windows instead of wtab
when we loop it doesn't make difference in which order we go, so we may
as well keep looping using mru list (and review later when we introduce
in order list)
|
|
|
|
|
|
|
|
|
| |
cherry-picked from v4 version
biggest difference is formatting
some type changes due to use of typedefs (ie struct canvas -> Canvas)
Bug: #37206
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the start of the scrollback buffer
This issue has been discussed before:
https://bbs.archlinux.org/viewtopic.php?id=108640
Copy mode and “hardcopy -h” always begin at the start of the scrollback buffer.
If a user sets a large scrollback limit with little output, then copy mode and
the file written by “hardcopy -h” will begin with many blank lines before the
first line of output.
The attached patch limits the scrollback buffer traversal to begin at the first
line of output, instead of the beginning of the scrollback buffer.
Also, code for moving to %age of buffer is changed to use float division so
that two different rep_cnt will not jump to the same location, except for
buffers less than 100 lines. Previously, the computed line number is rounded
down to the nearest 100th due to integer division.
Bug: 49377
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
allows enabling/disabling window title change via escape sequences
useful if you want to have one or more windows with static titles, but
your shell or other screen aware application changes it
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
|
| |
|
|
|
|
|
| |
needed for display.c which also uses execvpe on platforms that don't
have it
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Including the header in the source file guarantees matching signatures,
thus preventing subtle errors.
Self-contained headers document the required headers and makes using it
easier to use the header in new source files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
also remove IFDEF path without getutxent/depend on POSIX functionality
|
|
|
|
| |
Keep-in-sync comments removed, since this solves that problem splendidly.
|
| |
|
|
|
|
|
|
|
| |
This is really to prepare for refactoring MakeWinMsgEv, which is rather large
and unnecessarily difficult to follow; this will make me much more confident
that I actually grok the code before proceeding with the unicode changes and
will further help others getting into the project.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
it's easier to see what's going on, and it looks better included in
headers instead of explicitly put in
|
| |
|
|
|
|
|
|
|
| |
move forward declarations of functions from extern.h to their own header
files
fix inclusion option passed in Makefile
cosmetic stuff on some structs
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hello, lists
This patch adds the following two features to GNU Screen:
- Bracket Paste Mode (DECSET/DECRST 2004)
- DECSCUSR(cursor style manipulation)
By using "bracketed paste mode", the pasted text is bracketed with special
control sequences.
DECSCUSR can change cursor style and shape (blink/steady, block/Vertical
bar/horizontal bar).
ref: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
These days, many of xterm-compatible terminal emulators support these features.
But current GNU Screen blocks them.
This patch manages states of "Bracket Paste Mode (DECSET/DECRST 2004)" and
DECSCUSR(cursor style manipulation), for each of screens.
Please check it.
Hayaki Saito <user@zuse.jp>
https://lists.gnu.org/archive/html/screen-devel/2013-03/msg00000.html
|
| |
|