martanne / vis

A vi-like editor based on Plan 9's structural regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FreeBSD already comes with a program called vis

passstab opened this issue · comments

You might want to change the name of this project
https://www.freebsd.org/cgi/man.cgi?query=vis&sektion=1&apropos=0&manpath=freebsd
Edit: that software is also included in openbsd http://man.openbsd.org/vis.1 and netbsd http://netbsd.gw.com/cgi-bin/man-cgi?vis+1+NetBSD-6.0

The project could keep the same name: Only the binary and the man page needs to change their name?

Vis could get a server/client model in the future. The client could be visc, and the daemon visd?

nodejs has a similar issue on debian/ubuntu; there is already a node program, so the js runtime is renamed to nodejs. most other distros leave the runtime as node.

I don't think that is a good solution.

The other vis has quite a legacy, having first appeared in unix 8th edition.
Unlike the nodejs example which effects only debian and its downstream distributions, the other vis is now included in at least 5 separately maintained unix derivatives. In addition to the three I mentioned in my original comment, it is included in HP-UX and DragonflyBSD.

Leaving the naming to the different operating systems could mean more then a couple names, and it could be an annoyance for those who use more then one OS.

I think keeping the name vis would unnecessarily cause a lot of confusion.

I'm aware of the history leading to the original vis utility found on many Unix systems. And yes the name clash is unfortunate, at the time it was a deliberate decision. With hindsight it was probably a bad idea. I might indeed decide to rename the project at some point.

@martanne, I am making an OpenBSD port for vis, and I have to rename binary and manual page it to avoid name clash. Any suggestions regarding name? I came up with "vise" ("vis" + "e" for "editor").

NetBSD/pkgsrc settled for vis-editor which seems preferable. I suggested the same thing for the homebrew package. In practical terms users properly use a shell alias anyway.

As for the more general problem of renaming the whole project, some naming suggestions which I remember from the last time this was discussed:

  • vs, might be too confusing with Visual Studio (Code)?
  • siv
  • mirj
  • ...

I haven't actually properly checked whether some of them are already in use etc. Suggestions welcome.

Why not svi? It does not seems to be present in BSDs at least, and could mean Simple/Suckless VI[m] or Simple/Suckless Vi Improved (as in vi improved in a simple way).

there is something else called vis-editor

People won't necessarily use aliases unless they are forced to. Some may even switch between different vi-like editors depending on current task. So a simpler, shorter name would be a good thing.

Also, if renaming is on cards, it should probably happen as soon as possible, so that the amount of downstream projects that have to deal with package name change is as small as possible.

FWIW I'd rather go with svi or vie, so that vi part stands out.

Possibly a stupid idea, but... Let's discuss it. How about going with just v? In the end we are minimalistic. :D Would that clash anywhere?

@eworm-de: I think no one ever dare name a text editor v, but many people may have a l as an alias for ls, and v for vi/vim.

On the other hand, this editor is not the default, so if the user installs it, he may want to use it.

@czarkoff: vie means "life" in french. And it is simple as in "VIsual Editor".

Yes, that was my reasoning behind this suggestion back in 2014..

I also thought about triode, an anagram of editor, and the ancestor of the transistor. It is also very close to trimode (as the three modes of vi).

But it is too long to type: twice as much as vis!

savvy - sa(m) + vi(s). but this is also long.

edit - savi ?

Here are the permutations of vim and sam:

vim vis via vmi vms vma vsi vsm vsa vai vam vas iva ivm ivs ima imv ims isa isv ism ias iav iam mvs mva mvi mis mia miv msi msa msv mai mas mav svi svm sva siv sim sia smv smi sma sav sai sam avs avi avm ais aiv aim ams amv ami asm asv asi

commented

is ve already taken? (visual editor)

or you can go the way of libzahl, and call it seh from german

@shua a quick google search revealed this -> http://www.campbell-tx.net/campbellware/ve.php

In general when considering a name, i think the key combination should be as easy as possible to type.

I like the idea of triode. It's a pleasant name which could also be shortened to tri.

the names sam and acme have no relation to ed or vi; this project doesn't have to pay homage either. call it me for 'modal editor'.

Seems stuck here. Shall I propose the name "fella" for this project is quite young compared to the other giant old mates.

commented

It could be something as simple as "edit", so that typing "edit file" would make sense! I also like the name "vie". As I read it in french, it makes english sentences sound fun :)
I would suggest not going with a name that is longer than 4 char though. Long names calls for complex projects in my mind.

