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

Expandtab/shell command related issue

danielcanencia opened this issue · comments

Whenever a shell command is executed via the ex command '!', and only when the option expandtab is set, vi reports Error: unable to retrieve line 0.

The next screenshot shows the ouput of the !ls command before and after setting the expandtab option.

2023-11-13-173418_944x245_scrot

Confirmed. Spooky.

A proper/better coming fix soon; but committing a workaround to master which will suppress the spurious message in this, and possibly a few other cases.