git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: WARNING: terminal is not fully functional

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 27, 2022, 18:44 UTC
Message-ID
<xmqqczkd2f3x.fsf@gitster.g>
In-Reply-To
<CAH8yC8k53a4xcDh34XqoA0VCcxG+Y+mE-rb1MKMd_Z+r-t=_Bw@mail.gmail.com>
Jeffrey Walton <noloader@gmail.com> writes:
Show 30 quoted lines
> On Thu, Jan 27, 2022 at 1:15 AM Junio C Hamano <gitster@pobox.com> wrote:
>>
>> Jeffrey Walton <noloader@gmail.com> writes:
>>
>> > I needed to install Git on Ubuntu 8. Git seems to work Ok for most
>> > task, but this is unusual:
>> >
>> >     $ git diff
>> >     WARNING: terminal is not fully functional
>> >     -  (press RETURN)
>> >
>> > Here's the terminal:
>> >
>> >     $ echo $TERM
>> >     xterm-256color
>> ...
>> Something to try quickly would be:
>>
>> $ export TERM=vt100; less README.md
>>
>> As the termcap/terminfo entry for vt100 is usually more widely
>> available, this may unblock you.
>> 
>> > It seems like loss of colors on an old platform is not that important.
>> > However, the message being printed creates an actionable item that
>> > needs attention. I think no message would be a better option.
>>
>> You would want to redirect it to folks who work on "less" ;-)
>
> Oh, sorry about that.
No need to be sorry for that.

I seem to have these terminfo database entries for terminals whose name begin with 'x':

    $ /bin/ls /lib/terminfo/x
    xterm
    xterm-256color
    xterm-color
    xterm-debian
    xterm-mono
    xterm-r5
    xterm-r6
    xterm-vt220
    xterm-xfree86

my suspicion is that you are lacking xterm-256color for some reason. These usually come from ncurses-base package if I am not mistaken.

Previous: Jeffrey Walton
Message 4 of 4 in “WARNING: terminal is not fully functional”
  1. Jeffrey WaltonJan 27, 2022
  2. Junio C HamanoJan 27, 2022
  3. Jeffrey WaltonJan 27, 2022
  4. Junio C HamanoJan 27, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.