I like "edit" (contains ed(1) in it), but it is hard to search through search engines. Also, http://man.freebsd.org/edit points to ee(1).

"edit" -> "edt" ?

Reading through this list, I like the idea of siv, which is similar to a sieve /siv/. Defined as separating coarser from finer particles (code) -- seems to be what vis does as an editor. Short name, and still has sam, and vi in the name, as well as minimal and doesn't conflict.

Compiling for FreeBSD was when I noticed this issue.

@josuah:

I think removing few letters is not gonna help people that have issues reading/writing and/or issues remembering the name, also it makes it non-pronounceable or ambigous.


I propose "stika"[stika] which comes from lojban:

  • Lojban makes it non-ambiguous in meaning & pronunciation
  • 1 letter longer than acme, 1 shorter than editor
  • It doesn’t clash and I don’t think it’s gonna clash with other software (checked: gentoo, debian, freebsd, openbsd, plan9front, wikipedia(fr,en,de,es))

There's a lot of names now ! :) They are all fine, but we cannot pick them all.b

We could do the name change at version 1.0, with the announcement to the community (HN, lobste.rs, reddit...): "releasing **** 1.0".

Does it clash on some OS, in chronological order of the proposition:

name Linux (man7.org) Linux (die.net) NetBSD FreeBSD OpenBSD Plan 9
vis
vise
vs
siv
mirj
svi
vie
v
triode
savi
savvy
ve
seh
tri
me ~
fella
edit
edt
stika

To add more rows:

sed 's!.*!| `&` | [?](https://duckduckgo.com/lite/?q=site:man7.org/linux/+&) | [?](https://duckduckgo.com/lite/?q=site:linux.die.net/man+&) | [?](http://netbsd.gw.com/cgi-bin/man-cgi?&) | [?](http://man.freebsd.org/&) | [?](http://man.openbsd.org/&) | [?](https://duckduckgo.com/lite/?q=site:man.cat-v.org+&) |!'

Maybe add a poll at some time? Or a random chooser ;)

Yes, we may need a poll at some point. :) Not really to vote as it's @martanne's project from the beginning, but to give him an idea how the community appreciate the various names.

poll -> https://poll.kosebamse.com/vis

You can add a column too.

@martanne I saw in another issue that you mentioned the chore of renaming everything as a reason not to do this (yet?). If you decide on a new name, I am willing to do the work of actually implementing the rename.

As a user of both OpenBSD and Linux, doing that busywork once is less annoying to me than remembering two different commands for the same editor. Besides, it's a good way to get to know the code.

Well the rename part thing probably needs:

  • Legacy symlink or a wrapper with warning note
  • Message informing the user on the rename (when compiling or when installing the package)
  • (maintainers) Renaming of Package/Recipe Name (gentoo can handle this fine)

I see the obvious "visam" was not proposed. So here it is

I ran another conflict test against repology, to give conflicting package names on a lot of repositories.

Note: vis is also apparently used for a rooting package in LEDE and OpenWRT.

And here is the code I used to generate this:

#!/bin/sh
for name in vis vise vs siv mirj svi vie v triode savi savvy ve seh tri me fella edit edt stika visam vy vv devi edvin svin; do
	if test "$(curl 'https://repology.org/api/v1/metapackage/'${name} 2>/dev/null | wc -c)" -le 5; then
		status=""
	else
		status=""
	fi
	echo '* ``'${name}'``: ['${status}'](https://repology.org/metapackage/'${name}'/versions)'
done

suggesting vy (vi) and vv (vi vi).

my suggest: devi

  1. Easy to type
  2. I've searched for it, not used anywhere yet
  3. Sounds like "de vie" which means smth practical in French (?)
  4. Strong Hindu connotations of a feminine divine origin (Any project need heavenly patron). Hidus and women on our side :)
  5. No problems with Logo ideas - it can be nice yantra or multihanded deity, which can be associated with multicursor support and handy universal usage in general

How about "edVin"? It has "ed", "vi" and Plan "n"ine.
Or maybe "sVin". For "Sam" This variant has additional benefit of being catchy in Russian, as it sounds like male ping. (No negative connotations).

@Vintodrimmer

