[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
re moving selected text to CM
- Subject: re moving selected text to CM
- From: OkAnnie@xxxxxxxx
- Date: Fri, 17 Mar 1995 14:16:44 -0500
Fwiw, I use three sets of integrated utilities (v3 xpl,
startup.int & assignments, and keyboard) I wrote that shift text
between text and the command line. Two apply to random text, the
third manipulates a file or path name. The following pseudocode
may suggest other possibilities to you; the inspiration came from
Herb Tyson's "XyWrite Revealed." --annie
STARTUP.INT excerpt :::::::::::::::::::::::::::::::::::::::::::
{sv86,XC BC ldpm }BC p{pv86}
!z2cl &z{pv86}
!cl2z &a{pv86}
!cl2q &c{pv86}
!q2cl &q{pv86}
!fp2f &f{pv86}
!f2cl &l{pv86}
related xpl files and keyboard assignments ::::::::::::::::::::
(NB: I identify my xpl code by using ! as the file name's first
character. My keyboard file is mapped for an unorthodox physical
layout. I insert save/gets into text via my
ShiftCtrl--etc.--table).
save command line to save/get Z:
!CL2Z
{sxZ,({is00})}{ex}
MY.KBD :
41=&a,GT
put save/get Z on the command line:
!Z2CL
{pvZ}{ex}
MY.KBD :
82=NI,GH,SI,&z,CI
MY.KBD:
; end-defines a block and saves it to save/get Z:
41=NI,DF,SI,SV,z,CI,RD,XD
; end-defines a block and appends it to save/get Z:
41=NI,DF,SI,AD,z,CI,RD,XD
; turns the previous two characters in text ; to an xpl
function symbol and saves the symbol to save/get Z
68=BC,p,f,u,n,
,GT,XD,DF,CL,CL,DF,SV,z,XD,GH,SI,&z,CI,XC,RC,DF,CL,DF,SV,z,XD,CR,
BC,&q,GT
::::::::::::::::::::::::::::::::::::::::::::
save command line to save/get Q:
!CL2Q
{sxQ,({is00})}{ex}
MY.KBD (records and executes CM):
78=&c,XC
put save/get Q on the command line:
!Q2CL
{pvQ}{ex}
MY.KBD :
82=NI,GH,SI,&q,CI,EL
record command line to save/get Q for text search in closed files
(using _ as first delimiter, type path and string):
MY.KBD :
59=GH,ER,_,EL,SI,s,e, ,CI,GT,&c,BC,a,b,XC,&q,XC
::::::::::::::::::::::::::::::::::::::::::::
put path and--if any--file name on save/get F:
!FP2F
{sx86,{va$ws}} {if({pv86})==1} {sxF,{va$fp}}
{ex}{ei} {sxF,{va$pa}}{ex}
MY.KBD :
33=GT,&f
put save/get F on the command line:
!F2CL
{pvF}{ex}
MY.KBD :
33=GH,SI,&l,CI
========================== annie fisher nyc