|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
vi editor
Looking for an editor similar to vi, that can produce color text however. I looked at the man pages for vi and concluded that it is not capable.
|
|
|||
Quote:
|
|
||||
Quote:
Other notable clones of vi include vile, infamous VIM and my personal favourite vigor It is worth nothing that traditional vi was the only significant code removed from BSD as a result of ATT vs UC Berkeley board of regents law suit. The great news coming these days from OpenBSD camp is that OpenBSD has de-facto forked nvi and is cleaning lots of ancient garbage. In some sense the code is diverging in completely opposite direction comparing to infamous VIM. OpenBSD version of nvi is actually shrinking and is now smaller than traditional vi. Now back to your original question VIM and vile have syntax highlighting but that is not the same thing as colour displaying. I am guessing VIM can display colours, play ninth Beethoven symphony, and even cook for you. A typical GNU software like product. Last edited by Oko; 29th November 2014 at 07:30 AM. |
|
|||
Certainly jjstorm is talking about vi(1), aka nvi. Which does not (and will not) have color output.
Vim is not affiliated with the GNU project. Nor is Vim licensed under any version or variant of the GPL. However, the Vim license is compatible with the GPL according to the Vim license itself. |
|
|||
Quote:
An easy way to play with this is to install editors/vim. There are multiple version and pkg_add should prompt you to pick the version. Pick the vim-gtk version (aka gvim). In gvim, under Edit you can choose a color scheme and change it on the fly. For me the on-the-fly change affects the background and foreground. Also search the web for vimrc + colors Last edited by shep; 29th November 2014 at 05:28 PM. |
|
|||
When it comes to questions about what applications can be found in the packages/ports system, there are a number of tools users can peruse themselves:
|
|
|||
ocicat, a few more things to add to your list:
First is databases/ports-readmes-dancer which is a super awesome and super powerful way to browse ports and their relation to one another (even does reverse dependencies!). The downside is you need to host it on a server of your own and update it from time to time. I'm thinking of hosting one for public consumption in the near future. But it gives you everything and I do mean everything: pkg/DESCR, COMMENT, dependencies, the whole nine yards and then some. Second, pkg_info -Q. Downside is you have to know what you're looking for in advance because it matches your query to PKGNAMEs. But it's really fast. Lastly, http://portroach.openbsd.org has info on all ports. But it is organized by port maintainer (as it is a tool for us to keep track of changing upstreams). For example, to see all of my ports: http://portroach.openbsd.org/brian%2...sd.org%3E.html Clicking on a port name will bring you to its CVSWeb entry. This is likely the closest to "official" as you're going to get. |
|
|||
Excellent points! Thanks for bringing these up!
|
|
|||
Quote:
|
|
|||
Thank-You all for your response to this thread. As I was aware of the some of the information provided, I still have yet to implement a lot of it. I have the ports tree installed, which I downloaded from ftp, installed, and then updated from anonCVS server, (with the special command required if you initially fetched from CD or different source, (by adding -d [cvsroot] to the string)), however still have not gotten around to searching or compiling anything from it.
The main reason for starting this thread was to find an editor that will allow me to format text on the fly, and by going back and highlighting it. Color is the most important, however, all other text formatting is important as well (e.g bold, italic, underline...) The editor will have to work with both linux and openbsd. I am going to create a shared folder on the host machine (ubuntu), that will be able to be accessed by the guest OS (openbsd) on a machine over ssh. Emacs seems to fit the bill. How would I accomplish the text formatting that I want to accomplish? Would it be through macros or assigning certain functions to keystrokes? After very briefly skimming over some of the manuals and tutorials, I am still uncertain. I am not asking for anyone to tell me exactly how to do it, rather, give me an idea or overview of how it's done, so I know what section of the manuals, tutorials, and books to read. Is there another editor that might work better for me? thanks again |
|
|||
If you are installing the ports tree to study it, that is fine.
...but if you are installing the ports tree build applications, this may be overkill as there is no difference between applications built locally & applications installed through the pre-built packages made available by the project. There are exceptions, but for the vast majority of OpenBSD users, installing packages from the various mirrors is preferrable. This is especially true for -release & -stable users. In the -current world, there are times due to library changes & changes in the ports system configuration which require local building due to the unavailability of compatible packages. Quote:
|
|
|||
Notably because they're not links.
One is a port, the other is a command (try running pkg_info -Q from your terminal). Btw, to get the green text, wrap the text in the file BBCode blocks. |
|
|||
Quote:
|
|
|||
I have no idea what the "other" forum is but if it's the FreeBSD forums I have quite literally zero reason to ever be there.
|
|
|||
FWIW, The default FreeBSD forum is more forgiving/easy with code blocks, it seems to me, since migrating to the new forum software...
__________________
FreeBSD 13-STABLE |
|
||||
Have you tried Geany? I used it in the past. It has multi-colour text, but since it is lighter in terms of resource use than editors like Emacs, it probably has significantly fewer features. May or may not be what you are looking for, and it is in Packages.
|
|
|||
To finally answer your question
Quote:
A indepth tutorial is here. Last edited by shep; 1st December 2014 at 04:25 PM. |
|
|||
Quote:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
preserving editor files now takes a much longer time | daemonfowl | OpenBSD General | 1 | 2nd November 2013 06:40 PM |
JavaScript-based CodeMirror editor reaches version 3.0 | J65nko | News | 0 | 28th December 2012 01:20 PM |
Bluefish Editor 2.2.0 enhanced with new syntax scanning abilities | J65nko | News | 0 | 28th November 2011 01:53 PM |
Pixel Image Editor | ninjatux | FreeBSD Ports and Packages | 2 | 11th January 2009 06:38 PM |
Php editor for FreeBSD? | daemonFromHeaven | FreeBSD Ports and Packages | 12 | 12th September 2008 09:03 PM |