|07-28-2012, 11:06 AM||#1|
Join Date: Jun 2012
poterm and tty
I expected that poterm would provide a tty of the software keyboard and the screen, either full screen or windowed. Just like xterm on Linux.
But, the software keyboard only pops up when you enter a command through the command menu of poterm.
Is this the intended way poterm works, or did I something wrong with the setup ?
On start of poterm, it complains "can't acces tty; job control turned off".
When I execute the command tty, poterm/pb answers "not a tty". Would this explain that the way of inputting characters into poterm/pb ?
Moreover, I thought, when you have a tty on a xterm, you can execute programs like vi or sed. They are available in busybox on the pb. Could there be a way to this approach ?
Hoping to hear from you . .
|07-28-2012, 11:52 AM||#2|
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1
poterm just collects commands, executes them with the system() call, and displays the results in the window. As you saw from the messages, it is not a tty, so you cannot run stuff like vi that needs a real tty to operate properly.
I'm not sure what you mean by the command menu of poterm. Perhaps my old version doesn't have that. I pop up the keyboard by pressing the OK button (the round one inside the keypad). That is the standard way in most Inkview applications.
If you want something better and have WiFi available, you can use the utelnetd app for logging in remotely from your PC and getting a full terminal session that way. vi works nicely there.