nano Support?

Issues relating to the upcoming LiberTV TvOS < 11.2 JB. NO MORON "wen eta" though - unless you want to be banned.
Forum rules
  • NO IDIOTIC QUESTIONS ABOUT "WEN ETA JB".
  • Read the FAQ before asking.
  • Otherwise, open discussion and/or requests welcome.

nano Support?

Postby chernabog55 » Fri Mar 10, 2017 8:16 am

Just wondering if there is a way to get nano running when connected to the AppleTV. It's installed with the other binaries, but I get this when trying to use it:

Code: Select all
-bash-3.2# nano testFile
Error opening terminal: xterm-256color.
-bash-3.2#


Googled around for a bit, but did not find anything too helpful. Tried changing $TERM to various option, but no difference. Any thoughts?
chernabog55
 
Posts: 2
Joined: Fri Mar 10, 2017 8:05 am

Re: nano Support?

Postby RiotNrrrd » Fri Mar 10, 2017 9:22 am

You have to set $TERM to xterm-256color and copy in a terminfo entry into the appropriate place under /usr/share/terminfo/78, much like on macOS.
RiotNrrrd
 
Posts: 13
Joined: Sun Feb 26, 2017 11:19 pm

Re: nano Support?

Postby chernabog55 » Fri Mar 10, 2017 10:46 am

:o Thank you! That makes so much sense. This was literally keeping me awake and it was so simple.

And now I take my "I finally have my AppleTV Jailbroken and everything is alright" slumber...
chernabog55
 
Posts: 2
Joined: Fri Mar 10, 2017 8:05 am

nano Support

Postby richardmlldk » Tue Aug 08, 2017 6:44 am

yes, i will use joe if I cannot find nano/pico.

But I am a nano person for years and years
User avatar
richardmlldk
 
Posts: 2
Joined: Wed Aug 02, 2017 5:47 pm
Location: Denmark


Return to LiberTV

Who is online

Users browsing this forum: No registered users and 3 guests