Hi, I am new to linux and also with regard to Psword. Nice little program! I tried 3 or 4 bible translations - greek, which works perfectly, and also some german, with less success. GerHfa2002 just doen't display any text - is something missing? And how can I remove it from my system - I tried to delete the folder, using ROX, but for some reason the files where there again and again.
Perhaps somebody has an idea what else I should do.
Greetings, Corvan

Hi, I am new to linux and also with regard to Psword. Nice little program! I tried 3 or 4 bible translations - greek, which works perfectly, and also some german, with less success. GerHfa2002 just doen't display any text - is something missing? And how can I remove it from my system - I tried to delete the folder, using ROX, but for some reason the files where there again and again.
Perhaps somebody has an idea what else I should do.
Greetings, Corvan

Did GerHfa2002 come as a Puppy package though, Ttuuxxx? I suspect not.
corvan - what path are you trying to delete it from? Maybe you have a frugal install and there are actually several paths to it, and the filesystem is getting confused. Otherwise I don't know what the problem could be... except a corrupt filesystem._________________Do you know a good gtkdialog program? Please post a link here

to ttuuxxx: perhaps I should have made it clearer that I don't want to uninstall the whole program, it is just the module which doesn't work that I would like to get rid of.
Or is there I way to use the package manager for removing just one module? If so, please let me know
Corvan.

Did GerHfa2002 come as a Puppy package though, Ttuuxxx? I suspect not.
corvan - what path are you trying to delete it from? Maybe you have a frugal install and there are actually several paths to it, and the filesystem is getting confused. Otherwise I don't know what the problem could be... except a corrupt filesystem.

When the first dialog box appeared, I used "Download a new sword bible module?" for downloading some modules.
When the GerHfa2002 version would not work, I couldn't find any uninstall
box, so I just followed the path shown under
"sword module directory", in my case /urs/share/sword.

I found a folder /usr/share/sword/modules/texts/ztext/gerhfa2002

and deletet it.

But when I now start the program, "select the bible module" still has the entry "Gerhfa2002" - so perhaps it is only the entry I still have to remove?
What is the "official" way to remove modules, if just deleting the folder
as mentioned above won't do it?

I think I have found a solution how to remove an installed module.
Apart from removing the module itself there is a directory
usr/share/sword/mods.d
which contains a .conf file for all installed modules.
Once the gerhfa2002.conf file is removed, the start dialog box of sword
won't offer this module any longer.

Here's a quick-and-dirty way to do text wrapping in a terminal:
cat ~/.config/tmp/psword|head -n -1|xargs --delimiter="\n"|fold -s>folded

Note that it removes the version at the tail, via "head -n -1"; xargs handles removing the newlines, so you have a one-line file (you MUST use --delimiter="\n", to prevent it from failing on apostrophes or eating all the occurrences of n); and fold -s folds at spaces. If you remove xarg, it results in something where each verse has at least one line, and no two verses share a line (standard "unwrapped" representation).

You can use "cut -c -<number of chars> --complement" to remove the start of each string, I'd use cut -c -5 --complement (or -4) to handle "Acts", so you don't see the book at every verse. `echo $BOOK|wc -L` should give you the right number, roughly.

0.5 is up. I've added a "view" button on the display screen that will send the output to geany. You will only see this button if geany is installed on your system. Geany will wrap the lines in its display. I can't figure out how to wrap lines in an "edit" window using an input file within gtkdialog. Maybe someone reading can figure it out. You'll find the code in version 0.5 at /usr/sbin/psword on lines 560 thru 565.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum