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 page (revision-13) was last changed on 06-Mar-2012 14:21 by pgaillard  

This page was created on 03-Aug-2010 11:09 by pgaillard

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
Wiki and shell
!!!Wiki and shell
At line 14 changed 7 lines
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.
!!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 tag that tells JSPWiki to use a plugin (e.g. JfreeChart around some data).
* add menu of contextual actions
* add anchors that can be used to reuse output into new shell commands.
At line 22 changed 8 lines
* 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
* 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
!!Terminal Emulation in JavaScript
Several terminal emulators are available which could be modified to enhance the text they display and or redirect it to web services.
* [Anyterm|http://anyterm.org/]
%%prettify
{{{
<html>
<head>
<title>Anyterm</title>
<script type="text/javascript" src="anyterm.js">
</script>
<script type="text/javascript">
window.onload=function() {
create_term("term1","%h (Anyterm%v)",25,80,"","",50);
};
var on_close_goto_url = "";
</script>
<link rel="stylesheet" type="text/css" href="anyterm.css">
</head>
<body>
<div id="term1"></div>
</body>
</html>
}}}
/%
The JavaScript terminal even handles applications like {{top}} nicely:
[anyterm.png]
* [Gate One|http://liftoffsoftware.com/Products/GateOne]
* [Onion Term|https://github.com/davidmoreno/onion/tree/master/examples/oterm]
!Extend anyterm
It would be nice to have escape characters in a terminal that allow shell scripts and programs to add hyperlinks to the text. Or javascript, for,instance to define a unix command. The user can then click on the text that is thus annotated and follow the hyperlink or see the annotation appear at the prompt
!! Writing to a wiki from the shell
If we have FUSE and a filesystem view of the wiki then it's easy to write to a wiki from the shell.
But one is not always root and some systems don't have fuse. So another idea would be to create a couple of commands that access a wiki and use environment variables.
Ideally curl would be used but authentication is not always easy. So it might be necessary to use a Java/XMLRPC API to acces the wikis:
*[WikiAPI|http://jwikiapi.sourceforge.net/]
* A REST API would be nice to update pages (cf. [WikiWiki#Eliminate Ugly URLs and Modal Views]
Version Date Modified Size Author Changes ... Change note
13 06-Mar-2012 14:21 3.315 kB pgaillard to previous
12 06-Mar-2012 14:16 3.235 kB pgaillard to previous | to last
11 12-Feb-2011 23:45 3.171 kB pgaillard to previous | to last
10 03-Feb-2011 16:46 2.838 kB pgaillard to previous | to last
9 03-Feb-2011 16:45 2.787 kB pgaillard to previous | to last
8 20-Aug-2010 14:42 2.743 kB pgaillard to previous | to last
7 04-Aug-2010 20:37 2.246 kB scott to previous | to last
6 04-Aug-2010 20:35 2.157 kB scott to previous | to last
5 03-Aug-2010 12:42 1.53 kB pgaillard to previous | to last
4 03-Aug-2010 11:41 1.448 kB pgaillard to previous | to last
3 03-Aug-2010 11:40 1.446 kB pgaillard to previous | to last
2 03-Aug-2010 11:09 1.441 kB pgaillard to previous | to last
1 03-Aug-2010 11:09 1.454 kB pgaillard to last
« This page (revision-13) was last changed on 06-Mar-2012 14:21 by pgaillard  
Welcome (anonymous guest) Wiki Prefs
JSPWiki v2.8.5-svn-6