04-11-2014, 05:11 PM | #61 |
Wizard
Posts: 3,014
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
As I mentioned in the gdb thread, gdb actually works properly when run within pbterm. That is so helpful to me. I wonder if other ncurses-based programs also work within pbterm? I'll have to try and see.
|
04-13-2014, 06:09 PM | #62 | |
Connoisseur
Posts: 97
Karma: 90350
Join Date: Aug 2013
Location: Berlin, Germany
Device: PB 622, PB 623
|
Quote:
I'm actually astonished that gdb works well enough, given that it seems to be linked against the ncurses library (at least my desktop version). Perhaps you just didn't use anything in it that would have send escape sequences? Best regards, Jens |
|
Advert | |
|
04-13-2014, 06:29 PM | #63 | |
Wizard
Posts: 3,014
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
For fun, I tried running vi within pbterm. It was a mess, of course, as expected. |
|
04-15-2014, 05:22 PM | #64 |
Connoisseur
Posts: 97
Karma: 90350
Join Date: Aug 2013
Location: Berlin, Germany
Device: PB 622, PB 623
|
|
04-15-2014, 06:12 PM | #65 |
Wizard
Posts: 3,014
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Yes, I had installed it a few weeks ago. It works nicely, considering that you have to use the software keyboard. I prefer using vi or vim from a remote connection since it's easier to type that way, but it's good to have a local version if necessary.
|
Advert | |
|
07-16-2014, 08:32 PM | #66 |
Junior Member
Posts: 5
Karma: 20706
Join Date: Jul 2014
Location: Bulgaria
Device: Pocketbook 626 Touch Lux 2
|
Thank you!
I just want to say one big THANK YOU!
I confirm that it works like a charm on Touch Lux 2 (626)! |
07-21-2014, 06:56 PM | #67 |
Connoisseur
Posts: 97
Karma: 90350
Join Date: Aug 2013
Location: Berlin, Germany
Device: PB 622, PB 623
|
|
01-29-2015, 08:22 AM | #68 |
Addict
Posts: 352
Karma: 188498
Join Date: Jan 2015
Location: Romania
Device: Kobo Aura One
|
Works fine with PocketBook Basic Touch 624. Thanks.
|
11-24-2019, 06:41 AM | #69 |
Guru
Posts: 911
Karma: 149881
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
It works on the Pocketbook Inkpad 3 Pro aka pb740-2. Thank you!
Can the screenlength be tuned? The last lines disappear beneath the bezel. Last edited by Markismus; 11-24-2019 at 06:46 AM. |
11-24-2019, 11:22 AM | #70 |
Wizard
Posts: 3,014
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I think you would need to modify the source code and build your own version to tune the margins. There are variables for the x and y margins in the code, but it looks like they are left at the default values (which I assume are '0'). It's been a long time since I coded in C++, but I vaguely remember that you could set a default value for the margins in the definition of the Lines() constructor in Lines.hpp. It's probably very easy if you know C++.
Last edited by rkomar; 11-24-2019 at 11:24 AM. |
12-01-2019, 07:42 AM | #71 |
Connoisseur
Posts: 97
Karma: 90350
Join Date: Aug 2013
Location: Berlin, Germany
Device: PB 622, PB 623
|
Hi Markismus,
just uploaded a new version (1.9) where the x- and y-margin can be adjusted via the pbterm.cfg file by entries like x_margin : 100 y_margin : 25 Allowed range is 0 to 1000 pixel (default is 10). The configuration file needs to be copied to system/config/. Hope that solves the problem. Best regards, Jens |
12-01-2019, 11:01 AM | #72 |
Guru
Posts: 911
Karma: 149881
Join Date: Jul 2013
Location: Netherlands
Device: HiSenseA5ProCC, Cracked OnyxNotePro, Note5, Kobo Glo, Aura
|
Great! I'll try it.
|
05-01-2022, 02:33 PM | #73 |
Member
Posts: 13
Karma: 10
Join Date: May 2022
Device: inkbook color 741
|
pbterm working on PB741
Woot! Root!
Thanks for going the extra mile with the keyboard layout, for shell work. |
09-14-2023, 01:05 PM | #74 |
0000000000101010
Posts: 5,709
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Made a few tweaks to the source to scale pbterm to the screen a little better on newer devices. The top area of the screen was unused and once the text reached the bottom of the screen you'd lose a line or two, with some text wrapping around to the top of the screen.
I also set the HOME key to toggle between portrait and landscape. From reading through the code I spotted a couple of features I was unaware of that others may also appreciate: Long press of PREV and NEXT buttons decrease and increase the text size. Tapping the top-left corner of the screen quickly exits the app. |
09-14-2023, 02:16 PM | #75 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Thanks @neil_swann80, most appreciated. Text size increase/decrease was something I wasn't aware too (and missing it).
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Terminal-Programm für PB622 und 623 | jtt | PocketBook | 9 | 09-15-2013 12:56 PM |
New user questions PB622 | muntesco | PocketBook | 2 | 02-02-2013 09:29 AM |
Zeiteinstellungen PB622 | fr3d | PocketBook | 5 | 07-11-2012 02:00 PM |
wlan mit pb622 | sebigbos | PocketBook | 13 | 07-11-2012 10:03 AM |
Tastatursperre PB622 | fr3d | PocketBook | 1 | 07-03-2012 04:20 AM |