Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2014 10:33:29 +0200
From:      Polytropon <freebsd@edvax.de>
To:        kpneal@pobox.com
Cc:        leeoliveshackelford@surewest.net, freebsd-questions@freebsd.org
Subject:   Re: how to install wireless n.i.c. on FreeBSD 9.1
Message-ID:  <20140831103329.18f5b713.freebsd@edvax.de>
In-Reply-To: <20140830200831.GB12450@neutralgood.org>
References:  <c0493cf1a6cb62e193163d781348b8ad@surewest.net> <20140823025527.bd80818d.freebsd@edvax.de> <df00e520b70e5b6fc5c379195956d6b7@surewest.net> <20140826022802.198cd285.freebsd@edvax.de> <3f1e44ea23fb755ae9f8e2390ab2a3d6@surewest.net> <20140830200831.GB12450@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Aug 2014 16:08:31 -0400, kpneal@pobox.com wrote:
> On Tue, Aug 26, 2014 at 02:38:16PM -0700, leeoliveshackelford@surewest.net wrote:
> > topic, can or do you recommend a character mode programer's editor, that
> > is, an editor that prints a line number to the left of each line? Thank
> > you for any and all comments. Yours truly, Lee 
> 
> I use vi for this, and I've gone to the trouble of compiling FreeBSD's vi
> AKA "nvi" on the Linux systems I'm forced to use.
> 
> The vi/nvi option for this is "set number".

This is a good suggestion, as vi (and vi-like editors) are
very common among programmers. Within X, which helps me to
organize my workflow consisting of the use of terminals,
browser windows, debuggers, manpages, Midnight Commander
and other tools, I tend to use gviim (a graphical "enclosure"
for vim, "vi improved"). I didn't improve or customize it
much - just added line numbers, syntax highlighting and a
few other settings. So if you are in X, check out gvim to
see if you like it. If you are in text mode, use the system's
vi. You can enrich it with a custom configuration file,
just like with gvim (which uses ~/.vimrc so it doesn't
conflict with the real vi).

Your suggestion of vi is hereby seconded. :-)

However, for "quick and dirty" stuff (or anything that
isn't actually real programming) I use mcedit via PF4 out
of the Midnight Commander. This editor is very nice and
powerful, but doesn't have line numbers.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140831103329.18f5b713.freebsd>