You are not logged in.
For a few months now I am having issues with the shell interpreter.
Unfortunately I was no able to pinpoint exactly where the issue resides, so, I will try to explain my issue, and the things I have tried to do to resolve it, maybe someone can pinpoint me in the right direction.
Fist thing that i have noticed was that when executing some python scripts, after it finished, it did not moved the prompt ($) to new line and i was on the last line of the outputted text script. Then, when I was trying to copy paste some text from above, i was getting some huge lag. Initially I thought it was my ssh tunnel that was unstable. but soon after i noticed same behavior on my local system.
I deleted every config files from all apps including bashrc. and started fresh, but the issue persisted. I also tried the same things on multiple emulators, and the issue persists.
One other thing that I noticed being different is that now, after I pasted some text, the text is highlighted, this was not happening in the past.
Another thing that might be related, is that in that now when I paste more lines (for example, multiple import statements) in the python interpreter, they will not be interpreted as separate lines, in the past they where - so basically i understand that the shell does not sees new lines endings anymore..
I also tried same things on an older laptop, with archlinux that I use very rarely, and I was able to reproduce everything mentioned above.
As of now, I also tried to move to zsh, but unfortunately same issues persists. So is not related to the shell used (zsh or bash), with the terminal emulator (termiantor or gnome terminal), or with the some configuration that is in the users home directory.
I believe to be related either with the some behavior changed the clipboard functionality in archlinux or with some other package that is installed on the system, most likely related to the gnome environment.
Can anyone reproduce or pinpoint to the source of the issue?
P.S. I also looked in the system logs to see if there is any error appearing when the lag is present and also checked to see if there is some king of process that is abnormal, and did not found anything.
Offline
The only concrete symptoms you've described can easily be explained by the script output simply not ending in a newline or the copied content not including newlines which is not necessarily unusual depending on the source that it was copied from. On some webpages, or in some documents, you might see what is displayed as three code lines, but when you "copy" them there aren't actually actual newlines in the content.
Where are you copying from when you see this happen?
Last edited by Trilby (2021-01-14 14:10:15)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
One other thing that I noticed being different is that now, after I pasted some text, the text is highlighted, this was not happening in the past.
No idea about the other vague issues, but this one has been covered here a couple of times: https://bbs.archlinux.org/viewtopic.php?id=262455
Offline
The only concrete symptoms you've described can easily be explained by the script output simply not ending in a newline or the copied content not including newlines which is not necessarily unusual depending on the source that it was copied from. On some webpages, or in some documents, you might see what is displayed as three code lines, but when you "copy" them there aren't actually actual newlines in the content.
Where are you copying from when you see this happen?
Unfortunately that isn't the issue, The source does not matters, it be from visual studio code or even from the terminal itself. The bad part is that, is also lagging, some times for even 30 seconds, i can press enter and then after some time i will just see as many new line as i pressed enter at once after that time.
Offline
physicalit wrote:One other thing that I noticed being different is that now, after I pasted some text, the text is highlighted, this was not happening in the past.
No idea about the other vague issues, but this one has been covered here a couple of times: https://bbs.archlinux.org/viewtopic.php?id=262455
yes, setting that parameter resolved my issue with python interpreter. But not sure if it also solved the other problems, i need to make more tests.
Offline