×
Important information

To file a bug, find instructions here: Reporting bugs

Please only post images or files to this forum which you either own the copyright to or you are sure can be distributed under an open source license.

Model.ini & Linux

More
20 Jan 2016 19:31 #41997 by Gramps50
Model.ini & Linux was created by Gramps50
I'm not a Windows user, I have and old laptop with XP on it that I use once in a while. Which bring me to my problem I would say that AG least 50% of the model.ini files I download from here will not open on my Linux Mint laptop. I am however able to open them on my Android tablet. The error "puma has not been able to detect the character encoding" Tried several different text editors with the same results.

Gramps

Please Log in or Create an account to join the conversation.

More
20 Jan 2016 21:36 #42003 by Gramps50
Replied by Gramps50 on topic Model.ini & Linux
Notepad++ will open then in Windows but there are a bunch of NUL's at the end. Remove them and save then I can open/edit them in Linux.

In Linux I can open them using LibreOffice Writer, the NUL's at the end are displayed as ###, delete them then save as a text file and Puma will now open/edit them.

Gramps

Please Log in or Create an account to join the conversation.

More
20 Jan 2016 23:16 #42005 by Deal57
Replied by Deal57 on topic Model.ini & Linux
The null characters at the end on the model.ini can be ignored or removed while you edit. Those characters are artifacts of the file storage method used by deviation. Glad to see there is a good workaround for you.

Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 06:01 #42018 by mwm
Replied by mwm on topic Model.ini & Linux
Puma is to smart for your own good. You just need a simple byte-oriented text editor, not something that's going to try and project you from yourself, or do word processing, or whatever.

I use any of vi, emacs or ed on my Unix boxes.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

Please Log in or Create an account to join the conversation.

More
21 Jan 2016 17:56 #42045 by gonzalovalenzuela
Replied by gonzalovalenzuela on topic Model.ini & Linux
you can use also nano, jed, gedit, on linux you always have alternatives ;)

Please Log in or Create an account to join the conversation.

More
22 Jan 2016 02:23 #42049 by Gramps50
Replied by Gramps50 on topic Model.ini & Linux
gedit does the same as Puma none of the GUI text editors I have tried have worked, the cli editors will. I need a Notepad++ for Linux. ;-)

Gramps

Please Log in or Create an account to join the conversation.

More
14 Apr 2016 04:55 #46469 by Richard96816
Replied by Richard96816 on topic Model.ini & Linux
You can remove nulls from files lots of different ways ...
tr -d '\000' < inputfile > outputfile
or
sed -i  's/\x0*//g' file
And many more.

Please Log in or Create an account to join the conversation.

More
12 Jun 2018 00:52 #69614 by davdrone1
Replied by davdrone1 on topic Model.ini & Linux
Thanks for the tip to use LibreOffice Writer. Works well.
Before this I was using nano from the command line, which works but is less than charmingly retro to use.
I run Linux Mint 17.3 for most things, as later versions create various issues for me.

Time flies like a banana

Please Log in or Create an account to join the conversation.

Time to create page: 0.226 seconds
Powered by Kunena Forum