I have never had this problem ever before, but with Hardy when I run visudo and edit /etc/sudoers entires the editing gets messed up, e.g. when I press an arrow key I get a letter appear, and editing text doesn't work properly. Extremely weird. Is this some strange change? Worked fine with Gutsy.
Announcement
Collapse
No announcement yet.
Visudo editing messed up
Collapse
This topic is closed.
X
X
-
Re: Visudo editing messed up
Possibly the terminal settings inside konsole or whatever terminal program you are using are not right (i seem to have vim not working properly with konsole in KDE4) - just try visudo from a different terminal program and see if that fixes it (xfce4-terminal is a good choice - it can be configured to work exactly like konsole but is not so buggy).
- Top
- Bottom
-
Re: Visudo editing messed up
Yes, you can for instance do
Code:sudo apt-get install xfce4-terminal
Other candidates (uglier but faster) are xterm (you should allready have it installed, just press Alt+F2 and type xterm), or aterm, which is less ugly and even has support for backgrounds and transparencies.
If visudo is screwed up even in an xterm or newly installed xfce4-terminal, try typing
Code:export TERM=xterm
Other combinations you can try are
Code:export TERM=linux
Code:export TERM=vt100
If none of the above helps, then you've got a bigger problem on your hands, screwed up termcap entries (descriptions of what xterm, linux, vt100 etc are), and report back so maybe we can fix it as well.
glhf
- Top
- Bottom
Comment
Comment