This chapter explains how to view, edit, and create files, as well as how to organize them into directories. The sections are:
You can open a directory in several ways:
If the folder icon is visible, place the cursor over the folder icon, then double-click the left mouse button. A new Icon View window appears.
If an arrow appears next to the folder icon, place the cursor over the arrow then click the left mouse button. The contents of that directory are listed underneath the folder icon. This arrow appears only when you're viewing icons in an Icon View window as a list. See “Viewing Icons as a List.”
If the folder icon is not visible in the Icon View window, enter a new directory name into the icon finder at the top of the window. Figure 4-1 shows the icon finder.
The icon finder displays the pathname of the current directory. You can type in a new directory name, or you can use the bar above the field to select a new directory. See “Opening a Directory Using the Icon Finder” for details.
For information on alternate methods, see “Opening a Directory: A Summary of Available Methods.”
This section lists the ways in which you can open a directory.
Place the cursor over a folder icon, then double-click the left mouse button.
Select a folder icon, then choose “Open” from the Selected menu on the window that contains the icon. If the icon is on the desktop, choose “Open” from the Selected toolchest. See “Opening a Directory Using the “Open” Command” for step-by-step instructions.
Place the cursor over the arrow that appears next to the folder icon, then click the left mouse button. The contents of that directory are listed underneath the folder icon. This arrow appears only when you're viewing icons in an Icon View window as a list. See “Viewing Icons as a List.”
Drag and drop a folder icon into the drop pocket on an Icon View window. The window changes to display the contents of the directory whose folder icon you dropped. See “Opening a Directory Using the Icon Finder” for details.
Type a new pathname into the icon finder at the top of the Icon View window. See “Opening a Directory Using the Icon Finder” for details.
Move the mouse cursor to the background of the Icon View window that contains the directory you want to open. Begin typing the name of the directory. When the name is recognized, the directory icon is selected. After it's selected, press the <Enter> key to open the directory.
Choose “Home Directory” from the Desktop toolchest. This opens an Icon View window that displays the contents of your home directory.
Choose “Remote Directory” from the Desktop toolchest. This opens a form into which you type the name of the directory you want to open and the remote system on which it's located.
Choose “File QuickFind” from a Selected menu or “File QuickFind” from the Find toolchest. This opens a form into which you can type the name of the directory you want to open.
The “Open” command opens the selected icons. You can use this to open a directory.
Select the folder icon that represents the directory you want to open. The folder icon turns yellow when it's selected.
Choose “Open” from the Selected menu on the window that contains the icon. If the icon is on the desktop, choose “Open” from the Selected toolchest.
A green Icon View window appears. It displays the contents of the selected directory.
The icon finder appears at the top of each Icon View window. You can open a new directory in one of three ways: type a directory name in the type in-field, drop a folder icon into the drop pocket, or use the pathbar above the type-in field to select a directory name.
The icon finder shows the pathname of the directory that is displayed. See Figure 4-2.
You can edit the name, as follows:
To replace the existing directory name, place the cursor in the type-in field, then double-click to select the existing text. Begin typing. The existing name disappears, and the new name appears as you type.
To edit a portion of the directory name, place the cursor within the name. Press the left mouse button and drag the cursor to highlight the section you want to change, or press the <Backspace> key to delete characters to the left of the cursor.
![]() | Note: If your system is on a network, you can open directories on other systems. See “The Icon Finder Field” for more information. |
The drop pocket is the small square to the left of the type-in field. See Figure 4-3.
When you place an icon in the drop pocket, the Icon View window changes.
Drag a folder icon and place it in the drop pocket. The window displays the contents of that folder.
Drag a file or application icon and place it in the drop pocket. The window displays the contents of the directory in which that icon is stored. For example, suppose you drag the IRIS Showcase icon into the drop pocket. The window displays the contents of the /usr/sbin directory.
The path bar is the gray bar above the type-in field. It lets you move from one directory to another, without typing. It contains a small button representing each directory in the pathname. Click a button to display the contents of that directory. See Figure 4-4.
To create a new directory, choose “New Directory” from the Actions menu. The new directory appears as a folder icon in the window. Detailed instructions follow.
Open the directory in which you want to create a new directory. For this example, suppose it's your home directory. Place the cursor over the folder icon that represents your home directory, then double-click the left mouse button.
Choose “New Directory” from the Actions menu. A folder icon appears in the window. It's labeled empty.dir. If you create another new directory, it is named empty1.dir.
See “Renaming Files and Directories” for instructions on renaming a directory.
![]() | Note: If you want the folder icon to automatically appear on the desktop, choose “New Directory” from the Selected toolchest. The folder icon appears on the desktop; the directory is stored in the Desktop directory in your home directory. For example, suppose your user name is dorothy and you create a directory named oz on the desktop. The pathname for the directory is /usr/people/dorothy/Desktop/oz. |
Open a file when you want to view or edit the file. You can open it in one of several ways: using the “Open” command, double-clicking the file's icon, or using the drag-and-drop technique.
The easiest way to open a file is to place the cursor over the file icon, then double-click with the left mouse button. If you use a file frequently, place the icon on a shelf, or drag the icon onto the desktop so it is easily accessible. See also “Giving Yourself Easy Access to Icons.”
You can open a file by using the “ Open” command on the Selected menu.
Place the cursor over the icon, then click the left mouse button to select the icon. The icon turns yellow when it's selected.
Choose “Open” from the Selected menu on the window that contains the icon. If the icon is on the desktop, choose “Open” from the Selected toolchest.
You can open a file by dragging its icon onto an application icon and then dropping it. See also “Running Applications by Dragging and Dropping Icons.”
If you have a large list of files and don't want to scroll through them to find the one you want, you can move the mouse cursor to the background of an Icon View window and begin typing the name of the file. As soon as the file is recognized, it is selected. Once the file is selected, press the <Enter> key to open the file.
You can create a text file by selecting text in a window, then moving the mouse cursor onto the desktop background or onto the background of an Icon View window, and clicking the middle mouse button. The file PastedText is created. It contains the text that you selected.
To rename the file, click on the filename and begin typing. Press the <Enter> key to change the name.
You can also create a WebJumper icon by selecting a URL address with the mouse, moving the mouse cursor to the desktop background or to the background of an Icon View window, and clicking the middle mouse button. A WebJumper icon is created for the Web site. For information about WebJumper and jumpsite icons, see “About WebJumper.”
Most applications display a File Browser when you choose the “Save” or “Save As...” command. The File Browser makes it easy for you to save a file in a particular directory. If you do not specify a directory, the system places files in a default location, depending on the place from which you run the application.
If you run an application from the desktop, the file is saved in your home directory.
If you run an application from an Icon View window, the file is saved in that Icon View window.
If you run an application from a page in the Icon Catalog or Search tool, the file is saved in your home directory.
When naming icons, follow these guidelines:
You can use letters, characters, and blank spaces in your filename.
Take note of capitalization. file and File are two different names.
If you need to access a file using an IRIX command, and the filename has blank spaces in it, put quotes around the filename when you type it. This preserves the space.
Each file, directory, and application in a directory must have a unique name. If you try to name a file Test and a file named Test already exists in that directory, one of two things happens: you get a notifier warning you that you're about to overwrite an existing file, or the existing file is replaced with another of the same name. You can specify which behavior you want. See “Turning File Overwrite Messages On and Off.”
Many applications let you rename a file using a “Save As...” command. If you are not running an application, you can rename a file from the desktop. Click on the filename, edit the name, and then press the <Enter> key or click the left mouse button in the window. Detailed instructions follow.
Select the name you want to change.
Edit the name. For advice on choosing a name, see also “Naming Icons: A Few Guidelines.”
To replace the existing name, begin typing. The existing name disappears, and the new name appears as you type.
To edit a portion of the name, place the cursor within the name, then click the left mouse button to place a marker. Begin typing to add characters after the marker; press the <Back Space> key to delete characters preceding the marker.
To replace or delete several characters, press the left mouse button and drag the cursor over the characters. Release the mouse button when the characters you want to delete or replace are selected. The characters are selected.To delete the characters, press the <Back Space> key; to replace the characters, begin typing.
To cancel renaming and leave the name unchanged, press <Esc>.
To apply the name, press <Enter> or click the left mouse button in the window.
If you do not press < Enter> or click the mouse button, the original name returns.
You can move icons into a different directory when you want to change their location in the file system. To do so, drag the icon from one Icon View window into another Icon View window or onto a folder icon. (If you have placed an icon on the desktop and want to move it off of the desktop, see “Removing a Reference.”)
Place the cursor over the icon, then press and hold down the left mouse button. The icon turns yellow.
Continue pressing the mouse button, then drag the cursor into a different Icon View window or on top of a folder icon. The icon travels with the cursor, leaving behind a gray outline.
Release the mouse button.
If you have an Icon View window open, release the mouse button when the cursor is inside the window.
If you're dragging the icon onto a folder icon, release the mouse button when the folder icon turns blue.
The icon moves. It disappears from the original directory and appears in the new directory.
You can copy an icon in one of two ways:
Select the icon that you want to copy, then choose “Make Copy” from the Selected menu. If the icon is on the desktop, choose “Make Copy” from the Selected toolchest. A copy of the selected icon appears. It's labeled filename_copy.
Press the < Ctrl> key, then select an icon. Continue pressing the < Ctrl> key and drag the icon to a new location. Release the mouse button and < Ctrl> key a copy of the icon appears. It's labeled filename_copy. (If you drag the icon into a new directory before releasing the mouse button, the icon doesn't have the _copy suffix.)
See “Renaming Files and Directories” to learn how to change the name of the file you copied. For instructions on copying an icon on another system, see “Accessing Remote Files and Directories.” For instructions on copying files to and from a floppy disk or tape, see “Copying Files to and From a Floppy Disk” and “Copying Files to and From a Tape.”
![]() | Note: If you copy an icon that is on a page in the Icon Catalog or on the desktop, the copied icon appears next to the original icon and in the Desktop directory in your home directory. If you copy an icon on a shelf, the copied icon appears next to the original icon. |
You can make a reference to an icon by dragging it onto the desktop, on a shelf, or on a page in the Icon Catalog. For details, see “Giving Yourself Easy Access to Icons.” You can also use the “Make Reference” command. A reference lets you access an icon from several different places. You can also give it a unique name in each place.
To make a reference:
Select the icon that you want to reference. The icon turns yellow when it's selected.
Choose “Make Reference” from the Selected menu. If the icon is on the desktop, choose “Make Reference” from the Selected toolchest.
A reference to the icon appears next to the original. It looks like the original icon, but the name appears in italicized text and has _ref tagged onto the end of the name.
Move the reference as you would move any other icon. See “Moving Icons.”
Rename the icon by clicking on the name and typing. Press the <Enter> key to change the name.
For advice on choosing a name, see “Naming Icons: A Few Guidelines.”
To find the original icon that the reference points to, select the reference icon, then choose “Find Original” from the Selected menu. An Icon View of the directory that contains the original icon appears.
![]() | Note: When you change the original file, all references are changed as well. The same is true if you change a reference; the original and all other references are changed. If you delete the original file, the referenced copy no longer has a place to point. The icon changes into a ring to indicate that it is an empty file. If you try to open the reference, a notifier appears telling you that the reference points to a file that doesn't exist. |
Deleting a file, directory, or reference is a two-step process. You place the icon in the dumpster, then you empty the dumpster. When you delete a reference, you do not delete the original file, only the reference.
To place an icon in the dumpster, you can drag the icon and drop it onto the dumpster icon, or you can use the “Remove” command. The dumpster icon is stored in your home directory and is placed on the desktop so you can easily access it.
To use the “Remove” command:
Select the icon that you want to remove. The icon turns yellow when it's selected.
Choose “Remove” from the Selected menu on the window that contains the icon. If the icon is on the desktop, choose “Remove” from the Selected toolchest.
The icon disappears from the window and is placed in the dumpster. This behavior applies to all icons that you have permission to remove, no matter where they are located— in an Icon View window, on a page in the Icon Catalog, or on the desktop.
Choose “Empty Dumpster” from the Desktop toolchest.
This permanently deletes the file from the system's disk.
![]() | Note: You can also empty the dumpster by doing the following: Select the dumpster icon in an Icon View window, then choose “Empty Dumpster” from the Selected menu on the window that contains the dumpster icon. You can change the behavior of the “Remove” command so that it automatically deletes files from the system's disk. For information, see “Making “Remove” Delete Instantly.” |