Regarding ports & schemes in REBOL, I wonder if anybody
on the group has any experience or comments to make
on the console scheme as I can't find anything in the docs
about it anywhere.

I see under probe system/ports/input & probe system/ports/output
returns an object with the scheme type 'console.

No mention of 'console in made anywhere in system/schemes
yet upon experimenting with the following I found out this;

>>write console://sample "Hello World"

which results in
Hello World>>

very much like the 'prin function!

upon further investigation;

>> a: open console://
>> probe a

make object! [
    scheme: 'console
    host: none
    port-id: none
    user: none
    pass: none
    target: none
    path: none
    proxy: none
    access: none
    allow: none
    buffer-size: none
    limit: none
    handler: none
    status: none
    size: none
    date: none
    url: none
    sub-port: none
    locals: none
    state:
    make object! [
        flags: 524819
        misc: ""
        tail: 0
        num: 0
        with: "^/"
        custom: none
        index: 0
        func: 9
        fpos: 0
        inBuffer: none
        outBuffer: none
    ]
    timeout: none
    local-ip: none
    local-service: none
    remote-service: none
    last-remote-service: none
    direction: none
    key: none
    strength: none
    algorithm: none
    block-chaining: none
    init-vector: none
    padding: none
    async-modes: none
    remote-ip: none
    local-port: none
    remote-port: none
    backlog: none
    device: none
    speed: none
    data-bits: none
    parity: none
    stop-bits: none
    rts-cts: true
]
>>

Anybody any comments or explanations? 

I would also like any bodies further explanation of
the subtleties between ports! & objects!

Cheers,

Mark Dickson

[EMAIL PROTECTED]

OSCAR: :REBOL 

Open Source Code Aka REBOL



Reply via email to