Seeing Dog Puppy for Blind

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

#106 Post by Trobin »

Where it stands now.

1..Operating System - Puppy Fat Free 3.00.
I can remove the GUI by deleting X from /usr/X11R7/bin. A better dolution might be to swap /etc/profile scripts. One that only calls emma.sh and menu.sh instead of running 'X' if it can find it. Then whn needed, the profile scripts can be swapped back so the GUI can be used. Reason - some pup files, such as java1506.pup use xdialog. I supppose I could just go through commenting out evey line that calls for xialog, but I'm lazy.

2..Text Editing..MP
MP saves it's files as text files, and I would lie to find a spell checker.

3..Internet . . Elinks

4..IRC chat - Epic.
I managed to connect to #puppychat last night, I think. I got as far as seeing the names of those connected. There was not much in the way of chatting. I did note some "can't find diphones x-x" errors, but that is apparently caused by Freetts not being able to pronouce some bit of gibberish.

I still need to find a way for the system to use my menu and quit when the q option is selected. Or find a way to put in a command that will open another shell window.

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

#107 Post by Trobin »

Did I say that I was using Fat Free Puppy 3 as the base. Well I wanted to, thought it maight satisfy a need for a more up to dte version of kernel. Well it turned out to be a no-go. It doesn't happen all the time, but FFP3 bacckgrounds setting up it's networking stuff at boot up. Which wouldn't be a problem if FFP didn't insist on doing the DHCP stuff while Yasr was trying to connect to FreeTTS. That went over so well that I had to cut the power off to reboot.

So I'm back with OneBone-210-elinks. It takes less and less time to set things up evry time I have to reset.

Tinyirc, the chat program that Nathan installed does not play well with Yasr. Epic4-2.8 does, s that will e the irc chat program of choice.. Yasr does play well with Epic, but I do have a question. Epic4-2.8 is built on ircii. I install it nd it works without a hitch. But I get all sorts of errors when I try to install ircii. Go figure.

However, I was able to join the puppylinux channel at freenode, and chat a little. Ralph and A-J were there. Yasr worked well, and ter were no segmentation faults which is why Yasr and Tinyirc don't play well together.

I still have no idea of how to display a menu.
if [ ! -f /usr/X11R7/bin/X ];then
#v2.00r1 now support a text-mode-only puppy...
if [ -f /usr/local/bin/elinks ];then
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
exec /usr/local/bin/elinks file:///usr/share/doc/index.html
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
As far as I can tell, those are the relevant lines of code in the etc/profile script, taht decide whether Puppy will be run in Gui or Cli mode. Puppy first looks for 'X' in /usr/X11R7/bin. If Puppy cannot find 'X' then it looks for elinks in /usr/local/bin. If it can find elinks the it touches (?) a filenamed bootcnt.txt in /tmp/ and execiured elinks.
What I did was delete elinks from the code, and add emma.sh in its place, so that Puppy will rin emma.sh activating Freetts and Yasr. If the next command is to execute menu.sh, it doesn't. Menu.sh might as well not be there.

If i lett /etc/profile run its course and make the last line execute menu.sh, it orks, but I can't get out of it, without breaking he system.

If I make the last line in emma.sh execute menu.sh then Yasr does not run. If I try to make Yasr run in the background, it will not run. If I get annoyed at the unresponsiveness, and use CTrl-c,z, or whatever key to brek the system, yasr stops an the menu appears.

I'm rapidly running out of ideas.

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

#108 Post by Trobin »

Okay i've managed to kludge together the beginning of a workable system.

Operating System. -- -- Puppy-OneBone-210-elinks
Speech Server -- -- -- -- FreeTTS-1.2.1
Screen Reader -- -- -- -- Yasr-0.6.8
Email -- -- -- -- -- -- -- Elmo
Text Editor -- -- -- -- -- - MP
Internet Browser -- -- --- Elinks
IRC Chat -- -- -- -- -- --- Epic
File Manager -- -- -- -- - LXT

Elmo is the only program I was able to test. I use webmail.

LXT is clone of xtree. I haven't fully figured out how to use it yet, but X opens up a command line. Which was pretty much the last major hurdle. Not that there aren't any hurdles left.

