summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This is not getopt() and we don't have two leading dashes, so parse and ↵Jan Christoph Nordholz2014-04-251-0/+2
| | | | | | match the long options in full. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Make the exitcode of '-q -ls' and friends ('-qr -ls' and even '-qdr -ls') ↵Jan Christoph Nordholz2014-04-251-2/+6
| | | | | | match the documentation. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* don't change umaskJan Christoph Nordholz2014-04-251-7/+0
| | | | | | | | Make it a bit harder to shoot oneself in the foot by keeping the umask tight by default when creating the screen exchange file. Fearless users may still chmod it. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Get rid of several minor gcc warnings.Jan Christoph Nordholz2014-04-252-2/+2
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* increase size of MAXSTR and input line bufferJan Christoph Nordholz2014-04-254-7/+7
| | | | | | | Increase the MAXSTR macro to suit present-day needs. Increase the maximum length of the input line buffer likewise. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Under BSD set controlling terminal explicitly.Jan Christoph Nordholz2014-04-251-10/+3
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* fix locking root screen when root has no passwordMartin Pitt2014-04-251-7/+18
| | | | | | | | When locking a root-owned screen, check that root has a password set. If not, ask for an unlocking key. See https://bugs.launchpad.net/bugs/6760 Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* fix parallel buildAmadeusz Sławiński2014-04-251-3/+3
| | | | | | | screen FTBFS if make uses parallel building (at least with -j8). This patch adds the missing dependencies to make parallel builds work, too. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Add a missing include to get a few prototypes that caused build issues on ↵Jan Christoph Nordholz2014-04-251-0/+1
| | | | | | kfreebsd-amd64. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Add some missing defined(__GLIBC__) to get linux-ish terminal handling.Axel Beckert2014-04-251-2/+2
| | | | | | Thanks: Jan Christoph Nordholz Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Enhance the vsprintf() test to also succeed on Alpha.Jan Christoph Nordholz2014-04-251-1/+1
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* fix wrong option name in configure.inAmadeusz Sławiński2014-04-251-1/+1
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* allow for defining term and login length if neededAmadeusz Sławiński2014-04-229-13/+20
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Allow screen to run for users with long loginsAmadeusz Sławiński2014-04-225-7/+7
| | | | | | username can have up to 32 characters Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* fix screen to run on terminals with long $TERMAmadeusz Sławiński2014-04-222-3/+3
| | | | | | | | | | | | | According to tic man page: Terminal names exceeding the maximum alias length (32 characters on systems with long filenames, 14 characters otherwise) will be truncated to the maximum alias length and a warning message will be printed. Use 32 as it's bigger value and it won't matter on systems with smaller filenames. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Revert "fix screen to run on terminals with long $TERM"Amadeusz Sławiński2014-04-223-11/+3
| | | | This reverts commit 44020241d033555e8e90fad3c88617dce1aed0bb.
* do proper checks if we are on altscreen or notAmadeusz Sławiński2014-04-181-4/+7
| | | | | | | fixes screen segfaults with `altscreen on` when using applications making use of altscreen like mc when resizing screen window Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Fix bug when building without nethack commandsAmadeusz Sławiński2014-04-182-2/+4
| | | | | | | | | When building with -DNONETHACK all commands were off by 1 because of missing nethack command in table. Provide dummy command with info message. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* test more libraries for tgetentAmadeusz Sławiński2014-04-181-1/+7
| | | | Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* fix screen to run on terminals with long $TERMAmadeusz Sławiński2014-04-183-3/+11
| | | | | | | | | | According to tic man page: Terminal names exceeding the maximum alias length (32 characters on systems with long filenames, 14 characters otherwise) will be truncated to the maximum alias length and a warning message will be printed. Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* incompatible protocolJürgen Weigert2014-04-183-373/+4
|
* prepare for v.4.2.0v.4.2.0Amadeusz Sławiński2014-04-161-3/+3
|
* fixed https://savannah.gnu.org/bugs/?41934Juergen Weigert2014-03-242-1/+2
| | | | C-a C-h is a hotkey for 'prev', but C-a h is not.
* set fontx to null instead of 0 if the encoding is switched to non-utf8Michael Schroeder2013-09-021-2/+2
| | | | Should fix a segfault reported by consolers.
* fix typo, duh. Thanks to Jim Mahood for reporting this.Michael Schroeder2013-05-131-1/+1
|
* Support non-BMP utf8 charactersMichael Schroeder2013-04-098-43/+249
|
* avoid compiler warning about cryptMichael Schroeder2013-04-091-1/+1
|
* Guard against NULL returns from crypt().Sadrul Habib Chowdhury2012-09-144-8/+34
| | | | | | crypt() can return NULL on an error. Make sure these nulls are handled properly instead of crashing. The fix is thanks to a patch from Lukáš Nykrýn <lnykryn@redhat.com>.
* Fix segfault when restoring w_alt.cursor.Michael Spang2012-09-141-2/+4
| | | | | | | | This fixes a crash when the window is made too small (zero height). The crash can be reproduced by turning on altscreen and caption, and resizing the terminal window to height = 1. After this, if the termianl window height is increased, screen would crash when going out of the alt screen.
* Amend documentation for -X option.Gregor Zattler2012-09-142-8/+11
|
* extend commit #8c1b8e45, which fixed -x but forgot about -rMichael Schroeder2012-08-081-1/+1
|
* make ^A DEL work againMichael Schroeder2012-08-071-0/+4
| | | | | It was broken because we discarded all mapped sequences. Now we let sequences with length 1 through to ProcessInput2.
* Add a new escape character 'E' to indicate whether the escape character has ↵Ben Love2012-03-145-5/+36
| | | | | | | been pressed. This can be used to show visual notification in the hardstatus/caption that the user has pressed the escape character.
* Fix a crash when switching from altscreen after window resize.Sadrul Habib Chowdhury2012-03-131-0/+2
| | | | | This change fixes a crash when window is resized while in altscreen mode. More details in the bug: http://savannah.gnu.org/bugs/?35757
* Make sure a remote command is executed from the foreground window of a display.Sadrul Habib Chowdhury2012-03-131-0/+7
| | | | | | | If a remote command is executed from a window inside the session, and it does not pre-select a window, and the window that issued the command is not visible in any display, and there is an existing display for the user, then execute the command in that display's foreground window's context.
* Fix various issues (compile warnings etc.)Amadeusz Sławiński2012-01-2713-185/+194
| | | | | | | | | The fixes include: * Add missing return values for some functions, * Initialize some variables * Fix data declaration to match struct's definition * Appropriate casting where needed * Forward declaration for some functions
* remove destroy event from resurrected window - bug 27061Geraint Edwards2011-08-191-0/+2
|
* Fix a crash when attaching to a layout that was created while detached.Sadrul Habib Chowdhury2011-03-281-1/+2
|
* Make 'layout' subcommands work when detached.Sadrul Habib Chowdhury2011-03-283-23/+103
| | | | | | | Ideally, splits and layouts should be allowed when there's no display. At this moment, you can just create a few layouts and name them when detached. BUG=28386
* Merge branch 'master' of git://git.savannah.gnu.org/screenSadrul Habib Chowdhury2011-03-283-3/+3
|\
| * Spelling fix: usefull --> useful.jesstess-docsJessica McKellar2010-11-103-3/+3
| | | | | | | | | | | | Thank you Curtis Brown for the patch. This resolves bug #27052.
* | Remember the bell event if there's no current display.Sadrul Habib Chowdhury2011-03-281-0/+2
|/ | | | | This way, when a user logs back in, he is notified of the bell event that happened while detached.
* Fix layout ordering.Sadrul Habib Chowdhury2010-06-221-3/+7
| | | | | | | | | Layouts were being stored in a reversed list. This makes it confusing for both users and developers with regards to what the next layout is ('next', lay_next). So store the layouts in a properly ordered list in order to avoid the confusion. This closes savannah #29800.
* Bring back --with-sys-screenrc configure flag.Sadrul Habib Chowdhury2010-06-212-1/+9
|
* Fix compiling with SIMPLESCREEN.Sadrul Habib Chowdhury2010-05-102-4/+6
|
* Fix updating paused regions (in split mode).Sadrul Habib Chowdhury2010-05-101-1/+7
| | | | | Adding a multi-cell character in a split region doesn't always refresh properly. Fix that problem.
* Fix a bug with displaying blank spaces with bce on.Sadrul Habib Chowdhury2010-05-101-1/+1
| | | | | | | With bce on, in some terminals, copying when applications use a theme with a custom background color other than the default ends up copying blank-spaces at the end of the lines as white-spces. This fixes that.
* Credit.Sadrul Habib Chowdhury2010-04-241-0/+1
|
* Misc updates to the man and info pages.Curtis Brown2010-04-192-21/+24
| | | | Closes savannag bug #29602.
* Update doc about selecting window in windowlist.Curtis Brown2010-04-192-0/+6
| | | | | Update doc about selecting window in windowlists by pressing its number. Closes savannah bug #29603.