libera/#maemo/ Thursday, 2018-09-20

Vajbwhat is the editor of choice if you use linux for coding? Vim?07:24
Vajbin windows I've been using Eclipse and VS code, but now I installed Devuan ascii to another laptop and thought to try it out07:25
KotCzarnymcedit07:30
KotCzarny:)07:30
felangga@Vajb I always use atom :)07:30
felanggabut it's bit heavy07:30
KotCzarnymcedit is included 'for free' with mc07:31
felanggaanother choice is sublime, but it not free07:31
Vajbmc is midnight commander?07:35
KotCzarnyyup07:35
KotCzarnyit is very flexible07:35
KotCzarnyyou can customize menu to have few handy actions available07:36
KotCzarnyie. diffing files of choice, calling help, syncing files whatever one could need07:36
KotCzarnybut if you are used to some IDE (ie. eclipse), you might find it lacking autocompleting functions07:37
KotCzarnybbl07:38
Vajbim not sure yet which one like more. Notepad++ or some IDE. Both have their moments07:41
Vajband i rather use light software, because my laptop is not newest model07:41
* Maxdamantus works as a mostly-Java programmer and practically always uses vim.08:30
MaxdamantusThough I normally have eclipse open for some static analysis tasks, and automatically adding imports.08:31
* Oksana usually uses vim, but dislikes vim's heavy documentation on Maemo 5 - takes up space, I think...08:32
* Maxdamantus has maemo all on eMMC so doesn't care about such things.08:32
MaxdamantusThe main issue I have on maemo though is that my terminal seems to exit if I press escape too quickly, which happens frequently in vim.08:33
Maxdamantus(so I intentionally slow my input down)08:33
* Maxdamantus hasn't got around to figuring out why that happens.08:33
OksanaDoes pressing escape in terminal, without vim, make terminal exit? Not for me, how about you?08:37
MaxdamantusHolding it down does.08:37
MaxdamantusIt doesn't exit if I just press it once.08:37
* Oksana tries to reproduce: X Term, vim .zebra.log, Esc-Esc-Esc-Esc..., nothing happens08:38
OksanaDo you have escape mapped to hardware keyboard? Because I am just pressing Esc on touchscreen, in X Term08:38
MaxdamantusAre you pressing a key, or the button on the screen?08:38
MaxdamantusYes, mapped to a key.08:38
MaxdamantusI don't think it happens if I touch the button rapidly.08:38
OksanaDoes it happen on your desktop, if you open Terminal and hold down Escape on keyboard?08:39
MaxdamantusActually, I figured out a while ago that it happens to some other applications too.08:39
MaxdamantusSo it'll be the WM that does it, not the terminal itself.08:39
OksanaAs in, is it intended functionality of X Term, or is it a bug, or is it feature of window manager?08:40
Maxdamantusor else some library in Maemo or something.08:40
MaxdamantusIt happens to Opera too.08:40
Maxdamantusand the "Settings" dialogue.08:40
Maxdamantusbut iirc it doesn't happen to things like gvim or urxvt.08:41
MaxdamantusSo maybe it's something in Maemo's libgtk or something.08:41
OksanaGvim is open-source, right? Should be possible to look into what they are doing with their window, to make it Esc-proof?08:41
OksanaCompare it side-by-side with something else that does close when Esc is held down.08:42
MaxdamantusDoesn't happen to the xterm in debian either.08:43
MaxdamantusSo I don't think there's anything that makes it "esc-proof" .. I think the maemo programs just decide to exit under those circumstances for some reason.08:43
OksanaBut X Term in Maemo isn't exactly the same as X Term in Debian, right? So, there may be window flags involved, similarly to rotate-or-not flags.08:45
MaxdamantusI remember running xterm under some X11 tracing program a while ago and I don't think I could see anything odd happening there, except for the application destroying its window.08:47
JuestoOksana: Xterm in x11 is way different than osso-xterm, yes08:55
JuestoEsc should work for closing?08:56
JuestoOksana: you can just delete vim manpages i guess :)08:57
Juestoi use:08:57
JuestoWindows: notepad++08:57
JuestoMac: TextWrangler08:58
JuestoLinux: gnome 2 gedit/mate's pluma or xfce mousepad or leafpad08:58
Juesto*nix/posix cli: nano08:59
Juestognome 3 is way too bloated08:59
* Oksana agrees about Gnome 3, though didn't use it much if at all09:01
Juestogtk3 mainly09:08
Juestomate or xfce are better choices09:08
Juestolxde is outdated09:09
Juestohow it's going Oksana?09:12
OksanaLots of things to do.09:14
Vajboh yes i forgot gedit13:49
sixwheeledbeastVajb: I use vi for terminal or Pluma which is MATE's fork of gedit.13:52
sixwheeledbeastI don't seem to get on with nano which seems to be a default option on some distros.13:55
Vajbi use nano for system tweaks only14:03
Vajbjust tried pluma coz it was installed by default14:03
Vajbit misses one feature that i like14:03
Vajbdoubling brackets and quotes etc14:04
KotCzarnymcedit highlights brackets14:04
sixwheeledbeastdoubling brackets?14:05
MaxdamantusPresumably inserting ')' after typing '('14:05
Maxdamantusand hoping that you don't move the cursor before you actually type the ')' or something, dunno.14:06
* Maxdamantus has always found that annoying in editors that have it.14:06
* Maxdamantus also struggles to see the practical use.14:06
KotCzarny+114:06
KotCzarnyhighlighting is ok tho14:06
KotCzarnyhelps finding bigger scopes easily14:07
MaxdamantusYeah, even vim highlights.14:07
Vajbyeah, what Maxdamantus said14:07
Vajbhelps keeping things organized for me14:07
sixwheeledbeastI don't want to have things inserted for me, it does highlight the appropriate brackets if you are on that line14:08
Vajbyeah i saw highlighting it is good feature too14:09
Maxdamantus'%' is one of my main navigation features in vim.14:09
Maxdamantus(jump to corresponding bracket/brace)14:10
KotCzarnyyup, same for mcedit14:10
Vajbvim seems like overly complicated14:10
sixwheeledbeastYou may find a plugin that adds auto bracket closure for pluma.14:11
Vajbi can't help but think that it was designed for very specific keyboardlayout14:11
MaxdamantusI really feel that it's the opposite WRT layout.14:11
Vajbi use finnish keyboard so things are not that convenient to get14:12
Maxdamantusvim works really well even on N900 (disregarding my escape issue I mentioned that I have)14:12
Maxdamantusbecause it *doesn't* assume things about the keyboard.14:12
Maxdamantuseg, vim doesn't require combinations involving things like alt/meta, ctrl, etc14:12
KotCzarnyin mcedit it's alt-b (going to matching bracket)14:12
Maxdamantus^14:12
MaxdamantusPretty much every other editing system does assume those tricky combinations.14:13
KotCzarnysimply because there are many functions and only so many keys14:13
MaxdamantusI use Dvorak, and have not done any remapping in vim.14:13
Vajbi need combination for each and every type of bracket for example14:13
KotCzarnygtk has one nice feature of being able to remap bindings14:13
KotCzarnybut in mcedit you have menu available on click as a secondary way of accessing it14:14
* Vajb should invest on learning keyboard shortcuts...14:14
KotCzarnyalthough, as i've said, highlighting is enough14:14
Vajbhehe i can imagine you thoughts of some of the ide's i've tried14:15
MaxdamantusI feel like if one were to actually invest in learning shortcuts, might as well just invest in learning vim navigation.14:15
Vajbthey can insert even methods for you14:15
Maxdamantussince probably all popular editors have plugins for vim-style input.14:16
KotCzarnylearning shortcuts is only worthwhile for things you actually use/need14:16
KotCzarnyie. undo/redo14:16
KotCzarnyand maybe save/save as14:16
sixwheeledbeastI like using Alt to shift lines about in pluma14:16
Vajbjust today i learned very convenient shortcut for web browsing alt+left arrow14:17
KotCzarnymark/move block14:17
CreteilHi all21:38
CreteilWhat is the problem ? : Sorry, it seems that you are using an IP address or a proxy that is listed in the forum anti spam blacklist.21:38
CreteilFeel free to contact our staff on irc freenode #maemo channel.21:38
KotCzarny~unbanip21:39
infobotrumour has it, unbanip is please contact techstaff <at> maemo <dot> org with your request, or see ~techstaff, or see https://www.stopforumspam.com/removal, or if your ip is dynamic, try changing it, or tags: RBL, tmo IP blocked, spam21:39
CreteilI don't see the fact that my IP (fixed) used for spamming the Maemo forum...21:40
CreteilIt apear suddenly when I was reading a thread and clicking on next page the message occur.21:41
jayspeerhello! new n900 owner and I have problem trying to install emacs from extras-devel. It says I'm missing libxpm4 but I simply can't figure out how to install it...23:07
KotCzarnyis it in repos?23:08
jayspeerit's in here http://repository.maemo.org/pool/fremantle/free/libx/libxpm/23:08
KotCzarnymaybe it's sdk's repo23:10
KotCzarny~maemo-repos23:10
infobotit has been said that maemo-repos is http://wiki.maemo.org/Repository#List_of_Maemo_repositories23:10
jayspeerthere are both packages for i386 and armel there23:11
KotCzarnylibxpm4 is in nokia's repos23:12
KotCzarnyyou should probably add missing mirrors23:12
KotCzarny(as nokia is no more)23:12
KotCzarnysee the link bot has said23:12
jayspeerR.I.P.23:12
KotCzarnyyou can add them either via manual add in app manager or via clicky .install file on that page23:13
KotCzarnychoose muarf one, linenoise seems to be down23:13
jayspeercan I just add them in /etc/apt/sources.list and install via apt-get? or do I have to use app manager?23:14
KotCzarnyapp manager overwrites sources.list23:14
KotCzarnyso while it would work, it will be gone one next app manager run23:14
KotCzarnyi think23:14
jayspeerok, dzięki za pomoc :^)23:15
KotCzarnyalso, since you are new, never ever do apt-get upgrade on maemo23:15
jayspeerwhy is that?23:15
KotCzarnynokia chose to manage updates in special way23:15
jayspeerand if I already did that (like several times)23:15
KotCzarnywhich means they should be done via app manager, otherwise there might be some breakage23:16
KotCzarny:)23:16
KotCzarnynew device, doing bad things is a good way to learn23:16
jayspeerI was looking for pocket linux for a while now. Maybe I'll switch to pmOS23:17
KotCzarnyanyway, you can add the muarf mirrors manually and do apt magic if you like23:17
jayspeerI should propably disable app manager then if I am not mistaken23:17
KotCzarnynah23:17
KotCzarnyjust be aware what i've said23:18
KotCzarnyas long it works, dont worry23:18
jayspeerI'll give a message when it stops :p23:18
KotCzarnyalso, the usual new-maemo-user package (just for information):23:19
KotCzarny~flashing23:19
infobotit has been said that maemo-flashing is http://wiki.maemo.org/Updating_the_tablet_firmware, or - on linux PC - download&extract http://maemo.cloud-7.de/maemo5/patches_n_tools/maemo-my-private-workdir.tgz, cd into it, do sudo ./flash-it-all.sh; or see ~flashing-cmdline, or see ~lazyflashing23:19
KotCzarny~cssu23:19
infobotcssu is probably http://wiki.maemo.org/Community_SSU, or (Community Seamless Software Update)23:19
KotCzarnyand of course make sure you add talk.maemo.org and wiki.maemo.org to your bookmarks23:20
jayspeerWill do! thanks again23:21
sicelojayspeer: you might also want to look at ameo Leste23:26
sicelo*Maemo Leste, rather23:26
jayspeerlooked at it. I need phone calls for another month or two. when it's no longer the case i'm diving into postmarketOS23:27
jayspeerif anyone is interested https://wiki.postmarketos.org/wiki/Nokia_N90023:29

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!