Commit Graph

165 Commits

Author SHA1 Message Date
Sadrul Habib Chowdhury
0896e57f05 Include info about the git-revision, if possible. 2008-10-21 13:03:36 -04:00
Sadrul Habib Chowdhury
3322b5b496 Start converting to GPL v3+ (ref: ticket #23900)
I decided to leave the doc/ directory alone for the moment.
2008-10-13 14:12:02 -04:00
Sadrul Habib Chowdhury
35969236c0 Improve how 'other' behaves
Original bug report and patch by Jeroen Roovers
(http://lists.gnu.org/archive/html/screen-devel/2008-09/msg00004.html).
This change tries to avoid the case where the foreground window is the
same as the 'other' window.
2008-10-12 14:22:49 -04:00
Cyril Brulebois
d128abd580 Display the hostname on the prompt when locked
Fixes debian bug #501201.
2008-10-07 21:34:25 -04:00
Sadrul Habib Chowdhury
18796d5937 Add 'remove' subcommand for 'layout'
The new subcommand removes the specified layout (or the current layout
if none is specified). Closes feature request #22736.
2008-09-29 15:40:20 -04:00
Dick
a6cb77fd23 Prompt for input for 'stuff' command if necessary
"
This feature is useful when using a very slow remote shell session (SSH
over a bad GPRS connection). By locally preparing a command you can
enter a command and send it as bulk (without typos ;-)).
"

The gain from this patch is that, instead of doing ^a:stuff "command",
the user would be doing ^aXcommand. This is a relatively pretty minor
convenience, but I suppose it could be useful if the user needs to do
this frequently.
2008-09-14 04:07:59 -04:00
Sadrul Habib Chowdhury
39563832bb Use the last created window as foreground window
Some commands don't work correctly if screen is started in daemon mode
and not attached/detached at least once. This happens because without
any attaches, no window is considered as the foreground window when
remotely executing a command without a display. In such a case, treat
the last created window as the foreground window, as suggested in
 #10074.
2008-08-30 17:20:12 -04:00
Sadrul Habib Chowdhury
acdb9920be 'exec' command doesn't require a foreground window
Fixes debian bug #481411, references savannah bugs #18882 and #10074.
2008-08-30 16:57:27 -04:00
Sadrul Habib Chowdhury
bb04008e82 Show the session name of the screen after detach
Debian feature request #199747 by Leen Besselink.
2008-08-30 16:19:07 -04:00
Sadrul Habib Chowdhury
d45a991b63 Reading user input requires a foreground layer
Fixes crash from commands such as setenv, readreg, 'layout select' etc.
when starting with 'screen -md'. Detailed report at #24152, debian bug
 #496750.
2008-08-27 16:41:15 -04:00
Sadrul Habib Chowdhury
8c1b8e4521 Fix a crash when 'screen -x'ing from within screen 2008-08-22 11:46:48 -04:00
Sadrul Habib Chowdhury
8f53cfa43b Fix returning from lockscreen. 2008-08-21 21:08:24 -04:00
Sadrul Habib Chowdhury
bd9ed73d89 Fix a bug in cursor location in copy mode
Detailed bug report by YONETANI Tomokazu in #24058.

I am not entirely sure *why* this change fixes the bug, but it
apparently does (and it looks like a correct fix too, actually).
2008-08-18 19:48:23 -04:00
Sadrul Habib Chowdhury
45ca84c3df Fix blankerprg with debugging enabled
The debug file is closed, but not reset to NULL, causing a crash from an
attempted invalid write to the debug output. Fixes #24059.
2008-08-16 15:57:44 -04:00
Sadrul Habib Chowdhury
c50098231e Fix a rendition issue for padded captions
Detailed bug #24066 by Micah Cowan.
2008-08-16 00:43:28 -04:00
Sadrul Habib Chowdhury
d7bc717504 Fix a crash with layouts, splits and killed windows
Having the same window in multiple split regions in a layout, and then
killing the window would cause a crash. This change fixes that crash.
2008-08-15 21:53:57 -04:00
Micah Cowan
04ce58b3df Minor reword of the input-reading phrase in HACKING. 2008-08-14 00:43:05 -07:00
Micah Cowan
6ead6f557b Add %p, %+p, for display of backend, display pids. 2008-08-13 23:20:38 -07:00
Micah Cowan
f053a18d58 Fix Cygwin build (#11174). 2008-08-13 18:23:07 -07:00
Micah Cowan
b129b2f850 Use etags rather than ctags -e (may not support -e). 2008-08-13 18:22:19 -07:00
Micah Cowan
5a96807db6 Don't put an uninitialized string into the blanker environment. 2008-08-13 13:21:58 -07:00
Micah Cowan
601f73e10b Added preliminary HACKING file. 2008-08-13 04:06:23 -07:00
Sadrul Habib Chowdhury
5e4c7c57bf Use fuzzy-matching for session names only if required
If there is a session with the exact name specified, then use that one
instead of matching other sessions with a similar name. Detailed bug
report by Marius Mikucionis
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361274)
2008-08-12 22:41:19 -04:00
Sadrul Habib Chowdhury
f6b50e175b A display is not needed for remote window creation
Detailed bug report by Jorgen Grahn
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466072)
2008-08-12 17:39:43 -04:00
Sadrul Habib Chowdhury
8d8b0f2a87 Pressing 'a' in the windowlist will list all windows. 2008-08-12 17:30:03 -04:00
Sadrul Habib Chowdhury
cc21ef38fb Update caption when sessionname is changed 2008-08-12 11:23:10 -04:00
Micah Cowan
12646e3584 Decode titles from cmdline, and don't free from av (#18505). 2008-08-12 02:57:10 -07:00
Stephane Chazelas
2e910c93da Screen-reported reports go to filter input, too (#11021). 2008-08-11 21:19:23 -07:00
Sadrul Habib Chowdhury
e3fc19a176 Require password, when applicable, for remote detach
If a session has a password set, then it should be necessary for the
user to enter the password before a remote detach. This change achieves
that behaviour.

A small change in the messaging system is necessary, thus bumping the
message version, for the first time since it has been introduced, it
seems. But I don't think it's going to break anything.

Discussion at #24029
2008-08-11 23:11:58 -04:00
Sadrul Habib Chowdhury
ae69eb8b96 Make new group window belong to the existing group 2008-08-11 23:05:17 -04:00
Sadrul Habib Chowdhury
d938e51452 Fix a bug involving windowlist, splits and layouts
The blank layer, which is used by the windowlist, is not resized when
the canvas is resized, which caused the bug. This change should fix the
issue.

Bug reported by Jean-Yves Levesque in
<111f7ec40808050840t521e4d9bmcd54353087c81fec@mail.gmail.com>
2008-08-10 10:15:21 -04:00
Sadrul Habib Chowdhury
896e50658d Fix a crash triggered by killed window in a layout
The canvas list in a layout was not being updated when a window was
killed. This caused a crash when switching to a layout that has a
non-existent window in one of the canvases. This change should fix this
crash. Detailed bug report by Jonas Kölker (#23303).
2008-08-10 06:46:09 -04:00
Sadrul Habib Chowdhury
490e4b5cf5 Merge branch 'master' of git://git.savannah.gnu.org/screen 2008-08-09 19:38:55 -04:00
Sadrul Habib Chowdhury
1f533041be Some more windowlist tweaks
Pressing 'g' in the windowlist will toggle the nestedness. Pressing 'm'
will toggle the 'most recently used'-ness of the list.

The nested/mru-ness of the list is also remembered while navigating from
a parent-group to its child group window.
2008-08-09 19:28:53 -04:00
Micah Cowan
4bd95712f0 Don't have to be root if you're the same user (#9538). 2008-08-09 12:19:03 -07:00
Emanuele Giaquinta
e16843a896 Farm out locale checks. 2008-08-09 11:46:45 -07:00
Micah Cowan
1c5054501f DTRT with SCREENENCODINGS, ETCSCREENRC. 2008-08-09 11:44:17 -07:00
Emanuele Giaquinta
2485de2365 Remove unneeded templates in acconfig.h. 2008-08-09 10:27:26 -07:00
Micah Cowan
99c93a070e Removed *.dist files. 2008-08-09 10:12:43 -07:00
Sadrul Habib Chowdhury
3335a9c2a0 Fix some more windowlist glitches
* Do not clear the window when hitting enter in an empty group
* Do not clear the window when selecting the active window from the
  windowlist.
References #23856.
2008-08-09 08:58:47 -04:00
Sadrul Habib Chowdhury
fe745b1abd Do not empty a group window when escape is pressed 2008-08-08 20:56:27 -04:00
Sadrul Habib Chowdhury
dfc7d7413a Nested list of windows in the windowlist view
The -g flag to windowlist will cause the windowlist to be nested, i.e.
the windows belonging to a group window in the list will show up
indented on the left. The -g flag is compatible with the -m flag.

Also, in a windowlist, pressing  or  will jump to its parent group
window.

References #23856
2008-08-08 19:04:30 -04:00
Emanuele Giaquinta
7264aa1486 Fix incomplete change to utf8_iscomb 2008-08-08 15:52:55 -04:00
Sadrul Habib Chowdhury
d77d98d3ae Get rid of a bunch of compile warnings 2008-08-08 15:26:18 -04:00
Sadrul Habib Chowdhury
c39f7a96ce Compile with older compilers/standards. 2008-08-08 15:22:37 -04:00
Sadrul Habib Chowdhury
a0404c3a5f Some systems come with just ncursesw, and no ncurses. 2008-08-08 15:09:24 -04:00
Micah Cowan
2957e96eb1 Get rid of comment on #undef line, to work with autoconf-2.62. 2008-08-08 01:56:03 -07:00
Micah Cowan
c64cccb096 Avoid VTE lastline update glitch (#23699). 2008-08-08 00:52:11 -07:00
Micah Cowan
7bcd726c23 Why the heck was esc set to the actual escape char?! 2008-08-07 22:35:12 -07:00
Micah Cowan
2cc00bf4d8 Proper 2-arg/3-arg setenv checks (#15921). 2008-08-07 22:10:08 -07:00