I'm using TrueOS beta. fish 2.2.0 worked fine. But after upgrading to fish 2.3.1, the backspace key is ignored and the arrow keys enter "[D", "[A", "[C", and "[B". Delete, Home, End and Page Up/Down also enter similar garbage. Oddly, these keys work fine virtual terminal. Also, bash works fine with QTerminal 0.6. So the problem seems to be an interaction between QTerminal and Fish 2.3.1. I've verified that rebuilding Fish 2.2.0 from ports fixes the problem. Next, I'll try bisecting the upstream source to find the cause of the bug.
Upstream issue https://github.com/fish-shell/fish-shell/issues/3406
Check your TERM and COLORTERM env variables. Your shell may be looking for the wrong magic sequences since the last revision.
Request maintainer feedback for shells/fish.
Review in progress at https://reviews.freebsd.org/D8148
testbuild@work
Was the test build successful?
Hello, any update on this? I'm on TrueOS as well and experiencing this bug.
A commit references this bug: Author: asomers Date: Tue Jan 3 17:50:50 UTC 2017 New revision: 430488 URL: https://svnweb.freebsd.org/changeset/ports/430488 Log: shells/fish upgrade to 2.4.0 Also, update /etc/shells on install PR: 214306, 212955 Approved by: brd (ports) freebsd.users@gmail.com (maintainer timeout) Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D8665 Changes: head/shells/fish/Makefile head/shells/fish/distinfo head/shells/fish/pkg-plist
Fixed by svn r430488 (PR 214306), which updates shells/fish to a version where the problem is fixed by upstream.