One being that I need to figure out how to remaster the thing, from a command line puppy withput a passle of error messages.

Using a head set makes the voice sound better than listening to it over speakers.

The line that executes the menu.sh script is at the end of the /etc/profile script. Since it is here you cannot exit the menu to the command line. You need to go through the file manager to do that. I've dded options to reboot and to poweroff the computer.

Todo

Learn how to use LXT

Do some scripting for Epic, so that it gather's the user name and irc location used.
{If I am smart enough to be able to do so.)

Get a Windows Manager going. Not GUI,, but just a text based windows managers. Puppy-OneBine-210-elinks does have one installed, but twin does not work on my system.

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

#109 Post by HairyWill »

this sounds very interesting
I spend a lot of time riding my bike.
voice control and audio would allow might all me to use my laptop whilst cycling
an added bonus would be the extra battery life gained through having the screen off
if i can get my gps working with puppy I might be able to use a blue tooth headset to get the laptop to do routing

if you need any testing done give me a shout
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

#110 Post by Trobin »

Well good luck with setting it up for gps, Harrywill.

Speak-pup doesn't have voice contro yet. But I think it can be done with cvocecontrol and wiakspeak.

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

#111 Post by Trobin »

I'm going to try a remaster tommorrow. If I can figure out the remaster script. How to do it in a command line puppy. I just have to install one more program.

The final list is

Operating System. -- -- Puppy-OneBone-210-elinks
Speech Server -- -- -- -- FreeTTS-1.2.1
Screen Reader -- -- -- -- Yasr-0.6.8
Email -- -- -- -- -- -- -- -- -Elmo
Text Editor -- -- -- -- -- - MP
Internet Browser -- -- --- Elinks
IRC Chat -- -- -- -- -- --- --Irssi
File Manager -- -- -- -- - Ytree
Audio -- -- -- -- -- -- ---MPG123
Accessabilty -- -- -- -- -brllty

Untested programs -
Elmo - I don't have the correct type pf email account.
Brltty - I don't have any accessaility equipment to test it on.

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

#112 Post by Trobin »

The iso will be an experimental version only.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

remaster

#113 Post by raffy »

..figure out the remaster script. How to do it in a command line puppy..
Comment out the dialogs and provide your answer (to the variables asked by the dialogs).
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

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

Re: remaster

#114 Post by Trobin »

raffy wrote:
..figure out the remaster script. How to do it in a command line puppy..
Comment out the dialogs and provide your answer (to the variables asked by the dialogs).
Some of the Xdialog commands are buried in the middle of other commands. IO tried it any way, and came up with syntax errors.

Will continue trying.

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

#115 Post by Trobin »

switched to 2.17 as I couldn't figure out the remaster script. I even found Dougal's improved remaster script for Puppy 2.10 and couldn't figure that out. Remastering was done in a full GUI mode Puppy 2.17, and is a snapshot of the thing after I deleted /usr/x11R7/bin/X."

I'll leave it to the Puppy Linux stars to come up with a remaster script that works on a command line puppy. I just grab bits and pieces and jam them to gether to see what I can come up with.

What I did come up with is:
http://www.murga-linux.com/puppy/viewto ... 947#169947

Speak-pup version 0.001 experimental is now complete and out the door, and can be found at:

http://www.filecrunch.com/user/Trobin

MD5 is 2df2facef90bb1bb31caf55e755428a1 speak-pup.iso

Specifics:

Operating System......................................................................Puppy 2.17
Speech Server............................................................................FreeTTS
Screen Reader............................................................................YASR
Text Editer..................................................................................MP
Intrnet Browser...........................................................................Elinks
IRC Chat.....................................................................................Irssi
File Manager...............................................................................Ytree
Audio...........................................................................................MPG321
Soft Brailler.................................................................................Brltty

ISO size is 148 megabytes.

Speak-pup will load to a simple menu, from which you can opt to:
read your mail
Create a text file
Access the Internet
Chat using IRC
Manage your files
Reboot
Power off

While you are doing that Speak-pup will read, to you, what is on the screen. You can use your computer's speakers, or a headset. I prefer a headset myself as it's easier to undertand.

