johnsonjh / OpenVi

OpenVi: Portable OpenBSD vi for UNIX systems

Home Page:https://github.com/johnsonjh/OpenVi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filenames with spaces are incorrectly displayed in completion

johnsonjh opened this issue · comments

To reproduce :e ~/^I or :e *^I.

Affects OpenVi, OpenBSD vi.

nvi 1.8x dumps core.

Example of directory with file named "file with spaces":

Nvi 1.81-current:
Screenshot from 2022-02-27 18-08-00

OpenBSD vi (top), OpenVi (bottom):
Screenshot from 2022-02-27 18-07-54

Nvi2 is unaffected.