Chris Wagner wrote:
You can get rid of the "which package" prompt by only enabling one
repository.
Ah this suffices as a quick hack. But what if I have package x in repository a and package y in repository b. No matter which repository I choose, there will be packages that won't be upgraded. Needless to say, I have a few such packages that are not found at Active State's, for example.

hard to notice that more input is requested from me. <snip>
Being a screen reader user, the focus can be
in only one place at a time. <snip>
You can have it beep by having it print an ASCII BEL character at the
appropriate places.
That is what I was thinking, too. THe easiest representation is "\a" for alert bell I believe.

write a wrapper script for ppm that notices when a package choice is presented
That will do fine for my basic needs, thanks for the idea. Now the problem is how do I wrap PPM so that I can both read from and write to it? And how can I tell, without dead locking the whole program, that PPm has no more output to offer until I press enter? I know these are very common questions but please bear with me for a while.

I know about the system function as well as using pipes for the open function but neither will do for asynchronous I/O. The Perl FAQ talks about the package called IPC::Open2 but not knowing Unix, the manual is total Greek to me (maybe it could be improved some day). I've also had a look at the perlipc HTMl file but again I don't seem to be getting that much out of it, frankly speaking.

I'd liek to see a bear bones example of async input and output that will certainly work on Win32. Could anyone come up with such a script and go it through with me, or point me to a more detailed and less Unix-centric explanation of the open2 and 3 functions?

Mind you having a DOS and Windows power user background, even STDERR seems like a Unix:ish concept to me as it is poorly supported in DOS. I believe XP has some quirky command extensions to redirect STDERR but they are not commonly known. THis whole STDERR affair is OT in this thread, it mainly serves to give an idea of how little Unix I know apart from some basic commands, <sigh>. And even so The ancient SunOs running at the Uni machine is far from anything I would call user-friendly. Oddly enough, I find Perl much easier than most Unix commands. But I'll stop right here before this whole thing is totally OT.

--
With kind regards Veli-Pekka Tätilä ([EMAIL PROTECTED])
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila/
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to