webOS Nation Forums >  Homebrew >  WebOS Internals > Terminal App?
Terminal App?

  Reply
 
LinkBack Thread Tools Display Modes
Old 03/16/2011, 12:33 AM   #141 (permalink)
Member
 
Join Date: Dec 2010
Posts: 35
Likes Received: 0
Thanks: 3
Thanked 19 Times in 1 Post
Default

If anyone is interested, give my implementation of a SDL based terminal a try:

http://forums.precentral.net/web-os-...lterminal.html

I just finished the first version today :P
vinnyh is offline   Reply With Quote
Old 03/17/2011, 11:56 AM   #142 (permalink)
Member
 
Join Date: Jul 2010
Posts: 18
Likes Received: 0
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by Xanadu73 View Post
[*]Cursor movement. Console acts the way a normal webOS app should. The cursor can be moved via ORANGE+moving your finger on the screen. It works pretty well. It goes diagonal more often then I like, so I'm going to be working on a way to filter that out (I have a couple ideas, but I'm *VERY* open to suggestions). It behaves properly when rotated as well. *I* think that because this works as well as it does, ALL current movement cursor control mappings (PGUP, PGDN, HOME, END, etc.) could just go in the bin and free up all those keys. That's not my choice to make, though. I DID NOT remove them, even for "Console".
I tried it on Nano and it wasn't working for me. The other features seem to be working.
Quote:
Originally Posted by Xanadu73 View Post
I'm sorry that I'm not "distributing" simple diffs. I ended up touching a lot of files (especially for the full screen thing), and I... cleaned up the code some... It was kinda hard to follow...
To comply with the GPL you are supposed to distribute the whole source anyway.
Quote:
Originally Posted by Xanadu73 View Post
I'm *NOT* a programmer.
The evidence suggests otherwise.
doconnor is offline   Reply With Quote
Old 03/17/2011, 09:43 PM   #143 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

Quote:
Originally Posted by doconnor View Post
I tried it on Nano and it wasn't working for me. The other features seem to be working.

To comply with the GPL you are supposed to distribute the whole source anyway.

The evidence suggests otherwise.

Well, what takes me entire days of staring at the source and testing and re-testing (and testing again) the changes I make (because I break it more than I "fix" it), would take someone who knows what they are doing maybe a half hour. There's nothing terribly special about the hacks, but that took a couple days - after a week or so of reading it all trying to reverse engineer it all and figure out what it's doing and when. That's why I say that.

Aside, I'm not sure what to say about screen scrolling not working in nano, as it was working for me (prior to 2.1... ). I'd look into it if I could. Which brings me to:

Have you been able to get any further with getting Terminal to work? I haven't the foggiest idea where to start getting gdm to monitor an app in this environment.


M.
Xanadu73 is offline   Reply With Quote
Old 03/19/2011, 02:08 PM   #144 (permalink)
Member
 
Xanadu73's Avatar
 
Join Date: Nov 2009
Location: Hour West of Philly, USA
Posts: 1,571
Likes Received: 4
Thanks: 3
Thanked 215 Times in 161 Posts
Default

I'm just wondering if anyone's actively working on this app or not.

Thanks.


M.
Xanadu73 is offline   Reply With Quote
Old 03/31/2011, 10:39 AM   #145 (permalink)
Member
 
Join Date: Aug 2009
Posts: 121
Likes Received: 0
Thanks: 17
Thanked 13 Times in 10 Posts
Default

BTW, if you're interested in a Terminal that works on the Pre2, check this thread out:

http://forums.precentral.net/web-os-...lterminal.html
Vermithrax is offline   Reply With Quote
Old 03/31/2011, 02:18 PM   #146 (permalink)
Member
 
Join Date: Sep 2010
Posts: 1,836
Likes Received: 89
Thanks: 55
Thanked 323 Times in 228 Posts
Default

You can also try xterm.
__________________
Grav - Canvas-based Gravity Simulation
rsanchez1 is offline   Reply With Quote
Old 03/31/2011, 09:04 PM   #147 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Vermithrax View Post
BTW, if you're interested in a Terminal that works on the Pre2, check this thread out:

http://forums.precentral.net/web-os-...lterminal.html
Yeah, that one seems to be getting some traction and good developer support.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 08/20/2011, 12:15 PM   #148 (permalink)
Member
 
R00tM0nk's Avatar
 
Join Date: Oct 2009
Location: Netherlands
Posts: 145
Likes Received: 0
Thanks: 2
Thanked 10 Times in 8 Posts
Default anyone got a terminal app working an a pre3 (webos 2.2)?

I'ld like a terminal on my pre3, please.

for now, only Xterm (through Xecutah) works. Both Terminus and SDLTerminal do not. And the way I have to start Xterm is somewhat less desirable to me.

I've tried to esnure that for terminus the /var/palm/data/jailusers file is changed according to the precentral article for webos 2.1, which gave me a working terminus on my pre-

