This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Wiki and shell#

Shell script/command is a bit like a wiki plugin. A console with history is a bit like a long web page. A wiki page could be a sequence of command, output. Or each command output goes in separate page and a session history shows the N latest subpages. Command line output has markup: return, tab, colors. A regular VT is needed to use VI or other fullscreen programs. I need more markup otherwise it's not worth the overhead of the webpage/wiki. Possibilities:

  • recognise certain data forms, add markup (e.g. http, mailto, date)
  • recognize command or wrap command with dedicated filter that adds markup
  • allow new commands to add markup in their output

Ideas for markup#

  • makes table a table
  • add links to documentation
  • add links that execute a command in the current shell)
  • add image (e.g. Gnuplot output)
  • add menu of contextual actions
  • add anchors that can be used to reuse output into new shell commands. Scenarios:
  • click on prompt showing path, choose ls
  • type lsof, output is decorated, pids show a menu of actions (pargs, stack, pwdx...)
  • file prettifier annotates documentation with doc links etc.
  • script displays information with local links and certain information as popups, linked pages

Bad scenarios#

  • How to handle tail?
  • ls -l on big directory is useless, big, pollutes search results, how to get rid of it?
  • vi and other interactive programs don't mix well

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
anyterm.png 123.3 kB 1 04-Aug-2010 20:36 scott
« This particular version was published on 03-Aug-2010 12:41 by pgaillard.  
Welcome (anonymous guest) Wiki Prefs
JSPWiki v2.8.5-svn-6