9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] sam enhancement
@ 2004-02-18  1:07 boyd, rounin
  2004-02-18 15:51 ` Rob Pike
  2004-02-19 10:28 ` Wilhelm B. Kloke
  0 siblings, 2 replies; 6+ messages in thread
From: boyd, rounin @ 2004-02-18  1:07 UTC (permalink / raw)
  To: 9fans

i've been thinking about how too produce simple html
and arbitrary text formatting based on piping the text
through a script.

i think it fits in with the model, i nearly have a first cut
[based on the netlib lunix sam].

the plan is this, on button 2:

    - after Search there's another menu entry (if necessary)
    - selecting/clicking on it runs the last |cmd on the selected text

so, with a few scripts:

    html/i
    html/b
    ...

you can format the text, say:

    C/comment

i coded most of it today (when i wasn't coding FPGA drivers).

i think it's a good idea 'cos it fits the model and uses no built
in programability; it's a small amount of code.

i'm very close to having it coded and after it's been tested
i'll post the rcs diffs.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-20  2:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-18  1:07 [9fans] sam enhancement boyd, rounin
2004-02-18 15:51 ` Rob Pike
2004-02-18 16:42   ` boyd, rounin
2004-02-19  0:04   ` Geoff Collyer
2004-02-19 10:28 ` Wilhelm B. Kloke
2004-02-20  2:10   ` boyd, rounin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).