ranger-users
[Top][All Lists]
Advanced

[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
    
6d02:5:4bf:8a3b:3:1c:7f:15:4:0:1:ff:11:13:1a:ff:12:f:17:16:ff:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
    address@hidden $ ranger/ranger.py
    address@hidden $ 
0:0:b0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

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

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.

Regards,
Gary




reply via email to

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