[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 INed Editor User's Guide

Chapter 11. Using Profiles

The editor profile (editorprf) is a structured file that you can use to customize the editor by specifying the following:

You can also create a print profile (printprf) to modify your Print menu and a File Manager profile (indexprf) to change your File Manager screen.

How to Use Profiles with the INed Editor

You can use the following procedures with INed editor subcommands:

To Create the Editor Profile File

Before you can customize the editor, you must create the editorprf file as follows:

  1. Press the F2 key (the Menu function) to display the New Task menu.

  2. Move the cursor to Edit Your Editor Profile, and press the Ctrl-A, Enter key sequence (the Execute function).

    If the $HOME/profiles directory and the structured file editorprf do not exist, the editor creates them for you. The editor then displays the Editor Profile File screen, which contains the following options:

    When the Editor Profile File screen is displayed, do one of the following:

To Change the New Task Menu

  1. Select MENU Options from the Editor Profile File screen.

    The Menu Options screen is displayed.

    When you change or add options in this screen, you change your New Task menu. You make changes by modifying the existing options or adding new options. For example, you could add an option to compile the current program file. Or, if you use a certain operating system command frequently, you can add it as an option.

  2. Move the cursor to an existing menu option to change that option.

    OR

    Move the cursor to a blank line to add a menu option.

  3. Press the F11 key (the Zoom In function) to display the Details of Menu Option screen.

  4. Make the changes or the new entries you want:

To Change the Help Menu

  1. Select HELP Options from the Editor Profile File screen.

    The Help Options screen is displayed.

    When you change or add options in this screen, you change your Help menu. You make changes by modifying the existing options or adding new options. For example, you could add your own help information to the Help menu or create your own help menu.

  2. Move the cursor to an existing menu option to change that option.

    OR

    Move the cursor to a blank line to add a menu option.

  3. Make the changes or the new entries you want:

  4. Press the Ctrl-A, S key sequence (the Save function).

    The changes you make are effective the next time you view the Help menu.

  5. Create a file that corresponds to the file name in this menu and put the help information into the file.

  6. To exit this screen, do one of the following:

To Enter Files for the Editor to Watch

  1. Select Files the Editor Should Watch from the Editor Profile File screen.

    The Files the Editor Should Watch screen is displayed.

    The editor can watch files to see if they have changed. It does this by checking the files when you start the editor or refresh the screen. For example, if you have a mail file, the editor can check whether you have any new messages. Use this screen to enter any file that you want the editor to watch and display a message when the file changes.

  2. Move the cursor to an existing menu option to change that option.

    OR

    Move the cursor to a blank line to add a menu option.

  3. Make the changes or the new entries you want:

  4. Press the Ctrl-A, S key sequence (the Save function).

    The changes you make are effective immediately.

  5. To exit this screen, do one of the following:

To Change the Editor Search Paths

Use the Editor Search Paths screen to specify the search paths for the editor to use to find forms, helpers, messages, and scripts.

  1. Select Editor Search Paths from the Editor Profile File screen.

    The Editor Search Paths screen is displayed.

  2. Move the cursor to the appropriate box, and enter the names of the directories, one per line, that you want the editor to look in. (Enter the directories in the sequence you want the editor to search.)

  3. Press the Ctrl-A, S key sequence (the Save function).

    The changes you make are effective after you exit the editor.

  4. If necessary, put the forms, helpers, messages, or scripts in the directories you specified.

  5. Do one of the following to exit this screen:

To Create a Print Profile

  1. Press the Ctrl-A, Enter key sequence (the Enter function), type /usr/lpp/msg/$LANG in the ENTER box, and press the Ctrl-A, U key sequence (the Use function) to access the File Manager screen for the profiles directory.

  2. Move the cursor to the printprf file, and press the F9 key (the Pick Copy function).

  3. Press the F2 key (the Menu function), move the cursor to the Show Your Profiles Directory option, and press the Ctrl-A, Enter key sequence (the Enter function). If the $HOME/profiles directory does not exist, the editor creates it. The $HOME/profiles directory is then displayed.

  4. Press the F8 key (the Put Down function), and then press the F11 key (the Zoom In function).

    The Print Options screen is displayed. When you change this screen, you change the options in your Print menu.

  5. Move the cursor to an existing option to change that option.

    OR

    Move the cursor to a blank line to add a menu option.

  6. To display the Details of Print Option screen, press the F11 key (the Zoom In function).

  7. To make the changes or the new entries you want, do the following:

  8. Press the Ctrl-A, S key sequence (the Save function).

    The changes you make are effective the next time you use the Print menu.

  9. To exit this screen, do one of the following:

To Create a File Manager Profile

  1. Press the Ctrl-A, Enter key sequence (the Enter function), type /usr/lpp/msg/$LANG in the ENTER box, and press the Ctrl-A, U key sequence (the Use function) to access the File Manager screen for the profiles directory.

  2. Move the cursor to the indexprf file, and press the F9 key (the Pick Copy function).

  3. Press the F2 key (the Menu function), move the cursor to the Show Your Profiles Directory option, and press the Ctrl-A, Enter key sequence (the Enter function). If the $HOME/profiles directory does not exist, the editor creates it. The $HOME/profiles directory is then displayed.

  4. Press the F8 key (the Put Down function), and then press the F11 key (the Zoom In function).

    The Directory Helper Options screen is displayed. When you change this screen, you change the defaults in your File Manager.

  5. To change an existing default, move the cursor to the appropriate field and modify it:

  6. Press the Ctrl-A, S key sequence (the Save function).

  7. To exit this screen, do one of the following:

Related Information

System User's Guide: Operating System and Devices contains information for AIX users.

INed Editor Overview introduces general concepts about the INed editor, lists the INed editing functions and describes the system guidelines for using the INed editor.

INed Editor Functions for the Standard Keyboard is a table that shows the INed editor command keys on a standard keyboard.

INed Editor Files in AIX Version 4.3 Files Reference contains reference information about the files used by the INed editor.


[ Previous | Next | Contents | Glossary | Home | Search ]