Message: previous - next
Month: September 2020

Re: Focal: strange behavior of the prompt for the tcsh shell

From: Uwe Brauer <oub@...>
Date: Tue, 22 Sep 2020 17:15:48 +0200
>>> "MJvt" == Marvin Jones via trinity-users <trinity-users-9Og1/ECgh1GAIsdxEh6HNXLzzl//wxEqrE5yTffgRl4@...> writes:

> On Mon, 21 Sep 2020, Uwe Brauer wrote:
>> I am running a Thinkpad X1, and upgraded from 16.04 to 20.04.
>> I always use the tcsh shell, with the following setting
>> set prompt   = '%B%n@%m:%~\n%T %#%b'
>> That worked perfectly till now
>> However now when repeat a command with left arrow up and then
>> use the right and left arrow keys of my keyboard the
>> cursor jumps the line and make it hard to modify the last command.
>> Any pointers or information would be highly welcome

> It looks like I see the same problem here when I enter tcsh and
> set the prompt as you described.
> However, I'm still on Ubuntu 16.04, and using Trinity 14.0.8 PSB.

> But,tcsh is not my 'normal' shell.

It seems that there was a change in the tcsh shell that might affect
this behavior the workaround is

set prompt   = '%n@%m:%~\n%T %#'