07-16-2021, 10:28 PM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2021
Device: Kobo Aura Edition 2 v1
|
vim / taskwarrior possible?
hi,
got a Kobo Aura Edition 2 v1 today from a friend. Trying out the 'Konsole' in pbchess I thought how nice it would be to have my main productivity tools at the time, 'vim' and 'taskwarrior', running on e-Ink. 'vi' seems to run in 'Konsole' but the interface is verry buggy (probably Konsole does not interpret ANSII sequences).. how difficult would it be to have a completely working 'bash'-shell as a plugin? or at least vim, which could also be used as some kind of GUI for taskwarrior? I'm thinking of something similar to 'termux' on Android. or does something like this already exist, could not find anything about it other than installing a full blown Debian distro where I'm not sure it will run on my device. greetings, joweka |
07-19-2021, 09:54 PM | #2 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2021
Device: Kobo Aura Edition 2 v1
|
update:
found inkvt ( https://github.com/llandsmeer/inkvt ) and managed to compile it with the ko-reader toolchain ( https://github.com/koreader/koxtoolchain) so vi is kind of running though without an OTG keyboard it's a little bit hard to use still I can't compile taskwarrior ( https://taskwarrior.org/download/ ) I set the environment with Code:
source refs/x-compile.sh kobo env Code:
cmake -DCMAKE_BUILD_TYPE=release . Code:
cc: error: unrecognized command-line option '-mfpu=neon' cc: error: unrecognized command-line option '-mfloat-abi=hard' cc: error: unrecognized command-line option '-mthumb' |
07-20-2021, 05:38 PM | #3 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Cross-compilation is not for the faint of heart.
CMake is ... hilariously tricky to deal with at the best of times. I'll let you figure out what happens when you combine the two . As a rather strong hint, look at: https://github.com/koreader/koreader...akeCross.cmake |
07-20-2021, 05:42 PM | #4 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Not familiar with taskwarrior, but cross-compiling vim should be fairly easy, on the other hand.
I've settled for nano instead in KoboStuff because it's slightly more self-contained, which is helpful because FAT32 is the worst. (It's also slightly less arcane to newcomers, but let us not delve into that any further ^^). |
07-21-2021, 12:58 AM | #5 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2021
Device: Kobo Aura Edition 2 v1
|
Quote:
Code:
arm-kobo-linux-gnueabihf- |
|
07-21-2021, 12:45 PM | #6 | |
Enthusiast
Posts: 27
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
|
Quote:
I'd love to have the knowledge to fix it myself ... Could somebody give me a direction please Thanks for help |
|
07-21-2021, 04:50 PM | #7 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That'd take basically re-implementing the way the OSK is currently drawn ;o).
(It's currently poking directly at the font data and unpacking the bitmap by hand, it should be possible to let FBInk do the drawing, and that could include scaling, you'll "just" have to play with computing exact positioning properly). Or, keep doing it by hand and also (re)implement scaling . |
07-22-2021, 04:48 AM | #8 |
Enthusiast
Posts: 27
Karma: 5112
Join Date: Sep 2017
Location: Annecy/France
Device: kobo Libra 2
|
Thanks you,
I'm going to read the source and try to understand what you said. On another hand, don't you think it could be worth adding it to your kobostuff? Have a nice day |
07-22-2021, 06:11 AM | #9 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Not until it sees wider testing .
|
07-23-2021, 09:32 PM | #10 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2021
Device: Kobo Aura Edition 2 v1
|
by the way, since we're talking about keyboards, has anyone managed to integrate the USB host driver of the XSoar kernel ( https://github.com/hjr/XCSoar-Kobo-Build/ ) into a firmware patch or something so one could use that for others things than flying around?
sadly I'm not into compiling kernels all that much so I have to ask ... would be a great improvement for my future low-power-sunlight-agnostic-outdoor-commandline-producitvity-thingy which I think this kobo could/should be |
07-24-2021, 09:23 AM | #11 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Possibly unnecessary on newer devices? (c.f., https://www.mobileread.com/forums/sh...d.php?t=340418).
|
07-26-2021, 09:41 PM | #12 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2021
Device: Kobo Aura Edition 2 v1
|
already tried that one, but after
Code:
mount -t debugfs none /sys/kernel/debug echo host > /sys/kernel/debug/ci_hdrc.0/role Code:
-ash: can't create /sys/kernel/debug/ci_hdrc.0/role: nonexistent directory Code:
PMU:charger_adp_isr PMU:charger_usb_isr PMU:charger_in_isr PMU:charger_irq_work In PMU:_config_ricoh619_charger_params set SDP charging. usb plugged 1-0 PMU:charger_irq_work Out maybe they did not include the OTG drivers in the release for the 'Mark 6' hardware? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
taskwarrior (REQUIRES KTERM) | twobob | Kindle Developer's Corner | 77 | 07-30-2017 01:30 PM |
VIM - the editor | brianinmaine | Kindle Developer's Corner | 7 | 11-28-2013 06:37 PM |
vim for kindle | damaru | Kindle Developer's Corner | 7 | 04-05-2013 08:46 AM |
ePub and vim | kovidgoyal | ePub | 15 | 07-10-2012 03:46 PM |