{"thread":{"id":"57320","subject":"WARNING: terminal is not fully functional","startedAt":"2022-01-27T06:00:27Z","lastAt":"2022-01-27T18:44:27Z","messageCount":4,"participants":["Jeffrey Walton","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"447046","messageId":"CAH8yC8kYP2Sth+vUZMzHujKQZC6r1kFf+Lz=6_WRs4GFR65B9g@mail.gmail.com","threadId":"57320","inReplyTo":null,"subject":"WARNING: terminal is not fully functional","fromName":"Jeffrey Walton","fromEmail":"noloader@gmail.com","sentAt":"2022-01-27T06:00:06Z","receivedAt":"2022-01-27T06:00:27Z","isPatch":false,"sender":{"key":"noloader@gmail.com","avatar":null},"body":"Hi Everyone,\n\nI needed to install Git on Ubuntu 8. Git seems to work Ok for most\ntask, but this is unusual:\n\n    $ git diff\n    WARNING: terminal is not fully functional\n    -  (press RETURN)\n\nHere's the terminal:\n\n    $ echo $TERM\n    xterm-256color\n\nIt seems like loss of colors on an old platform is not that important.\nHowever, the message being printed creates an actionable item that\nneeds attention. I think no message would be a better option.\n\nJeff\n"},{"id":"447047","messageId":"xmqqr18t4sc0.fsf@gitster.g","threadId":"57320","inReplyTo":"CAH8yC8kYP2Sth+vUZMzHujKQZC6r1kFf+Lz=6_WRs4GFR65B9g@mail.gmail.com","subject":"Re: WARNING: terminal is not fully functional","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2022-01-27T06:15:43Z","receivedAt":"2022-01-27T06:16:15Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeffrey Walton <noloader@gmail.com> writes:\n\n> I needed to install Git on Ubuntu 8. Git seems to work Ok for most\n> task, but this is unusual:\n>\n>     $ git diff\n>     WARNING: terminal is not fully functional\n>     -  (press RETURN)\n>\n> Here's the terminal:\n>\n>     $ echo $TERM\n>     xterm-256color\n\nA short answer.  You are using \"less\" as the pager, but it is not\nworking with your terminal.  Likely reason is perhaps you are\nmissing terminfo/termcap database entry for that terminal.\n\nI have working xterm-256color, so\n\n\t$ TERM=xterm-256color less README.md\n\nworks as expected, but using a (bogus) terminal that no system would\nhave ever heard of, e.g.\n\n\t$ TERM=no-such-terminal-exists less README.md\n\nresults in exactly the symptom you are observing.\n\nSomething to try quickly would be:\n\n$ export TERM=vt100; less README.md\n\nAs the termcap/terminfo entry for vt100 is usually more widely\navailable, this may unblock you.\n\n> It seems like loss of colors on an old platform is not that important.\n> However, the message being printed creates an actionable item that\n> needs attention. I think no message would be a better option.\n\nYou would want to redirect it to folks who work on \"less\" ;-)\n"},{"id":"447050","messageId":"CAH8yC8k53a4xcDh34XqoA0VCcxG+Y+mE-rb1MKMd_Z+r-t=_Bw@mail.gmail.com","threadId":"57320","inReplyTo":"xmqqr18t4sc0.fsf@gitster.g","subject":"Re: WARNING: terminal is not fully functional","fromName":"Jeffrey Walton","fromEmail":"noloader@gmail.com","sentAt":"2022-01-27T07:05:18Z","receivedAt":"2022-01-27T07:06:17Z","isPatch":false,"sender":{"key":"noloader@gmail.com","avatar":null},"body":"On Thu, Jan 27, 2022 at 1:15 AM Junio C Hamano <gitster@pobox.com> wrote:\n>\n> Jeffrey Walton <noloader@gmail.com> writes:\n>\n> > I needed to install Git on Ubuntu 8. Git seems to work Ok for most\n> > task, but this is unusual:\n> >\n> >     $ git diff\n> >     WARNING: terminal is not fully functional\n> >     -  (press RETURN)\n> >\n> > Here's the terminal:\n> >\n> >     $ echo $TERM\n> >     xterm-256color\n>\n> A short answer.  You are using \"less\" as the pager, but it is not\n> working with your terminal.  Likely reason is perhaps you are\n> missing terminfo/termcap database entry for that terminal.\n>\n> I have working xterm-256color, so\n>\n>         $ TERM=xterm-256color less README.md\n>\n> works as expected, but using a (bogus) terminal that no system would\n> have ever heard of, e.g.\n>\n>         $ TERM=no-such-terminal-exists less README.md\n>\n> results in exactly the symptom you are observing.\n>\n> Something to try quickly would be:\n>\n> $ export TERM=vt100; less README.md\n>\n> As the termcap/terminfo entry for vt100 is usually more widely\n> available, this may unblock you.\n>\n> > It seems like loss of colors on an old platform is not that important.\n> > However, the message being printed creates an actionable item that\n> > needs attention. I think no message would be a better option.\n>\n> You would want to redirect it to folks who work on \"less\" ;-)\n\nOh, sorry about that.\n\nJeff\n"},{"id":"447109","messageId":"xmqqczkd2f3x.fsf@gitster.g","threadId":"57320","inReplyTo":"CAH8yC8k53a4xcDh34XqoA0VCcxG+Y+mE-rb1MKMd_Z+r-t=_Bw@mail.gmail.com","subject":"Re: WARNING: terminal is not fully functional","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2022-01-27T18:44:18Z","receivedAt":"2022-01-27T18:44:27Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jeffrey Walton <noloader@gmail.com> writes:\n\n> On Thu, Jan 27, 2022 at 1:15 AM Junio C Hamano <gitster@pobox.com> wrote:\n>>\n>> Jeffrey Walton <noloader@gmail.com> writes:\n>>\n>> > I needed to install Git on Ubuntu 8. Git seems to work Ok for most\n>> > task, but this is unusual:\n>> >\n>> >     $ git diff\n>> >     WARNING: terminal is not fully functional\n>> >     -  (press RETURN)\n>> >\n>> > Here's the terminal:\n>> >\n>> >     $ echo $TERM\n>> >     xterm-256color\n>> ...\n>> Something to try quickly would be:\n>>\n>> $ export TERM=vt100; less README.md\n>>\n>> As the termcap/terminfo entry for vt100 is usually more widely\n>> available, this may unblock you.\n>> \n>> > It seems like loss of colors on an old platform is not that important.\n>> > However, the message being printed creates an actionable item that\n>> > needs attention. I think no message would be a better option.\n>>\n>> You would want to redirect it to folks who work on \"less\" ;-)\n>\n> Oh, sorry about that.\n\nNo need to be sorry for that.\n\nI seem to have these terminfo database entries for terminals whose\nname begin with 'x':\n\n    $ /bin/ls /lib/terminfo/x\n    xterm\n    xterm-256color\n    xterm-color\n    xterm-debian\n    xterm-mono\n    xterm-r5\n    xterm-r6\n    xterm-vt220\n    xterm-xfree86\n\nmy suspicion is that you are lacking xterm-256color for some reason.\nThese usually come from ncurses-base package if I am not mistaken.\n\n"}]}