1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<!-- Copyright (C) 1988-2021 Free Software Foundation, Inc. 4 5Permission is granted to copy, distribute and/or modify this document 6under the terms of the GNU Free Documentation License, Version 1.3 or 7any later version published by the Free Software Foundation; with the 8Invariant Sections being "Free Software" and "Free Software Needs 9Free Documentation", with the Front-Cover Texts being "A GNU Manual," 10and with the Back-Cover Texts as in (a) below. 11 12(a) The FSF's Back-Cover Text is: "You are free to copy and modify 13this GNU Manual. Buying copies from GNU Press supports the FSF in 14developing GNU and promoting software freedom." --> 15<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ --> 16<head> 17<title>Debugging with GDB: TUI Configuration</title> 18 19<meta name="description" content="Debugging with GDB: TUI Configuration"> 20<meta name="keywords" content="Debugging with GDB: TUI Configuration"> 21<meta name="resource-type" content="document"> 22<meta name="distribution" content="global"> 23<meta name="Generator" content="makeinfo"> 24<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 25<link href="index.html#Top" rel="start" title="Top"> 26<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index"> 27<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> 28<link href="TUI.html#TUI" rel="up" title="TUI"> 29<link href="Emacs.html#Emacs" rel="next" title="Emacs"> 30<link href="TUI-Commands.html#TUI-Commands" rel="previous" title="TUI Commands"> 31<style type="text/css"> 32<!-- 33a.summary-letter {text-decoration: none} 34blockquote.smallquotation {font-size: smaller} 35div.display {margin-left: 3.2em} 36div.example {margin-left: 3.2em} 37div.indentedblock {margin-left: 3.2em} 38div.lisp {margin-left: 3.2em} 39div.smalldisplay {margin-left: 3.2em} 40div.smallexample {margin-left: 3.2em} 41div.smallindentedblock {margin-left: 3.2em; font-size: smaller} 42div.smalllisp {margin-left: 3.2em} 43kbd {font-style:oblique} 44pre.display {font-family: inherit} 45pre.format {font-family: inherit} 46pre.menu-comment {font-family: serif} 47pre.menu-preformatted {font-family: serif} 48pre.smalldisplay {font-family: inherit; font-size: smaller} 49pre.smallexample {font-size: smaller} 50pre.smallformat {font-family: inherit; font-size: smaller} 51pre.smalllisp {font-size: smaller} 52span.nocodebreak {white-space:nowrap} 53span.nolinebreak {white-space:nowrap} 54span.roman {font-family:serif; font-weight:normal} 55span.sansserif {font-family:sans-serif; font-weight:normal} 56ul.no-bullet {list-style: none} 57--> 58</style> 59 60 61</head> 62 63<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> 64<a name="TUI-Configuration"></a> 65<div class="header"> 66<p> 67Previous: <a href="TUI-Commands.html#TUI-Commands" accesskey="p" rel="previous">TUI Commands</a>, Up: <a href="TUI.html#TUI" accesskey="u" rel="up">TUI</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p> 68</div> 69<hr> 70<a name="TUI-Configuration-Variables"></a> 71<h3 class="section">25.5 TUI Configuration Variables</h3> 72<a name="index-TUI-configuration-variables"></a> 73 74<p>Several configuration variables control the appearance of TUI windows. 75</p> 76<dl compact="compact"> 77<dt><code>set tui border-kind <var>kind</var></code></dt> 78<dd><a name="index-set-tui-border_002dkind"></a> 79<p>Select the border appearance for the source, assembly and register windows. 80The possible values are the following: 81</p><dl compact="compact"> 82<dt><code>space</code></dt> 83<dd><p>Use a space character to draw the border. 84</p> 85</dd> 86<dt><code>ascii</code></dt> 87<dd><p>Use <small>ASCII</small> characters ‘<samp>+</samp>’, ‘<samp>-</samp>’ and ‘<samp>|</samp>’ to draw the border. 88</p> 89</dd> 90<dt><code>acs</code></dt> 91<dd><p>Use the Alternate Character Set to draw the border. The border is 92drawn using character line graphics if the terminal supports them. 93</p></dd> 94</dl> 95 96</dd> 97<dt><code>set tui border-mode <var>mode</var></code></dt> 98<dd><a name="index-set-tui-border_002dmode"></a> 99</dd> 100<dt><code>set tui active-border-mode <var>mode</var></code></dt> 101<dd><a name="index-set-tui-active_002dborder_002dmode"></a> 102<p>Select the display attributes for the borders of the inactive windows 103or the active window. The <var>mode</var> can be one of the following: 104</p><dl compact="compact"> 105<dt><code>normal</code></dt> 106<dd><p>Use normal attributes to display the border. 107</p> 108</dd> 109<dt><code>standout</code></dt> 110<dd><p>Use standout mode. 111</p> 112</dd> 113<dt><code>reverse</code></dt> 114<dd><p>Use reverse video mode. 115</p> 116</dd> 117<dt><code>half</code></dt> 118<dd><p>Use half bright mode. 119</p> 120</dd> 121<dt><code>half-standout</code></dt> 122<dd><p>Use half bright and standout mode. 123</p> 124</dd> 125<dt><code>bold</code></dt> 126<dd><p>Use extra bright or bold mode. 127</p> 128</dd> 129<dt><code>bold-standout</code></dt> 130<dd><p>Use extra bright or bold and standout mode. 131</p></dd> 132</dl> 133 134</dd> 135<dt><code>set tui tab-width <var>nchars</var></code></dt> 136<dd><a name="index-set-tui-tab_002dwidth"></a> 137<a name="index-tabset"></a> 138<p>Set the width of tab stops to be <var>nchars</var> characters. This 139setting affects the display of TAB characters in the source and 140assembly windows. 141</p> 142</dd> 143<dt><code>set tui compact-source <span class="roman">[</span>on<span class="roman">|</span>off<span class="roman">]</span></code></dt> 144<dd><a name="index-set-tui-compact_002dsource"></a> 145<p>Set whether the TUI source window is displayed in “compact” form. 146The default display uses more space for line numbers and starts the 147source text at the next tab stop; the compact display uses only as 148much space as is needed for the line numbers in the current file, and 149only a single space to separate the line numbers from the source. 150</p></dd> 151</dl> 152 153<p>Note that the colors of the TUI borders can be controlled using the 154appropriate <code>set style</code> commands. See <a href="Output-Styling.html#Output-Styling">Output Styling</a>. 155</p> 156<hr> 157<div class="header"> 158<p> 159Previous: <a href="TUI-Commands.html#TUI-Commands" accesskey="p" rel="previous">TUI Commands</a>, Up: <a href="TUI.html#TUI" accesskey="u" rel="up">TUI</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p> 160</div> 161 162 163 164</body> 165</html> 166