Difference between revisions of "Help:Starting a new page"

From eLinux.org
Jump to: navigation, search
 
(22 intermediate revisions by 7 users not shown)
Line 1: Line 1:
These are the routines that turn the juice box in to a cheap serial graphics display.
 
unix_driver.pl is an example  perl unix driver program.
 
winms_driver.pl is an example  perl windows driver program.
 
  
display.c is the c program on the juicebox. Look at this program for documentation.
+
<h2><span class="mw-headline" id="Using_Wikilinks">Using Wikilinks</span></h2>
planet571.jbp and stonehenge.jbp are sample backgrounds but any valid *.jbp can be used as a background. The ex
+
<p>MediaWiki makes it very easy to link wiki pages using a standard syntax (see http://elinux.org/Help:Links). If you (or anyone else) create a link to an article that doesn't exist yet, the link will be coloured red, <span style="color: #ba0000">like this</span>.
driver displays a realtime cpu usage and memory usage on a scrolling grid as well as bargraphs. I alpha blended
+
</p><p>Clicking a red link will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.
ts so the graphics are partially transparent. I have written all of the 12 bit color routines so you have full access to the 4096 colors(I needed them for the alpha blending).
+
</p><p>Once the page has been created, the link will change from <span style="color: #ba0000">red</span> to <span style="color: #002bb8;">blue</span> (<span style="color: #5a3696;">purple</span> for pages you've visited) indicating that the article now exists.
 
+
</p><p>Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later). If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki? Also, how are you expecting visitors to find this page? Normally there is no reason to create a page without first creating a red link to it.
Do the usual make -f display.mak, then load it onto the juice box
+
</p>
example from openocd:
+
<h2><span class="mw-headline" id="From_the_search_page">From the search page</span></h2>
load_binary /home/steve/juice_box/display/comm_1.bin 0x0c001000
+
<p>If you search for a page that doesn't exist (using the search box and “Go” button on the left of the page) then you will be provided with a link to create the new page.  
resume 0x0c001000
+
</p>
 
+
<h2><span class="mw-headline" id="Using_the_URL">Using the URL</span></h2>
or if you are one of the few with a fatjbox just put display.bin on your sd card and run.
+
<p>You can use the wiki's URL for creating a new page. The URL to an article of the wiki is usually something like this:
 
+
</p>
From another terminal window run the perl driver program (note the two nonstandard modules Device::SerialPort 0
+
<ul><li><code>http://www.example.net/index.php/<b>ARTICLE</b></code> &nbsp;&nbsp; or</li>
d Time::HiRes)
+
<li><code>http://www.example.net/wiki/<b>ARTICLE</b></code></li></ul>
example:
+
<p>If you replace <code><b>ARTICLE</b></code> with the name of the page you wish to create, you will be taken to a blank page which indicates that no article of that name exists yet. Clicking the "Edit" <a href="/web/20150416043947/http://elinux.org/Help:Navigation#Page_Tabs" title="Help:Navigation">page tab</a> at the top of the page will take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.
./unix_driver.pl  planet571.jbp
+
</p>
 
+
<h2><span class="mw-headline" id="Create_redirects_to_your_new_page">Create redirects to your new page</span></h2>
The perl driver program supplies the data over the serial port of the pc to the juicebox.
+
<p>Don't forget to set up redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s). See http://elinux.org/Help:Redirects
I assuming that you have a serial port attached to the juice box.
+
</p>
 
+
<h2><span class="mw-headline" id="Add_your_new_page_to_a_category">Add your new page to a category</span></h2>
You can define bitmaps on the pc, download them over the serial port and display them on the juicebox. The barg
+
<p>See http://elinux.org/Help:Categories
raph and the grid are two intrinsic graphics types that the juice box display program already knows about.
+
</p>
 
+
<h2><span class="mw-headline" id="Protecting_your_new_page">Protecting your new page</span></h2>
Future development:
+
<p>Normally a new wiki page can be edited by other people (that is one of the main ideas of a wiki!) However, a sysop could 'http://elinux.org/Help:Protected_pages' the page, if desired, to prevent normal users from editing it.
I hope someone who is clever will rewrite these routines to only use the jtag port. The arm7 has a software bre
+
</p>
ak instruction,so it is possible to watch the jtag port and wait for the display program running on the juicebo
+
<table class="nmbox" style="border:1px solid #AAAAAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.25em 0;">
x to "break", then jtag data into a register and jtag a continue instruction. This would eliminate the costly s
+
<tbody><tr style="background: #EEF3E2">
erial port. You can build a jtag for less than $5. Using the jtag also eliminates the need for the sd/xd hack.
+
<th class="mbox-image" style="white-space: nowrap; padding: 4px 1em; border-right: 1px solid #aaaaaa;"> <b>http://elinux.org/eLinux.org:Language_policy</b></th>
So you can use the juice box as a cheap graphics display for your projects like geeXboX or other HTPC.
+
<td class="mbox-text" style="background: #F6F9ED;"><b><strong class="selflink">English</strong>
 
 
[[Display.tar.gz]]
 

Latest revision as of 03:14, 22 July 2015

Using Wikilinks

MediaWiki makes it very easy to link wiki pages using a standard syntax (see http://elinux.org/Help:Links). If you (or anyone else) create a link to an article that doesn't exist yet, the link will be coloured red, like this.

Clicking a red link will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.

Once the page has been created, the link will change from red to blue (purple for pages you've visited) indicating that the article now exists.

Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later). If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki? Also, how are you expecting visitors to find this page? Normally there is no reason to create a page without first creating a red link to it.

From the search page

If you search for a page that doesn't exist (using the search box and “Go” button on the left of the page) then you will be provided with a link to create the new page.

Using the URL

You can use the wiki's URL for creating a new page. The URL to an article of the wiki is usually something like this:

If you replace ARTICLE with the name of the page you wish to create, you will be taken to a blank page which indicates that no article of that name exists yet. Clicking the "Edit" <a href="/web/20150416043947/http://elinux.org/Help:Navigation#Page_Tabs" title="Help:Navigation">page tab</a> at the top of the page will take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.

Create redirects to your new page

Don't forget to set up redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s). See http://elinux.org/Help:Redirects

Add your new page to a category

See http://elinux.org/Help:Categories

Protecting your new page

Normally a new wiki page can be edited by other people (that is one of the main ideas of a wiki!) However, a sysop could 'http://elinux.org/Help:Protected_pages' the page, if desired, to prevent normal users from editing it.

<tbody>
http://elinux.org/eLinux.org:Language_policy English