TIP: Click on subject to list as thread! ANSI
echo: cis.os9.6809.coco
to: Sharon Lind 70760,3643 (X)
from: Pete Lyall 76703,4230
date: 1992-04-24 12:04:11
subject: #15047-echo off

#: 15055 S10/OS9/6809 (CoCo)
    24-Apr-92  12:04:11
Sb: #15047-echo off
Fm: Pete Lyall 76703,4230
To: Sharon  Lind 70760,3643 (X)

Sharon -

Whew... it's been years since I BASIC09'd, but the bottom line is this:

   a) Use the GETOPT service call to get a copy of the affected
      path's options

   b) Set the PD.ECHO byte to off

   c) Use the SETOPT service call to send these option bytes
      back to the path descriptor.

If you're only going to be toggling ECHO, no big deal... but, if you're messing
with other elements of the descriptor options as well, the best idea is get TWO
copies of the path options, and keep one pristine (untouched). That way, when
it comes time to put the options back where you found them, you can just send a
copy of that back rather than remember all the fields you diddled with.

Pete

SOURCE: compuserve via textfiles.com

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™.