Which way is better in C ?
Roger Oberholtzer
roger
Mon Jan 24 02:39:48 PST 2005
On Fri, 2005-01-21 at 18:05, Ben Duncan wrote:
> Which is what S-Lang was written to do - drive data collections and
> process control machines for NASA.
>
> Yes, SLAG, my add'on to S-Lang, is basically a usefully ready made tool
> kit to add features to make S-lang have more "4GL" like functions.
> Things like input functions that, with a pass of a parameter, automagically
> handle telephone numbers, numeric fields, alpha fields, scrollable fields and the
> like, A WAY to do sub windowing and then let the system handle worry about
> row/column.
>
> So far, the add-ons have taken on a resemblance of FoxPro/Delphi/VB ..etc.etc..
>
> The ultimate goal is to have a FINAL system that is NOT event driven, but stack
> based (one MUST complete A before going on to B), is mousable ( when the system
> ASKS which item # to change, if you click on item 5, you can change item 5, OR
> you can enter the number 5 to change item 5), has a nice modern TUI interface
> that can appease MOST Cx0's who are Windoze Drone heads, yet offer the the
> head's down - get - the - work - done - fingers - do - not -leave - keyboard
> for the poor masses who have to do the daily drudge work.
This is a core difference. Our application is pretty much event driven.
Some events maintain a task list that is worked through when there is
nothing else to do. One of the BIG problems when we went to a GUI is
that we lost the direct connection to the keyboard as an event device.
It now goes in the X queue. This is because X needs to process these
things in some order to see where the key press needs to be sent. In
fact, any window system probably has this constraint. So, we opted for a
special USB key strip that can be used to generate timely user events.
> The NICE thing about S-lang, is it's VERY POWERFUL scripting language, that is
> very C like. Basically, anything one can do in C, you can do in S-lang, without
> the overhead worry of memory allocation and garbage collecting. Not to mention it has
> a very nice "terminal" interface library and a VERY POWERFUL scripting language (have I
> mentioned it has a VERY POWERFUL scripting Language?).
>
> GO check it out : http://www.s-lang.org
I will do this.
> Oh, and did I mention, it has a VERY POWERFUL scripting language? ;->
I do like Tcl. I think it is a good scripting language. What it adds is
platform independence in the scripts and the GUI.
>
> Roger Oberholtzer wrote:
> > On Thu, 2005-01-20 at 20:10, Bill Campbell wrote:
>
> >
> > I fully agree. A GUI need not be all mice and menus. It depends on how
> > you make the application. In our case, the system is a data collection
> > control and monitoring system. It's main job is to control subsystems
> > and collect data and and display the status of all. The user presses the
> > occasional function key. The app has GUI written all over it.
> >
> > BTW, camco!bill ?? Still in use?
> >
> >
> >>Bill
> >>--
>
> <SNIP>
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer ? E-mail: roger at opq.se ?
? OPQ Systems AB ? WWW: http://www.opq.se/ ?
? Nybrogatan 66 nb ? Phone: Int + 46 8 314223 ?
? 114 41 Stockholm ? Mobile: Int + 46 733 621657 ?
? Sweden ? Fax: Int + 46 8 314223 ?
+????????????????????????????+???????????????????????????????+
More information about the Linux-users
mailing list