<div dir="ltr">Hi<div>Thanks a lot</div><div>I do check it,</div><div>best regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 23, 2020 at 3:09 PM Debian Bug Tracking System <<a href="mailto:owner@bugs.debian.org">owner@bugs.debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is an automatic notification regarding your Bug report<br>
which was filed against the gnome-terminal package:<br>
<br>
#961102: Debian gnome and kde `terminal'<br>
<br>
It has been closed by Simon McVittie <<a href="mailto:smcv@debian.org" target="_blank">smcv@debian.org</a>>.<br>
<br>
Their explanation is attached below along with your original report.<br>
If this explanation is unsatisfactory and you have not received a<br>
better one in a separate message then please contact Simon McVittie <<a href="mailto:smcv@debian.org" target="_blank">smcv@debian.org</a>> by<br>
replying to this email.<br>
<br>
<br>
-- <br>
961102: <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961102" rel="noreferrer" target="_blank">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961102</a><br>
Debian Bug Tracking System<br>
Contact <a href="mailto:owner@bugs.debian.org" target="_blank">owner@bugs.debian.org</a> with problems<br>
<br><br><br>---------- Forwarded message ----------<br>From: Simon McVittie <<a href="mailto:smcv@debian.org" target="_blank">smcv@debian.org</a>><br>To: morteza jamareh <<a href="mailto:realjamareh@gmail.com" target="_blank">realjamareh@gmail.com</a>>, <a href="mailto:961102-done@bugs.debian.org" target="_blank">961102-done@bugs.debian.org</a><br>Cc: <br>Bcc: <br>Date: Sat, 23 May 2020 11:34:34 +0100<br>Subject: Re: Bug#961102: Debian gnome and kde `terminal'<br>On Wed, 20 May 2020 at 10:44:10 +0430, morteza jamareh wrote:<br>
> There is a frustrating issue on Gnome and KDE terminal.<br>
> I have tried on both debian stable and testing release.<br>
> I enter a long command on terminal and after finishing I put arrow UP to use<br>
> that command again the cursor doesn't go to the first character of my command.<br>
<br>
This is the behaviour of your shell (probably bash, but perhaps something<br>
else like zsh or tcsh if you have chosen to use a different shell),<br>
not the terminal. The shell controls the cursor position, the terminal just<br>
displays what the shell tells it to.<br>
<br>
I don't think this is a bug in the shell, either: I think this is<br>
the shell working the way it is designed to work. In every shell and<br>
interactive prompt I can remember using (including bash, zsh, Python<br>
and even the Quake III Arena console), scrolling back through previous<br>
commands puts the cursor at the end of the line, so that if you are passing<br>
different final arguments to a long command, you can do something like,<br>
for example:<br>
<br>
    ls -al --color=always --classify /home<br>
    [Up arrow]/user<br>
    [Up arrow][Ctrl+W]/tmp<br>
<br>
and it will have the effect of:<br>
<br>
    ls -al --color=always --classify /home<br>
    ls -al --color=always --classify /home/user<br>
    ls -al --color=always --classify /tmp<br>
<br>
If the behaviour that you want is (for some reason) that the cursor is<br>
placed at the beginning of lines recalled from history, then you need<br>
to choose a shell that is designed to work like that, or can be configured<br>
to work like that. I don't know whether there are any shells with that<br>
behaviour in Debian.<br>
<br>
    smcv<br><br><br>---------- Forwarded message ----------<br>From: morteza jamareh <<a href="mailto:realjamareh@gmail.com" target="_blank">realjamareh@gmail.com</a>><br>To: <a href="mailto:submit@bugs.debian.org" target="_blank">submit@bugs.debian.org</a><br>Cc: <br>Bcc: <br>Date: Wed, 20 May 2020 10:44:10 +0430<br>Subject: Debian gnome and kde `terminal'<br><div dir="ltr"><div>Package: gnome-terminal</div><div>Version: 3.30.2-2</div><div><br></div>Hi <div>There is a frustrating issue on Gnome and KDE terminal.</div><div>I have tried on both debian stable and testing release.</div><div>I enter a long command on terminal and after finishing I put arrow UP to use that command again the cursor doesn't go to the first character of my command. The issue has been attached.</div><div>Even when I use Ctrl+r to reverse search on terminal I have the same issue.</div><div>best wishes</div></div>
</blockquote></div>