The ISO has all the Gui and stuff that came intalled in Puppy 2.17. It does not run the GUI for the simple reason that I deleted the 'X" symlink in /usr/X11R7/bin, so /etc/profile cannot find it. The symlink is still there, renamed Xcop. You can, if you wish, go to /usr/X11R7/bin and copy Xcop to X, reboot and set up the windowing system. However FreeTTS and YASR are command line programs, and will not work with the GUI operating. But it might come in handy when working on the OS.

If you do want to make changes, ue MP, the text editer, to open /etc/profile. Got down to the bottom of the script and comment out the very last line "exec /root/menu.sh." Reboot and you will be at the commnd line. I would suggest you do this even if you intend to use the GUI. Otherwise, if you use a terminal, you'll be presented with the menu.

I don't know if Brltty is operatng correctly, or even at all. It supposedly supports a soft brailler but I don't have one to test it on.

Speak-pup is very much a work in progress but I need spme input on where to go with it.

And I only toasted two CD while remastering. One because I had just rebuilt the system, that has become much faster than trying to figure out how to fix something that screwed up, and forgot to install FreeTTS before rmastering. The second was because I forgot to iuncomment the last line in /etc/profile, and the menu didn't run.

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

#116 Post by Trobin »

Well I did say that it would be a very experimental iso. Version 0.002 will be up tomorrow. Just an addition to the menu that will allow connecting to the internet.

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

#117 Post by Trobin »

Seems to be something wrong with the host, or the connection to it. I tried it once this morning, told me that I hadn't logged out properly.

Tried it again a few minutes later and got to the file.

50 downloads so far.

I would very much like to know which of the programs built into Puppy 2.17 will work in a command line Puppy. So I'm not reinventing the wheel. Not the major applications like Abiword or Seamonkey, but some of the smaller one, for backing up, and that kind of thing.

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

#118 Post by djringjr »

Has anyone mirrored this iso file yet? The link still doesn't work for me in Seamonkey.

Best

David

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

#119 Post by Trobin »

djringjr wrote:Has anyone mirrored this iso file yet? The link still doesn't work for me in Seamonkey.

Best

David
No idea what happened. I just tried up loading to anoher site and got kicked off the internet. :cry:

Will keep trying.

76 hits and 66 downloads. So someones getting to it.

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

#120 Post by djringjr »

I see that Trobin has been contacted by Eric who has given him this directory (no file yet!).

http://puppylinux.ca/members/Seeing-Eye-Puppy/

I strongly suspect that demand for this iso far exceeds the expected demand.

Let's NOT download (or try to) UNLESS you can mirror the file, then someone will post here the mirror location.

But check the above directory in a few hours from now.

Best

David

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#121 Post by Caneri »

ok Trobin is setup with access to http://puppylinux.ca/members/Seeing-Eye-Puppy/

Please....hold off downloads until Trobin announces the iso is fully uploaded.

Thanks all,

Eric
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

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

#122 Post by djringjr »

Download Link for mirror of PupSpeak.iso

http://puppylinux.ca/members/Seeing-Eye ... ak-pup.iso

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

#123 Post by Trobin »

That didn't take long. Jst remember that this version is still higly experimental. Hopefully someone who is more of a Linux Guru than a tinkerer can offer some suggestions to polish it.

I'm doing a download to see if that works.

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#124 Post by Caneri »

Trobin,

Congrats and welcome to puppylinux.ca

Eric
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

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

#125 Post by Trobin »

Thanks

I wasn't able to complete a download, crappy internet that allowed me to get 25% after an hours download. I will try again later.

For those who did and discovered that they couldn't get to the internet here's a fix.

Boot Speak-pup to the menu
At the menu, press f and enter to start up Ytree, the file manager.
Press 'x" to open up a command line
type 'xorgwizard'

This will set up the GUI windowing system. Set it up as you wish. I chose xvesa and accepted the defaults. I wasn't going to keep it anyway.

Set up the internet as you normally would for Puppy

Use the Rox filemanager to go to the /usr/X11R7/bin directory.

Find the file 'X' A symlink to xwin

Delete 'X'

Close out the rox file manager

Reboot the computer to save the settings.

I tried it and it works. Be sure to delete 'X' from /usr/X11R7/bin. Freetts and Yasr are command line programs and do not work with the gui active.

Post Reply