History log of /haiku/src/apps/terminal/AppearPrefView.h
Revision Date Author Comments
# 1b370545 17-Dec-2022 Jessica Hamilton <jessica.l.hamilton@gmail.com>

Terminal: graphical settings for configuring themes.

Implements #16835: Make colour schemes modular.
Implements #15936: Terminal settings should allow to drop a colour.

Change-Id: I1071c9285ba887e734af47b724f9de7f6c660581
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5950
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# de2ada1f 09-Jul-2021 Jessica Hamilton <jessica.l.hamilton@gmail.com>

Terminal: load themes from data and settings folders.

* Uses the same format as the Terminal settings file
* Adds an additional key, "Theme name", to settings for themes,
which needs to be present for a theme to be loaded, else it
will be skipped
* Loads themes from Terminal/Themes in the data and settings
directories, searching data first, then settings second,
allowing a theme to be tweaked by putting a copy in a
settings folder

Change-Id: I8cadf98151459c1ae6098c38481b16eb3f2cf952


# 8840b3db 14-Aug-2019 Simon South <simon@simonsouth.net>

Terminal: Allow use of Option as Meta key

Add a configuration setting that allows the left Option key to be used as a
Meta key, and add support for the Escape sequences that control the Meta key's
behaviour.

TermWindow now maintains a copy, shared by all its component TermViews, of the
current key map, and updates this copy automatically when notified by the Input
Server a new key map has been loaded.

