From nobody Wed Jun 21 07:24:55 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QmFQ123JMz4ffX4 for ; Wed, 21 Jun 2023 07:24:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QmFQ02PCLz3rHd for ; Wed, 21 Jun 2023 07:24:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687332296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HcG0LKm8fbL72p9ilNZ+e5KKwufxAYpXB9y5zpe4sCQ=; b=p4BBZkK+xAVOY/6j/JW8y2k2Bxyqk6vjeh7kSAQcGJ9y/kgK8XVA5O+E06TZxtDg1dh13i erSTlEjCRDp51A9FWvYTfP4XuMmiA00AwWNW7QNZTBzTqN+y3baeMomQUMQEr9Y/i4NNzB 4TRxC61MxtcDJG97zIYyKeyopD+qUWb1/IMwSioD9+j6FP1KlSFMPckKEu+QS6G5oa5wij X9HjOtDnOyuvvD2nxvBQdFXdLO6R16dhAuJHVVeGtZoKosw/5xALOCVniS+kQgTXPhuk+k 2RQdcKSqy4+UQ4G9LrGUy4EriOXUq9dRZVLAGXM04kCPd5LQe33Uh0zrAqM8MQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687332296; a=rsa-sha256; cv=none; b=rdK4s5PSLgTpN6bHc+X6gLoyDfD7vQz6aTTAjnD0tRUSJzuYj/eY9PlU+KFNCQBpAfD5Di q77GvGEJi28cj2ezeQ6zhwCVxqJZH+XLpGKhE5u5njdRv5Y35d3kT7rnHqKLGNMOXp1Mxn C+SAYjGg0mjg7Tg9okYUgdp1Ya7ULZwbCYh5gc6yNagtwpGRwPzBWQi4DCp8yTepbJ+54l i4B1R/0/xxE29TFjoxPhlGShigkDsi6csIdUQMhJBESesMEWiB9MtxTrLC/vu1nneef5O8 EljQs+tceemBHCKgZJj7BIPE1+YACopDNE7KIji1QMWlL5l4vIE1okaPS1Drsw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QmFQ01LGgzXwb for ; Wed, 21 Jun 2023 07:24:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35L7OuDC052797 for ; Wed, 21 Jun 2023 07:24:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35L7Ou8h052796 for bugs@FreeBSD.org; Wed, 21 Jun 2023 07:24:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272126] vi: Misleading error "No terminal database found" in case of unsupported terminal type Date: Wed, 21 Jun 2023 07:24:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: netch@segfault.kiev.ua X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272126 Bug ID: 272126 Summary: vi: Misleading error "No terminal database found" in case of unsupported terminal type Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: netch@segfault.kiev.ua Happens at least with `vi`, other full-screen tools might suffer as well. If an unsupported terminal is in TERM, `vi` rejects starting with a mislead= ing message: $ TERM=3Dabc123 vi 111 vi: No terminal database found i.e. "no terminal database found" instead of "no terminal database entry found", "unknown terminal type", etc. The message can confuse even experienced users, not saying for novices. For= me it appeared during system upgrade in virtualbox, TERM was `screen.xterm-256color` as provided by newer `screen` versions (even after forcing with "-T screen" - this is `screen` issue not for this ticket), so,= the exact moment suggested upgrade error. Please consider replacing it with more elaborated error description. --=20 You are receiving this mail because: You are the assignee for the bug.=