🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.xedit-l
Article #754

Re: How do I suppress redisplay of commands with rc<0?

#754
From: Greg Johnson
Date: Tue, 23 Jun 1992 15:04
29 lines
2054 bytes
I inquired about means of suppressing the redisplay of commands in Xedit
when they leave rc<0.  Jochen Hein suggested:

>1. invoke Xedit with the (NoMSG Option
>2. 'Set MSGMode Off' in your Macro
>3. in CMS Environment: 'Set EMSG Off'

Thanks, but though these definitely suppress redisplay, I want the user to
see messages.

The best answer I've received, thanks to M. Klassen, is cause the ENTER key
to invoke a macro that reads and executes commands in the queue.

From the application:   SET ENTER BEFORE MACRO CMD$DO

Which invokes:          /* File:      CMD$DO XEDIT                      */
                        /* Function:  Issue cmdline commands, set rc=0  */
                        do queued()
                           parse pull command
                           command
                        end
                        exit 0

This will serve for my needs but doesn't fully address the general problem
of suppressing re-display.  It won't intercept what was present on the
command line when a PF key is pressed.  If some other program (like
MAIL/MAILBOOK) has control of the command line via "READ", then the above
approach doesn't work.  What we really need is a "SET REDISPLAY ON/OFF"
Xedit command.  Hmmm, sounds like something to bring up on VM SHARE.
Technical Details
Message-ID: <XEDIT-L%92062311111453@UGA.CC.UGA.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!MIZZOU1.BITNET!CCGREG

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c92b,ae4f771399cd8434
X-Google-Attributes: gid10c92b,public
X-Google-ArrivalTime: 1992-06-22 15:40:58 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!MIZZOU1.BITNET!CCGREG
Organization: University of Missouri-Columbia Campus Computing, 314-882-2000
Message-ID: <XEDIT-L%92062311111453@UGA.CC.UGA.EDU>
Newsgroups: bit.listserv.xedit-l
Date:         Tue, 23 Jun 1992 10:04:23 CDT
Sender:       VM System Editor List <XEDIT-L@UGA.BITNET>
From:         Greg Johnson <CCGREG@MIZZOU1.BITNET>
Subject:      Re: How do I suppress redisplay of commands with rc<0?
In-Reply-To:  Your message of Mon, 22 Jun 1992 08:52:30 GMT
Lines: 29