[Top][All Lists]

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

Re: tramp (; TRAMP hangs if .inputrc binds C-j

From: Michael Albinus
Subject: Re: tramp (; TRAMP hangs if .inputrc binds C-j
Date: Wed, 25 Jul 2018 20:35:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Davor Cubranic <address@hidden> writes:

Hi Davor,

> I’d be very happy with adding something to the docs, as it took me a
> long time to find the reason. Most advice points to shell config files
> being the culprit, especially the prompt, and it was pure luck that I
> found one user’s report yesterday that tracked it down to his
> .inputrc. Even then, they didn’t narrow it to just the C-j binding, or
> how to fix it short of removal. So I think it might also be useful to
> have the “$if term=dumb” workaround in the documentation.

I've added the following to the manual:

--8<---------------cut here---------------start------------->8---
          And finally, bash’s readline shall not use key bindings like
          ‘C-j’ to commands.  Disable reading the readline
          initialization file:

               [ $TERM = "dumb" ] && INPUTRC=/dev/null
--8<---------------cut here---------------end--------------->8---

I don't use bash myself; could you pls check whether this works as expected?

> Thanks again,
> Davor

Best regards, Michael.

reply via email to

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