Commit Graph

204 Commits

Author SHA1 Message Date
Sadrul Habib Chowdhury
9cdf8e20a2 Improve specifying custom digraphs.
With this change, instead of using the unicode value to create a
custom digraph, it will be possible to use the unicode character
itself. For example,

  digraph >= ≥

instead of

  digraph >= U+2265
2009-05-15 15:57:12 -04:00
Sadrul Habib Chowdhury
803629c10d Fix another instance of unknown format strings. 2009-04-08 11:09:06 -04:00
Micah Cowan
bfcc6738e1 Add info about MakeWinMsgEv to HACKING. 2009-03-31 12:00:05 -07:00
Micah Cowan
b28008ae65 Don't send strings we don't control as the format string\! 2009-03-26 14:52:29 -07:00
Micah Cowan
9a592a1d06 Send ti _after_ is. 2009-03-26 14:49:57 -07:00
Sadrul Habib Chowdhury
d87a0d8f27 Allow c-style escapes with parameters.
With this change, it's possible to use '\n' to represent a new line,
instead of '\012' This will be particularly useful for the 'stuff'
command. Fixes #25647.
2009-02-28 01:23:00 -05:00
Sadrul Habib Chowdhury
5c2192b278 Change the default renditions. 2009-02-28 01:14:09 -05:00
Sadrul Habib Chowdhury
7fd224a668 Update manual for 'rendition'
Fixes #25668.
2009-02-28 00:23:28 -05:00
Micah Cowan
01f23034c7 Don't segfault on "layout number" when not on a layout (thanks Soliton) 2009-02-26 20:17:33 -08:00
Micah Cowan
8ddf77842a Revert d9795ca13, which broke back-tab. END key and C-a ^H seem still to work somehow. 2009-02-25 10:08:54 -08:00
Micah Cowan
c8a9a407a1 Revert 6357c4f1 (wtf was I thinking?) 2009-02-25 10:05:11 -08:00
Micah Cowan
476039279d $STY still reflects the old session name, but only in existing shells. 2009-02-23 21:18:03 -08:00
Micah Cowan
b4ba7b0a3c Don't push bell/monitor attributes onto stack without removing. 2009-02-22 00:19:57 -08:00
Sadrul Habib Chowdhury
5ee7c611dc Fix caption for 'select -' 2009-02-20 13:50:26 -05:00
Micah Cowan
35804d79c8 Don't trim the trailing spaces from %-w ! 2009-02-19 23:46:36 -08:00
Micah Cowan
6e57c4f1e8 Correct version from 4.01.00devel to 4.10.00devel 2009-02-18 12:58:20 -08:00
Sadrul Habib Chowdhury
903c7604f7 Customizable digraphs
This closes a debian wishlist more than 10 years old (#25096), and also
a less old feature request on savannah (#25279).
2009-02-13 22:51:42 -05:00
Sadrul Habib Chowdhury
ad76d9023d terminfo goodness for 256-color support
Taken from http://www.xvx.ca/~awg/emacs-colors-howto.txt, written by Trent W Buck.
2009-02-13 19:42:05 -05:00
Sadrul Habib Chowdhury
52b776c6f2 Multiple input history
Based on initial patch by Romain Francoise. I had actually committed his
patch in a branch, but some bits of the implementation looked a bit more
complicated than necessary. So I scratched that for this, which looks
pretty similar, but I think is a bit simpler to understand. The
behaviour is mostly the same, e.g. duplicate commands are moved at the
beginning of the history, and not added again.

There is currently no limit to the number of inputs to save in history.
But it can certainly be added if necessary.

Fixes #25074.
2009-02-12 23:28:58 -05:00
Sadrul Habib Chowdhury
a62adf5f7d Fix the rendition of some specific %w flags. 2009-02-08 16:14:46 -05:00
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