[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: flexible command line



 I may be missing something here, but why not use STACK?

 M.W. Poirier

-----
On Sat, 29 Nov 2003, Morris Krok wrote:

> To make the command line as flexible as possible you must know how to save it so that it can be put back. This will give greater leverage to certain programs from U2, for instance Callnext, where the files in a directory are examined sequentially. You may want to search for information in the file that appears in the adjacent window. This will erase 'callnext' from the command line. However if you save it first with another Xpl program, it can be restored by an Xpl program when you revert to that window.
>
>  In order to achieve this I use two short programs that is contained in Herb Tyson's book, XyWrite Revealed, with slight modifications.
>
>  Here are the encoded versions.
>
>  Savexp. pm
>
> XPLeNCODE v2.0
> b-gin [UNTITLED]
> {<}SX998,{<}IS00{>}{>}[AS_][TF_][BC_]se / /{<}EX{>}
> -nd
> XPLeNCODE
>
> and Getexp. Pm
>
> XPLeNCODE v2.0
> b-gin [UNTITLED]
> {tab}[AS_]{<}SV18,[cr|lf]{>}{<}SV17,[255+048+065]{>}{<}LBfixc
> r{>}{<}IF{<}IS18{>}{238}{<}IS998{>}<0{>}{<}GLskip{>}{<}EI{>}{
> <}XS998,18,71,72,73{>}{<}SX998,{<}IS71{>}+{<}IS17{>}+{<}IS73{
> >}{>}{<}GLfixcr{>}{<}LBskip{>}[BC_]{<}PV998{>}[GT_][cr|lf]
> -nd
> XPLeNCODE
>
>  I also use these programs with "home" which I included in the U2 file. 'Home' enables me to edit or make changes from the top of the screen as I find it easier than trying to do so from the middle or at the end. It is necessary to save it when I have to obtain information from files in adjacent so that it can be put back.
>
>  Here is the encoded version of home.
>
> XPLeNCODE v2.0
> b-gin [UNTITLED]
> {{;5home}}[cr|lf]{tab}{002}[DX_][GT_][LB_]{<}SX01,{<}CP{>}{>}
> [HM_]{<}LBtest{>}{<}SX02,{<}CP{>}{>}{<}IF{<}PV02{>}=={<}PV01{
> >}{>}[DO_]{<}EX{>}{<}EI{>}[MU_]{<}GLtest{>}{002}[cr|lf]
> -nd
> XPLeNCODE
>
>  There may be other u2 programs that you may want to use in this manner.
>  Although we are advised to put as many of our own programs into the u2 file, I find it still more convenient to place my define and save file programs in startup.int by assigning them to keys in the keyboard file.
>
> I am interested to know whether the U2 file contains something similar.