Do you want the capitalization too? As that would probably not be much supported and it quite adds to the typing-length of the name.
Also svin seems to mean pig/swine in Nordic languages too (cf. https://en.wiktionary.org/wiki/svin ), which might be neat. 🤷


Also, I’d quite like for this issue to be settled quickly, I don’t really care much about the name as long as it’s not offensive, I care more about it not being in conflict with *BSD/Unix utils.

Maybe change ‘svin’ to ‘vins’.

@lanodan
I don't really care about capitalisation.
I just thought it looks more symmetrical in 5 letter case and accentuates that it has something to do with "Vi". But all lower case is probably better in practice.

I agree about quick settling, though I wish for it to be more recognizable. Even on GitHub it's not at the top of the search.

Also, "svin" might instantly solve the related logo problem. But perhaps developers might want to avoid such associations as the editor seems to be pretty (for the lack of the better word) elegant.

@erf
Not a native speaker, but doesn't it read as "wins"? A bit cheeky in my opinion. Otherwise sounds good.

What about just ‘vin’ - as in ‘vi’ + ‘plan (n)ine’ as was mentioned.

( ´vin´ means ´wine´ in Norwegian )

I feel that "vi-based editor name with 3 letters, one of which is 'n' " is already perfected by nvi.

How about virn for "vi reimagined/regexp with plan nine in mind" or one of my favourite Linux naming conventions of recursive acronyms? Then it can bevirv or vivr (pronounced as beaver or river) for "virv is a r eimagined vi/ vi reimagined with plan 9's regular expressions in mind".

That said, I agree that this can go on forever, so I don't have anything against vin and will be pretty happy to use it. It's just that not often one gets a chance to participate in the naming of an interesting project he/she uses.

Okay, I’m going to be pushy here but let’s arbitrarily take the results greater than vis (I used the chart):

My reason for taking thoses is because:

  • The ones less than vis are quite a herd
  • It also means it would be less liked than the current name

On another note I would like to update my vote as some columns have been added but I don’t think I have received the edit link in my e-mails.
@josuah Could you/we fix that someway?

EDIT: Package name conflict

It looks like we have a pretty decent name-choosing framework there! ;)

I have access to a "global admin pannel" where I can change the votes myself, but I can't find links to allow only one edit its own votes.

Do I make the link public ? But then anyone might edit any answer.

And for the fun:

Q: What is the origin of the name?

A: Rob Pike explains:

When I started working on Acme, I had a pretty strong idea about what it would be and what it would look like, but I didn’t have a name yet. As I usually did at the time, on Friday night I went to Times Square for Movie Night. Penn Jillette was there, and I told him I needed a name for my new project.

“What does it do?” he asked.
“Umm… Everything.” I said.
“Acme,” said Penn, and laughed.
And that was it.

http://acme.cat-v.org/faq

You can create another poll with the most popular picks from the first round and new entries.

@Vintodrimmer ok, let's... Note that anybody can create polls. :P
It remain possible to add entries and vote on the previous poll if you do not like having ...

Here is what @lanodan proposed:
23+9 : ve: ✗ (also used by another editor)
20+6 : vie: ✓
18+7 : siv: ✗
13+8 : svi: ✓
10+7 : tri: ✓

So we only focus on vie, svi and tri ?

I was too lazy to go over the whole discussion again, so I'm picking the list of @lanodan and adding the new entries since then.


What about 0x$(dd if=/dev/random bs=4 count=1 2>/dev/null | od -An -x | tr -d ' ')

I believe, svi is missing from the poll.

@joshaw Could you also add nvi and vin as new suggestions?

nvi is definitely taken

[-] nvi-1.81.6_16                     The Berkeley Vi Editor

You were right, svi and vin added, sorry.

Should vis be renamed please also look for name clashes in Debian. This can easily be done from https://packages.debian.org/. In general I am against two letter names: clashes will happen at some point. I second svi, as sam + vi, structural vi, and it's an anagram of vis. It is also very easy to type on a QWERTY keyboard.

Should vis be renamed please also look for name clashes in Debian

Debian packages are indexed into repology.org, which I done checks against.

@josuah: Could you add vise to the poll as well?

From all the proposed names, vie is the one I like the most.

My two cents on this garbage fire.

Global namespace is considered harmful. This project should not concern itself with the legacy interoperability of filenames on BSD. We can discuss what potential binary names could fit but it is the problem of the downstream packager to fix it how they seem fit. Meanwhile vis works just fine on my distro because there is no vis package nor vis binary and it installs as such. Go ahead and package it as visam why not there are infinite possibilities. Package maintainer makes the call and will maintain his choice for a long time and the founder of this project made his: vis.

suggesting vise as it is named on OpenBSD - the obsession with 3 character names is absurd when it's as unhelpful as it so far has been

