Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > PocketBook > PocketBook Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-16-2023, 06:13 AM   #76
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Previous changes made...
  • Tweaks to scale pbterm to the screen correctly on newer devices
    (Formerly the top few lines of the screen were 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.)
  • Set the HOME key to toggle between portrait and landscape.
  • Fixed long-press of PREV button. Long-press of PREV and NEXT buttons decrease and increase text size.

Most recent changes made...
  • Increased the size of the top-left and top-right (invisible) on-screen corner buttons to make them easier to press. Top-left quits pbterm, top-right is a recording/log toggle.
  • Merged the pbterm.kbd (keyboard layout) and pbterm.cfg (user editable config file) into the binary. They will now be extracted to your device automatically if not already present.
  • Modified the scroll limiting; allows the output text to be scrolled all the way to the top of the screen, rather than bottom limited. Essentially you can raise the last outputted text above the height of the on-screen keyboard (rather than it covering the text) which I find useful when working with files with user unfriendly names.
Attached Files
File Type: zip pbterm.zip (82.2 KB, 680 views)

Last edited by neil_swann80; 09-20-2023 at 10:08 AM.
neil_swann80 is offline   Reply With Quote
Old 12-21-2023, 04:07 AM   #77
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Tested it on Inkpad X (IP1040). All is working well. Appreciate the modified scroll limiting.
Thanks again!
nhedgehog is offline   Reply With Quote
Old 01-09-2024, 01:32 PM   #78
diegoocampo
Connoisseur
diegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipse
 
Posts: 74
Karma: 8068
Join Date: May 2012
Device: PocketBook Inkpad Color 3
Crashing on PocketBook InkPad Color 3

Hi!

I just tried that latest version of PBterm and it is crashing for me in a PocketBook InkPad Color 3. I am running the latest firmware from PocketBook.

Did someone try this in my model or maybe in a Color 2 (which I believe is exactly the same model with just different screen)?
diegoocampo is offline   Reply With Quote
Old 01-09-2024, 01:43 PM   #79
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by diegoocampo View Post
Hi!

I just tried that latest version of PBterm and it is crashing for me in a PocketBook InkPad Color 3. I am running the latest firmware from PocketBook.

Did someone try this in my model or maybe in a Color 2 (which I believe is exactly the same model with just different screen)?
Does the original work for you?
neil_swann80 is offline   Reply With Quote
Old 01-09-2024, 01:59 PM   #80
diegoocampo
Connoisseur
diegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipse
 
Posts: 74
Karma: 8068
Join Date: May 2012
Device: PocketBook Inkpad Color 3
Quote:
Originally Posted by neil_swann80 View Post
Does the original work for you?
Thanks for the quick reply! I just tried that original version and it is also crashing. No error messages or anything, it just doesn't open.
diegoocampo is offline   Reply With Quote
Old 01-09-2024, 02:24 PM   #81
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Perhaps the inkpad Colour 3 is sufficiently different enough in architecture that pbterm isn't compatible. Hopefully someone else with a similar device can confirm.

What is the program listed as in your device app menu?
neil_swann80 is offline   Reply With Quote
Old 01-09-2024, 02:40 PM   #82
diegoocampo
Connoisseur
diegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipsediegoocampo can illuminate an eclipse
 
Posts: 74
Karma: 8068
Join Date: May 2012
Device: PocketBook Inkpad Color 3
Quote:
Originally Posted by neil_swann80 View Post
What is the program listed as in your device app menu?
It shows as "@pbterm", see attached image.

Someone with an InkPad Color 2 should also be able to validate this.
Thanks.
Attached Thumbnails
Click image for larger version

Name:	1704825425480.jpg
Views:	319
Size:	233.6 KB
ID:	205698  
diegoocampo is offline   Reply With Quote
Old 01-19-2024, 01:00 PM   #83
sk83
Junior Member
sk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it issk83 knows what time it is
 
