[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ranger-users] ranger is not restoring my terminal settings

From: Gary Johnson
Subject: [Ranger-users] ranger is not restoring my terminal settings
Date: Sun, 17 Mar 2013 00:08:24 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

I've been having a problem with "recent" versions of ranger on a
number of the Linux systems on which I've installed it.  I'm
guessing the problem started after 1.5.2.  In any case, the problem
persists in the latest version from the git repository.

To avoid any mistakes with the installation process, I just cloned
ranger from http://git.sv.gnu.org/r/ranger.git, moved aside my
~/.ranger and ~/.config/ranger directories and executed
ranger/ranger.py.  When I quit ranger, my termios settings are
messed up, e.g., characters I type are no longer echoed and newlines
are no longer accompanied by carriage returns so that the output of
commands such as ls stair-step across the screen.

I can show how ranger has corrupted my termios settings by using the
'stty -g' command, as in this example.

    address@hidden $ stty -g
    address@hidden $ ranger/ranger.py
    address@hidden $ 

I executed another 'stty -g' at the last prompt, but it wasn't

Another manifestation of the problem is that when I launch vim from
within ranger to edit a file, the backspace key doesn't work--vim
just displays ^? each time I hit the backspace key.

This behavior is consistent across several different Linux systems.
The example above is from a system running Fedora 14.  The terminal
is GNOME Terminal 2.32.0.  I just verified that the behavior is the
same in xterm 260.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]