nano error: Error opening terminal: xterm-256color

前端 未结 10 663
梦谈多话
梦谈多话 2020-12-22 17:41

After the installation of OSX Lion, I tried to:

nano /etc/apt/sources.list

But I get this error:

Error opening terminal: xt         


        
10条回答
  •  南笙
    南笙 (楼主)
    2020-12-22 18:30

    I had this problem connecting to http://sdf.org through Mac OS X Lion. I changed under Terminal Preferences (+,) > Advanced pane, Declare Terminal as to VT-100.

    I also marked Delete Sends Ctrl-H because this Mac connection was confusing zsh.

    It appears to be working for my use case.

提交回复
热议问题