#ldd /usr/bin/vi
/usr/bin/vi:
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280a8000)
libc.so.4 => /usr/lib/libc.so.4 (0x280e9000)
this libs i included in chroot env.[free : ~]$ ee
Error opening terminal: xterm.what should i do to launch vi & ee in chroot env ?
>#ldd /usr/bin/vi
>/usr/bin/vi:
> libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280a8000)
> libc.so.4 => /usr/lib/libc.so.4 (0x280e9000)
>this libs i included in chroot env.
>
>[free : ~]$ ee
>Error opening terminal: xterm.
>
>what should i do to launch vi & ee in chroot env
>?возьми файл /etc/termcap и положи внутри chroot и выстави переменную
среды:export TERMCAP=/chroot/path/termcap
запусти после этого ee