Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2017 21:48:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219604] devel/libphutil: [patch] The fallback editor is not in the base system
Message-ID:  <bug-219604-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219604

            Bug ID: 219604
           Summary: devel/libphutil: [patch] The fallback editor is not in
                    the base system
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: grembo@FreeBSD.org
          Reporter: kdrakehp@zoho.com
             Flags: maintainer-feedback?(grembo@FreeBSD.org)
          Assignee: grembo@FreeBSD.org
          Keywords: patch

Created attachment 182976
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182976&action=
=3Dedit
Replace the hard-coded fallback editors with vi(1)

If `PhutilInteractiveEditor' is not configured with a preferred
editor, and the EDITOR environment variable is unset, it attempts
to fallback to using `nano' (editors/nano) producing an error if it
is not installed.

How-To-Repeat: (using devel/arcanist)
$ arc diff --create <path>
Exception
Unable to launch an interactive text editor. Set the EDITOR environment
variable to an appropriate editor.
(Run with `--trace` for a full exception trace.)

Fix:
The attached fix adds a patch to the port's files that replaces the
hard-coded fallback editor with vi(1).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219604-13>