The problem doesn't appear with "less" only. I can do it with "man" for example: $ man printf WARNING: terminal is not fully functional I just need to remove the ~/.terminfo directory to get this problem. So, "less" and "man" use this terminfo file.
But, you found, congratulations! My terminfo entry was correct but the entry in my /etc/termcap file was incorrect. So, I found the termcap file in the rxvt-unicode code source archive: $ find . -name "*.termcap" ./doc/etc/rxvt-unicode.termcap Then I add these lines to the /etc/termcap file. Now it works good: long commands are on multiple lines :) Now I am wondering why "less" and "man" applications use my terminfo entry whereas the "rxvt-unicode" application use the old termcap file to display correctly the long commands... Have you an idea about this? ----- Mail original ----- De: "Marc Lehmann" <[email protected]> À: "spam spam spam spam" <[email protected]> Cc: [email protected] Envoyé: Lundi 6 Août 2012 18:04:22 Objet: Re: Long commands on multiple lines On Sun, Aug 05, 2012 at 02:51:11PM +0200, [email protected] wrote: > Indeed, if I remove the terminfo file: > Then I got problems using terminal applications: And you have the problem in "less" or in another application? Did you tets that other applciation? > Also, I added an entry into my /etc/termcap file: You need to use the corretc entry, and the corretc syntax. Yours is neither. > The only solution which works for the moment is to set TERM=vt100. That's a good indication that your program needs termcpa and is lacking it. > Why it isn't possible to get the correct behavior by using terminfo/termcap > files instead of set this TERM variable ? Same reason why you killed your parents, I guess :) -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / [email protected] -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
