@verb #24:"notify(oldold)" this none this rxdo #55 @program #24:"notify(oldold)" this none this "Copied from Generic Connectable Object (#24):notify by Slacker (#55)Oct 16 19:46:03 1998" if (caller != this && !caller_perms():controls(this)) raise(E_PERM) endif if (args) text = this.output_wrap ? $string_utils:wrap(args[1], this.output_linelength) | args[1] elseif (text = this.output_more_buffer) this.output_more_buffer = {} this.output_more_linesleft = this.output_more_pagelength else return endif $code_utils:semaphore_enter("notify") if (this.output_more_buffer) this.output_more_buffer = {@this.output_more_buffer, @text} else for line in ({@text}) if (!this.output_more_pagelength || this.output_more_linesleft > 0) verb == "notify_bin" || (line = encode_binary(line)) line = $msg:process_notify(line, this.output_accent_mode) try set_connection_option(this, "binary", 1) notify(this, line + this.output_eol) set_connection_option(this, "binary", 0) this.output_more_linesleft = this.output_more_linesleft - 1 except (E_INVARG) "You aren't connected?" endtry else this.output_more_buffer = {@this.output_more_buffer, line} endif $cmd_utils:suspend_if_needed() endfor if (this.output_more_buffer) notify(this, tostr("--- More --- Type [enter], flush, or rest --- ", length(this.output_more_buffer), " lines left ---")) endif endif $code_utils:semaphore_exit("notify") .