CedarFromUnixDoc.tioga
Copyright Ó 1992 by Xerox Corporation. All rights reserved.
Created by Christian Jacobi, January 31, 1992 3:19:42 pm PST
Christian Jacobi, September 15, 1992 1:56 pm PDT
Abstract
This allows running Cedar programs like little Unix programs.
How to use Cedar when you are scared of the Cedar environment.
Implementation
The first Cedar command starts up a cedar server. This server executes all Cedar commands typed in this way. The cedar server keeps running until it is explicitely stopped.
List of normal commands
The commands are made available to unix shells by enabling pcedar2.0.
The actual commands will be described more completely in thre own documentation. Some of these commands may be wonderful and could be used by arbitrary liveboard users. Other commands have a plain horrible user interface; these are used when the presented functionality is needed desperately only.
The commands do NOT read the DISPLAY environment variable except the first time when the server is started.
cedarxcommander
Creates an instance of viewerless cedar commander in an X window. This is not directly a wonderful typescript interface but it works.
cedarxscanner
Creates an instance of a very simple scanner tool. Create interpress files. Fits nicely together with slate.
cedarxviewers
Opens up cedar X11Viewers world run by the shared cedar server.
For quiting this world use your window manager to delete the window. A pop up menu will be presented, choose "Withdraw window". "Exit PCedar" will kill the cedar server and is therefore not the normal way to remove the window.
cliphack
Creates an instance of the X11ClipHack tool
migrationtool
Creates an instance of the migration tool
pseudokeyboard
A pseudo keyboard useful for typin without keyboard
slate
Creates an instance of the slate program
xmaintain
Viewerless maintain
tiogaxopen file-name
Opens a tioga file in read-only mode
handwriting
Opens a handwriting recognition widget
Special commands
quitxcedar
Quits ALL cedar applications started this way.
Recommendations etc.
You might see how those commands are implemented and access arbitrary cedar commands with this method. I do not really recommend doing this. The implementation is not too nice if a command requests further input. Behaviour on error situations could also benefit from improvements.
It probably needs quite some more polish.
Thanks to Pavel, Willie-Sue, Dave Nichols. I basically didn't do a single line of programming for this. (Not quite true, but that wasn't the essential thing...) The real substance of the implementation is NetCommander by Michel Plass.
INTERNAL IMPLEMENTORS DOCUMENTATION
recompilation of peekcedar
enable gnu
gcc -o peekcedar peekcedar.c
If somebody makes a packaged world which includes X stuff but not viewers, please also include
require cedar X11Selections X11Selections
require cedar X11Tcl TclCommander
Probably none of the Cedar X modules directly imports the X11Selections directly, however it registers useful interoperability stuff. Ones you have a NetCommander listening to arbitrary stuff we might as well also allow the TclCommander.