summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not terminate when size is reduced too much.Sadrul Habib Chowdhury2010-03-032-3/+3
| | | | | | | | Height of a window can be negative, when both hardstatus and caption are turned on, and the terminal size is reduced to one-line height. So handle those cases more gracefully. Fixes savannah bug #29037.
* Sanity check line numbers for non-negative value.Sadrul Habib Chowdhury2010-03-031-0/+2
| | | | | | It looks like 'ys' can be negative at times, which results in invalid memory reads, and possibly writes. Valgrind log from Friedrich Delgado Friedrichs in savannah bug #29050.
* Reduce a little code duplication.Sadrul Habib Chowdhury2010-02-261-63/+44
|
* Some more fixes for the list management.Sadrul Habib Chowdhury2010-02-269-17/+41
| | | | | Make sure the allocated memory is always freed. Also, do not reference freed memory. Thank you valgrind.
* Print the group name in a group window.Sadrul Habib Chowdhury2010-02-241-2/+10
|
* Some more window-management from the window-list.Sadrul Habib Chowdhury2010-02-242-7/+50
| | | | | | Pressing 'K' in the window-list will kill a window (after confirmation). Also, added some notes.
* Allow moving windows around from the window list.Sadrul Habib Chowdhury2010-02-245-39/+112
| | | | | | Press ',' to switch the selected window with its previous window (in the same group). Similarly, press '.' to switch with the next window.
* Typo fix.Sadrul Habib Chowdhury2010-02-241-1/+1
|
* Changelog the search-ability in the windowlist.Sadrul Habib Chowdhury2010-02-243-3/+11
|
* Man-pages updates for -p, -T, 'stuff' and 'su'.Curtis Brown2010-02-241-6/+12
|
* Typo fixes from Trent W Buck.Sadrul Habib Chowdhury2010-02-245-6/+6
|
* Simplify a little.Sadrul Habib Chowdhury2010-02-241-8/+5
|
* Allow searching in the window list.Sadrul Habib Chowdhury2010-02-244-2/+108
| | | | | | Press '/' to enter the search string, then pressing 'n' will search forward, and 'N' will search backward. Press '/' again to change the search string.
* Add some navigation shortcut in list views.Sadrul Habib Chowdhury2010-02-241-2/+47
| | | | Page-up/down, home/end, ^A, ^E, ^B, ^F, ^D, ^U keys do their things.
* Reset displays before dumping a core.Juergen Weigert2010-02-231-21/+35
| | | | | | | | | | If defined SHADOWPW, we may have passwd records in core, that the user would not be able to access otherwise. In that case, we should not dump core, as the core file would contain the passwd records, and would be readable for the user. We do not explicitly check for eff_uid == 0, because if his real_uid is also 0 he could have read all this anyway. Leaving only the cases where the two uids differ.
* Remove old code.Sadrul Habib Chowdhury2010-02-235-632/+8
|
* Final touches to the revamped window list.Sadrul Habib Chowdhury2010-02-234-33/+82
| | | | | | | This window list should be better than the old one, mostly code-wise, as there's yet no new functionality. However, it should be much simpler to add typeahead search and other nifty things now than before.
* Add the navigation support back in the window list.Sadrul Habib Chowdhury2010-02-231-1/+52
| | | | | Pressing 'm' toggles the MRU-ness, pressing 'a' shows the list of all windows. Still left to do: deal with nested view.
* Fix the unexpected selection-change bug.Sadrul Habib Chowdhury2010-02-231-3/+11
| | | | Do not remove a row from the list if it is already in the correct position.
* Update the window-list when necessary.Sadrul Habib Chowdhury2010-02-235-49/+217
| | | | | | | | Update the window-list whenever window ordering/etc. changes. There is an unusual bug where the selection in a list changes automatically when switching windows in another display. Need to investigate this issue. Also, left to do: support nested list, and advanced navigations introduced (e.g. toggle MRU, nestedness etc.)
* It makes no sense to allow a group into itself.Sadrul Habib Chowdhury2010-02-221-1/+1
|
* Revamp the window list.Sadrul Habib Chowdhury2010-02-226-21/+343
| | | | | | The window list now uses the list-framework. The basic window list is working. The list for a group, or nested/mru lists still need some work. This is going to be a much simpler code than before.
* Start working on a generic list framework.Sadrul Habib Chowdhury2010-02-215-212/+492
| | | | | | | | | | The list of displays uses this framework. Eventually, the list of windows, bindkeys etc. will also use this framework. In the list of displays, you can press 'd' to detach the selected display (and 'D' to power-detach). Eventually, the plan is to add typeahead search in the list too.
* Allow searching in input history.Sadrul Habib Chowdhury2010-02-191-8/+54
| | | | | You enter some text in the input, then press ctrl+r to cycle through the history that has the entered text as a substring.
* Exclude the PID when expanding $STY.Sadrul Habib Chowdhury2010-02-181-1/+6
| | | | | | | Excluding the PID from the expansion of $STY makes it possible to do, e.g. 'source screenrc-$STY' to load session-specific commands. If the PID is desired, for some reason, then '$PID.$STY' should be used instead.
* Fix creating numbered windows.Sadrul Habib Chowdhury2010-02-181-2/+2
| | | | | | | | This is another bug introduced when the max number of windows was made configurable. Bug reported by Christian Ebert in <20100218160955.GC21624@krille.blacktrash.org>. And fix a typo.
* Update comment regarding msg-version history.Sadrul Habib Chowdhury2010-02-181-2/+4
|
* Bump msg revision number so proper checking can be done.Sadrul Habib Chowdhury2010-02-181-2/+4
|
* Changelog the last few changes.Sadrul Habib Chowdhury2010-02-171-0/+4
|
* Allow expanding the command to full buffer size.Sadrul Habib Chowdhury2010-02-161-1/+1
| | | | | Without this, commands like '-Q echo $STY' would fail with error: no space left for variable expansion.
* Spelling fixes.Curtis Brown2010-02-161-10/+10
| | | | Closes #28473 on savannah.
* Update info-page for 'stuff'.Curtis Brown2010-02-161-2/+3
| | | | Closes #28616 on savannah.
* Document 'layout dump', and clarify 'layout save'.Curtis Brown2010-02-162-1/+22
| | | | Closes #28586 on savannah.
* Update the man-page.Curtis Brown2010-02-161-1/+169
| | | | | | | The man-page is updated for: mousetrack, defmousetrack, focusminsize, group and layout commands. Closes #28715 on savannah.
* Move 'silence' into 'Monitor' section.Curtis Brown2010-02-161-33/+30
| | | | Closes #28743 on savannah.
* Error out if a pre-select window is not found.Sadrul Habib Chowdhury2010-02-163-7/+17
| | | | | | | | The man-page is updated to show that if the window selected using '-p' cannot be determined with -X or -Q flags, then the command specified will not be executed. Fixes #28783 in savannah.
* Make 'number' query-able.Sadrul Habib Chowdhury2010-02-164-2/+5
|
* Merge branch 'query-result'Sadrul Habib Chowdhury2010-02-1610-23/+218
|\
| * Update documentation for queries.Sadrul Habib Chowdhury2010-02-162-1/+32
| |
| * Allow querying 'select'.Sadrul Habib Chowdhury2010-02-162-2/+7
| | | | | | | | | | Using this, it will be possible to detect if a particular window exists or not.
| * Complete the query-response system.Sadrul Habib Chowdhury2010-02-165-26/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some commands now can be queried from a remote session using the '-Q' flag, e.g. 'screen -Q windows'. The commands will send the response to the stdout of the querying process. If there was an error in the command, then the querying process will exit with a non-zero status. The commands that can be queried now are: echo info lastmsg time title windows
| * Merge branch 'master' into query-resultSadrul Habib Chowdhury2010-02-1246-1929/+3498
| |\
| * | 'screen -Q <command>' to get back results.Sadrul Habib Chowdhury2009-09-308-10/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is the just the start of querying an existing session. The goal is to allow something like "windows=`screen -Q windows`" in a bash script to get back the results from the 'windows' command. Most of the framework is done. Now the commands need to be updated to specially deal with the queries.
* | | Fix compilation on systems where execvpe is defined.Sadrul Habib Chowdhury2010-02-154-0/+15
| |/ |/|
* | Get rid of compile-time warnings.Sadrul Habib Chowdhury2010-02-123-5/+4
| |
* | Put in some flags to suppress messages from commands.Sadrul Habib Chowdhury2010-02-123-0/+19
| | | | | | | | | | | | A command name can be prefixed by '@' to suppress the error messages, and by '-' to suppress the normal messages. The flags are currently parsed, but not acted upon.
* | Fix escape-# to select windows this time.Sadrul Habib Chowdhury2010-02-081-1/+1
| |
* | Fix a crash caused by configurable maxwin.Sadrul Habib Chowdhury2010-02-082-1/+3
| |
* | Accommodate more color changes in the caption.Sadrul Habib Chowdhury2010-01-261-1/+1
| |
* | Increase the max-window limit.Sadrul Habib Chowdhury2010-01-2611-66/+104
| | | | | | | | | | The limit can be increased using the 'maxwin' command. There is still an upper-limit of 2048 windows.