| 1 | <HTML> |
| 2 | <HEAD><TITLE>Command Line Options</TITLE></HEAD> |
| 3 | <BODY> |
| 4 | The FTE command line syntax is: |
| 5 | <P> |
| 6 | <TT>fte [[options] [files] ...]</TT> |
| 7 | <H1><A NAME="command-line-options">Options</A></H1> |
| 8 | <DL> |
| 9 | <DT><TT><B>-l</B>line[,column]</TT> |
| 10 | <DD>Go to line (and column) in next file specified on command line |
| 11 | <DT><TT><B>-m</B>[MOD]E</TT> |
| 12 | <DD>Use mode <TT>MODE</TT> for remaining files. If no argument is |
| 13 | specified, mode override is cancelled. |
| 14 | <DT><TT><B>-C</B>[file]</TT> |
| 15 | <DD>Use specified configuration file (compiled). If no argument is specified, |
| 16 | the default builtin configuration is used. |
| 17 | <DT><TT><B>-D</B>[file.dsk]</TT> |
| 18 | <DD>Load/save desktop from file <TT>file.dsk</TT>. If no argument is specified, desktop loading/saving |
| 19 | is disabled. |
| 20 | <DT><TT><B>-H</B>[file.his]</TT> |
| 21 | <DD>Load/save history from file <.his>. If no argument, disable history load/save. |
| 22 | <DT><TT><B>-T</B>tags</TT> |
| 23 | <DD>Load tags file <TT>tags</TT>. The file must be in the format generated |
| 24 | by the <B>ctags</B> program. |
| 25 | <DT><TT><B>-t</B>tag</TT> |
| 26 | <DD>Lookup tag <TT>tag</TT> and display file containing it. |
| 27 | <DT><TT><B>--</B></TT> |
| 28 | <DD>The rest of the arguments are not options, but filenames. |
| 29 | <DT><TT><B>-+</B></TT> |
| 30 | <DD>The next argument is not an option even if starting with a '-'. |
| 31 | </DL> |
| 32 | <P> |
| 33 | Optional arguments are marked by [ and ] brackets. |
| 34 | <P> |
| 35 | There should not be any delimiter between option and it's arguments. |
| 36 | <P> |
| 37 | <H1><A NAME="command-line-examples">Examples</A></H1> |
| 38 | <DL> |
| 39 | <DT><TT>fte -mBIN fte.exe</TT> |
| 40 | <DD>load fte.exe in BIN mode |
| 41 | <DT><TT>fte -l100,30 win.c</TT> |
| 42 | <DD>go to (100,30) in win.c |
| 43 | <DT><TT>fte window.cpp</TT> |
| 44 | <DD>load file window.cpp |
| 45 | <DT><TT>fte -mBIN fte.exe -m fte.cpp</TT> |
| 46 | <DD>load fte.exe in binary mode, window.cpp in default mode (C/C++) |
| 47 | <DT><TT>fte -mBIN -+ -bla-</TT> |
| 48 | <DD>load file -bla- in BIN mode |
| 49 | <DT><TT>fte -- -1 -2 -3 -4 -5 -6</TT> |
| 50 | <DD>load files -1, -2, -3, -4, -5, -6 |
| 51 | <DT><TT>fte -D -H fte.dsk fte.his</TT> |
| 52 | <DD>Disable desktop and history loading and saving and load files |
| 53 | <TT>fte.dsk</TT> and <TT>fte.his</TT>. |
| 54 | </DL> |
| 55 | |
| 56 | <P>Under OS/2,NT and DOS default history and desktop files are |
| 57 | named <TT>FTE.DSK</TT> and <TT>FTE.HIS</TT> respectively. Under Unix they |
| 58 | are named <TT>.fte-desktop</TT> and <TT>.fte-history</TT>. The global |
| 59 | desktop and history files will be searched in program directory under |
| 60 | OS/2 and in user home directory under Unix. |
| 61 | |
| 62 | </BODY> |
| 63 | </HTML> |