[OpenIndiana-discuss] termcap

sam at freudiger.nl sam at freudiger.nl
Wed Jan 14 09:08:17 UTC 2015


Hi Reg,

thanks for the reply.
I was able to change the terminal properties following these instructions:

$infocmp vt100 > vt100.ti
$vi vt100.ti
$tic vt100.ti

thanky for the help!

But this is strange; my IPMI SOL setting is 100x31 (colons x lines), my 
terminfo setting is now 100x31 and even the terminal i use to connect to 
it is set to 100x31, but still when I make for example a $less 
/var/log/syslog only the first few lines show up correctly but then only 
the end of each line is displayed.

Any clue?

kind regards
sam

On 13-01-15 15:04, Reginald Beardsley via openindiana-discuss wrote:
> Termcap vs terminfo has always been a bit of a mess.  I believe that terminfo has always been standard on Solaris since 2.1.
>
> The best way to diagnose the problem is to run truss and look to see what it tries to open and in what order it looks for files.  This is useful for many such problems.
>
> truss -o truss.out -f vi
>
> shows OI 151a8 is looking in /usr/share/lib/terminfo
>
> have Fun!
> Reg
>
> --------------------------------------------
> On Tue, 1/13/15, sam at freudiger.nl <sam at freudiger.nl> wrote:
>
>   Subject: [OpenIndiana-discuss] termcap
>   To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
>   Date: Tuesday, January 13, 2015, 7:26 AM
>   
>   Hi,
>   
>   one more question came up, why are my changes in vim
>   /usr/share/lib/termcap not effective, is there a command
>   that I need to
>   run for it to work?
>   (I want to change the number of colons and lines for some
>   terminal type).
>   Or is this the wrong way to do it and I need to compile the
>   changes
>   somehow to the appropriate location in
>   /usr/share/lib/terminfo/X ?
>   
>   Regards,
>   sam
>   
>   _______________________________________________
>   openindiana-discuss mailing list
>   openindiana-discuss at openindiana.org
>   http://openindiana.org/mailman/listinfo/openindiana-discuss
>   
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list