vpsvip 0.4.0
Release date: 2026-11-16
Previous release: vpsvippanel 0.3.6
Target: OpenBSD 7.8; Python 3.10 or newer with standard-library curses

This release renames the program and makes a general reliability pass. It adds
a guided service setup workspace while retaining the terminal-first system
map, native administration tools, staged editor workflow, and existing data.

NAME AND UPGRADE

The command is vpsvip. The Python package is vpsvip_lib, the manual is
vpsvip(8), and the default installed paths are:

    /usr/local/sbin/vpsvip
    /usr/local/libexec/vpsvip/0.4.0/
    /usr/local/man/man8/vpsvip.8
    /usr/local/share/doc/vpsvip/

Use install.py from this complete release, with the Python interpreter shown
in the first line of the existing launcher. README.txt contains the commands.
Do not merge extracted source directories or copy modules into a live install.

Existing vpsvippanel and rcpanel launchers update as compatibility commands
only if they match this project's trusted generated launchers for the same
prefix. This includes an rcpanel launcher already pointing to vpsvippanel
0.3.6. Customized, unrelated, linked, or untrusted historical commands remain
unchanged. A clean installation creates only vpsvip. Older version directories
remain available; the installer does not delete them.

An unrelated or customized command already named vpsvip blocks installation
instead of being overwritten. A detected change to that launcher during
installation also stops replacement. Preflight checks validate the version,
interpreter spelling, source entry modules, source compilation, and document
availability before publishing the new version.

The effective user's .config/rcpanel state, .rcpanel-backups directories,
configuration locks, and /var/run/rcpanel-packages.lock keep their established
names. This preserves preferences, favorites, saved commands, package catalogs,
backups, and coordination with earlier versions. No migration is necessary.

GUIDED SERVICE SETUP

Open Servers > Guided service setup, map code 8*7#.

The workspace lists actual installed rc.d daemons and brings together:

- Current rcctl settings and flags.
- Registered configuration files and an actual-path entry for other files.
- Existing setup forms, staged editing, review, validators, and backups.
- The installed daemon's configuration-test action.
- Separate boot enable/disable and runtime start/reload/restart/stop choices.
- Explicit refreshed boot/runtime status and warnings.
- Native daemon documentation and access to the package manager.

Package daemons can be selected after installation and Refresh. No package
configuration path, credentials, account, or service-specific template is
guessed. Each mutation retains its normal confirmation and result screen.
Opening a step never triggers another step. Back and cancellation leave
completed changes intact and do not retry a failed operation.

The workspace deliberately records observations rather than declaring a
server ready. Some rc.d scripts have no substantive configtest. Exit status 0
does not establish correct service configuration, and a running process does
not prove client reachability. Multi-file deployment, certificates, firewall
policy, and automatic dependency/account setup remain separate work.

COMMAND LINE

    vpsvip --status
    vpsvip --status sshd

The first retains the complete boot/runtime table. The second validates an
exact current service name and reads only that service's boot/runtime state,
without probing all other daemons. Malformed and unknown names fail clearly.
Demo supports the same command using simulated services.

CONFIGURATION AND STATE FIXES

- Built-in form and restore writes no longer truncate the existing draft.
  They create and synchronize a complete private copy, check for a concurrent
  editor change, and replace only the draft when ready. Write, sync, or rename
  failures retain the prior draft. Identical text avoids needless disk work
  and preserves the existing review. An external editor still controls its
  own file-saving behavior.

- A failed saved-state cleanup cannot leave its coordination lock and
  directory descriptors open. Later preferences, catalog, and preset saves
  remain possible. A temporary-name collision never deletes the preexisting
  file that the failed exclusive create did not own.

- Incomplete native configuration-check output cannot authorize installation,
  even if the native program exits with status 0. The draft remains available
  for review; the live file is preserved.

- A daemon flag change requires an unambiguous, complete boot-state result.
  Truncated daemon details also stop the flags editor before asking for a new
  value. Status diagnostics are not treated as permission to write settings.

- HTTP and local-mail forms recognize the exact generated format under all
  three names: vpsvip, vpsvippanel, and rcpanel. Reading an old file does not
  rewrite it; a reviewed form save shows the new header in its diff. Unknown
  directives and hand-modified layouts still require the editor workflow.

TERMINAL FIXES

- Search now scrolls to the actual matching character in long output lines,
  including wrapped output. A reported match is no longer left off screen.
- Resizing and toggling wrapping retain the visible character position within
  a long line, including the edge case of horizontal scroll on a shorter line.
- Prompt cursor placement accounts for the ASCII escapes used to display
  non-ASCII saved paths and arguments, while editing the original text.
- After a foreground native program exits, Ctrl+C works at its return prompt.
  It is no longer suppressed after the child has finished.

PACKAGE AND RESOURCE FIXES

- Closing, declining, or abandoning a package preview now releases its saved
  output and one-use authorization. Cleanup also covers cancellation just
  after the worker creates a preview but before the UI receives the result.
- Package lock cleanup releases its in-process mutex even when closing a
  descriptor fails. A cleanup error cannot strand the new preview cleanup
  waiting forever on that lock.
- A single 0 in native repository search receives a specific explanation and
  directs the user to a longer query or the downloaded catalog filter. It
  cannot accidentally be treated as native installed-inventory output.
- Performance probes can select any of the three historical Python package
  names explicitly, so comparison with the prior archive stays usable.

RETAINED BEHAVIOR

The Bloodguilt Curse startup notice and credits remain. Ctrl+C and Ctrl+Z
retain their existing menu, foreground-program, and job-control behavior;
confirmed background administration writes retain their protected completion
behavior. Escape cancels interruptible reads. Back uses existing snapshots,
and Refresh explicitly reads new state. The interface remains monochrome.

The panel continues to use Python's standard library and native tools. There
is no resident daemon, web service, automatic privilege escalation, or idle
monitoring loop. Installation does not alter service configurations or state.

VERIFICATION AND LIMITS

The complete results are in docs/TEST-RESULTS.txt. Regression tests exercise
storage failures, cancellation races, old-launcher compatibility, real
pseudo-terminal behavior, configuration transactions, and the new setup flow.
The baseline archive was tested before editing as well.

This development run uses Linux and an ordinary account. Live OpenBSD service
tools, actual package transactions, and native syntax validation were not run.
Three tests of real root-owned package locks require a root acceptance run.
The supplied docs/OPENBSD-CHECKLIST.txt is updated for the new release. Native
OpenBSD acceptance is still pending; portable tests do not establish it.

Design by remfan1994. Published by ThatIAm.vip.
