New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13668 (closed defect: duplicate)

Opened 5 years ago

Last modified 3 years ago

Selfupdate breaks keyboard handling

Reported by: Ryan.Stonecipher.Fisher@… Owned by: jberry@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: Cc:
Port:

Description (last modified by jmpp@…) (diff)

Self-updating from 1.5.2 to 1.6.0 causes the delete key to output ^H and the tab key to insert whitespace.

OS X 10.4.11 Xcode 2.4.1

Change History

comment:1 Changed 5 years ago by jmpp@…

  • Owner changed from macports-tickets@… to jberry@…
  • Description modified (diff)
  • Milestone set to MacPorts base bugs

I presume you mean running MacPorts in interactive mode. If so, a substantial change between 1.5.2 and 1.6.0 is that readline support was switched to off by default due to the sheer amount of compile time problems it caused, and not having such support would definitely explain the behavior you're seeing. Selfupdating preserves some settings across upgrades, but I don't think it has the ability to detect whether the installed MacPorts had readline support integrated and preserve it as appropriate. I'm assigning this ticket to James (interactive mode author) so that he can comment on the matter.

In any case, one quick way to get readline support back in is to install MacPorts from source. Download the tarball and configure the sources with the --enable-readline switch to the configure script.

-jmpp

comment:2 Changed 4 years ago by toby@…

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

comment:3 Changed 4 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate

This is covered by #19035.

comment:4 Changed 3 years ago by jmr@…

  • Milestone MacPorts Future deleted
Note: See TracTickets for help on using tickets.