MP console editor is not a console editor
Moderators: 666philb, Forum moderators
- MochiMoppel
- Posts: 1240
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
MP console editor is not a console editor
In my Slacko5.6 this is indeed a console editor (version 3.2.13), running in a rxvt console.
However Fossapup64 uses the newer GTK2 version 5.2.13 , which obviously is not a console editor.
The author calls it "Programmer Text Editor", which IMO is more accurate.
Could be a nice alternative to Geany, but needs an update. Fossapup's version is just too old. Newest version is 5.43
- Grey
- Posts: 2024
- Joined: Wed Jul 22, 2020 12:33 am
- Location: Russia
- Has thanked: 76 times
- Been thanked: 376 times
Re: MP console editor is not a console editor
Yes, it's a pretty good editor. 666philb mentioned somewhere that he deliberately downgraded Geany version from 1.36 to 1.35 due to performance. Maybe with MP the same case.MochiMoppel wrote: Thu Oct 29, 2020 4:50 am Could be a nice alternative to Geany, but needs an update. Fossapup's version is just too old. Newest version is 5.43
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
Re: MP console editor is not a console editor
- mikewalsh
- Moderator
- Posts: 6166
- Joined: Tue Dec 03, 2019 1:40 pm
- Location: King's Lynn, UK
- Has thanked: 796 times
- Been thanked: 1987 times
Re: MP console editor is not a console editor
I too have seen it in Pups for years, and never took much notice of it.....given that I also use Geany wherever necessary for any kind of 'programming'. (And Geany is, I believe, what's also known as an IDE.....again, huh?)
EDIT:- I think that stands for "Integrated Development Environment", yes? Which is....??
Mike.
- galbi
- Posts: 51
- Joined: Tue Jul 14, 2020 12:53 pm
- Location: Buenos Aires - Argentina
- Has thanked: 5 times
- Been thanked: 10 times
Re: MP console editor is not a console editor
Mike look at this and you'll catch de ideamikewalsh wrote: Thu Oct 29, 2020 3:06 pmEDIT:- I think that stands for "Integrated Development Environment", yes? Which is....??
https://www.embarcadero.com/products/delphi
Years ago, I wanted to play with Delphi, as it's private software and I couldn't find it, I've discovered Lazarus(1) which lead me to discover libre software, which lead me to discover Linux... and here we are.
(1)https://www.lazarus-ide.org/
- mikewalsh
- Moderator
- Posts: 6166
- Joined: Tue Dec 03, 2019 1:40 pm
- Location: King's Lynn, UK
- Has thanked: 796 times
- Been thanked: 1987 times
Re: MP console editor is not a console editor
Uh-huh. 'Kayyy.....yup, I think I get the idea just fine. That Lazarus looks quite interesting; I might just see if I can download it, try and get it running.....have a 'play' with that. Thanks for the links.
Cheers, mate!
Mike.
Re: MP console editor is not a console editor
When I run it in a 'console' (framebuffer/cli) ... it looks something like ...
I say "something-like", as that's a bad framebuffer (just a quick) grab (poor quality font randomly set), in the more regular use/font it looks quite nice.
Re: MP console editor is not a console editor
An editor is a program the edit text in a text file.Would anyone care to expand on just exactly what a 'console editor' actually IS....and what it does?
A console editor will work when Xwindows (where you have windows and buttons to click, and pictures, and a mouse cursor) is not running. For example, what you get if you kill X, either from the menu or by pressing ctrl+alt+backspace.
if Xwindows (Xorg) is not running, and you need text editor to fix it, Geany won't work, it needs X to be running.
Mainframe computers used to have a control panel called a console with flashing lights and toggles switches. Then they had control panels with octal or hexadecimal keys, easier to use than flipping toggle switches. Then they had a dedicated video monitor and keyboard, which was also called a console, which could do most of what the control panel console on the mainframe could do, and more.
When you boot Puppy, it displays information as text as it boots, and if Xwindows doesn't start automatically, it waits for you to type commands. That is referred to as a text console.
In BionicPup, mp can run in a text console, or in a urxvt window, or in it's own gtk window.
Sometimes you need to edit a text file in a console. For example, you might edit xorg.conf, then find that X doesn't start, and you can fix it easily by editing xorg.conf again, but Geany won't run if X isn't running. But mp will work in a console. It doesn't need X to be running.
- Grey
- Posts: 2024
- Joined: Wed Jul 22, 2020 12:33 am
- Location: Russia
- Has thanked: 76 times
- Been thanked: 376 times
Re: MP console editor is not a console editor
Therefore, being a text editor for programmers, it still remains a console editor.
This means that the inscription in main menu is not lying. It is a versatile fighter with multiple modes.
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
- MochiMoppel
- Posts: 1240
- Joined: Mon Jun 15, 2020 6:25 am
- Location: Japan
- Has thanked: 21 times
- Been thanked: 440 times
Re: MP console editor is not a console editor
No, it's not lying but it is misleading. The menu does not start the editor in console mode, so why explicitly label it "console"?Grey wrote: Fri Oct 30, 2020 4:27 amThis means that the inscription in main menu is not lying. It is a versatile fighter with multiple modes
Re: MP console editor is not a console editor
mp seems to run better if TERM=Eterm or TERM=Eterm-color
like this:
Code: Select all
TERM=Eterm-color COLORTERM=Eterm-color mp readme.txt
mp could be started from a script, like this:
Code: Select all
#!/bin/sh
TERM=Eterm-color COLORTERM=Eterm-color mp "$@"
- Grey
- Posts: 2024
- Joined: Wed Jul 22, 2020 12:33 am
- Location: Russia
- Has thanked: 76 times
- Been thanked: 376 times
Re: MP console editor is not a console editor
But in fairness, we must admit that if there was no mention of the console, then most users would not even know that the editor can run in console.
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
- garnet
- Posts: 66
- Joined: Tue Aug 04, 2020 2:21 pm
- Location: Alexandria
- Has thanked: 6 times
- Been thanked: 12 times
Re: MP console editor is not a console editor
Code: Select all
# mp -txt readme.txt
Hope that helps ^_^
- Grey
- Posts: 2024
- Joined: Wed Jul 22, 2020 12:33 am
- Location: Russia
- Has thanked: 76 times
- Been thanked: 376 times
Re: MP console editor is not a console editor
By the way, yes. Everyone forgot about the 'mp --help' command. And everything is there.
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: MP console editor is not a console editor
Hi @MochiMoppelMochiMoppel wrote: Fri Oct 30, 2020 6:08 amNo, it's not lying but it is misleading. The menu does not start the editor in console mode, so why explicitly label it "console"?Grey wrote: Fri Oct 30, 2020 4:27 amThis means that the inscription in main menu is not lying. It is a versatile fighter with multiple modes
i probably used the ancient original mp .desktop file in the mp.pet just with a different icon (mp V3 from barry). the latest .desktop says
the reason that it isn't the latest one in fossapup is that it's not a straight forward compile and as time was short when building fossapup i decided to use bionicpup64s version.[Desktop Entry]
Name=Minimum Profit Text Editor
Comment=Edit text files
Exec=mp-5 %F
Terminal=false
Type=Application
StartupNotify=true
Icon=minimum-profit
Categories=Development;Utility;TextEditor;TextTools;
Keywords=Text;Editor;Plaintext;Write;
MimeType=text/plain;
X-Desktop-File-Install-Version=0.23
if someone wants to build the latest please do. i would like the gtk3 version.
fossapup64 viewtopic.php?f=40&t=88
- Grey
- Posts: 2024
- Joined: Wed Jul 22, 2020 12:33 am
- Location: Russia
- Has thanked: 76 times
- Been thanked: 376 times
Re: MP console editor is not a console editor
Compiled with components: driver qt5, MPDM (Minimum Profit Data Manager) v. 2.69, MPSL (Minimum Profit Scripting Language) v. 2.60. I think there is no gtk3 driver, but only gtk+, so qt5. Run through Menu>>Document>>Minimum Profit Text Editor
New version not overwrite the old version when installing(they'll both be in menu.), if necessary, 666philb will do it.
Further, as a bonus, I compiled two games from the author of MP. The first one is small and it is possible, in principle, to include it in Fossapup by default.
Space Plumber aka splumber (first-person 3d game, the main goal is to reach the extraction pumps before the water level increases swamping everything). Run through Menu>>Fun>>Space Plumber
https://yadi.sk/d/bXCMqYJG90OtCA
Freaks aka fr2002 (port to newer architectures of Freaks! (MS/DOS), a 3D maze and monster smashing adventure developed in the 90's). Run through Menu>>Fun>>Freaks!
https://yadi.sk/d/eS8Z6YWl-JdXgQ
The games did not have icons, so I made it quickly myself. Games use OSS, so there is pinstall.sh in .pet which install alsa-oss for sound, plus LD_PRELOAD = libaoss.so in launch script of games.
And it was necessary to compile all sorts of filp, qdgdf, mpdm, mpsl libraries there.
And finally, some fun and sad at the same time information. Author of these programs, Ángel Ortega, doesn't care if Puppy still exists or is already dead.
Link to full version:
https://triptico.com/blog/why-the-minim ... ebian.html
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: MP console editor is not a console editor
Grey wrote: Sat Oct 31, 2020 3:33 am Here it is. Minimum Profit 5.43 .pet: https://yadi.sk/d/dOVpEs1-fRLGNg
Compiled with components: driver qt5, MPDM (Minimum Profit Data Manager) v. 2.69, MPSL (Minimum Profit Scripting Language) v. 2.60. I think there is no gtk3 driver, but only gtk+, so qt5. Run through Menu>>Document>>Minimum Profit Text Editor
New version not overwrite the old version when installing(they'll both be in menu.), if necessary, 666philb will do it.
thanks @Grey added to quickpet updates
fossapup64 viewtopic.php?f=40&t=88
- Grey
- Posts: 2024
- Joined: Wed Jul 22, 2020 12:33 am
- Location: Russia
- Has thanked: 76 times
- Been thanked: 376 times
Re: MP console editor is not a console editor
Well, these too, mainly for visual beautification: VU Meter, Waveform Seekbar, Musical Spectrum.
https://deadbeef.sourceforge.io/plugins.html
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
- 666philb
- Posts: 429
- Joined: Thu Jul 09, 2020 3:18 pm
- Location: wales uk
- Has thanked: 111 times
- Been thanked: 149 times
Re: MP console editor is not a console editor
hi @GreyGrey wrote: Sun Nov 01, 2020 3:22 pm In order not to create a new topic, I will suggest right here. It would be nice to add a plugin ''Headerbar for GTK3 UI'' aka ''ddb_misc_headerbar_GTK3'' for DeaDBeeF player. This is actually it, a headerbar with buttons for the GTK3 UI
Well, these too, mainly for visual beautification: VU Meter, Waveform Seekbar, Musical Spectrum.
https://deadbeef.sourceforge.io/plugins.html
it's best to make a new topic for new subjects.
i've created a new thread that will be pinned to top of the fossapup forum where user contributed packages can be posted viewtopic.php?f=146&t=1239
fossapup64 viewtopic.php?f=40&t=88
Re: MP console editor is not a console editor
Also, I use a very old version, 3.3.17, which has some mods to support utf-8. Here is the pet compiled for Debian Buster:
http://distro.ibiblio.org/easyos/amd64/ ... ster64.pet
http://distro.ibiblio.org/easyos/amd64/ ... ster64.pet
I also have another one linked statically using musl, which is in the initrd.