I know that this question has been posted a zillion times, but none of the answers I could find have solved it for me.
I have a root shell given by sudo bash
. When I try to use man
, I have this message:
WARNING: terminal is not fully functional
- (press RETURN)
and limited control on navigation.
It works when I'm not root. As root, aptitude
works correctly. I've tried to export TERM
with: linux
, xterm
, xterm-color
, xterm-256color
, ansi
, screen-256color
, ncurses
, vt100
.
The ouput of stty -a
is exactly the same as root and non-root:
speed 38400 baud; rows 30; columns 271; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
I'm stuck.
Any idea?
Thanks in advance
none of the answers I could find have solved it for me
– Please link to these answers or cite them in the question body (edit the question). I guess you don't want us to give you answers you have already tried. So what are they?