Seeing Dog Puppy for Blind

What features/apps/bugfixes needed in a future Puppy
Message
Author
Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#616 Post by Trobin »

I had a melt down with the Speak-Pup file the other day. I figured that since I was going to have to rebuild the thing I'd give Puppy 4.1 one a shot. I ran into two issues.

One yaaasr. Freetts worked, but yasr wouldn't connect. It may be a configuration problem, so will give it another try.

The other issue is with pjsua. Puppy 4.2 has Psip installed. So it should have pjsua installed. But the only executable I've managed to find is Pjsua-custom.x.x.x and when I run it in a terminal I get a series of lines ending with the statement that pjsua core has been destroyed.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#617 Post by Trobin »

Yasr is now working as it should. the pjsua problem remains.

Is there anyway to run pjsua from the command line?
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#618 Post by Trobin »

I have no doubt that if I had the skill to dissect the scripts used to run Psip, I could figure out how to get PSJUA running in a command line Puppy 4.1 based Speak Pup. At this point of time, I do have that level of expertise. So I'm rebuiding Speak-Pup ising Skinny Pup.
[url]http://speakpup.blogspot.com[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#619 Post by HairyWill »

Trobin wrote:Is there anyway to run pjsua from the command line?
yes,
do you want it to login to a sip server and be able to receive calls and dial out to POTS
or just dial a sip url without being logged in.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#620 Post by Trobin »

Right now, I'd be happy with just being able to make a sip to sip call with out being logged in.
Thanks
[url]http://speakpup.blogspot.com[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#621 Post by HairyWill »

Code: Select all

pjsua sip:hairywill@proxy01.sipphone.com
should get you straight through to my gizmo voicemail which should ring for a while and then go silent, I think if you talk I do get a message
then you need
h [RETURN]
q [RETURN]
to close

have you seen http://www.pjsip.org/pjsua.htm
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#622 Post by Trobin »

I have tried that command, on Puppy 4.1, and all I get is a command not found message.
[url]http://speakpup.blogspot.com[/url]

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#623 Post by HairyWill »

ah
it is not installed in the path
try looking in /usr/local/psip
I think I might have given it a funky name with a version number
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#624 Post by Trobin »

it is /usr/local/psip/pjsua_custom_03-0.9.0

When I typed ./psjua_custom_03-0.9.0, into a terminal window it came up with the command line version of pjsua. This is in 4.1 retro, not 4.1 official. My equipment and the kernel may be glitching.

Okay, I'll use the retro version, and change my script to use it.

Thanks.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#625 Post by Trobin »

One more program to add, a menu script to fix, and a spelle checking script to write, and with a great deal of luck Speak-Pup-2-RC will be ready to be made into an ISO.

The line up is:
bc-1.06.95.pet.................calaculator
cdp-0.33.13.pet................cd player
cdw-0.2.4.pet..................cd writer
ctorrent-dnh3.3.pet............torrent client
e3-2.7.0-1.pet.................text processor
dotpuphandler-0.0.4-2.pet......dotpup installer
ncurses-5.6.pet................ncurses libraries
sane-backends-1.0.19.pet.......scanner programs
gocr.pup.......................Optical Character Reader
herrie.pet.....................MP3 player
yafc.pet.......................FTP client
ytree.pet......................filemanager
index.zip......................flat filer
irssi.x.pet....................irc chat client
java1506.pup...................java
freetts........................speech engine
yasr...........................screen reader
brltty-3.10....................soft brailler
clacct.........................Command Line Accountant
aspell.........................spell checker
alpine 1.10.pet................email client
links-2.2.0....................text web browser
firelog........................Internet Utilities
Simplebashbu...................Backup script
various scripts to handle menus, scanning, gocr, and voip.

It is based on a full version of Puppy 4.1 Retro. I'm expecting the ISO to be about 110 MB, unless I leave devx_410.sfs in, in which case the ISO is probably going to exceed 200 MB.

A lot of stuff will probably have to be done in a command shell. Therefore, each menu script will have an option to open up a bash shell. Typing exit will close it and return you to the menu.

Brltty will have to be set up in a bash shell. It requires arguments that I can't test.

Clacct, the command line accountant is also going to have to be handled in a bash shell.

The same with yafc the FTP client.

Everything that Barry put into Puppy 4.1 retro is still present in Speak Pup-2 rc.
The X-Windows system is not running is that I've deleted the X symlink found in /usr/x11r7/bin. The modified profile script in /etc, will run emmb, which will start Freetts and Yasr then open up a menu.

The user will be able to make a sip to sip call to another computer, but not recieve one, as yet. I know that pjsua can be set up to run as a daemon to listen for incoming calls, but I don't know how that will interact with the freetts-yasr system. That will have to be something that will have to be tested.

Nor will the user be able to call a standard telephone.

Speak-Pup will default to the command line version. Maybe someday I'll figure out how to give the user a choice but until then it is what it is. If you do want the X-windows system running, you need to open up a bash shell and type in xorgwizard. This will replace the X symlink in /usr/x11r7/bin, and allow you to set up the gui system. Freetts and yasr are command line programs and wil there may be some chatter while the window system is being set up, it will stop. If you reboot Puppy 4.1 will, hopefully, operate as normal. To get Speak-Pup back you will need to go to the /usr/x11r7/bin directory and delete the X symlink and reboot.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#626 Post by Trobin »

Speak-Pup RC1 is now sitting on my hard drive as a 190 MB ISO file. It does not have the Devx_410.sfs file included, and had I done so the ISO would be around 250 MB.

