|
|
||
| Mechanical Engineering Home >Info: Useful Links > ProE > Text editor |
| How to Set Your Default Text Editor |
|
Some functions of Pro/E require you to create text, for example, when you create relations. The default behabior of Pro/E is to pop up a window in the Unix vi editor. New Unix users often find vi confusing. You can change the default editor to pico (recommended for new users) or emacs (for experienced users) one of the following two ways, both of which create or change the Pro/E customization file named config.pro. 1. Outside of Pro/E: In a Unix window, change to directory from which you normally run Pro/E. Use pico to edit (or create) the config.pro file. % pico config.pro
add this line PRO_EDITOR_COMMAND pico
Then save and exit. Replace "pico" with "emacs" or "vi" depending on which editor you feel comfortable with. To load the new command, either restart Pro/E, or from within Pro/E select Utilities -> Preferences -> Load Config Then it asks for =>Enter Configuration File Name [config.pro]: Press enter. Note:If you set pico or emacs for your default editor, you must start Pro/E in the foreground (% pro). If you try to start Pro/E in the background using the ampersand (% pro &), Pro/E will freeze up when you try to edit relations. 2. Inside Pro/E: Pro/Table will pop up. Add PRO_EDITOR_COMMAND in the first column then add pico or emacs (depending on which editor you like) to the second column. File/Exit will save and return to Pro/E. Then from the menus, select Utilities -> Preferences -> Load Config. Choose config.pro. |
|