View Full Version : iLiad Abiword


Adam B.
04-12-2007, 09:23 AM
I've got AbiWord working on my iLiad! I can write, type, save, and open.

AbiWord is able to read and write all industry standard document types, such as OpenOffice.org documents, Microsoft Word documents, WordPerfect documents, Rich Text Format documents, HTML web pages and many more.


However, opening word documents is a bit of a problem (see second screenshot). Also, before it will run, changes will need to be made to the root file system. (see this post: http://www.mobileread.com/forums/showpost.php?p=63229&postcount=11)

However, with a bit more work and bug squashing, we should have a full featured document creator/viewer.

Moonraker
04-12-2007, 09:43 AM
However, opening word documents is a bit of a problem (see second screenshot).

Do you mean MS .doc format or all MS Word formats in general?

I use MS Word for .rtf and just wonder if this causes problems as well.

Adam B.
04-12-2007, 10:06 AM
It should work with RTF, although I am having some problems opening them at the moment...

pdam
04-12-2007, 10:37 AM
Wow - an amazing port - do the Abiword features work, such as the tool ribbon for Bold, Bullets etc?

This port make the device so much more appealing! Great work ...

Adam B.
04-12-2007, 11:27 AM
All of the formatting features work without problem.

Right now, the issue I'm having is with reading and opeing RTF and DOC files. I thought this was a font issue, but if I save it in AbiWord's native format, it works fine.

Edit: I just tested it with Hudson's USB Keyboard module: http://www.mobileread.com/forums/showthread.php?t=10214 and it works great! :D

henkvdg
04-12-2007, 11:49 AM
All of the formatting features work without problem.

Right now, the issue I'm having is with reading and opeing RTF and DOC files. I thought this was a font issue, but if I save it in AbiWord's native format, it works fine.

Edit: I just tested it with Hudson's USB Keyboard module: http://www.mobileread.com/forums/showthread.php?t=10214 and it works great! :D

1) Couldn't it still be a font issue, so that only if the exact font is available it can be shown? Does it help to select a part of the document and change the font. Does it then become visible?

2) The iLiad community is an international community.
The Hudson USB Keyboard module does not fully support my Dutch USB keyboard. How can it be adapted? An extra key-code lookup table file per language? How does it cooperate with the iLiad on-screen keyboard?

I have another (seemingly US/Int USB keyboard here, will test that as well)

Adam B.
04-12-2007, 12:41 PM
I've only done a bit of research on AbiWord, but it seems that if it can't parse an RTF or Doc correctly, it will just show an empty document. This is exactly what happens, the font isn't simply not there, but the text is gone completely (Verified by showing formatting marks).

As far as the keyboard module, I can't help you out. I haven't used or looked at it anymore than downloading the package, and running it from the contentlister. Perhaps Hudson would be able to help you out further.

henkvdg
04-12-2007, 01:03 PM
I've only done a bit of research on AbiWord, but it seems that if it can't parse an RTF or Doc correctly, it will just show an empty document. This is exactly what happens, the font isn't simply not there, but the text is gone completely (Verified by showing formatting marks).

As far as the keyboard module, I can't help you out. I haven't used or looked at it anymore than downloading the package, and running it from the contentlister. Perhaps Hudson would be able to help you out further.

I installed AbiWord on my Windows PC. DOCs and RTFs are doing OK

Look also here: http://www.abiword.com/release-notes/2.5.1.phtml

Adam B.
04-12-2007, 01:26 PM
I'vetalkto an Abi dev, and I think we've narrowed down the problem. More updates to follow.

yokos
04-18-2007, 05:53 AM
Adam B., this looks promising. :happy2: Any text editing program for our toy would be cool.
Maybe it's time to find the right foldable usb keyboard.

Adam B.
04-20-2007, 12:47 PM
I've got abiWord working on the iLiad with RTF and DOC!!

The attached screenshot is a document I made in Microsoft Word 2003. It looks exactly the same in abiWord unmodified.

I'm attaching the package, but the program will not run in it's current form. You will need to do some modification to the root filesystem. As I don't want to touch it with a script, I'll leave this step up to you.


