File: ch04.html

package info (click to toggle)
bless 0.6.0-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,428 kB
  • sloc: cs: 15,403; xml: 3,940; sh: 3,873; makefile: 208; sed: 16
file content (44 lines) | stat: -rw-r--r-- 9,755 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter4.Using Bless</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="Bless 0.6.0 Manual"><link rel="up" href="index.html" title="Bless 0.6.0 Manual"><link rel="prev" href="ch03s02.html" title="When You Start Bless"><link rel="next" href="ch04s02.html" title="Data View basics"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter4.Using <span class="application">Bless</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a></td><th width="60%" align="center"></th><td width="20%" align="right"><a accesskey="n" href="ch04s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="bless-usage"></a>Chapter4.Using <span class="application">Bless</span></h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch04.html#bless-usage-files">Working with files</a></span></dt><dd><dl><dt><span class="section"><a href="ch04.html#bless-usage-files-create">Creating a new file</a></span></dt><dt><span class="section"><a href="ch04.html#bless-usage-files-open">Opening an existing file</a></span></dt><dt><span class="section"><a href="ch04.html#bless-usage-files-save">Saving a file</a></span></dt><dt><span class="section"><a href="ch04.html#bless-usage-files-close">Closing a file</a></span></dt><dt><span class="section"><a href="ch04.html#bless-usage-files-switch-tabs">Changing the active file</a></span></dt></dl></dd><dt><span class="section"><a href="ch04s02.html">Data View basics</a></span></dt><dd><dl><dt><span class="section"><a href="ch04s02.html#bless-usage-dataview-focus">Selecting the active area</a></span></dt><dt><span class="section"><a href="ch04s02.html#bless-usage-dataview-scroll">Scrolling</a></span></dt></dl></dd><dt><span class="section"><a href="ch04s03.html">Editing a file</a></span></dt><dd><dl><dt><span class="section"><a href="ch04s03.html#bless-usage-edit-basic">Basic editing operations</a></span></dt><dt><span class="section"><a href="ch04s03.html#bless-usage-edit-clipboard">Clipboard operations</a></span></dt><dt><span class="section"><a href="ch04s03.html#bless-usage-edit-undo">Undo/Redo operations</a></span></dt></dl></dd><dt><span class="section"><a href="ch04s04.html">Searching and Replacing in files</a></span></dt><dd><dl><dt><span class="section"><a href="ch04s04.html#bless-usage-search-find">Searching in files</a></span></dt><dt><span class="section"><a href="ch04s04.html#bless-usage-search-replace">Replacing in files</a></span></dt></dl></dd><dt><span class="section"><a href="ch04s05.html">Exporting Data</a></span></dt><dd><dl><dt><span class="section"><a href="ch04s05.html#bless-usage-export-pattern">Export Patterns</a></span></dt><dt><span class="section"><a href="ch04s05.html#bless-usage-export-dialog">Export Dialog</a></span></dt></dl></dd><dt><span class="section"><a href="ch04s06.html">Performing bitwise operations</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="bless-usage-files"></a>Working with files</h2></div></div></div><p>
			<span class="application">Bless</span> supports multiple tabs in the Data View. Each tab contains data that belong to either an existing or a new file.
			In case the data is related to an existing file, the file's name is displayed on the tab label. Otherwise the tab is marked	
			with a name of the form "Untitled <em class="replaceable"><code>N</code></em>", where <em class="replaceable"><code>N</code></em> is a number.
		</p><p>
			When a file has been modified since its last save, an asterisk "*" is displayed next to its name.
		</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
				<span class="application">Bless</span> can currently handle regular files and block device files (eg /dev/hda).
			</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="bless-usage-files-create"></a>Creating a new file</h3></div></div></div><p>
				To create a new file for editing use 
				<span class="guisubmenu">File</span> &#8594; <span class="guimenuitem">New</span> (<span class="shortcut"><strong><span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>N</strong></span></strong></span>).
			</p><p>
				This action creates a new tab with an empty file.
			</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="bless-usage-files-open"></a>Opening an existing file</h3></div></div></div><p>
				To open an existing file for editing use 
				<span class="guisubmenu">File</span> &#8594; <span class="guimenuitem">Open</span> (<span class="shortcut"><strong><span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>O</strong></span></strong></span>).
			</p><p>
				You may also open one or more existing files by dragging and dropping them into the <span class="application">Bless</span> window.
			</p><p>	
				This action normally creates a new tab containing the opened file. An exception to this happens when the tab that 
				was active before opening the new file contained an empty file. In that case the old tab is <span class="emphasis"><em>replaced</em></span> 
				with the new one.
			</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="bless-usage-files-save"></a>Saving a file</h3></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>
				To save a file make sure the tab that contains it is active and use 
				<span class="guisubmenu">File</span> &#8594; <span class="guimenuitem">Save</span> (<span class="shortcut"><strong><span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>S</strong></span></strong></span>).
			</p></li><li><p>
				To save a file <span class="emphasis"><em>under a different name or at another location</em></span>, make sure the tab that contains it is active and use 
				<span class="guisubmenu">File</span> &#8594; <span class="guimenuitem">Save As</span> (<span class="shortcut"><strong><span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>S</strong></span></strong></span>).
			</p></li></ul></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>	
				If the data in a tab isn't related to an existing file (for example if it is a new file), the Save action actually performs a Save As action.   
			</p></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="bless-usage-files-close"></a>Closing a file</h3></div></div></div><p>
				To close a file, make sure the tab that contains it is active and use 
				<span class="guisubmenu">File</span> &#8594; <span class="guimenuitem">Close</span> (<span class="shortcut"><strong><span class="keycap"><strong>Ctrl</strong></span>+<span class="keycap"><strong>W</strong></span></strong></span>).
			</p><p>
				You can also close a file by clicking on the close icon on its tab label:
			</p><div class="figure"><a name="bless_tab_close"></a><p class="title"><b>Figure4.1.Closing a tab</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="figures/bless_tab_close.png" alt="Shows how to close a tab using the close icon on its tab label"></div></div></div></div><br class="figure-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>	
				If the file has changed since the previous save you will be prompted to save it.
			</p></div></div><div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="bless-usage-files-switch-tabs"></a>Changing the active file</h3></div></div></div><p>
				You can switch between tabs, therefore making the file the tab contains the active one, using a number of ways:
				</p><div class="itemizedlist"><ul type="disc"><li><p>By clicking on the tab label of the tab you want to switch to.</p></li><li><p>By pressing <span class="keycap"><strong>Alt</strong></span>+<em class="replaceable"><code>N</code></em>, where <em class="replaceable"><code>N</code></em> is the number of the tab you want to switch to. This method works for the first nine tabs. For example to switch to the second
						tab you should press Alt+2.</p></li><li><p>
							By pressing <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Left arrow</strong></span> or <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Right arrow</strong></span>, you can switch to the tab immediately to the left or right of the currently active tab.
						</p></li></ul></div><p>
			</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a></td><td width="20%" align="center"></td><td width="40%" align="right"><a accesskey="n" href="ch04s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">When You Start <span class="application">Bless</span></td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Data View basics</td></tr></table></div></body></html>