Sign up here and you can log into the forum!

ELinks text console based web browser UPDATED 3-25-2014

Here is the place to inquire about app.bins--Only currently available apps for sigma 8655 based wdtv's belong in this forum. requests go in 'Application Questions'

Re: ELinks text console based web browser   

Postby petermg » Mon Mar 24, 2014 11:39 pm

mad_ady wrote:Sorry I suggested adding js :)
You can rebuild the standard version and I will push it to svn, and keep working on the js version if you still want to. :)

Thanks but please don't be sorry, I actually got it compiled, however it says on their website
http://elinks.or.cz/documentation/manual.html
about the js support:
"There isn't anything we could call complete, but some bits could help with the most common ECMAScript usage cases"
so... all that work for it "could help" LOL! It's cool. Great learning exercise for this noob!!!!!! :D

I'm just fine tuning some other options then I'll update the post with it. Probably some time tomorrow.
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

Re: ELinks text console based web browser   

Postby mad_ady » Tue Mar 25, 2014 12:11 am

"Necessity is the mother of innovation" :)
User avatar
mad_ady
Developer
 
Posts: 4525
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby petermg » Tue Mar 25, 2014 5:14 pm

OK FINISHED!! :D Please see first post! :D :D :D
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby petermg » Tue Mar 25, 2014 6:32 pm

You know it occurred to me to simply make the app.bin ext3 so that it can store the config file but, and I tried this with another app I'm hoping to post IF I can figure this out, when I run appmake I get this error:

Code: Select all
# appmake ELINKS/ /tmp/squeeze/home

  File: elinks.app.bin
   Dir: /tmp/squeeze/home/
Format: ext3
  Size: 10485760 Bytes (10240 KB)

