🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.mailbook
Article #2735

Guarding Against "Disk Full"

#2735
From: Ben Chi
Date: Thu, 23 Jan 1992 05:26
19 lines
1417 bytes
I often go along without paying much attention to how full my minidisk
that contains * NOTEBOOK is getting.  The result is that I sometimes
can't exit MAIL without "Disk Full" occurring and all the nuisances that
follow.  For those who like idiot lights, include the following two
lines in your MAILUSER XEDIT:

ARG screenMode
IF screenMode = "MENU" THEN "MACRO NBCHECK"

where NBCHECK XEDIT is the following exec:

/**/
nbdisk = "E"                              /* Where the NOTEBOOKs are. */
nblim = 85                        /* Warn if nbdisk is <nblim>% full. */
ADDRESS CMS "QUERY DISK" nbdisk "(LIFO"
PULL . . . . . . . . "-"pct rmn .; PULL
IF pct >= nblim THEN
 COMMAND "MSG Warning!  Notebook disk" pct"% full;" rmn "blocks remain."
EXIT 0
Technical Details
Message-ID: <920123.002604.EST.BEC@ALBANY>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!ALBANY.BITNET!BEC

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10819c,1654531b869eaabb,start
X-Google-Attributes: gid10819c,public
X-Google-ArrivalTime: 1992-01-23 00:05:23 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!auvm!ALBANY.BITNET!BEC
Organization: University at Albany Computing Services
X-Acknowledge-To: <BEC@ALBANY>
Message-ID: <920123.002604.EST.BEC@ALBANY>
Newsgroups: bit.listserv.mailbook
Date:         Thu, 23 Jan 1992 00:26:04 EST
Sender:       RiceMail discussion list <MAILBOOK@RICEVM1.BITNET>
From:         Ben Chi <BEC@ALBANY.BITNET>
Subject:      Guarding Against "Disk Full"