On 2.2:
- SDLterminal doesn't do a thing. Doesn't even start a window.
- Terminus with /etc/jail_default.conf as last part of it's line in jailusers: Black screen with what would seem to be a cursor, but no typing or anything works. No indicator of a working shell anywhere.
- Terminus with /etc/jail_native-palm.conf as last part of it's line in jailusers: same result as for SDLterminal (which also has /etc/jail_native-palm.conf in jailusers).

any clues on what to do? I haven't found anything usefull through lumberjack just yet.
R00tM0nk is offline   Reply With Quote
Old 08/21/2011, 11:35 PM   #149 (permalink)
Member
 
R00tM0nk's Avatar
 
Join Date: Oct 2009
Location: Netherlands
Posts: 145
Likes Received: 0
Thanks: 2
Thanked 10 Times in 8 Posts
Default Strange Terminus behaviour on 2.2

Just trying to see what Terminus does on a pre 3:

The /var/palm/data/jailusers file had the following entries for Terminus:
Code:
4999:5000:us.ryanhope.terminus:/dev/null:/jail_app.conf
4999:5000:us.ryanhope.terminus:/dev/null:/etc/jail_native-palm.conf
5199:5000:us.ryanhope.terminus:/var/palm/jail/us.ryanhope.terminus:/etc/jail_default.conf
6381:5000:us.ryanhope.terminus:/var/palm/jail/us.ryanhope.terminus:/etc/jail_default.conf
If I try to start it up, /var/log.messages shows:
Code:
2011-08-22T04:25:19.054779Z [22326] webos-device user.info jailer[8659]: jailer device type: mantaray
2011-08-22T04:25:19.055267Z [22326] webos-device user.info jailer[8659]: Overriding APPDIR with command line: /media/cryptofs/apps/usr/palm/applications/us.ryanhope.terminus
2011-08-22T04:25:19.055572Z [22326] webos-device user.info jailer[8659]: No conf file for app type game- using default jail
2011-08-22T04:25:19.056243Z [22326] webos-device user.info jailer[8659]: jailer device type: mantaray
2011-08-22T04:25:19.065917Z [22326] webos-device user.info jailer[8659]: us.ryanhope.terminus entering default jail
2011-08-22T04:25:19.066314Z [22326] webos-device user.info jailer[8659]: Enter jail us.ryanhope.terminus
2011-08-22T04:25:19.067932Z [22326] webos-device user.debug jailer[8659]: run-time commands
2011-08-22T04:25:19.068359Z [22326] webos-device user.debug jailer[8659]: RUNTIME CMDS
2011-08-22T04:25:19.198822Z [22327] webos-device user.debug jailer[8659]: set groups
no conf for app type Game? that's not even there.
If I add
Code:
6381:5000:us.ryanhope.terminus:/var/palm/jail/us.ryanhope.terminus:/etc/jail_native-palm.conf
, it shows the exact same log.

Anyone know enough about messing with the jailing of apps to give a hint?
R00tM0nk is offline   Reply With Quote
Old 09/19/2011, 03:00 PM   #150 (permalink)
Member
 
Join Date: Apr 2011
Posts: 40
Likes Received: 2
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Same thing here. Anyone a solution?
mbert is offline   Reply With Quote
Old 09/19/2011, 05:19 PM   #151 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by R00tM0nk View Post
I'ld like a terminal on my pre3, please.

for now, only Xterm (through Xecutah) works. Both Terminus and SDLTerminal do not. And the way I have to start Xterm is somewhat less desirable to me.
We're working on that. If you're an effective alpha tester You may like to try the alpha version of Xecutah, which removes the XServer step and allows for multiple terminal cards to be opened.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 09/24/2011, 09:15 AM   #152 (permalink)
Member
 
R00tM0nk's Avatar
 
Join Date: Oct 2009
Location: Netherlands
Posts: 145
Likes Received: 0
Thanks: 2
Thanked 10 Times in 8 Posts
Default

Quote:
We're working on that. If you're an effective alpha tester You may like to try the alpha version of Xecutah, which removes the XServer step and allows for multiple terminal cards to be opened.

-- Rod

I have been working with it for a while now, and it works fine! The Xecutah mechanism is gettin greater and greater.


Edit: removed stupid question concerning native gui install in WebOs. Should have found ipkg-opt sooner.

Last edited by R00tM0nk; 09/25/2011 at 02:24 AM. Reason: removed stupid question concerning native gui install in WebOs. Should have found ipkg-opt sooner.
R00tM0nk is offline   Reply With Quote
Old 09/29/2011, 09:59 PM   #153 (permalink)
km7
Member
 
Join Date: Sep 2011
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by rwhitby View Post
We're working on that. If you're an effective alpha tester You may like to try the alpha version of Xecutah, which removes the XServer step and allows for multiple terminal cards to be opened.

-- Rod
The new version of Xecutah is much better.

Just a suggestion to improve it.
You'll extend current one Xterm session to a Xterm Session List
with it's own user defined name and startup shell script, alos keyboard Tweak preference.

ie
Session# Name Script Keyboard pref
Xterm #1 RDP /var/home/rdp.sh xs
Xterm #2 ..
Xterm #3 ..

when you start the Xterm#1 it automatically run rdp.sh and also use the xs virtual keybaord.

It will be very useful.
km7 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0