Commented Out Stuff From R3-Alpha's System Object

There were some fields in the system object that were commented out in R3-Alpha. Generally speaking, these don't belong in the core any longer.

Some pertained to the console:

;console: make object! [
;   hide-types: _    ; types not to print
;   history: _       ; Log of user inputs
;   keys: _          ; Keymap for special key
;   prompt:  {>> }   ; Specifies the prompt
;   result:  {== }   ; Specifies result
;   escape:  {(escape)} ; Indicates an escape
;   busy:    {|/-\}  ; Spinner for network progress
;   tab-size: 4      ; default tab size
;   break: true      ; whether escape breaks or not
;]

Or the command line:

; trace:          ; True if the --trace flag was specified
; help: _         ; True if the --help flags was specified
; halt: _         ; halt after script

There was more, though. For email:

;   email: make object! [ ; Email header object
;       To:
;       CC:
;       BCC:
;       From:
;       Reply-To:
;       Date:
;       Subject:
;       Return-Path:
;       Organization:
;       Message-Id:
;       Comment:
;       X-REBOL:
;       MIME-Version:
;       Content-Type:
;       Content:
;           _
;   ]

The Network:

;network: make object! [
;   host: ""        ; Host name of the user's computer
;   host-address: 0.0.0.0 ; Host computer's TCP-IP address
;   trace: _
;]

And a bunch of... other stuff. Continuing in the spirit of "not just keeping things around any more", I'm just putting it here. There are a lot of considerations about how any system should manage global state, but hanging on to a file of mostly random words that are all commented out isn't making much of an inroad on that.

;           decimal: #"."   ; The character used as the decimal point in decimal and money vals
;           sig-digits: _    ; Significant digits to use for decimals ; blank for normal printing
;           date-sep: #"-"  ; The character used as the date separator
;           date-month-num: false   ; True if months are displayed as numbers; False for names
;           time-sep: #":"  ; The character used as the time separator

;   browser-type: 0
;
;       model:      ; Network, File, Driver
;       type:       ; bytes, integers, values
;       user:       ; User data

;       host:
;       port-id:
;       user:
;       pass:
;       target:
;       path:
;       proxy:
;       access:
;       allow:
;       buffer-size:
;       limit:
;       handler:
;       status:
;       size:
;       date:
;       sub-port:
;       locals:
;       state:
;       timeout:
;       local-ip:
;       local-service:
;       remote-service:
;       last-remote-service:
;       direction:
;       key:
;       strength:
;       algorithm:
;       block-chaining:
;       init-vector:
;       padding:
;       async-modes:
;       remote-ip:
;       local-port:
;       remote-port:
;       backlog:
;       device:
;       speed:
;       data-bits:
;       parity:
;       stop-bits:
;           _
;       rts-cts: true
;       user-data:
;       awake:

;   port-flags: make object! [
;       direct:
;       pass-thru:
;       open-append:
;       open-new:
;           _
;   ]
1 Like

Have they been put into an extension of things-that-one-day-someone-might-want.reb?

As they are nothing more than lists of words, I think this post suffices.