Command-line tool for .odc format, used by BlackBox Component Builder Provides converting to plain UTF-8 text.
odcey text [input [output]] { options }
odcey git [dir]
odcey mc
Command 'text' prints text content of .odc; empty arguments for standard IO
-commander-to <str> allows in output replacing DevCommanders.StdView by the argument
-skip-embedded-view skips recursive writing of embedded views
-skip-comment skips (* Oberon comments *)
-input-windows1251 set input charset Windows-1251 instead of Latin-1
-tab <str> set tabulation replacement
Command 'git' embeds odcey to git repo as text converter, what equal to commands:
echo '*.odc diff=cp' >> .git/info/attributes
echo '[diff "cp"]
binary = true
textconv = odcey text <' >> .git/config
Command 'mc' embeds odcey to the Midnight Commander configuration as a text converter
Add to ~/.config/mc/mc.ext
#odc BlackBox Component Builder container document
shell/.odc
View=%view{ascii} odcey text < %f
# Add deb-repo (https://wiki.oberon.org/repo) to the system, then
/usr/bin/sudo apt install odcey
# or
/usr/bin/sudo snap install odcey
brew tap vostok-space/oberon &&
brew install odcey
Download odcey.exe (or odcey_i386.exe) and copy it to the appropriate directory specified in the PATH variable.
Example for powershell:
$edir = "$env:USERPROFILE\Executables"; mkdir "$edir"
Invoke-WebRequest -Uri https://github.com/Vostok-space/odcey/releases/download/v0.2/odcey.exe -OutFile "$edir\odcey.exe"
[Environment]::SetEnvironmentVariable('PATH', "$env:PATH;$edir", 'User')
# with administrator rights
npm install --global odcey
# install vostok-translator if it still absent through snap
/usr/bin/sudo snap install vostok --classic --beta && /usr/bin/sudo snap alias vostok ost
# or through brew
brew tap vostok-space/oberon && brew install vostok
# then build
ost to-bin odcey.Cli odcey -m . -cc 'cc -O1 -s'
Build both vostok and odcey from scratch by multiline POSIX shell command:
gcl () { git clone https://github.com/Vostok-space/$1.git --depth 1; } &&
gcl vostok && gcl odcey &&
cd vostok && ./init.sh &&
result/bs-ost run 'make.Build; make.Self' -infr . -m source &&
result/ost to-bin odcey.Cli result/odcey -infr . -m ../odcey &&
result/odcey help