generating EXT3FS elinks.app.bin...     [ OK ]
creating EXT3 filesystem...     [ OK ]
setting EXT3 properties...      [ OK ]
checking EXT3 filesystem...     [ OK ]
mounting EXT3 filesystem...     [ OK ]
copying files...        rsync: writefd_unbuffered failed to write 4092 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "/tmp/app_mount/lib/libruby1.8.so.1.8": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.6]
rsync: connection unexpectedly closed (281 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
        [FAIL]
BusyBox v1.14.1 (2011-08-20 21:59:12 PDT) multi-call binary

Usage: losetup [-o OFS] LOOPDEV FILE - associate loop devices
        losetup -d LOOPDEV - disassociate
        losetup [-f] - show

Options:
        -o OFS  Start OFS bytes into FILE
        -f      Show first free loop device


And here is a copy of my application.xml
Code: Select all
<?xml version="1.0"?>
    <application>
        <name>ELinks</name>
        <desc>ELinks is an advanced and well-established feature-rich text mode web (HTTP/FTP/..) browser. ELinks can render both frames and tables, is high$
        <author>petermg</author>
        <date>2014-03-24</date>
        <version>0.13.0</version>
        <category>Networking</category>
        <url>http://elinks.or.cz/</url>
        <size></size>
        <force_size>10485760</force_size>
        <format>ext3</format>
        <provides>
            <binary>true</binary>
            <daemon>false</daemon>
            <kernelmodule>false</kernelmodule>
            <webend>false</webend>
        </provides>
        <dependencies>
            <model>LIVE</model>
            <model>PLUS</model>
            <basefirmware>
                <min>1.02.21</min>
                <max></max>
            </basefirmware>
            <firmware>
                <min>0.4.3.1</min>
                <max></max>
            </firmware>
            <wdtvext>false</wdtvext>
            <network>true</network>
            <config></config>
            <app></app>
        </dependencies>
        <id>ELinks</id>
        <download>elinks.app.bin</download>
    </application>


I've even tried it with
Code: Select all
        <size>10485760</size>
        <force_size>10485760</force_size>

Still same error. I even tried it with size blank and no "<force_size> field, same thing.

Code: Select all
# appmake ELINKS/ /tmp/squeeze/home/

  File: elinks.app.bin
   Dir: /tmp/squeeze/home//
Format: ext3
  Size: 20545536 Bytes (20064 KB)

generating EXT3FS elinks.app.bin...     [ OK ]
creating EXT3 filesystem...     [ OK ]
setting EXT3 properties...      [ OK ]
checking EXT3 filesystem...     [ OK ]
mounting EXT3 filesystem...     [ OK ]
copying files...        rsync: writefd_unbuffered failed to write 4092 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "/tmp/app_mount/share/locale/sk/LC_MESSAGES/elinks.mo": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(302) [receiver=3.0.6]
rsync: connection unexpectedly closed (1204 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
        [FAIL]
BusyBox v1.14.1 (2011-08-20 21:59:12 PDT) multi-call binary

Usage: losetup [-o OFS] LOOPDEV FILE - associate loop devices
        losetup -d LOOPDEV - disassociate
        losetup [-f] - show

Options:
        -o OFS  Start OFS bytes into FILE
        -f      Show first free loop device


from

Code: Select all
<?xml version="1.0"?>
    <application>
        <name>ELinks</name>
        <desc>ELinks is an advanced and well-established feature-rich text mode web (HTTP/FTP/..) browser. ELinks can render both frames and tables, is high$
        <author>petermg</author>
        <date>2014-03-24</date>
        <version>0.13.0</version>
        <category>Networking</category>
        <url>http://elinks.or.cz/</url>
        <size></size>
        <format>ext3</format>
        <provides>
            <binary>true</binary>
            <daemon>false</daemon>
            <kernelmodule>false</kernelmodule>
            <webend>false</webend>
        </provides>
        <dependencies>
            <model>LIVE</model>
            <model>PLUS</model>
            <basefirmware>
                <min>1.02.21</min>
                <max></max>
            </basefirmware>
            <firmware>
                <min>0.4.3.1</min>
                <max></max>
            </firmware>
            <wdtvext>false</wdtvext>
            <network>true</network>
            <config></config>
            <app></app>
        </dependencies>
        <id>ELinks</id>
        <download>elinks.app.bin</download>
    </application>


Sorry maybe this is the wrong place to ask these questions? I read the wiki here
http://wiki.wdlxtv.com/Creating_an_app_bin
:( :oops:
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby petermg » Tue Mar 25, 2014 7:04 pm

Gee, I guess when it says not enough room on device... that's EXACTLY what it means. Fixed it by increasing the size of the app.bin :oops: :oops: :oops:
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby petermg » Tue Mar 25, 2014 7:47 pm

Wish I could delete my last couple of NOOB posts. Anyhow successfully created an ext3 version which writes it's config to itself, (/apps/elinks/conf/). See details in first post.
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby petermg » Tue Mar 25, 2014 8:07 pm

WOW this is cool I can actually check my gmail it looks good. I go to SETUP, then TERMINAL OPTIONS and set a color option and login to my gmail account and select BASIC HTML from their site and for a console web browser I'm impressed. I originally didn't know how practical this app would be.
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby mad_ady » Tue Mar 25, 2014 10:50 pm

Don't worry if you make mistakes - it's the only way to learn. Also, there's no shame in showing your mistakes - it will help others learn how you solved a particular problem :)
I'm working on uploading the files to svn. Great job!
User avatar
mad_ady
Developer
 
Posts: 4525
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby mad_ady » Tue Mar 25, 2014 11:13 pm

Committed revision 227.
I took the liberty to make a small change in the elinks wrapper, because you called elinks.real with a relative path: ./elinks.real. This would work only if your current directory is /apps/elinks/bin. I changed that line to "elinks.real", because the app.bin bin/ folders are added to the PATH when the app.bin is loaded. This way elinks can be called from any path.

Code: Select all
root@Deneb:/root# elinks
/apps/elinks/bin/elinks: line 2: ./elinks.real: not found
User avatar
mad_ady
Developer
 
Posts: 4525
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: ELinks text console based web browser UPDATED 3-25-2014   

Postby petermg » Wed Mar 26, 2014 6:56 am

mad_ady wrote:Committed revision 227.
I took the liberty to make a small change in the elinks wrapper, because you called elinks.real with a relative path: ./elinks.real. This would work only if your current directory is /apps/elinks/bin. I changed that line to "elinks.real", because the app.bin bin/ folders are added to the PATH when the app.bin is loaded. This way elinks can be called from any path.

Code: Select all
root@Deneb:/root# elinks
/apps/elinks/bin/elinks: line 2: ./elinks.real: not found


Thanks mad_ady!
petermg
WDTVer
 
Posts: 41
Joined: Sat Jun 04, 2011 6:17 pm

PreviousNext

Return to WDLXTV-G2 & WDLXTV-Live/Plus app.bins

Who is online

Users browsing this forum: No registered users and 2 guests