cp /mnt/cf/abiword/loaders/* /usr/lib/gtk-2.0/2.4.0/loaders/
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders


Once unbricking becomes available, I won't be so hesitant to touch the root filesystem and will most likely repackage all of my apps.

Compact Flash Version: http://projects.mobileread.com/iliad/projects/abiword/abiwordcf.zip

templario
04-20-2007, 12:56 PM
Thatīs good news, well done as usual. Iīll wait till someone makes a easy script since i have no idea of what you wrote in the code.

Thanks

Adam B.
04-20-2007, 12:59 PM
Thatīs good news

With Word/RTF formats now available on the iLiad, my next goal is excel: http://www.gnome.org/projects/gnumeric/

Hopefully soon, there won't be a single format that won't need to be converted for the iLiad. :D

Mambo
04-20-2007, 01:39 PM
Adam B.,

How did you sort out the screen refresh with Abiword?
Under which circumstances will the screen refresh in full or only partial? How can the user control this?

Adam B.
04-20-2007, 01:42 PM
Right now, it's just using the standard typing refresh in Antartica's libX11. Inside iliad_refresh.conf you can change typing to Full and/or modify the time afterward.

Mambo
04-20-2007, 02:01 PM
Would it be possible (me asking very shyly) to link the full refresh to a special key-combination (alt-enter, alt-tab) /etc. I kind of like regularly refresh the screen cca. every two minutes. This would be great and quite convenient...

Adam B.
04-20-2007, 02:50 PM
To be honest, I wouldn't have the slightest idea where to start that. Perhaps someone else here would be able to. :)

henkvdg
04-21-2007, 05:29 AM
I've got abiWord working on the iLiad with RTF and DOC!!

The attached screenshot is a document I made in Microsoft Word 2003. It looks exactly the same in abiWord unmodified.

I'm attaching the package, but the program will not run in it's current form. You will need to do some modification to the root filesystem. As I don't want to touch it with a script, I'll leave this step up to you.


cp /mnt/cf/abiword/loaders/* /usr/lib/gtk-2.0/2.4.0/loaders/
/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders


Once unbricking becomes available, I won't be so hesitant to touch the root filesystem and will most likely repackage all of my apps.

Compact Flash Version: http://projects.mobileread.com/iliad/projects/abiword/abiwordcf.zip


Is the code two lines or one lines.
Maybe it is dangerous but I typed 2 lines, my iLiad acted strange.
And it does not work.

The iLiad hang, but seems to work after reset :blink:

Antartica
04-21-2007, 10:01 AM
Would it be possible (me asking very shyly) to link the full refresh to a special key-combination (alt-enter, alt-tab) /etc. I kind of like regularly refresh the screen cca. every two minutes. This would be great and quite convenient...

That involves two things:

1) being able to recognize those key combinations
2) Whoever recognizes that combinations (contentlister, the application, ...), would have to do the appropriate call to the functions of liberdm to make a refresh (or communicate with libX11.so so that it can act on behalf of the application).

(1) would require the appropriate hooks into the app (I suppose that is the app who will recognize those), perhaps Adam could do this part

(2) is somewhat tricky. I don't know if two apps could communicate with liberdm using the same channel. And the alternative (that is communication with libX11.so) is not trivial :-/.

It would be better to make an icon in the matchbox-panel, but I have experience with those.

henkvdg
04-25-2007, 09:21 AM
Has anybody else (except Adam B.) gotten Abiword working? I need help with that.

Adam B.
04-25-2007, 09:24 AM
Sorry I haven't gotten back to you earlier.

You do need to run that command as 2 lines.

Type the following and let me know the output:


cd /usr/lib/gtk-2.0/2.4.0/loaders/
ls -la

henkvdg
04-27-2007, 02:48 PM
Sorry I haven't gotten back to you earlier.

You do need to run that command as 2 lines.

Type the following and let me know the output:


cd /usr/lib/gtk-2.0/2.4.0/loaders/
ls -la


I tried that. It gives a lot of files (the right ones) with the the following attributes: -rwxr-xr-x

But Abiword still doesnot work from the CF card.

Adam B.
04-27-2007, 03:07 PM
What error does it give when you try to run it?

henkvdg
04-27-2007, 03:21 PM
What error does it give when you try to run it?

I don't know, I do not use the iLiad through my PC. Just the iLiad.
Does it produce an error file somewhere?

BTW: after execiting the two lines by mxrt (I changed /mnt/cf/ to /media/cf this time) the iLiad acted strange (I had to hard-reset).

Adam B.
04-27-2007, 03:25 PM
I've only run that from an ssh terminal....I don't know what effect it would have in mrxvt.

henkvdg
04-27-2007, 03:27 PM
I've only run that from an ssh terminal....I don't know what effect it would have in mrxvt.

What command would you give to start abiword from the terminal?

Adam B.
04-27-2007, 03:29 PM
./run.sh

henkvdg
04-27-2007, 03:46 PM
./run.sh

When I start mrxvt and do "cd /media/cf/abiword" and then "./run.sh", it says:
"cd: 4: can't cd to .
: not found: ./bin/abiword"

when I do just "run.sh" it says: sh: run.sh: not found"

Maybe we can better e-mail about this.

Thanks for reading.


I looked at your run.sh file.
It says:

export DISPLAY=:0
export scriptdir=`/usr/bin/dirname $0`
LD_LIBRARY_PATH=$scriptdir/lib
cd $scriptdir
./bin/abiword

I think I know understand a little bit more.

Adam B.
04-27-2007, 03:58 PM
Do an `ls` in the abiword directory.

Then `cd bin`, and do an `ls` in the bin directory. It sounds like it can't find the abiword binary...

henkvdg
04-27-2007, 04:01 PM
Do an `ls` in the abiword directory.

Then `cd bin`, and do an `ls` in the bin directory. It sounds like it can't find the abiword binary...

I did that. It is there.


Update:
I think I found it:

export DISPLAY=:0

export scriptdir=`/usr/bin/dirname $0` <<<<< This is the letter Oh, I changed it to zero, now it seems to work !!

LD_LIBRARY_PATH=$scriptdir/lib
cd $scriptdir
./bin/abiword

azerty
04-28-2007, 12:14 PM
For those feeling more comfortable installing Abiword without throwing lots of files into the root filesystem the mount -o bind olddir newdir command is a good option. I have Abiword running (the run.sh script gives some errors but executing <install_dir./bin/abiword from ssh shell works fine, especially using the USB keyboard) using the following mount commands. First execute:


mkdir <install_dir>/etc
mount -o bind <install_dir>/loaders /usr/lib/gtk-2.0/2.4.0/loaders/
# wait a few seconds to establish the mount
/usr/bin/gdk-pixbuf-query-loaders > <install_dir>/etc/gdk-pixbuf.loaders

add this to the run.sh script or execute it manually

mount -o bind <install_dir>/loaders /usr/lib/gtk-2.0/2.4.0/loaders/
mount -o bind <install_dir>/etc /etc/gtk-2.0
where <install_dir> is the abiword directory e.g. /mnt/card/abiword
The nice thing about using this consturction is that the root file system is not touched and after reboot or unmount the original filesystem is unchanged.

Remark: selecting some items in the menu cause abiword to crash.I will post the output later.

Hope this will lower the risk of installing and using Abiword!

azerty
04-28-2007, 05:55 PM
AbiWord works well. Main functions work perfectly. However, when I select the menuitem File -> New using Template.. i get the following error that causes AbiWord to crash:
./abiword: symbol lookup error: /mnt/card/abiword/lib/libglade-2.0.so.0: undefined symbol: g_object_ref_sink
Is this something that is fixable?

bedwere
06-03-2007, 05:15 PM
I unzipped abiwordcf.zip on my CF card, but, when I try to launch it, the green light blinks for a few seconds and then nothing. I'm running 2.9.5. Any idea why?

Adam B.
06-05-2007, 01:17 PM
I unzipped abiwordcf.zip on my CF card, but, when I try to launch it, the green light blinks for a few seconds and then nothing. I'm running 2.9.5. Any idea why?

Right now, the Abiword package isn't quite user-ready. Since it needs to modify the root filesystem, it will be up to you to make the necessary changes. You can find instructions here: http://www.mobileread.com/forums/showpost.php?p=66024&postcount=11

pdam
06-26-2007, 05:23 PM
Hi AdamB

This (and gnumetric) are great ports that take the device forward and help highlight the real advantages of the Iliad as an OSS book reader with input. Are you planning on taking these apps forward and creating user friendly packages?

yokos
06-29-2007, 10:14 AM
I followed the instructions.
After changing encoding of run.sh of abiwordcf.zip to unix, Abiword starts. :grin2:

wagnerian
06-29-2007, 01:46 PM
I've succeeded to install it about two weeks ago. :)

Alajjana
07-27-2007, 10:38 PM
Here is the run.sh for abiword in the proper format if anybody needs it.

Just rename it back to run.sh from run.sh.txt as the forum would not allow the attachment without the txt extention.

JSWolf
07-27-2007, 10:40 PM
Should have used ZIP format. No need for renaming.

Gogolo
10-11-2007, 05:43 PM
Dear Adam. Without trying to stress you... is a easy installer of Abi possible in near feature? To have .doc would be just :party4::party4::locked:

Thanks for your work. :pray:
Olivier

Edit: Maybe I should mention, that I tried to install abiword on a sd card but have no success: Only a white box appears and then dissapears again.

renushan
11-20-2008, 04:10 AM
Hi Adam, I am sorry for pestering the group with all these messages. Somehow Abiword started working for me... Now the thing is, registry is not working for abiword and fbreader. any ideas? MRXVT is also not working for me...

renushan
11-20-2008, 04:35 AM
Sorry again. Abiword registry is also working very well. I will start fiddling with FBReader now.

By the way, I would like to know about the print command. Do they really print? That is can I connect a USB printer to ILIAD? Ooooooooh! How wonderful if that is so!