The Meta key was an extra modifier key present on early UNIX workstations that
provided access to the "extended" portion of the ASCII character set. Although
it has vanished from modern keyboards certain UNIX software still relies on the
key, most notably GNU Emacs and the GNU readline library, the latter of which
is used by bash and a wide variety of other software that reads input from a
terminal. (Python's interactive mode uses readline, for instance.)

With this patch applied and the new setting enabled, the left Option key can be
used to access additional editing and navigation features at the command line.
It also makes usable the port of GNU Emacs currently available from HaikuDepot.

Fixes #15294.

Change-Id: I150b640b7b18384d56ab2fb017bf16ce8bdbdd78
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1727
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 105acc92 29-Oct-2016 Jérôme Duval <jerome.duval@gmail.com>

Terminal: always use bright for bold text.

* "Allow bold font" now enables the use of the bold font for bold text.
* so one can now see bold text in black on black.


# 482f0eeb 10-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

add window size and encoding to terminal prefs

* The menu items now only set the values for the current window without
saving,
* The settings in the preference window are persistent,
* The "save as defaults" menu item is removed.

Fixes #5030.


# be3f404c 13-Feb-2014 Jonathan Schleifer <js@webkeks.org>

Terminal: Add option to use bright instead of bold text

A saturated add was chosen instead of tint_color, as the results of
tint_color were too extreme.


# 15aa7713 28-Mar-2013 Siarzhuk Zharski <zharik@gmx.li>

Keep color control enabled after color scheme change

Fixes #9532


# bfbcec14 07-Dec-2012 John Scipione <jscipione@gmail.com>

Unify the Font menu and Font size menu into one.

The Font size menu becomes a submenu of Font so that you can set
both the font and font size at once.

This fixes #4198


# dc1456f6 07-Dec-2012 John Scipione <jscipione@gmail.com>

Add font sizes to Font Size menu in addition to in settings


# 2005db27 04-Dec-2012 John Scipione <jscipione@gmail.com>

Change schema in Terminal to color scheme.

Love this feature, but, color schema is not a thing, it is a color
scheme. Change both the display text and the variable names.

Also changed "Retro Terminal" color scheme to just "Retro". Terminal
is redundant.


# 4e3d346e 04-Nov-2012 Jonathan Schleifer <js@webkeks.org>

Terminal: Make cursor blinking an option.

Signed-off-by: Rene Gollent <anevilyak@gmail.com>


# 02ee32bb 17-Nov-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented support for dynamic tab and window titles:
* Added settings for tab and window titles. Both are strings with optional
placeholders for tab/terminal index, currently active process name and
current directory.
* Added a generic utility class PatternEvaluator that allows to expand this
kind of pattern strings and callback classes
[Tab,Window]TitlePlaceholderMapper that provide the specific expansion for
the tab and window title placeholders.
* TermWindow:
- Separated the notions of session (== tab) and window titles. The tty
clients no longer set the window, but the session title.
- Use the patterns instead of the hard-coded window/tab titles.
- Recompute all titles once a second, so changes of running programs are
reflected.
* The default patterns for tab and window titles are "%1d: %p" (last CWD
component and name of the running process) and "Terminal %i: %t" (Terminal
ID and active tab title). Unfortunately the space on the tabs is seriously
limited, so that the tab title is virtually always truncated. Ideas welcome.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b3b19de5 17-Nov-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39464 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a881dd4a 18-Aug-2010 Alex Wilson <yourpalal2@gmail.com>

Fix regression caused by me in r38207, pointed out by diver in #6407, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38251 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6491fb59 25-Jul-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Terminal will issue an alert, if there are active processes and the
user closes the window (doesn't work if the user closes only a tab, yet).
Active by default but can be disabled by a checkbox.
- The preference window needs to be reworked.
- Wording of the alert and the option can be improved (I accept advices).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37754 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 80490c77 16-Jul-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Add a menufield to select color combinations, and add obvious
"white on black" and "black on white". For some reason these aren't
applied live, like when you chose a custom combo.
I'm not really fond of the code, and will rework it in the next few days.
But at least it works!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6b87afd3 21-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Made the Find Window a bit wider by default, moved some functions around,
got rid of MenuUtil.h/cpp.
Some style change.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34173 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bf00b779 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix the build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34164 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 70f7a8ad 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Cleanup: removed unused messages constant and classes, merged AppearPrefView
with PrefView, moved main from Terminal.cpp to TermApp.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34163 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5ec0eeb 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed the BMessengers to make clearer to which messengers they
refer to. Made some parameters const references. Removed leftovers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1ca410b 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Work in progress: converting the terminal preference window to the layout api


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34160 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fba4e002 07-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Also set a default style in the preferences. Mark the menuitem with the
default family/style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33947 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3834597b 26-Feb-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Another patch by Vasilis Kaoutsis: Replaced pointer use with a
BMessenger


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20238 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 723de034 11-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

* Removed "full font" vs. "half font" setting (in the GUI only for now) - this
should better be handled by the app_server (ie. via font overlays).
* Fixed compilation under Dano.
* Fixed some broken headers.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d3dc729f 18-Jul-2005 Axel Dörfler <axeld@pinc-software.de>

Moved the files out of the MYOB folder into the main folder.
There are some double entries (like TermApp.cpp and TerminalApp.cpp, so
it still needs a further cleanup).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13734 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 482f0eeb0169f5091ccc56af5124b19a9e801573 10-Nov-2014 Adrien Destugues <pulkomandy@gmail.com>

add window size and encoding to terminal prefs

* The menu items now only set the values for the current window without
saving,
* The settings in the preference window are persistent,
* The "save as defaults" menu item is removed.

Fixes #5030.


# be3f404ca1068e9d0ae262ed4ab4fab2fa91b103 13-Feb-2014 Jonathan Schleifer <js@webkeks.org>

Terminal: Add option to use bright instead of bold text

A saturated add was chosen instead of tint_color, as the results of
tint_color were too extreme.


# 15aa77139011a57c47c11ba7fe1fee3c45ec2173 28-Mar-2013 Siarzhuk Zharski <zharik@gmx.li>

Keep color control enabled after color scheme change

Fixes #9532


# bfbcec141efc619ecadbc11f5cc7047437f6fa1d 07-Dec-2012 John Scipione <jscipione@gmail.com>

Unify the Font menu and Font size menu into one.

The Font size menu becomes a submenu of Font so that you can set
both the font and font size at once.

This fixes #4198


# dc1456f662de373745f3623c83dc7a6b239e0e1a 07-Dec-2012 John Scipione <jscipione@gmail.com>

Add font sizes to Font Size menu in addition to in settings


# 2005db27ff2f17487996d6b807847450b5bc2547 04-Dec-2012 John Scipione <jscipione@gmail.com>

Change schema in Terminal to color scheme.

Love this feature, but, color schema is not a thing, it is a color
scheme. Change both the display text and the variable names.

Also changed "Retro Terminal" color scheme to just "Retro". Terminal
is redundant.


# 4e3d346e9177b9a6ad3d84c28a39c08898e0a6ec 04-Nov-2012 Jonathan Schleifer <js@webkeks.org>

Terminal: Make cursor blinking an option.

Signed-off-by: Rene Gollent <anevilyak@gmail.com>


# 02ee32bb0d3cc6680c421177bb490dba84230081 17-Nov-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented support for dynamic tab and window titles:
* Added settings for tab and window titles. Both are strings with optional
placeholders for tab/terminal index, currently active process name and
current directory.
* Added a generic utility class PatternEvaluator that allows to expand this
kind of pattern strings and callback classes
[Tab,Window]TitlePlaceholderMapper that provide the specific expansion for
the tab and window title placeholders.
* TermWindow:
- Separated the notions of session (== tab) and window titles. The tty
clients no longer set the window, but the session title.
- Use the patterns instead of the hard-coded window/tab titles.
- Recompute all titles once a second, so changes of running programs are
reflected.
* The default patterns for tab and window titles are "%1d: %p" (last CWD
component and name of the running process) and "Terminal %i: %t" (Terminal
ID and active tab title). Unfortunately the space on the tabs is seriously
limited, so that the tab title is virtually always truncated. Ideas welcome.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39473 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b3b19de56b897b95169c8dee497e80c1fc26c7c5 17-Nov-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39464 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a881dd4a37f1294a636d9f6d490e7bf9493d21fb 18-Aug-2010 Alex Wilson <yourpalal2@gmail.com>

Fix regression caused by me in r38207, pointed out by diver in #6407, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38251 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6491fb598a70c8e58c3d205f7d8cf5438927fb20 25-Jul-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Terminal will issue an alert, if there are active processes and the
user closes the window (doesn't work if the user closes only a tab, yet).
Active by default but can be disabled by a checkbox.
- The preference window needs to be reworked.
- Wording of the alert and the option can be improved (I accept advices).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37754 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 80490c776a1a727daf66f2eec0431d43cab69c73 16-Jul-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Add a menufield to select color combinations, and add obvious
"white on black" and "black on white". For some reason these aren't
applied live, like when you chose a custom combo.
I'm not really fond of the code, and will rework it in the next few days.
But at least it works!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37535 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6b87afd3608687b867eb276402e945e273d0add6 21-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Made the Find Window a bit wider by default, moved some functions around,
got rid of MenuUtil.h/cpp.
Some style change.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34173 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bf00b7798c780b9d9c9e666ba594b7b01c559f0b 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix the build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34164 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 70f7a8ad0f5ae85b18c2ae9ad9b0d45f7f87522c 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Cleanup: removed unused messages constant and classes, merged AppearPrefView
with PrefView, moved main from Terminal.cpp to TermApp.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34163 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a5ec0eeb43a14b09d418eed8da3d8767e63c3882 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Renamed the BMessengers to make clearer to which messengers they
refer to. Made some parameters const references. Removed leftovers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34162 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c1ca410b12258c740d1c725b2f0fbadca9fe8321 20-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Work in progress: converting the terminal preference window to the layout api


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34160 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fba4e002b1a89bb281a266f7b64c1c27db62bc1b 07-Nov-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Also set a default style in the preferences. Mark the menuitem with the
default family/style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33947 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3834597b97b6bb3a0d50d5870e338de809c2a9c8 26-Feb-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Another patch by Vasilis Kaoutsis: Replaced pointer use with a
BMessenger


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20238 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 723de034c64749fadc75bee362171f1127bf00c3 11-Nov-2005 Axel Dörfler <axeld@pinc-software.de>

* Removed "full font" vs. "half font" setting (in the GUI only for now) - this
should better be handled by the app_server (ie. via font overlays).
* Fixed compilation under Dano.
* Fixed some broken headers.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d3dc729f9fbe302c5c45c3ec2518650a260605d7 18-Jul-2005 Axel Dörfler <axeld@pinc-software.de>

Moved the files out of the MYOB folder into the main folder.
There are some double entries (like TermApp.cpp and TerminalApp.cpp, so
it still needs a further cleanup).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13734 a95241bf-73f2-0310-859d-f6bbb57e9c96