| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> |
| 5 |
<title>Configuring Terminals</title> |
| 6 |
</head> |
| 7 |
|
| 8 |
<body style="background-color: rgb(255, 255, 255); direction: ltr;"> |
| 9 |
<center> |
| 10 |
<table style="margin-left: auto; margin-right: auto; width: 100%; text-align: center;" border="0" cellpadding="2" cellspacing="2"> |
| 11 |
<tbody> |
| 12 |
<tr> |
| 13 |
<td style="width: 33%; text-align: center;"><a href="ConfiguringDisplay.htm"><img src="back.gif" alt="Configuring the Display" align="top" border="0"></a> <a href="ConfiguringDisplay.htm">Configuring the Display</a></td> |
| 14 |
<td style="width: 34%; text-align: center;"> <a href="Configure.htm"><img src="up.gif" alt="Configuring 4Pane" align="top" border="0"></a> <a href="Configure.htm">Configuring 4Pane</a></td> |
| 15 |
<td style="width: 33%; text-align: center;"> <a align="middle" href="ConfiguringNetworks.htm">Configuring Networks</a> <a href="ConfiguringNetworks.htm"><img src="forward.gif" alt="Configuring Networks" align="top" border="0"></a></td> |
| 16 |
</tr> |
| 17 |
</tbody> |
| 18 |
</table> |
| 19 |
|
| 20 |
</center> |
| 21 |
<hr> |
| 22 |
|
| 23 |
<h2><u>Configuring Terminals</u></h2> |
| 24 |
<p> |
| 25 |
This is about both "real" terminals, and 4Pane's <a href="TerminalEm.htm">terminal emulator</a>. The first sub-page deals with terminals.<br><br> |
| 26 |
|
| 27 |
4Pane uses terminals in three ways. It can launch a terminal application (e.g. xterm) via <i>Tools > Launch Terminal</i> (<b>Ctrl-T</b>); |
| 28 |
it can open a file in a terminal by <a href="Open.htm">double-clicking it (or using Open)</a>; |
| 29 |
and it can open an application in a terminal with a <a href="ConfigureUserDefTools.htm">user-defined tool</a>.<br><br> |
| 30 |
|
| 31 |
The top three items on the page all have the same format. On the left is a list of common choices, with the currently-used one highlit. |
| 32 |
Select whichever you prefer from the list. To the right is a box for you to enter others if you wish (pressing OK adds each to the list).<br><br> |
| 33 |
|
| 34 |
The first item lets you choose which application to use in "Launch Terminal"; if you write in a different one, you'll probably just need the application's name. |
| 35 |
The second does the same for Opening an application in a terminal, either directly or from a user-defined tool. This time the command will need an extra option e.g. "xterm -e", |
| 36 |
so if you add your own you'll need to know what you're doing. The third item is similar, but only for user-defined tools where you want the terminal to stay open |
| 37 |
once the command has ended so you can read the output e.g. "df -h". Again you'll need extra options, and not all terminals can do this (e.g. gnome-terminal).<br><br><br> |
| 38 |
|
| 39 |
|
| 40 |
The other sub-page is for the terminal emulator and command-line.<br> |
| 41 |
First the prompt. Type the format you want into the box. You can use normal characters, and also any of the following options: |
| 42 |
<ul><li>%H is changed to the full hostname e.g. linux.joe.bloggs.com</li><li>%h is substituted by the hostname up to the first dot e.g. linux</li> |
| 43 |
<li>%u is replaced by your username</li> |
| 44 |
<li>%w becomes the current working directory</li><li>%W becomes the last segment only of the current working directory</li> |
| 45 |
<li>%$ is substituted either by <b>$</b>, or by <b>#</b> if you are root.</li> |
| 46 |
</ul> |
| 47 |
|
| 48 |
You can also alter the font used in the terminal emulator and command-line. Click the "Change" button to select a different font, which will be displayed |
| 49 |
in the adjacent box if valid. There's also a "Use Default" button. |
| 50 |
</p> |
| 51 |
</body> |
| 52 |
</html> |