We have moved to a new Sailfish OS Forum. Please start new discussions there.
16

A Rather Annoying Glitch with Nano / Vi (scrambled text)

asked 2018-02-17 21:56:47 +0300

LVPVS gravatar image

updated 2020-02-12 08:57:52 +0300

Hei,

Am I the only one experiencing issues with nano? I had this on my JP1301 and now on my SailfishX.

After editing a file for a while the cursor starts jumping in the actual line. The data is (visually) scrambled. Quitting and restarting nano helps but the issue returns more rapidly with every cycle. Closing the CLI is of a better help but only for a while. The bigger the file or the more keystrokes the more quicker it starts failing.

LVPVS over.

--edit: happens also with vi (on XA2, SFOS 3.2.1)

edit retag flag offensive close delete

Comments

1

me too, also SailfishX

idnovic ( 2018-02-17 22:15:47 +0300 )edit
1

yep, nano does do this, but not when connected to pc via ssh.

Spam Hunter ( 2018-02-18 00:30:43 +0300 )edit

I can confirm this, too.

jolladiho ( 2018-02-18 11:25:14 +0300 )edit

If I'm correct NIelDK @ Openrepos' mirror does have a newer version of nano. Anyone tried with that?

Louis ( 2018-02-18 13:22:57 +0300 )edit
1

Hei,

No, I haven't tried it. This issue is present from day zero. So I was wondering if anyone responsible (for nano - if there is one) knows about it.

LVPVS over.

LVPVS ( 2018-02-19 09:52:13 +0300 )edit

2 Answers

Sort by » oldest newest most voted
5

answered 2019-11-19 21:40:33 +0300

Spam Hunter gravatar image

updated 2019-11-19 21:48:12 +0300

This had to be sorted and it seems I have discovered a solution;

Add the following line to your /home/nemo/.bash_profile

export TERM=xterm-color

I restarted lipstick although this may not be necessary.

Now when I look at one of my 'problem' files, my 8 digit hex codes are not garbled and editable without problems.

Before discovering the above fix, I compliled that latest version of Nano (4.5.1) on my Jolla1 thinking it might fix the problem, but no, anyway, it's here at my dropbox if anyone is interested;

https://www.dropbox.com/s/vbsc0pl1wmcbkfx/nano-4.5-1.armv7hl.rpm?dl=0

edit flag offensive delete publish link more

Comments

Just stumbled upon this and wanted to apply...

... to see I already did in November. ;)
And I definitely still garbled text in nano. So it looks like this does not work (for me). :(

peterleinchen ( 2020-01-24 01:14:05 +0300 )edit

@Edz, it lloks you found your 'solution' here?

But for me this did not help.
And as I switched mainly to vi and experienced the same here I guess it is caused by terminal (fingerterm?) itself???

peterleinchen ( 2020-02-12 08:56:06 +0300 )edit

I can't recall where I found the 'solution'. I'll test again.

Spam Hunter ( 2020-02-14 15:25:02 +0300 )edit
1

answered 2020-02-13 01:15:34 +0300

Probably @olf already was/is on the right track?
Have a look here and linked.

Going to test this with toeterm...

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
8 followers

Stats

Asked: 2018-02-17 21:56:47 +0300

Seen: 795 times

Last updated: Feb 13 '20