Package: chawan Version: 0.4.0-4 Severity: normal Tags: patch Hi,
chawan defaults to vi as the fallback editor after looking at $VISUAL and $EDITOR. The fallback editor on Debian should be /usr/bin/editor. The attached patch fixes this, and includes DEP-3 headers, so can be placed in debian/patches as is.
From: Teemu Hukkanen <[email protected]> Date: Thu, 21 May 2026 01:01:17 +0300 Subject: [PATCH] Use /usr/bin/editor as fallback editor Forwarded: not-needed The fallback editor in Debian should be /usr/bin/editor. This patch is Debian-specific, and does not need to be forwarded upstream. --- src/config/config.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.nim b/src/config/config.nim index 6819492..43d30c5 100644 --- a/src/config/config.nim +++ b/src/config/config.nim @@ -2357,7 +2357,7 @@ const ConfigInitInt32 = { const ConfigInitStr = { coVisualHome: "about:chawan", - coEditor: "${VISUAL:-${EDITOR:-vi}}", + coEditor: "${VISUAL:-${EDITOR:-/usr/bin/editor}}", coCopyCmd: "xsel -bi", coPasteCmd: "xsel -bo", coPrependScheme: "https://", -- 2.53.0

