# default preferences # system always reads these in # user can modify, write out own preferences, # but ones that are the same as default are commented out (old TkMan trick) # Not sure if should have these different types in same configuration file. # should be suffix=>MIME map # LATER just put media adaptor in paths, system checks for changed paths and # determines MediaAdaptor types, media adaptor write own mappings of this sort mediaadaptor mvd Multivalent mediaadaptor xdc ScansoftXdoc mediaadaptor pda CaerePDA mediaadaptor xbm RawImage mediaadaptor gif RawImage mediaadaptor jpeg RawImage mediaadaptor jpg RawImage mediaadaptor png RawImage mediaadaptor html HTML # stupid Windoze mediaadaptor htm HTML mediaadaptor text/html HTML mediaadaptor txt ASCII mediaadaptor text/plain ASCII mediaadaptor bin Binary #mediaadaptor tex LaTeX mediaadaptor tex ASCII mediaadaptor css ASCII mediaadaptor dvi DVI mediaadaptor application/x-dvi DVI # for now, show programming languages as ASCII mediaadaptor java ASCII mediaadaptor c ASCII mediaadaptor cpp ASCII mediaadaptor cc ASCII mediaadaptor h ASCII mediaadaptor sh ASCII mediaadaptor tcl ASCII mediaadaptor bat ASCII mediaadaptor com ASCII mediaadaptor texi Texinfo mediaadaptor texinfo Texinfo #mediaadaptor info "use Texinfo source!" mediaadaptor man ManualPage # later use patterns: mediaadaptor [1-9oln] ManualPage mediaadaptor 1 ManualPage mediaadaptor 2 ManualPage mediaadaptor 3 ManualPage mediaadaptor 4 ManualPage mediaadaptor 5 ManualPage mediaadaptor 6 ManualPage mediaadaptor 7 ManualPage mediaadaptor 8 ManualPage mediaadaptor 9 ManualPage mediaadaptor o ManualPage mediaadaptor l ManualPage mediaadaptor n ManualPage mediaadaptor zip Zip mediaadaptor jar JavaArchive #mediaadaptor sit StuffIt mediaadaptor svg SVG mediaadaptor image/svg SVG # some otherwise unsupported map to ASCII #mediaadaptor X ASCII # but not reasonable to show these unsupported types as ASCII, so don't put in table and let system say "unsupported type" mediaadaptor pdf AdobePDF mediaadaptor application/pdf AdobePDF #mediaadaptor ppt PowerPoint mediaadaptor pdb PalmDatabase mediaadaptor rtf RichTextFormat mediaadaptor pod PerlPOD mediaadaptor rpm RedHatPackage mediaadaptor tar UNIXTapeArchive mediaadaptor class JavaClass # unsupported: load try to display as ASCII mediaadaptor ps Unsupported mediaadaptor mov Unsupported # Apple II -- split off mediaadaptor shk NuFX mediaadaptor sdk NuFX mediaadaptor Applesoft Applesoft mediaadaptor bas Applesoft mediaadaptor awp AppleWorksWordProcessor mediaadaptor adb AppleWorksDatabase mediaadaptor po ProDOS #mediaadaptor dc ProDOS -- different format 838484 bytes not 819200 mediaadaptor raw ProDOS mediaadaptor do DOS33 mediaadaptor dsk DOS33 mediaadaptor ucsd AppleUCSD #mediaadaptor rdos SSIRDOS mediaadaptor 2mg UniversalDisk # add MIME types for pdf, ppt, if any # ... otherwise interpreted as ASCII # core remap Layer multivalent.Layer # media adaptors # should have MIME=>class, but no MIME types for some of these remap XML multivalent.XML remap ScansoftXdoc berkeley.adaptor.Xdoc remap CaerePDA berkeley.adaptor.PDA remap Multivalent multivalent.std.adaptor.MultivalentAdaptor remap RawImage multivalent.std.adaptor.RawImage remap DVI dvi.DVI remap HTML multivalent.std.adaptor.HTML remap AdobePDF multivalent.std.adaptor.pdf.PDF remap SVG multivalent.std.adaptor.SVG remap ASCII multivalent.std.adaptor.ASCII remap Binary multivalent.std.adaptor.HexDump remap LocalDirectory multivalent.std.adaptor.LocalDirectory remap Unsupported multivalent.std.adaptor.Unsupported remap Generate multivalent.std.adaptor.Generate remap JavaArchive multivalent.std.adaptor.Zip remap Zip multivalent.std.adaptor.Zip remap UNIXTapeArchive multivalent.std.adaptor.Tar remap RedHatPackage multivalent.std.adaptor.RPM remap ManualPage multivalent.std.adaptor.ManualPage remap JavaClass multivalent.std.adaptor.JavaClass remap RichTextFormat multivalent.std.adaptor.RTF remap PerlPOD multivalent.std.adaptor.PerlPOD # Apple II remap AppleWorksWordProcessor phelps.adaptor.AppleWorksWP remap AppleWorksDatabase phelps.adaptor.AppleWorksDB remap NuFX phelps.adaptor.ShrinkIt remap ProDOS phelps.adaptor.ProDOS remap DOS33 phelps.adaptor.DOS33 remap AppleUCSD phelps.adaptor.AppleUCSD remap UniversalDisk phelps.adaptor.UniversalDisk remap Applesoft phelps.adaptor.Applesoft #remap SSIRDOS phelps.adaptor.SSIRDOS # experimental remap Texinfo phelps.adaptor.Texinfo #remap PalmDatabase phelps.adaptor.PalmPDB #remap LaTeX phelps.adaptor.LaTeX # popular behaviors, therefore likely to be improved by third parties remap SelectionSpan multivalent.std.span.SelectionSpan remap CursorMark multivalent.CursorMark remap HyperlinkSpan multivalent.std.span.HyperlinkSpan remap Hyperlink multivalent.std.span.HyperlinkSpan remap OutlineSpan multivalent.std.span.OutlineSpan remap AnchorSpan multivalent.std.span.AnchorSpan remap HighlightSpan multivalent.std.span.BackgroundSpan remap Highlight multivalent.std.span.BackgroundSpan remap Note multivalent.std.Note remap ViewSource multivalent.std.ui.ViewSource remap RobustReport multivalent.std.ui.RobustReport remap Location multivalent.Location remap DisableTree multivalent.std.DisableTree remap DeleteBehavior multivalent.std.DeleteBehavior remap ItalicSpan multivalent.std.span.ItalicSpan remap BoldSpan multivalent.std.span.BoldSpan remap RelPointSpan multivalent.std.span.RelPointSpan remap LabelSpan multivalent.std.span.LabelSpan remap OverstrikeSpan multivalent.std.span.OverstrikeSpan remap BlinkSpan multivalent.std.span.BlinkSpan remap UnderlineSpan multivalent.std.span.UnderlineSpan remap SubSupSpan multivalent.std.span.SubSupSpan remap MonospacedSpan multivalent.std.span.MonospacedSpan remap PointSpan multivalent.std.span.PointSpan remap BackgroundSpan multivalent.std.span.BackgroundSpan remap ElideSpan multivalent.std.span.ElideSpan remap ScriptSpan multivalent.std.span.ScriptSpan # make request at higher level, map to concrete behavior (would be redundant for media adaptors, given mediaadaptor command above) remap LinkMarkup multivalent.std.LinkMarkup remap LinkMe multivalent.std.ui.LinkMe remap PhoneMe multivalent.std.ui.PhoneMe remap SeeMono multivalent.std.ui.SeeMono remap Bookmark multivalent.std.ui.Bookmark remap SemanticUI multivalent.std.ui.SemanticUI remap AttrUI multivalent.std.ui.AttrUI remap NotemarkUI multivalent.std.ui.NotemarkUI remap SpanUI multivalent.std.ui.SpanUI remap WindowUI multivalent.std.ui.WindowUI remap SelectionUI multivalent.std.ui.SelectionUI remap Multipage multivalent.std.ui.Multipage # Preferences as name-value pairs #set USERDIR -- created by command-line argument at startup #set CACHEDIR created #set PERSISTENTDIR #set ARCHIVEDIR #set HUBDIR set STARTUP-geom 640x700@200,0 set DEFINE-geom 600x300@400,100 set -geom 500x400@400,375 set homedir file:/ set homepage http://www.cs.berkeley.edu/~phelps/Multivalent/demos/ set homepage systemresource:/sys/About.mvd set homepage systemresource:/sys/About.html #set cachedir /// set developer true # cachecheck = never | once | always set cachecheck once # colors to show up in top choices by BackgroundSpan, Note, ... set colors "Yellow Orange Green Blue Red Black White Gray" set vanishingtitle true #set KillAds true set HighlightColors "Yellow | Orange | Green | Blue" #set MANPATH systemresource:/demo/man -- no good default, and besides man page behavior should set default #set CurrentHighForeground Orange #set CurrentHighBackground Yellow set AutoSearch:for "Multivalent Robust"