[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unidentified subject!



On Fri, 8 May 1998 sjc@gis.net wrote:

> Well...
> On Sat, May 09, 1998 at 03:15:10AM +0300, Liran Zvibel wrote:
> > Hello,
> > I would like to add some user interface to my programs, till now all I do
> > is write to stdout and stderr, and read from stdin, but it doesn't look
> > good.
> 
> What types of programs are these?
> if they read form stdin and write to stdout then terminate...
> they sound to me like "classic" unix-style programs 
> (ie like a filter idea)
> I hope you plan to keep this functionaity and add an optional 
> interfacer (maybe if invokded weith 
> -i or --interactive) 
Those programs implement an internal messaging between processes. It uses
the SYS V IPC (An exercise for OS course...). I have a reader process that
would have the interface I wrote about (Two lines for query requests for
the "messages box") , sender process that would have an almost full page
for sending information and a status line, a bulletin process that would
read the message box every few seconds and display the messages on the
screen if there are enough, and finally an admin process that will send
some important information as the time, the user quota and other statistics
every other few seconds - that will have no user interface at all.

I hope it is enough...

> 
> > What I have in mind is two-tree lines of input, then some more lines for
> > information (one or two, that will have while backround and black text
> > to distinguish the parts), and the rest of the screen (the remaining
> > 20-22 lines) for output.
> > So stdin would come from the first part, stderr would go to the
> > information part, and the stdout would go to the biggest part.
> 
> I would check out the slang library. I am currentluy playing with 
> using it from C and playin with it..unfortunatly the
> C referecne for the library apears to be very much "Unfinished"

I'll try the slang library. The problem that the exercise would be handed
in on SunOS, is there slang for SunOS too?

Thanks.

Liran Zvibel.

---
http://www.math.tau.ac.il/~liranz/


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: