Commit Graph

184 Commits

Author SHA1 Message Date
Sadrul Habib Chowdhury
f04882c76d Copyright for 2009 2009-02-07 20:00:26 -05:00
Sadrul Habib Chowdhury
76edff82ef Allow highlighting bell/monitor windows in caption
The command is 'rendition'. Details in man-page. The defaults are
currently set in a way to make sure that the new settings are
noticeable. This changeset is preferred over either of the patches in
savannah #18382, because it allows specifying the renditions for both
bell and monitor windows, and is flexible enough that new renditions
can be added if desired.
2009-02-07 19:44:54 -05:00
Sadrul Habib Chowdhury
49c9d58217 Make sure NAME_MAX is defined.
A different fix for this, suggested by Emanuele Giaquinta, was to
 #undef NAME_MAX before #define-ing it, but somehow I like this better.
2009-02-06 20:14:24 -05:00
Emanuele Giaquinta
f5ef12ef83 DO_NOT_POLL_MASTER is never defined. 2009-02-06 15:09:54 -05:00
Sadrul Habib Chowdhury
33b3deae2b Fix compiling when multiuser mode is disabled. 2009-02-06 15:03:40 -05:00
Sadrul Habib Chowdhury
98b6b4105b Properly parse the commands coming from -X
Between parsing the command before and after sending the commands over
the socket, I decided on the latter option. Fixes #24924.
2009-02-01 02:31:00 -05:00
Sadrul Habib Chowdhury
af7325af5a Move the tilde-expansion code to a better place
The tilde-expansion didn't happen with the following screenrc command:

  screen 0 screen -S name -c ~/file

With this change, proper tilde-expansion happens for the nested screen.
2009-01-31 19:50:59 -05:00
Emanuele Giaquinta
416bb21cb2 Use AC_SYS_LONG_FILE_NAMES to check if the system supports file names longer than 14 characters. 2009-01-28 22:54:35 -08:00
Emanuele Giaquinta
e9090f3d6d echo -> printf in info. 2009-01-26 20:24:55 -08:00
Sadrul Habib Chowdhury
25c4f34d19 Don't forget the startup command.
Fixes savannah bug #25348, launchpad bug #311443.
2009-01-26 16:19:47 -05:00
Emanuele Giaquinta
a603c47aac Use printf rather than echo -n -e in bash example. 2009-01-25 17:29:24 -08:00
Emanuele Giaquinta
cd07b4bc2e Use AC_USE_SYSTEM_EXTENSIONS to make the socket code compile on solaris, https://savannah.gnu.org/bugs/?25058. 2009-01-25 11:08:15 -08:00
William Pursell
7019645b86 Fix union wait vs. int issue
On OS X, screen fails to compile because WindowDied is
unconditionally declared to take an int, but is called
with an argument of type union wait.  This wraps the
declaration and two associated calls.

Signed-off-by: William Pursell <bill.pursell@gmail.com>
2009-01-24 00:16:31 -08:00
Sadrul Habib Chowdhury
bd51468c8f Do not crash when terminal height is zero.
Fixes savannah bug #25338, ubuntu launchpad bug #315237.
2009-01-21 13:56:09 -05:00
Micah Cowan
7f787f3fc9 Just use string.h, strings.h if they're available. 2008-11-11 20:54:30 -08:00
Sadrul Habib Chowdhury
ad318f0903 Some compilation fixes for SIMPLESCREEN
Thanks to Matthias for reporting (#24658).
2008-10-27 11:47:10 -04:00
Christian Ebert
40e1a9a7d8 Recent git versions do not accept dashed commands. 2008-10-22 08:29:50 -04:00
Sadrul Habib Chowdhury
019910e9bd Update copyright messages some more. 2008-10-21 15:04:27 -04:00
Emanuele Giaquinta
953493f708 Replace malloc+bzero with calloc. 2008-10-21 14:23:12 -04:00
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