Rebol Tutorial
Rebol Tutorial

Reputation: 2754

How to find the source code for clipboard:// protocol on rebol?

Usually to get the source code one can use source func_name but for a protocol like clipboard:// how to get it ?

Upvotes: 0

Views: 140

Answers (2)

BrianH
BrianH

Reputation: 2186

Rebol 3 is open source now. Start here: https://github.com/rebol/rebol

The cross-platform portion of the clipboard port scheme is in src/core/p-clipboard.c and the platform-specific parts are in files like src/os/win32/dev-clipboard.c though at the time of writing this answer only Win32 and Android (in a third-party build) have clipboard support.

Rebol 2 and earlier are unlikely to be open sourced, sorry.

Upvotes: 1

Graham Chiu
Graham Chiu

Reputation: 4886

You can look at some of them using eg.

probe system/schemes/ftp

but others like clipboard:// are native and no source is available.

Upvotes: 1

Related Questions