TIP: Click on subject to list as thread! ANSI
echo: commo
to: WALTER SIREN
from: JORJ STRUMOLO
date: 1995-10-10 13:43:00
subject: capture file

WS> How can I change the alt-a to toggle on
  > and off the capture file to alt-l?
 Presumably the same way you did it before; since Alt-A
 is by default Ascii Upload, you must have changed it
 already.  In either case, you need lines like
 {:alL} {capt} {}       Open capture file option box
                    or
 {:alL} {capt n} {}     Close capture file
 in your COMMO.MAC file.  If you really want to *toggle*
 it open or closed with one key, and not do anything
 manually in the choice box, it's a bit more complex:
 {:alL} {comp _cpt} {ifco cpt1,cpt0}
 {:cpt0} {capt} {setv _cpt,1} {}
 {:cpt1} {capt n} {setv _cpt} {}
 This assumes this line in your COMMO.SET is set to NO.
 {cpf=no}               Capture File open (yes/no)
 What this means is that you start a session with the log closed.
 The first time you hit Alt-L, the log opens, and a flag is set
 that tells Commo that the log is open.  The next time you hit
 Alt-L, the log is closed, and the flag is reset accordingly.
 If the line in your SET says 'yes', then you want to stick the
 command {setv _cpt,1} in your start-up macro.
 Note that the comparison is correct in theory, but seems to
 be reversed in practice in 6.5b.  At least in my tests, when
 I check for the flag, Commo claims it's set when it's not,
 and vice-versa.  Weird.  But that just means you have to change
 the order of the IFCO to {ifco cpt0,cpt1}.
 -- SPEED 2.00 #1019: Success is the child of audacity. * Benjamin Disraeli
--- QScan/PCB v1.18b / 01-0175
---------------
* Origin: Eagle's Nest Comm., Inc Prov, RI 401-621-4600 (1:323/150)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.