All the X-windows stuff, Abiword, etc, is still there. As mentioned above, Speak-Pup defaults to the command line version. To get the GUI, open a bash shell and type Xorgwizard. You'll be given a chance to set up the system and from then on Speak-Pup will act as a normal Puppy 4.1 with a few console applications installed. For those with limited vision, who wish to do this, I have installed a magnifier. It's found in the utilities menu.

The freetts-yasr system will not be run.

Should you wish to return to the default Speak-Pup you will need to delete the X symlink from /usr/X11R7/bin directory.

Alpine 1.0 hasd been uninstalled and Alpine 2.00 has been installed. This version can be configured to access Google's Gmail.
[url]http://speakpup.blogspot.com[/url]

djringjr
Posts: 157
Joined: Sun 14 Jan 2007, 21:08

#627 Post by djringjr »

I found some more resources - another distro for the blind. ZIPSPEAK

ftp://mirror.services.wisc.edu/mirrors/ ... /zipspeak/

Best wishes to all,

David
[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#628 Post by Trobin »

I don't know much about zipspeak, but have looked at zipslack on a computer running win 98. Way back in the early days when I was just trying linux. It's a nice program, and you need to start it from within DOS. I would doubt very much that zipspeak would work on a computer using the NTFS format system.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#629 Post by Trobin »

Dunno why these things are happening, but it'll take another day or two to upload the iso.

Went down to do it a few minutes ago and Puppy4.1 decided it wan't going to work. Fist I lost my USB mouse. No problem I have mice, so I put on a ball mouse. It worked. Puppy 4.1 decided, I couldn't find my etho card.

Now, I boot off the livecd and x won't start. I took a chance and deleted the puppy files on my hard drive, to start over frewsh, and I still can't get to X. I still have two iso files on the disk but I've forgotten which of them is the one I wanted to upload.

I'm hoping the backup works.
[url]http://speakpup.blogspot.com[/url]

djringjr
Posts: 157
Joined: Sun 14 Jan 2007, 21:08

#630 Post by djringjr »

If you can upload an iso, we have a few very talented people from some of the Schools of the Blind who have gratiously said they'd tackle a CVS or iso and help out. I just learned how to contact them, and as soon as I did they offered to help.

That's a good sign - also even if you only have a 2fs file that you could upload, they might want to dig in. I certainly would love to!

I am appreciate of one special offer from Perkins School for the Blind - their Technology Center sent an email offering to do work on the project - you don't get emails like that every day!

Good luck, Trobin - as soon as you have something we have a bunch of people who will really give it a workout - sorry I couldn't find them earlier.

Best

David

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#631 Post by Trobin »

Okay the file has beeern created. The ISO is 116 MB, don't know why the size is smaller, but everything seems to be there.

I tried too upload it to Caneri's site but was unable to connect, and gftp froze my computer after a couple tries.
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#632 Post by Trobin »

[url]http://speakpup.blogspot.com[/url]

djringjr
Posts: 157
Joined: Sun 14 Jan 2007, 21:08

#633 Post by djringjr »

OK, I downloaded the iso, booted it, and it came to the command line.

I'm guessing when you made the iso you didn't put back the custom /etc/rc.local file

The rc.local file is empty except for commented out words.

The iso when booted just comes up to command line and complains about cannot start x which I understood from your posting why that is so :-)

But how do you get this to run?

Best

DR

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#634 Post by Trobin »

I wonder how that happened.

Okay, reboot and type 'xorgwizard.' This will allow you to set up the gui.

Once that's done, use a text editor to look at `/etc/profile. It should end with
if [ ! -f /usr/X11R7/bin/X ];then
#v2.00r1 now support a text-mode-only puppy...
if [ -f /usr/local/bin/emmb.sh ];then
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
exec /usr/local/bin/emmb.sh
fi
else
echo
echo "\\033[1;31mSorry, cannot start X. Link /usr/X11R7/bin/X missing."
echo -n "(suggestion: type 'xorgwizard' to run the Xorg Video Wizard)"
echo -e "\\033[0;39m"
fi
else
#want to go straight into X on bootup only...
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
# aplay -N /usr/share/audio/bark.au
dmesg > /tmp/bootkernel.log
exec xwin
fi
fi
if [ ! -f /tmp/speakpup.txt ];then
touch /tmp/speakpup.txt
exec /root/menu/menu
fi
I've bolded the changes made.

I'll try and attach the profile script to this message. I had to put the .pup extension on so I could attach it. Rename it to profile. Save it in ~/etc/

Check to see if ~/usr/local/bin/emmb.sh is there.

That script is as follows:
#!/bin/bash
# yasr-freetts - execute yasr (Yet Another Screen Reader) using FreeTTS
# (running as an emacspeak server) as the text to speech synthesizer.
#
#
echo Starting the FreeTTS text to speech synthesizer.
java -jar /root/freetts/bin/FreeTTSEmacspeakServer.jar &

sleep 10

echo Starting yasr.
exec yasr
If it isn't save the above as ~/usr/local/bin/emmb.sh

Change the permissions to executable and searcheable.

You will need to delete the ~/usr/X11R7/bin/X symlink and reboot, to get back to the command line version.

Can you do an ls and see if /root/menu/ and the scripts inside it made it through.
Attachments
profile.pup
(5.66 KiB) Downloaded 552 times
[url]http://speakpup.blogspot.com[/url]

Trobin
Posts: 968
Joined: Fri 19 Aug 2005, 03:16
Location: BC Canada

#635 Post by Trobin »

I found the problem and it's annoying me no end. The remaster did not include any of the scripts I had put in, nor did it carry over any hidden files made when installing the programs.

The programs themselves are there though.
[url]http://speakpup.blogspot.com[/url]

Post Reply