Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!fu-berlin.de!news.coli.uni-sb.de!news-kar1.dfn.de!news-stu1.dfn.de!news-mue1.dfn.de!nntp.fh-augsburg.de!inga.augusta.de!rabbit.augusta.de!usenet
From: shanee@rabbit.augusta.de (Andreas Kohout)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HTML Editors for BSD?
Date: 2 Jan 1997 22:50:05 GMT
Organization: Privat Site running FreeBSD
Lines: 107
Message-ID: <5ahe2t$3ac@rabbit.augusta.de>
References: <32C7A9A4.446B9B3D@freenet.mb.ca>
NNTP-Posting-Host: localhost.augusta.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33524
In article <32C7A9A4.446B9B3D@freenet.mb.ca>,
Stephane Raimbault <bsw827@freenet.mb.ca> writes:
> Are thier any HTML editors out for FreeBSD or XFree86. I am NOT looking
> for A WYSIWYG interface. Just a plain text interface would suit me
> fanncy. thnks
yes, Visual Internet, in /usr/bin/nvi :-)
and here is a very handy .exrc, I found it but didn't remember who wrote
it, sorry ...
For example, yu start vi, go in INSERT-Mode, type br Ctrl-M and get <BR>
"
" this is an initialisation file for vi. put it in you home
" directory and call it '.exrc'
"
set noautoindent beautify noexrc ignorecase ruler showmode
"
"
" HTML - Editor
"
" ab .... Abbreviations. (to be used in insert mode with Ctrl-M)
"
" if xy produces <XY>,
" nxy produces </XY>
"
ab pg <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
ab br <BR>
ab hr <HR>
ab pp <P>
ab ht <HTML>
ab nht </HTML>
ab hd <HEAD>
ab nhd </HEAD>
ab ti <TITLE>
ab nti </TITLE>
ab bd <BODY>
ab nbd </BODY>
ab em <EM>
ab nem </EM>
ab str <STRONG>
ab nstr </STRONG>
ab pre <PRE>
ab npre </PRE>
ab ul <UL>
ab nul </UL>
ab ol <OL>
ab nol </OL>
ab li <LI>
ab dl <DL>
ab ndl </DL>
ab dt <DT>
ab dd <DD>
ab adr <ADDRESS>
ab nadr </ADDRESS>
ab h1 <H1>
ab nh1 </H1>
ab h2 <H2>
ab nh2 </H2>
ab h3 <H3>
ab nh3 </H3>
ab h4 <H4>
ab nh4 </H4>
ab h5 <H5>
ab nh5 </H5>
ab h6 <H6>
ab nh6 </H6>
ab ig <IMG SRC="#">
ab fr <FORM ACTION="#" METHOD="#">
ab nfr </FORM>
"
" map .... Macros. (to be used in command mode)
"
" ctrl-x ctrl-l : the line under the cursur ends up as the text for
" a hyperlink, the cursor is places on the HREF, to let
" you insert the URL.
"
map o</A>kO">I<A HREF="
"
" ctrl-x ctrl-w : the word under the cursur ends up as the text for
" a hyperlink, the cursor is places on the HREF, to let
" you insert the URL. (this only works with the cursor
" at the *end* of the word)
"
map a</A>bbbi<A HREF="#">F#s
"
" ctrl-x number : the line under the cursur is turned into a Heading
" ctrl-x 1 ---> H1 biggest Heading
" ctrl-x 2 ---> H2 next smaller Heading
"
map 1 I<H1>A</H1>j
map 2 I<H2>A</H2>j
map 3 I<H3>A</H3>j
map 4 I<H4>A</H4>j
map 5 I<H5>A</H5>j
map 6 I<H6>A</H6>j
"
"
--
Greeting, Andy
running FreeBSD-current
---------------------------------------------------------------------------