Changes between Version 2 and Version 4 of Ticket #58529


Ignore:
Timestamp:
May 27, 2019, 5:12:49 AM (5 years ago)
Author:
SenileFelineS
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58529 – Description

    v2 v4  
    11See here for background: https://echelog.com/logs/browse/macports/1558908000
    22
    3 In attempting to find out why {{{port}}}, when running as an interactive shell, maps the key combination {{{Fn}}}+{{{Delete}}} to the tilde character {{{~}}} instead of the forward-delete, it was realized that "Apple's libedit doesn't actually respect EDITRC", which should be found at {{{~/.editrc}}}.
     3The initial issue was that the key combination {{{Fn}}}+{{{Delete}}} should forward-delete text in the command line while running {{{port}}} interactively in the shell - however, it instead produces a tilde character {{{~}}}. The attempt to fix this in {{{~/.editrc}}} was unsuccessful. (per user jmroot)
     4
     5In attempting to find out why {{{port}}} has this behavior, it was realized that Apple's libedit doesn't actually respect the $EDITRC environment variable. As a result, it only looks at the default $HOME/.editrc, and because {{{port}}} mucks around with/alters $HOME, the user's {{{~/.editrc}}} is not found. (per user apjanke)
     6