ref: 73c71b7d595577beb9f61553fa8fad03293e66b6
dir: /fqa8.ms/
.\" This troff source is processed to create all forms of the .\" 9FRONT DASH 1 book and the http://fqa.9front.org website. .\" NOTE: Purely experimental. Methods employed may change. .\" troff -ms -mpictures fqa8.ms | page .\" htmlroff -u -ms -mhtml fqa8.ms >fqa8.html .de FG \" .FG <basename> .ie h .html - <img src="\\$1.\\$2" /> .el .BP \\$1.ps .br .. .po 1i \" page offset (from left) .fp 1 R LucidaSans .fp 2 I LucidaSansI .fp 3 B LucidaSansB .fp 4 BI LucidaSansI .fp 5 CW LucidaCW .paragraph 0 .margin 0 .HTML "FQA 8 - Using 9front .html - <style type="text/css">body{font-size:10pt}; a{font-size:10pt}</style> .html - <a href="fqa.html">FQA INDEX</a> | .html - <a href="fqa7.html">FQA 7 - System Management</a> | .html - <a href="fqa9.html">FQA 9 - Troubleshooting</a> .html - <hr /> .SH .LG .ihtml h1 <h1> FQA 8 - Using 9front .ihtml h1 .NL .R .html - <a href="fqa8.html">html</a> | .html - <a href="fqa8.pdf">pdf</a> | .html - <a href="fqa8.ms">troff</a> .FG using9front jpg .html - <br /> .DS .I i am form china here is lots of people knows and documented is chinese the time comllexity is need you test youself and you will find it .R \(em wenwei peng .DE .html - <br /> When applied consistently, simple conventions can combine to provide powerful results. In Plan 9, .I conventions are preferred to .I rules . This section explores the Plan 9 approach to actually using the computer. .html - <a name="8.1" /> .ihtml h2 <h2> .SH 8.1 - rc .R .ihtml h2 The .CW rc shell was written by .ihtml a <a href="http://en.wikipedia.org/wiki/Tom_Duff"> Tom Duff .ihtml a for .ihtml a <a href="http://www.cs.bell-labs.com/10thEdMan"> Research UNIX v10. .ihtml a It was later adopted as the shell for Plan 9. Some of its conventions are unusual compared with other command interpreters influenced by the .ihtml a <a href="http://en.wikipedia.org/wiki/Bourne_shell"> Bourne shell. .ihtml a Although its syntax may seem strange at first, have patience; .CW rc was designed this way on purpose. Once its (few, but powerful) features are internalized, .CW rc simply gets out of the way. Read: .ihtml a <a href="http://doc.cat-v.org/plan_9/4th_edition/papers/rc"> .I Rc - The Plan 9 Shell, .R .ihtml a .ihtml a <a href="http://man.9front.org/1/rc"> .CW rc(1) .ihtml a .html - <a name="8.1.1" /> .ihtml h3 <h3> .SH 8.1.1 - Prompts .R .ihtml h3 Creating an .CW rc function with the same name as your prompt allows you to easily double-click to select at the end of a previously typed line and then .CW send it using the mouse button 2 menu (see the discussion of .CW rio menus, below). This can be used to approximate a form of command history (see also the commands .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/rc/bin/%22"> " .ihtml a and .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/rc/bin/%22%22"> "", .ihtml a which print and execute the previous command, respectively). Add something like this to your .CW $home/profile : .P1 fn term%{ $* } .P2 In .CW rc the .CW ; character forces the end of a line and is treated as a noop when it appears alone, so it is also possible to create a simple prompt that would require no special prompt function in order for the prompt to be effectively ignored when selecting and sending: .P1 prompt=\'; \' .P2 Obviously, the prompt can be named however the user sees fit. .html - <a name="8.1.2" /> .ihtml h3 <h3> .SH 8.1.2 - /env .R .ihtml h3 .B Note: Contents of the .CW /env directory are provided by the kernel and represent a separate accounting of the shell's environment; .CW rc reads .CW /env only on startup, and flushes/writes .CW /env only before executing programs. .html - <a name="8.2" /> .ihtml h2 <h2> .SH 8.2 - rio .R .ihtml h2 .html - <br /> .FG what jpg .CW rio is the Plan 9 window system. More accurately, .CW rio multiplexes input devices with and serves a file interface to a series of rectangles, inside the boundaries of which are drawn an arbitrary arrangement of pixels. Controlling the rectangles is more straightforward, and at the same time more flexible, than what is commonly expected from most "window managers." Read: .ihtml a <a href="http://man.9front.org/1/rio"> .CW rio(1) , .ihtml a .ihtml a <a href="http://man.9front.org/4/rio"> .CW rio(4) .ihtml a To effectively use .CW rio , you need a three button mouse. If you only have a two button mouse you can emulate the middle button by holding down the .CW shift key whilst pressing the right button. .B Note: Button 1, 2, and 3 are used to refer to the left, middle, and right buttons respectively. .html - <a name="8.2.1" /> .ihtml h3 <h3> .SH 8.2.1 - The Pop-up Menu .R .ihtml h3 Pressing and holding down mouse button 3 on the gray desktop or on a shell window will give you a menu with the following options: .ihtml ul <ul> .CW New Resize Move Delete Hide .R .ihtml ul Pressing and holding down mouse button 2 on a shell window results in a menu with the following options: .ihtml ul <ul> .CW cut paste snarf plumb look send scroll .R .ihtml ul Select an item by releasing the button over the menu item. Rio uses the same button that started an action throughout that operation. If you press another button during the action the operation is aborted and any intermediate changes are reversed. Each menu acts as a action verb selector which then requires an object (i.e. window) to be picked to indicate which window the verb is to act on. A further mouse action may then be required. .html - <a name="8.2.2" /> .ihtml h3 <h3> .SH 8.2.2 - Window control .R .ihtml h3 Clicking on a window brings it to the front. You can directly change the shape of a window by clicking and dragging on the edge or corner of the window border. Mouse button 1 or 2 will allow you to drag the edge or corner to a new size, and mouse button 3 will allow you to move the window. The mouse button 3 menu contains a list of all windows that are corrently obstructed by other windows. Selecting a label tops the window. The pop-up menu remembers the last command chosen, so as a shortcut you can just press and release button 3 without moving the mouse between pressing and releasing to select the previous command again. In addition, .CW rio serves a variety of files for reading, writing, and controlling windows. Some of them are virtual versions of system files for dealing with the display, keyboard, and mouse; others control operations of the window system itself. These files, as well as the .ihtml a <a href="http://man.9front.org/1/rio"> .CW window(1) .ihtml a command, allow for controlling windows programmatically by reading and writing text strings. Thus simplifying the automated opening and placement of various windows with user scripts. Read: .ihtml a <a href="http://man.9front.org/4/rio"> .CW rio(4) .ihtml a .html - <a name="8.2.3" /> .ihtml h3 <h3> .SH 8.2.3 - Text in rio windows .R .ihtml h3 Text in a .CW rio window may be freely manipulated, edited, altered, deleted and/or acted upon using either mouse chords or the options from the mouse button menus. (For an example, see the discussion of the use of .CW rc prompts, above.) The special file .CW /dev/text (for the current window), or \f(CW/dev/wsys/\fIn\f(CW/text\fR (for window \fIn\fR) contains all text that has already appeared in the window. The contents of this file may serve as a primitive form of command history (and may be acted upon using standard command line tools), but are lost when the window is closed. Seriously, read: .ihtml a <a href="http://man.9front.org/4/rio"> .CW rio(4) .ihtml a .html - <a name="8.2.4" /> .ihtml h3 <h3> .SH 8.2.4 - Scrolling .R .ihtml h3 By default, a .CW rio window will fill up with text and then block, obviating the need for a separate pager program (though the .ihtml a <a href="http://man.9front.org/1/p"> .CW p(1) .ihtml a pager program still ships with the system). Endless scrolling may be enabled by selecting .CW scroll from the mouse button 2 menu. The .CW up or .CW down arrow keys and .CW pgup or .CW pgdwn keys may be used to scroll up or down in consistently measured increments. Holding down the .CW shift key and pressing the up or down arrow key will scroll a single line in the respective direction. 9front's .CW rio supports mousewheel scrolling. The heuristic employed is roughly the same as that of clicking in the scrollbar on the left of the window: when the mouse pointer is near the top of the window the scrolling increment is small, while as the mouse pointer approaches the bottom of the window the scrolling increment grows progressively larger. Presently this behavior is limited to .CW rio , .CW sam , and .CW mothra but may later be extended to other programs. .B Note: While the behavior of the arrow and page keys is fairly consistent between programs, mousewheel scrolling is not. So far, .CW shift + .CW up or .CW down is only supported in .CW rio windows. .html - <a name="8.2.5" /> .ihtml h3 <h3> .SH 8.2.5 - Mouse Chording .R .ihtml h3 Almost anywhere \(em .ihtml a <a href="http://man.9front.org/1/sam"> .CW sam(1) , .ihtml a .ihtml a <a href="http://man.9front.org/1/acme"> .CW acme(1) , .ihtml a .ihtml a <a href="http://man.9front.org/1/rio"> .CW window(1) .ihtml a \(em you can use the following mouse chords: .CW mb1 \(em Select text. .CW mb1 double click .R \(em Select word under cursor, or at the end/start of a line, select the whole line. After selecting with .CW mb1 and while still holding .CW mb1 down (these chords also work with text selected by double-clicking, the double-click expansion happens when the second click starts, not when it ends): .CW mb2 \(em Cut text. .CW mb3 \(em Paste text (can be reverted by clicking .CW mb2 immediately afterwards). To snarf (copy), click .CW mb2 immediately followed by .CW mb3 . .html - <a name="8.2.6" /> .ihtml h3 <h3> .B 8.2.6 - Keyboard Shortcuts .R .ihtml h3 Almost anywhere \(em .ihtml a <a href="http://man.9front.org/1/sam"> .CW sam(1) , .ihtml a .ihtml a <a href="http://man.9front.org/1/acme"> .CW acme(1) , .ihtml a .ihtml a <a href="http://man.9front.org/1/rio"> .CW window(1) .ihtml a \(em you can use the following shortcuts: .CW Ctrl-u \(em Delete from cursor to start of line. .CW Ctrl-w \(em Delete word before the cursor. .CW Ctrl-h \(em Delete character before the cursor. .CW Ctrl-a \(em Move cursor to start of the line. .CW Ctrl-e \(em Move cursor to end of the line. .CW Ctrl-b \(em Move cursor to the position immediately after the prompt. (\f(CWrio\fR only) Read: .ihtml a <a href="http://unix-kb.cat-v.org"> UNIX Keyboard Bindings .ihtml a In a .ihtml a <a href="http://man.9front.org/1/rio"> .CW rio(1) .ihtml a window, scroll up or down one line by holding .CW shift and pressing the up or down arrow. .html - <a name="8.2.7" /> .ihtml h3 <h3> .SH 8.2.7 - Color scheme .R .ihtml h3 .CW rio looks like this: .FG rio-bell-labs png \f(CWrio\fR's color scheme may be modified by editing the .c configuration files and re-compiling: .FG rio-custom png .B Note: Someone will mock you for doing this. See: .ihtml a <a href="http://plan9.stanleylieber.com/rio"> http://plan9.stanleylieber.com/rio .ihtml a .ihtml a <a href="http://genius.cat-v.org/rob-pike"> Rob Pike, .ihtml a rio's author, was all like: .ihtml ul <ul> .QS the clean appearance of the screen comes mostly from laziness, but the color scheme is (obviously) deliberate. the intent was to build on an observation by edward tufte that the human system likes nature and nature is full of pale colors, so something you're going to look at all day might best serve if it were also in relaxing shades. renee french helped me with the specifics of the color scheme (she's a professional illustrator and my color vision is suspect), once i'd figured out how i wanted it to look. there are still some features of the color system that i put in that i think no one has ever noticed. that's a good thing, in my opinion; the colors should fade away, if you'll pardon the expression. having used other systems with different approaches to color screens, most especially windows XP (extra pukey), i think tufte was right. .QE .ihtml ul .ihtml a <a href="http://9fans.net/archive/2003/09/442"> Rob Pike, 2003 .ihtml a .ihtml ul <ul> .QS The color scheme was an attempt to honor a point made originally in a little brochure by Edward Tufte that the colors of nature are soft and quiet and peaceful to look at, while most computer screens are covered in glaring bright colors. When color came to the system I wanted it to be pleasant. .QE .ihtml ul .ihtml a <a href="http://9fans.net/archive/2008/06/499"> Rob Pike, 2008 .ihtml a See: .ihtml a <a href="http://www.edwardtufte.com/"> edwardtufte.com .ihtml a .html - <a name="8.2.8" /> .ihtml h3 <h3> .SH 8.2.8 - Why is rio like this? .R .ihtml h3 .html - <br /> .FG mouse gif Window systems should be transparent. That's the argument put forward in .ihtml a <a href="http://doc.cat-v.org/bell_labs/transparent_wsys/"> the famous paper .ihtml a by rio's author, .ihtml a <a href="http://genius.cat-v.org/rob-pike/"> Rob Pike. .ihtml a .FG mouse2 gif Beyond this, Rob offered .ihtml a <a href="http://9fans.net/archive/2001/05/262"> an explanantion .ihtml a (in response to a question on the 9fans mailing list) of some of the choices made in the design of .CW 8½ and .CW rio : .ihtml ul <ul> .QS > functioning cursor keys would still be a speed benefit. This feels true but is false. There were some fascinating experiments done a few years ago in which people were given a long, tedious editing task. Some of the people were keyboard fans, some were mouse fans. Both folks were asked to do the task two ways, in random order, once using the mouse to do the editing, once using cursor keys etc. Regardless of their predilections, which was stated up front, after the experiment everyone who did the task agreed that it was faster to use the keyboard than the mouse to complete the task. Everyone. Here's the kicker: everyone was wrong. They were being timed, and in fact the reverse was true. Although they thought the keyboard was faster, doing the task using the mouse was faster for everyone, by a substantial fraction. The explanation, besides the obvious that arrow keys are actually pretty slow if you're going more than a line or character, is that people feel the mouse wastes time because you need to grab it and move it, but it's time well spent. The part of the brain that uses keyboard commands to move the cursor is a higher-order function, and thinking and planning how to use the keys to get to the destination blocks thinking about the editing task at hand. But using the mouse is done by a lower-order part of the brain, which keeps the editing part of the brain clear. There's less task switching going on when you use the mouse, so you work more efficiently. If you don't believe me, the story is here: http://www.asktog.com/readerMail/1999-12ReaderMail.html Thanks to some forgotten 9fan who mentioned this a while back. I didn't know about these experiments when I said, long ago, that using arrow keys to point at a display is like telling someone how to go somewhere by giving directions, while using a mouse is like pointing at a map. In fact, I never used a screen editor until I had a mouse, for just this reason. .QE .ihtml ul .ihtml a <a href="http://9fans.net/archive/2001/05/262"> Rob Pike, 2001 .ihtml a .html - <a name="8.2.9" /> .ihtml h3 <h3> .SH 8.2.9 - tips .R .ihtml h3 .html - <a name="8.2.9.1" /> .ihtml h4 <h4> .SH 8.2.9.1 - Taking a screenshot .R .ihtml h4 To capture the entire screen: .P1 topng </dev/screen >screen.png .P2 To capture only the current window: .P1 topng </dev/window >window.png .P2 It is also possible to capture .I other windows: .P1 topng </dev/wsys/\fIn\fR/window >window.png .P2 where .I n is the number of the window being captured. Read: .ihtml a <a href="http://man.9front.org/4/rio"> .CW rio(4) .ihtml a .html - <a name="8.2.9.2" /> .ihtml h4 <h4> .SH 8.2.9.2 - Prevent console messages from overwriting the screen .R .ihtml h4 To capture console messages in a .CW rio window, open a new window and: .P1 cat /dev/kprint .P2 .html - <a name="8.3" /> .ihtml h2 <h2> .SH 8.3 Text Editors .R .ihtml h2 .html - <a name="8.3.1" /> .ihtml h3 <h3> .SH 8.3.1 - sam .R .ihtml h3 The text editor .CW sam was created by .ihtml a <a href="http://genius.cat-v.org/rob-pike"> Rob Pike .ihtml a for .ihtml a <a href="http://doc.cat-v.org/unix/"> Research UNIX V9 .ihtml a (circa 1986), and later included with Plan 9. See: .ihtml a <a href="http://sam.cat-v.org"> http://sam.cat-v.org .ihtml a Read: .ihtml a <a href="http://doc.cat-v.org/plan_9/4th_edition/papers/sam/"> .I The Text Editor sam .R .ihtml a \(em The original paper by Rob Pike. .ihtml a <a href="http://doc.cat-v.org/bell_labs/sam_lang_tutorial/"> .I A Tutorial for the Sam Command Language .R .ihtml a \(em Documents the editing language. .ihtml a <a href="http://sam.cat-v.org/cheatsheet/"> .I sam quick reference card .R .ihtml a .ihtml a <a href="http://man.9front.org/1/sam"> .CW sam(1) .ihtml a man page .FG danflavin jpg .ihtml a <a href="http://www.moma.org/collection/artist.php?artist_id=1911"> Dan Flavin, .ihtml a .I Document for Untitled (to the “innovator” of Wheeling Peachblow), .R 1968 .html - <a name="8.3.1.1" /> .ihtml h4 <h4> .SH 8.3.1.1 - Scrolling .R .ihtml h4 9front's slightly modified version of .CW sam supports mousewheel scrolling in the same manner as .CW rio . Read: .ihtml a <a href="fqa8.html#8.2.4"> .I FQA 8.2.4 - Scrolling .R .ihtml a .html - <a name="8.3.1.2" /> .ihtml h4 <h4> .SH 8.3.1.2 - Mouse Chording .R .ihtml h4 9front .CW sam supports the same mouse chording as .CW rio . Read: .ihtml a <a href="fqa8.html#8.2.5"> .I FQA 8.2.5 - Mouse Chording .R .ihtml a .html - <a name="8.3.1.3" /> .ihtml h4 <h4> .SH 8.3.1.3 - Why does sam have a separate snarf buffer from rio? .R .ihtml h4 The program's author, .ihtml a <a href="http://genius.cat-v.org/rob-pike"> Rob Pike, .ihtml a says: .ihtml ul <ul> .QS was a consequence of running over 1200 baud when sam was first written. you didn't want every cut and paste to bounce off the remote end at that speed. nowadays that argument has less weight. on the other hand, i still kinda like that you can have an editing session that doesn't corrupt what you have in rio's snarf buffer. i tried the unified way in acme and i often (not always) miss the old way. .QE .ihtml ul .ihtml a <a href="http://9fans.net/archive/2003/07/137"> Rob Pike, 2003 .ihtml a .html - <a name="8.3.1.4" /> .ihtml h4 <h4> .SH 8.3.1.4 - Keyboard Shortcuts .R .ihtml h4 .CW Esc \(em Cut (and consequently, snarf) the selected text. .CW Ctrl-b \(em Switch focus to the edit window. .html - <a name="8.3.2" /> .ihtml h3 <h3> .SH 8.3.2 - acme .R .ihtml h3 .DS .I There is also an alternative user interface, acme(4), that some people use as their editor. .R \(em Geoff Collyer .DE .FG cyclogram gif .ihtml a <a href="http://www.edwardtufte.com/tufte/posters"> Handmade cyclogram .ihtml a by Russian cosmonaut, Georgi Grechko. .html - <a name="8.4" /> .ihtml h2 <h2> .SH 8.4 - Internet .R .ihtml h2 .html - <br /> .FG internet jpg Sending and receiving bits via alien protocols. .html - <a name="8.4.1" /> .ihtml h3 <h3> .SH 8.4.1 - Mail .R .ihtml h3 Read: .ihtml a <a href="http://man.9front.org/1/mail"> .CW mail(1) , .ihtml a .ihtml a <a href="fqa7.html#7.7"> .I FQA 7.7 - Mail server configuration and maintenance .R .ihtml a .html - <a name="8.4.1.1" /> .ihtml h4 <h4> .SH 8.4.1.1 - upasfs .R .ihtml h4 From .ihtml a <a href="http://man.9front.org/4/upasfs"> .CW upasfs(4) : .ihtml a .ihtml ul <ul> .QS Fs is a user level file system that caches mailboxes and presents them as a file system. A user normally starts fs in his/her profile after starting plumber(4) and before starting a window system, such as rio(1) or acme(1). The file system is used by nedmail(1), acme(1)'s mail reader, and imap4d and pop3 (both pop3(8)) to parse messages. Fs also generates plumbing messages used by biff and faces(1) to provide mail announcements. .QE .ihtml ul Read: .ihtml a <a href="http://man.9front.org/4/upasfs"> .CW upasfs(4) , .ihtml a .ihtml a <a href="http://man.9front.org/8/pop3"> .CW pop3(8) , .ihtml a .ihtml a <a href="http://man.9front.org/1/faces"> .CW faces(1) .ihtml a .html - <a name="8.4.1.1.1" /> .ihtml h5 <h5> .SH 8.4.1.1.1 - Reading gmail via IMAP .R .ihtml h5 .P1 upas/fs -f /imaps/imap.gmail.com/[email protected] .P2 The first time this command is run, you should see an error that looks something like this: .P1 upas/fs imap: server certificate 22471E10D5C1E41768048EF5567B27F532F33 not recognized upas/fs: opening mailbox: bad server certificate .P2 To add this certificate to your system, type: .P1 echo \'x509 sha1=22471E10D5C1E41768048EF5567B27F532F33\' \e >>/sys/lib/tls/mail .P2 Once .CW upas/fs is running, you can open as many additional gmail mailboxes (labels) as you wish: .P1 echo open /imaps/imap.gmail.com/[email protected]/yourlabel \e yourlabel >/mail/fs/ctl .P2 .B Note: .CW upas/fs reads the entire mailbox into RAM, which means it may fail to load mailboxes that exceed the available system memory. This problem has been addressed in Erik Quanstrom's .ihtml a <a href="fqa8.html#8.4.1.3"> nupas, .ihtml a which reads the mailbox into an index file, then performs new operations on the index where possible. .html - <a name="8.4.1.2" /> .ihtml h4 <h4> .SH 8.4.1.2 - nedmail .R .ihtml h4 .CW nedmail is a command line mail client similar to the classic mail client shipped with .ihtml a <a href="http://doc.cat-v.org/unix/"> Research UNIX. .ihtml a Read: .ihtml a <a href="http://man.9front.org/1/nedmail"> .CW nedmail(1) .ihtml a .html - <a name="8.4.1.3" /> .ihtml h4 <h4> .SH 8.4.1.3 - nupas .R .ihtml h4 Read: .ihtml a <a href="http://plan9.stanleylieber.com/_books/comp/unix/research/nupas.pdf"> .I Scaling Upas, .R .ihtml a by Erik Quanstrom .html - <p>Download, pre-patched for 9front: <a href="http://plan9.stanleylieber.com/src/nupas.tgz">nupas.tgz</a> .B Note: Installing .CW nupas replaces the system's default .CW upas . Read the included .CW README.9front and .CW mkfile before attempting to install. .html - <a name="8.4.2" /> .ihtml h3 <h3> .SH 8.4.2 - NNTP .R .ihtml h3 Read: .ihtml a <a href="http://man.9front.org/1/newt"> .CW newt(1) , .ihtml a <a href="http://man.9front.org/4/nntpfs"> .CW nntpfs(4) .ihtml a .html - <a name="8.4.3" /> .ihtml h3 <h3> .SH 8.4.3 - IRC .R .ihtml h3 .html - <a name="8.4.3.1" /> .ihtml h4 <h4> .SH 8.4.3.1 - ircrc .R .ihtml h4 .CW ircrc is an IRC client implemented in .CW rc . It is included with 9front. Read: .ihtml a <a href="http://man.9front.org/1/ircrc"> .CW ircrc(1) .ihtml a .html - <a name="8.4.3.2" /> .ihtml h4 <h4> .SH 8.4.3.2 - irc7 .R .ihtml h4 A persistent IRC client was written in the c programming language by Andrey Mirtchovski. It has been modified slightly by 9front users (mainly, adding an .CW -e flag to the .CW ircsrv program that implements SSL connections). .html - Download it here: <a href="http://9front.org/extra/irc7.tgz">irc7.tgz</a> .html - <a name="8.4.4" /> .ihtml h3 <h3> .SH 8.4.4 - FTP .R .ihtml h3 Read: .ihtml a <a href="http://man.9front.org/4/ftpfs"> .CW ftpfs(4) .ihtml a .html - <a name="8.4.5" /> .ihtml h3 <h3> .SH 8.4.5 - HTTP .R .ihtml h3 .html - <br /> .FG wwwhat gif .html - <a name="8.4.5.1" /> .ihtml h4 <h4> .SH 8.4.5.1 - mothra .R .ihtml h4 .html - <br /> .FG betweenthelines jpg .CW mothra is a trivial web browser written in 1995 by Tom Duff. It ignores Javascript, CSS and many HTML tags. It was dropped from Plan 9 after the 2nd Edition, but has been picked up and (somewhat) refined for 9front. .CW mothra now uses .CW webfs , and no longer supports non-HTTP protocols. Read: .ihtml a <a href="http://man.9front.org/1/mothra"> .CW mothra(1) , .ihtml a .ihtml a <a href="http://man.9front.org/4/webfs"> .CW webfs(4) .ihtml a .html - <a name="8.4.5.2" /> .ihtml h4 <h4> .SH 8.4.5.2 - abaco .R .ihtml h4 no. .html - <a name="8.4.5.3" /> .ihtml h4 <h4> .SH 8.4.5.3 - hget .R .ihtml h4 .CW hget is a command line HTTP client (similar to programs such as .CW curl or .CW wget ) that started out as a c program in Plan 9 from Bell Labs, but was re-implemented in .CW rc for 9front. .CW hget now uses .CW webfs and no longer supports non-HTTP protocols. Read: .ihtml a <a href="http://man.9front.org/1/hget"> .CW hget(1) , .ihtml a .ihtml a <a href="http://man.9front.org/4/webfs"> .CW webfs(4) .ihtml a .html - <a name="8.4.5.4" /> .ihtml h4 <h4> .SH 8.4.5.4 - charon .R .ihtml h4 The .ihtml a <a href="http://en.wikipedia.org/wiki/Inferno_os"> Inferno .ihtml a operating system can be run hosted on Plan 9, and includes a GUI web browser called .ihtml a <a href="http://en.wikipedia.org/wiki/Charon_(web_browser)"> charon, .ihtml a which implements ECMASCRIPT 1.0 as well as additional HTML attributes. .B Note: .CW charon is ancient and is not really a sufficient replacement for 9front's web browsers. The rudimentary javascript support can be useful for some simple tasks. .html - <a name="8.4.5.5" /> .ihtml h4 <h4> .SH 8.4.5.5 - i .R .ihtml h4 There exists an unfinished/buggy port of .CW charon from Inferno's limbo programming language to Plan 9 c. .html - Source is available here: <a href="http://plan9.stanleylieber.com/src/i.tgz">i.tgz</a> .html - <a name="8.4.6" /> .ihtml h3 <h3> .SH 8.4.6 - SSH .R .ihtml h3 Several SSH clients exist for Plan 9, none of which are perfect. .html - <a name="8.4.6.1" /> .ihtml h4 <h4> .SH 8.4.6.1 - ssh .R .ihtml h4 9front ships with the original Plan 9 native SSH1 client from Bell Labs. Read: .ihtml a <a href="http://man.9front.org/1/ssh"> .CW ssh(1) .ihtml a .html - <a name="8.4.6.2" /> .ihtml h4 <h4> .SH 8.4.6.2 - ssh2 .R .ihtml h4 Programmers at .ihtml a <a href="http://www.coraid.com"> Coraid .ihtml a created a Plan 9 native SSH2 client that was picked up (and completely rewritten) by Bell Labs. It is currently not included with 9front. .html - Download the Bell Labs version (pre-patched for 9front) here: <a href="http://plan9.stanleylieber.com/src/ssh2.tgz">ssh2.tgz</a> .B Note: There are bugs and expected features are missing. Consult the source. .html - <a name="8.4.6.3" /> .ihtml h4 <h4> .SH 8.4.6.3 - scpu .R .ihtml h4 Two 9front users (taruti and mischief) worked on an SSH2 client written in the .ihtml a <a href="golang.html"> Go programming language. .ihtml a It has been extended to work with Plan 9 .ihtml a <a href="http://man.9front.org/4/factotum"> factotum(4), .ihtml a but still does not fully honor complex Plan 9 .ihtml a <a href="http://man.9front.org/2/dial"> dial(2) .ihtml a strings. .html - Download it here: <a href="https://bitbucket.org/mischief/scpu">https://bitbucket.org/mischief/scpu</a>. .html - <a name="8.4.6.4" /> .ihtml h4 <h4> .SH 8.4.6.4 - OpenSSH .R .ihtml h4 Plan 9 user fgb ported OpenSSH 4.7p1, OpenSSL 0.9.8g 19 Oct 2007 to Plan 9. It is available in his contrib directory (on the Bell Labs server), or a 386 binary is available here (to install, unpack it over /): .ihtml a <a href="http://plan9.stanleylieber.com/pkg/386/openssh-2012.03.15.tbz"> openssh.tgz. .ihtml a .html - <a name="8.4.6.5" /> .ihtml h4 <h4> .SH 8.4.6.5 - sftpfs .R .ihtml h4 An implementation of sftpfs was created for Plan 9 that can work with either the native SSH clients or fgb's OpenSSH port. .html - Download it here: <a href="http://plan9.stanleylieber.com/src/sftpfs.tgz">sftpfs.tgz</a> .html - <a name="8.4.6.5.1" /> .ihtml h5 <h5> .SH 8.4.6.5.1 - Mounting a remote u9fs share over SSH .R .ihtml h5 The .CW u9fs program runs on UNIX and serves an unencrypted .ihtml a <a href="http://man.9front.org/2/9p"> .CW 9P(2) .ihtml a share. It is possible to mount such a share over SSH. With .CW ssh2 : .P1 srv -s 5 -e \'ssh2 -l sl wm \'\'/usr/local/bin/u9fs \e -u sl -na none\'\'\' wm /n/wm .P2 With .CW scpu : .P1 srv -s 5 -e \'scpu -u sl -h wm -c \e \'\'/usr/local/bin/u9fs -u sl -na none\'\'\' wm /n/wm .P2 In both cases, an SSH connection is opened to remote UNIX host .CW wm , logged in with user .CW sl and mounted on Plan 9 under .CW /n/wm . Read: .ihtml a <a href="http://man.9front.org/4/u9fs"> .CW u9fs(4) , .ihtml a .ihtml a <a href="http://man.9front.org/4/srv"> .CW srv(4) .ihtml a .html - <a name="8.4.7" /> .ihtml h3 <h3> .SH 8.4.7 - secstore .R .ihtml h3 Typing in lots of passwords over and over again is annoying. Secstore authenticates to a secure-store server using a password and optionally a hardware token, then saves or retrieves a file. This is intended to be a credentials store (public/private keypairs, passwords, and other secrets) for a .CW factotum . Read: .ihtml a <a href="fqa7.html#7.4.3"> .I FQA 7.4.3 - secstored .R .ihtml a for information on setting up the secstore server, and: .ihtml a <a href="fqa7.html#7.4.3.1"> .I FQA 7.4.3.1 - Adding users to secstore .R .ihtml a to add users. Once a user has been added to .CW secstored , the user may add to the file read by .CW factotum at startup. To do so, open a new window and type .P1 % ramfs -p; cd /tmp % auth/secstore -g factotum secstore password: [user's secstore password] % echo \'key proto=apop dom=x.com user=ehg !password=hi\' >> factotum % auth/secstore -p factotum secstore password: [user's secstore password] % read -m factotum > /mnt/factotum/ctl .P2 and delete the window. The first line creates an ephemeral memory-resident workspace, invisible to others and automatically removed when the window is deleted. The next three commands fetch the persistent copy of the secrets, append a new secret, and save the updated file back to secstore. The final command loads the new secret into the running .CW factotum . The .CW ipso command packages this sequence into a convenient script to simplify editing of files stored on a secure store. It copies the named files into a local .CW ramfs and invokes .CW \$editor on them. When the editor exits, .CW ipso prompts the user to confirm copying modifed or newly created files back to secstore. If no file is mentioned, .CW ipso grabs all the user's files from secstore for editing. By default, .CW ipso will edit the secstore files and, if one of them is named factotum, flush current keys from .CW factotum and load the new ones from the file. Read: .ihtml a <a href="http://man.9front.org/1/secstore"> .CW secstore(1) , .ihtml a .ihtml a <a href="http://man.9front.org/8/secstore"> .CW secstore(8) .ihtml a .html - <a name="8.4.8" /> .ihtml h3 <h3> .SH 8.4.8 - drawterm .R .ihtml h3 .CW drawterm is a program that users of non-Plan 9 systems can use to establish graphical cpu connections with Plan 9 cpu servers. Just as a real Plan 9 terminal does, .CW drawterm serves its local name space as well as some devices (the keyboard, mouse, and screen) to a remote cpu server, which mounts this name space on .CW /mnt/term and starts a shell. Typically, either explicitly or via the profile, one uses the shell to start .CW rio . The original version is effectively abandoned, but is available here: .ihtml a <a href="http://swtch.com/drawterm"> .CW http://swtch.com/drawterm .ihtml a .FG embraceextendextinguish png There also exists a fork of Russ Cox's drawterm to incorporate features from Plan9front (http://9front.org), most importantly DP9IK authentication support (see authsrv(6)) and the TLS based rcpu(1) protocol: .ihtml a <a href="http://drawterm.9front.org"> .CW http://drawterm.9front.org .ihtml a .html - <a name="8.5" /> .ihtml h2 <h2> .SH 8.5 - Audio .R .ihtml h2 Read: .ihtml a <a href="http://man.9front.org/1/audio"> .CW audio(1) , .ihtml a .ihtml a <a href="http://man.9front.org/3/audio"> .CW audio(3) .ihtml a .html - <a name="8.6" /> .ihtml h2 <h2> .SH 8.6 - External Media .R .ihtml h2 .html - <a name="8.6.1" /> .ihtml h3 <h3> .SH 8.6.1 - Mount an ISO9660 CD-ROM .R .ihtml h3 .P1 mount <{9660srv -s} /n/iso /dev/sdD1/data # cd-rom drive .P2 or: .P1 mount <{9660srv -s} /n/iso /path/to/9front.iso .P2 Read: .ihtml a <a href="http://man.9front.org/4/dossrv"> .CW dossrv(4) .ihtml a .html - <a name="8.6.2" /> .ihtml h3 <h3> .SH 8.6.2 - Burn a CD-ROM .R .ihtml h3 .P1 cdfs cp 9front.iso /mnt/cd/wd rm /mnt/cd/wd .P2 Read: .ihtml a <a href="http://man.9front.org/4/cdfs"> .CW cdfs(4) .ihtml a .html - <a name="8.6.3" /> .ihtml h3 <h3> .SH 8.6.3 - Mount a FAT formatted USB device .R .ihtml h3 FAT formatted USB devices are automatically mounted under the .CW /shr directory. .B Note: Devices must be FAT or FAT32 formatted; exFAT is not supported. .html - <a name="8.7" /> .ihtml h2 <h2> .SH 8.7 - Emulation .R .ihtml h2 .html - <a name="8.7.1" /> .ihtml h3 <h3> .SH 8.7.1 - Linux Emulation .R .ihtml h3 .html - <br /> .FG linuxburden jpg .CW linuxemu is a program that can execute Linux/i386 ELF binaries on Plan 9. Semi-modern web browsers and other Linux programs may be run using .CW linuxemu (if necessary, in conjunction with the .CW equis X11 server). .html - <p>Download it here: <a href="http://plan9.stanleylieber.com/src/linuxemu3.tgz">linuxemu3.tgz</a><p>The equis X11 server is available from <a href="http://9front.org/extra/">9front.org/exra/</a>, or <a href="http://www.quanstro.net/magic/man2html/1/contrib">contrib(1)</a>). .B Note: .CW linuxemu can only be run on a Plan 9 system booted with a .CW 386 kernel and binaries. BOOTSTRAP To run .CW linuxemu , you need a Linux root file system packed into a tarball: .ihtml a <a href="http://felloff.net/usr/cinap_lenrek/mroot-linuxemu.tbz"> http://felloff.net/usr/cinap_lenrek/mroot-linuxemu.tbz .ihtml a .ihtml a <a href="http://plan9.stanleylieber.com/linuxemu/mroot.tgz"> http://plan9.stanleylieber.com/linuxemu/mroot.tgz .ihtml a The .CW mroot-linuxemu.tbz version contains no symlinks and can be extracted with plain Plan 9 tools .CW bunzip and .CW tar . The .CW mroot.tgz version contains the same Debian Sarge base as .CW mroot-linuxemu.tbz , but with several additional packages pre-installed: .ihtml ul <ul> .IP 9base dmenu-4.1.1 dwm-5.8.2 gcc 3.3.5 linux-kernel-headers mercurial 0.9.4 opera 10.11 python 2.3.5 xlib-dev .LP .ihtml ul and more. You can create your own .CW mroot with .CW debootstrap on Debian Linux, or help write an installer that unpacks and installs an alternative distribution on Plan 9... In any case, .CW linuxemu is not hardwired to any Linux distribution! RUNNING Use the provided .CW linux script to chroot into your Linux .CW mroot . The .CW linux script is neccesary because for Linux programs to run, shared libraries from your .CW mroot have to appear in its .CW /lib and .CW /usr/lib directories, while configuration files are expected to be in .CW /etc . The script will build a private namespace and then bind the Linux .CW mroot over the Plan 9 root. The original Plan 9 namespace is mounted within .CW linuxemu under .CW /9 . Assuming .CW mroot is located in the current directory, start .CW linuxemu like this: .P1 linux -r ./mroot /bin/bash -i .P2 If the .CW -r option is omitted, the Linux .CW mroot defaults to .CW /sys/lib/linux on the Plan 9 machine. In the Linux .CW mroot , .CW /etc/resolv.conf should be changed to match your network nameserver. In addition, .CW /etc/apt/sources.list should be updated to a working Debian mirror. Sarge packages can still be accessed at: .CW deb http://archive.debian.org/debian-archive/debian sarge main .R EXAMPLES Linux X11 programs may be used in conjunction with the .CW equis X11 server. For example, to run the Opera web browser under your Linux .CW mroot , start .CW equis in a .CW rio window, start .CW linuxemu in another .CW rio window and then from within .CW linuxemu : .P1 dwm & # X11 window manager opera & # web browser .P2 Opera should (eventually) appear in the .CW equis window. A window manager (this example uses dwm) is recommended so that X11 programs interact with window resources properly. DEBUGGING If .CW linuxemu crashes, use acid to figure out whats going on: .P1 mk acid acid -l linuxemu.acid <pid> .P2 Then you can issue the following commands: .P1 ustk() .P2 dump a (userspace) stacktrace for the current thread: .P1 umem(Current()) dump the memory mappings ufds(Current()) dump the filedescriptor table utrace(Current()) dump the internal tracebuffer (enabled by -d option) .P2 Use .CW xasm() and .CW xcasm() for disassembly for Linux code. Read: .ihtml a <a href="http://man.9front.org/1/acid"> .CW acid(1) .ihtml a You can also enable full trace logging: .P1 linux -r ./mroot -dd /bin/bash -i >[2]/tmp/linuxemu.log .P2 This slows .CW linuxemu down considerably. In case of race conditions, it often happens that the bug disapears when doing full trace logging! .html - <a name="8.7.2" /> .ihtml h3 <h3> .SH 8.7.2 - Nintendo .R .ihtml h3 .html - <br /> .FG nintendo png Emulators for several Nintendo video game consoles ship with the system: .ihtml ul <ul> .IP .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/games/gb"> gb .ihtml a \(em Game Boy .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/games/gba"> gba .ihtml a \(em Game Boy Advance .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/games/nes"> nes .ihtml a \(em Nintendo Entertainment System .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/games/snes"> snes .ihtml a \(em Super Nintendo Entertainment System .LP .ihtml ul Read: .ihtml a <a href="http://man.9front.org/1/nintendo"> .CW nintendo(1) .ihtml a .html - <a name="8.7.3" /> .ihtml h3 <h3> .SH 8.7.3 - Sega .R .ihtml h3 .html - <br /> .FG sega png An emulator for the Sega Megadrive/Genesis video game console ships with the system: .ihtml ul <ul> .IP .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/games/md"> md .ihtml a \(em Sega Mega Drive/Genesis .LP .ihtml ul Read: .ihtml a <a href="http://man.9front.org/1/sega"> .CW sega(1) .ihtml a .html - <a name="8.7.4" /> .ihtml h3 <h3> .SH 8.7.4 - Commodore .R .ihtml h3 .html - <br /> .FG c64 jpg An emulator for the Commodore 64 home computer ships with the system: .ihtml ul <ul> .IP .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/games/c64"> c64 .ihtml a \(em Commodore 64 .LP .ihtml ul Read: .ihtml a <a href="http://man.9front.org/1/commodore"> .CW commodore(1) .ihtml a .html - <a name="8.8" /> .ihtml h2 <h2> .SH 8.8 - Additional Software .R .ihtml h2 .html - <a name="8.8.1" /> .ihtml h3 <h3> .SH 8.8.1 - 9front sources server .R .ihtml h3 Additional 9front software is available from a 9P share that is accessible from any Plan 9 system: .P1 9fs 9front .P2 The following files and directories will then be available under .CW /n/ : .ihtml ul <ul> .IP .CW 9front/ \(em 9front source .CW 9front.torrent \(em torrent of current 9front ISO image .CW bugs/ \(em bug reports .CW contrib/ \(em user contributed software .CW extra/ \(em third party software source .CW fqa/ \(em troff sources for 9front Frequently Questioned Answers .CW hardware/ \(em known working hardware (sysinfo, firmware, manuals, etc.) .CW iso/ \(em current 9front ISO image(s) .CW sources/ \(em mostly complete mirror of Bell Labs sources server .LP .ihtml ul .html - <a name="8.8.2" /> .ihtml h3 <h3> .SH 8.8.2 - 9front contrib .R .ihtml h3 Some 9front users maintain a contrib directory on an official 9front 9P share (similar to the .ihtml a <a href="http://www.plan9.bell-labs.com/wiki/plan9/Contrib_index/fqa.html"> contrib .ihtml a arrangement provided by Bell Labs) that is accessible from any Plan 9 system: .P1 9fs 9front .P2 User directories will then be available under .CW /n/contrib/ . .html - <a name="8.8.3" /> .ihtml h2 <h2> .SH 8.8.3 - Other public 9p servers .R .ihtml h2 A list of active public 9p servers is maintained here: .ihtml a <a href="http://www.9paste.net/qrstuv/9pindex"> .CW http://www.9paste.net/qrstuv/9pindex .R .ihtml a .html - <a name="8.9" /> .ihtml h2 <h2> .SH 8.9 - Bootstrapping architectures not included on the ISO .R .ihtml h2 .html - <a name="8.9.1" /> .ihtml h3 <h3> .SH 8.9.1 - amd64 .R .ihtml h3 To setup the .CW amd64 port, install the .CW 386 port from the ISO, then cross compile and install the .CW amd64 binaries and kernel. Read: .ihtml a <a href="fqa5.html#5.2.2.1"> .I FQA 5.2.2.1 - Cross compiling, .R .ihtml a .ihtml a <a href="fqa7.html#7.2.5"> .I FQA 7.2.5 - How do I install a new kernel? .R .ihtml a .html - <a name="8.9.2" /> .ihtml h3 <h3> .SH 8.9.2 - Raspberry Pi .R .ihtml h3 The most convenient way to use an rpi is to cross compile and install the .CW arm binaries and the .CW bcm kernel on the network file server, and then tcp boot the rpi. Read: .ihtml a <a href="fqa5.html#5.2.2.1"> .I FQA 5.2.2.1 - Cross compiling, .R .ihtml a .ihtml a <a href="fqa6.html#6.7.1"> .I FQA 6.7.1 - How do I tcp boot? .R .ihtml a Outdated and possibly confusing instructions for installing directly onto the rpi's sd card are detailed in .ihtml a <a href="appendixj.html"> .I Appendix J - Junk .R .ihtml a .html - <a name="8.10" /> .ihtml h2 <h2> .SH 8.10 - ACPI .R .ihtml h2 .html - <br /> .FG acpi gif Plan9front currently has partial ACPI support for PCI interrupt routing and system shutdown. .html - <a name="8.10.1" /> .ihtml h3 <h3> .SH 8.10.1 - Enabling ACPI .R .ihtml h3 ACPI is enabled with the presence of .CW *acpi= boot parameter. This will create the .CW /dev/acpitbls file that can be used to read the systems acpi tables. Specifying .CW *acpi=0 will make acpi tables accessible thru the file but not use it in the kernel. .html - <a name="8.11" /> .ihtml h2 <h2> .SH 8.11 - MP Table Override .R .ihtml h2 .I This horrible hack should be considered obsolete, in particular with the implementation of APIC renaming and MSI. It might still be useful. .R Since some motherboard/BIOS manufacturer don't care about anything but ACPI, the MP table might be in an unusable state which meant that .CW *nomp=1 had to be used. The new MP Table Override can be used to specify an entirely different MP table for 9front to use. To specify an MP table the .CW *mp and \f(CW*mp\fR\fIN\fR options are used, for example (for illustration purposes, not a valid mp table): .P1 *mp=16 *mp0=00 11 33 13 15 *mp1=16 99 DD 1C *mp2=9F 81 2a 0a 7b 8c 1c .P2 .CW *mp specifies the size in byte and \f(CW*mp\fR\fIN\R, where \fIN\fR is a consecutive number starting with zero, specifies the data in hex form. The in-hardware table can be dumped with .CW *dumpmp=1 (PROTIP: use a serial console). .ihtml a <a href="http://code.9front.org/hg/plan9front/file/1f9d7811d546/sys/src/9/pc/mp.h"> .CW /sys/src/9/pc/mp.h .ihtml a is useful to have handy. .SH To Do .R (Some are mutually exclusive) • Write an utility to generate a proper table from Linux or similar • Write user space tools to manipulate the mp table • Calculate size automatically (and drop \f(CW*mp\fR) • Use a text based format parsed by the kernel • Fix MP support altogether (might not be feasible) .SH Example .R For the HP Compaq DC5700: .P1 *mp=528 *mp0=00 00 10 03 65 0f 00 00 ff fb eb bf 00 00 00 00 *mp1=00 00 00 00 00 01 10 01 65 0f 00 00 ff fb eb bf *mp2=00 00 00 00 00 00 00 00 01 00 50 43 49 20 20 20 *mp3=01 01 50 43 49 20 20 20 01 07 50 43 49 20 20 20 *mp4=01 20 50 43 49 20 20 20 01 ff 49 53 41 20 20 20 *mp5=02 02 11 01 00 00 c0 fe 03 00 0f 00 00 08 02 10 *mp6=03 00 0f 00 00 09 02 11 03 00 0f 00 00 0c 02 10 *mp7=03 00 0f 00 00 0d 02 11 03 00 0f 00 00 0e 02 12 *mp8=03 00 0f 00 00 74 02 14 03 00 0f 00 00 75 02 15 *mp9=03 00 0f 00 00 76 02 16 03 00 0f 00 00 77 02 17 *mp10=03 00 0f 00 00 68 02 14 03 00 0f 00 00 69 02 15 *mp11=03 00 0f 00 00 6a 02 16 03 00 0f 00 00 01 02 13 *mp12=03 00 0f 00 00 6c 02 15 03 00 0f 00 00 7c 02 11 *mp13=03 00 0f 00 00 7d 02 12 03 00 0f 00 00 7e 02 12 *mp14=03 00 0f 00 00 70 02 14 03 00 0f 00 00 71 02 15 *mp15=03 00 0f 00 00 72 02 16 03 00 0f 00 00 73 02 17 *mp16=03 00 0f 00 07 10 02 14 03 00 0f 00 07 11 02 15 *mp17=03 00 0f 00 07 12 02 16 03 00 0f 00 07 13 02 17 *mp18=03 00 0f 00 07 24 02 15 03 00 0f 00 07 25 02 16 *mp19=03 00 0f 00 07 26 02 17 03 00 0f 00 07 27 02 14 *mp20=03 00 0f 00 07 2c 02 16 03 00 0f 00 07 2d 02 17 *mp21=03 00 0f 00 07 2e 02 14 03 00 0f 00 07 2f 02 15 *mp22=03 00 0f 00 07 34 02 14 03 00 0f 00 07 35 02 15 *mp23=03 00 0f 00 07 36 02 16 03 00 0f 00 07 37 02 17 *mp24=03 00 0f 00 20 00 02 10 03 00 0f 00 20 01 02 11 *mp25=03 00 0f 00 20 02 02 12 03 00 0f 00 20 03 02 13 *mp26=03 00 00 00 ff 01 02 01 03 00 00 00 ff 03 02 03 *mp27=03 00 00 00 ff 04 02 04 03 00 00 00 ff 06 02 06 *mp28=03 00 00 00 ff 07 02 07 03 00 00 00 ff 08 02 08 *mp29=03 00 00 00 ff 09 02 09 03 00 00 00 ff 0c 02 0c *mp30=03 00 00 00 ff 0d 02 0d 03 00 00 00 ff 0e 02 0e *mp31=03 00 00 00 ff 0f 02 0f 04 01 00 00 ff 00 ff 01 *mp32=01 3f 50 43 49 20 20 20 03 00 0f 00 3f 00 02 11 .P2 .html - <a name="8.12" /> .ihtml h2 <h2> .SH 8.12 - Revision Control .R .ihtml h2 .html - <a name="8.12.1" /> .ihtml h3 <h3> .SH 8.12.1 - cvs .R .ihtml h3 OpenCVS was ported to Plan 9. .html - Download it here: <a href="http://plan9.stanleylieber.com/src/cvs.tgz">cvs.tgz</a> An implementation of a .CW cvs file server, called .CW cvsfs , was also created for Plan 9. .html - Download it here: <a href="http://plan9.stanleylieber.com/src/cvsfs.tgz">cvsfs.tgz</a> .html - <a name="8.12.2" /> .ihtml h3 <h3> .SH 8.12.2 - git .R .ihtml h3 More than one person has claimed to have ported .CW git to Plan 9, but no code has ever been made public. Please stop telling unsuspecting newbs that .CW git is available for Plan 9. In the meantime, someone wrote a shell script wrapper that attempts to replicate some basic .CW git actions by downloading a zip file from the repository and performing operations on it. .html - Download it here: <a href="http://plan9.stanleylieber.com/rc/git">git</a> .html - <a name="8.12.3" /> .ihtml h3 <h3> .SH 8.12.3 - Mercurial .R .ihtml h3 9front ships with .ihtml a <a href="http://mercurial.selenic.com"> Mercurial. .ihtml a Read: .ihtml a <a href="http://fqa.9front.org/fqa5.html#5.2.1.1"> .I FQA 5.2.1.1 - hgrc .R .ihtml a .html - <a name="8.12.4" /> .ihtml h3 <h3> .SH 8.12.4 - svn .R .ihtml h3 No. .html - <hr /> .html - <a href="fqa.html">FQA INDEX</a> | .html - <a href="fqa7.html">FQA 7 - System Management</a> | .html - <a href="fqa9.html">FQA 9 - Troubleshooting</a>