home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Information
/
WebSites
/
Wirenet
/
files
/
getstatus.lha
/
GetStatus
Wrap
Text File
|
1999-01-01
|
643b
|
25 lines
/* Get status from U-Net and display if information has changed */
options results
address command
/* Change these if you need to */
StatusFile = 'S:U-Net.Status'
Fingercmd = 'finger'
Window = 'CON:0/0/615/200/Status/AUTO/CLOSE/WAIT/INACTIVE'
/* Don't change these */
Server = 'status@status.u-net.net'
if ~show('L','rexxsupport.library') then do
if ~addlib('rexxsupport.library',0,-30) then call ShutDown('Failed to open rexxsupport.library')
end
OldSize = subword(statef(StatusFile),2,1)
FingerCmd Server '>'StatusFile
NewSize = subword(statef(StatusFile),2,1)
if NewSize ~= OldSize then 'Type' StatusFile '>'Window
exit