Character lost when l/ is sent to terminal eg ls /opt/local/ becomes ls /opt/loca

When using terminal application in OSX 10.13.2 Seeing strange behaviour.

A display character lost when l/ is sent to terminal.

For example when typing

$ ls /opt/local/

becomes

ls /opt/loca

with the insertion point moved on one place but the command line still works.


$ ls /opt/local/

Library bin etc include lib libexec man sbin share src var www


Terminal type is xterm-colour and tty is console.

$ echo $TERM

xterm-color

$ tty

/dev/ttys000

Also occurs when doing [tab] command line expansion.


$ ls /opt/local/[tab]

Library bin etc include lib libexec man sbin share src var www


I think this is a terminal display driver issue as the same strange behaviour occurs inside vim. I use terminal app a lot and have only seen this after updating to High Sierra yesterday.

Anyone else seeing/not seeing this know how to examine further ?

MacBook Pro (17-inch Early 2011), Mac OS X (10.7.4), Don't make 'em like that any more

Posted on Dec 23, 2017 7:03 AM

Reply
4 replies

Dec 24, 2017 2:52 AM in response to Gannett

Looks like this is behaviour very specific to the Terminal app and specifically the terminal type arrangement of preferences (colour/font/size).

If I start another shell using Terminal->Shell->New Tab->Homebrew

the disappearing character issue is not apparent.

Probably the result of some preferences corruption in the plist file.


$ ls /opt/local/bin

2to3-2.7

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Character lost when l/ is sent to terminal eg ls /opt/local/ becomes ls /opt/loca

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.