Posts: 7
Karma: 2060
Join Date: Dec 2012
Device: Kindle Paperwhite 3G
Quote:
Originally Posted by neil_swann80 View Post
Perhaps the inkpad Colour 3 is sufficiently different enough in architecture that pbterm isn't compatible. Hopefully someone else with a similar device can confirm.
Can confirm. I experience the same issue on my Color 3 (FW 6.8.2480). Jailbreak also doesn't work.

I do notice that my Color 3 has kernel version 4.9.56, versus version 3.10.65 on my Era (FW 6.8.2568).
sk83 is offline   Reply With Quote
Old 06-23-2024, 09:48 AM   #84
orontee
Connoisseur
orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.orontee knows better than to ask about the Gravitic Imploder Lance.
 
orontee's Avatar
 
Posts: 62
Karma: 87708
Join Date: Sep 2023
Location: Toulouse, France
Device: Vivlio Touch HD Plus
@neil_swann80 Could you publish the sources on Github or service alike?
orontee is offline   Reply With Quote
Old 06-24-2024, 01:14 PM   #85
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by orontee View Post
@neil_swann80 Could you publish the sources on Github or service alike?
Here's the source I modified: https://github.com/Alastor27/pbterm

When I'm next home I'll create a fork of this and add my changes.
neil_swann80 is offline   Reply With Quote
Old 06-29-2024, 01:41 PM   #86
x3oo
Enthusiast
x3oo began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Feb 2009
Device: cybook
Is it possible to run emacs or vi in this terminal?
x3oo is offline   Reply With Quote
Old 06-30-2024, 02:57 AM   #87
neil_swann80
0000000000101010
neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.neil_swann80 ought to be getting tired of karma fortunes by now.
 
neil_swann80's Avatar
 
Posts: 5,732
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
Quote:
Originally Posted by x3oo View Post
Is it possible to run emacs or vi in this terminal?
I haven't tried. Without a physical keyboard they would be extremely cumbersome. Seems like SSH from a computer would be a far better option.
neil_swann80 is offline   Reply With Quote
Old 06-30-2024, 02:00 PM   #88
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,015
Karma: 18765431
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
Originally Posted by neil_swann80 View Post
I haven't tried. Without a physical keyboard they would be extremely cumbersome. Seems like SSH from a computer would be a far better option.
The available software keyboards are also missing some of the keys you need to run vi. I ended up creating my own keyboard layout (I think the escape key was the most important addition) back when I was editting in poterm I think it was. I'm not sure if you can even still add and use your own keyboard layouts, but vi won't work well with a software keyboard if it is missing the escape and ctrl keys.
rkomar is offline   Reply With Quote
Old 07-03-2024, 09:11 PM   #89
certciv
Member
certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.certciv actually enjoys Vogon poetry.
 
Posts: 11
Karma: 56298
Join Date: Jun 2024
Location: Los Angeles, CA United States
Device: PocketBook Era Color
Tested on a Era Color (U700K3.6.8.3282). Seems to be silently crashing. I tried both the original version and neil_swann80's version.
certciv is offline   Reply With Quote
Old 09-15-2024, 11:31 AM   #90
leomeyer
Junior Member
leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.leomeyer seizes *every* day. In the original latin.
 
Posts: 3
Karma: 92716
Join Date: Sep 2024
Device: Verse Pro Color
Working pbterm for Verse Pro Color (U634k3.6.8.3806)

Hi, I'm new to this forum (but a long term Pocketbook user, though...)

I have recently received a Verse Pro Color on which pbterm didn't run. After some experimentation I could build a working version. The repository is here:

https://github.com/leomeyer/pbterm

The reason for the crash (or rather, premature exit) was that the call to posix_openpt() failed with error 2 (ENOENT). I fixed it by falling back to using pipes as if the error code was EACCES for which a mechanism had already been implemented.

HTH - Leo
leomeyer is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 08:55 AM.


MobileRead.com is a privately owned, operated and funded community.