@hholst80 I agree. One software project is not responsible for avoiding all the names of other projects, obscure or not. The role of a project is simply to produce functional, clean software. The package management system for a given distro is responsible, as the whole point of package management is to satisfy dependencies and resolve conflicts.

The project is afforded the right to brand itself how it sees fit. Now, if for the sake of that branding we might rather call this project vise or visam or anything else, so be it. But if you all as project developers are satisfied with the name vis, so be that, too.

I am certainly satisfied as a user. Perhaps other potential users would be influenced by a "better" name; I wouldn't know. I stumbled across this project in my search for a good editor, and the name struck me as (hopefully) reflective of simplicity in the project.

what about 9vi ?!

Plan 9 powered VI [Optional extra letters Editor, Sam]

@paride "svi" is even easier on dvorak

I like 2 letters.

why not vs for vi + sam? no one uses it? vscode use code.
vn for vi plan 9.
and the most crazy i found no one uses. ai for sam vi.

I'm with @Henry-Wilson and @hholst80.

I stumbled across this project in my search for a good editor, and the name struck me as (hopefully) reflective of simplicity in the project.

My thoughts exactly.

For all the talk about what would be an easy/short name to type... just add whatever shell alias you prefer. After ls and cd your editor of choice is probably the most invoked command, so typing even two chars is too much - I alias vis to just e (edit), just as ls is just l (a default alias on most systems) and cd is c.

svi, keep it simple, stupid. Suckless/Simple VIm = svi

I really like svi, especially since vis is a great compliment to a system running suckless software

commented

Here are my two cts: Have you considered 'vine'? It is easy to pronounce an just straight up mixture of 'vi' and 'nine'. There is a Japanese Linux distro with this name, but no binary as far as I have checked. Also 'nive' but it might sound a little violent... Other than that I really like the idea of 'vie'.

"mestre", from "Combining modal editing with structural regular expressions"
But vis is a better name.

Too long to type lol

@3dc1d3: just add whatever shell alias you prefer

One annoyance is when you type man your_alias and it fails with "No manual entry for your_alias".

I run vis on Mac, Windows, OpenBSD, and rarely Linux. A consistent name would be nice across all OS's or distros, at this point I would just prefer consistency over anything else at the moment. Even though I am in favour of something short like vie (vi enhanced/extended) or svi (sam vi), which isn't much different from vis (vi sam).

For example:
On Mac: man vis-editor
On OpenBSD: man vise

Moving around systems makes it annoying, but that is my use case, which may be unique.

I propose "stika"[stika] which comes from lojban:

Also, štika is Esox (or pike) in Czech and Esox is too much underutilized name considering how beautiful fish it is. Not mentioning Rob Pike, of course.

However, I would vote for siv or svi myself.

svi, keep it simple, stupid. Suckless/Simple VIm = svi

Except it is not: simple VI is not an editor with Lua plugins etc. If you need something truly suckless than I would go for nvi or something of that ilk.

Exactly, not to confuse this with vi, I would suggest siv.

commented

I propose via.

  • If vis stands for vi + sam, then via could stand for vi + sam or vi + acme
  • Appears to not be taken by any other programs (please correct me if I'm wrong on this)
  • via sounds somewhat similar to Lua.
  • It only differs from vis and vim by one character and is equally easy to type.
  • Just like Vim, Vis is mostly based on vi, so it makes sense that the name would start with vi

You've probably been waiting for my suggestion:

vix - vi extended

I have no idea who has the authority to adjudicate on this one? @martanne ? @ninewise ? @rnpnr ? Could we get this to some conclusion, please?

If your package repository doesn't have categories then I think
vis-editor or vise is fine with the first preferred. Same goes for
the binary.

What @martanne said 5 years ago is also true:

In practical terms users properly use a shell alias anyway.

If this has to be done I think the best suggestion I have seen is siv.
@mcepl is correct, this isn't simple/suckless vi; the s stands for
sam or 'Structural Regular Expressions'. The name should avoid that
misrepresentation.

In any case @martanne is the one who would have to do this since the
repo would need to be renamed not just the binary.

For the time being I am considering locking this conversation since we
don't really need anymore suggestions.

  • If vis stands for vi + sam, then via could stand for vi + sam or vi + acme

Except vis has almost nothing common with ACME, which is mostly GUI, shell-like or IDE-like environment, while vis is a very simple editor-only.

macOS also comes with a program called vis:
"display non-printable characters in a visual format"

I like 2 letters.

why not vs for vi + sam? no one uses it? vscode use code. vn for vi plan 9. and the most crazy i found no one uses. ai for sam vi.

I aliased vis to vs