Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2004-07

ProceList/Quote Program (ncurses)

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

James Mills

Hi,

I'm intending upon writing a program to help with developing quotes for computer systems with the price list given in CSV then converted to a RDBMS of some sort (eg: sqlite).

My intention is to build this program using the ncurses library and develop a set of interfaces that are easy to use.

Q: Is there anything out there that'll make it easier to design the windows/screen ?

Q: Has anyone written a similar program that I can learn from ?

cheers
James

-ShortCircuit Services -WIKI: http://wiki.shortcircuit.net.au -IRC: http://wiki.shortcircuit.net.au/IRC/ -IRC: (/server shortcircuit.net.au) - -"Problems are Solved by Method" - -Team123 - We deliver -URL: http://team123.shortcircuit.net.au
Marco van de Voort
to James Mills
Show quoted text 9 lines
I'm intending upon writing a program to help with developing quotes for computer systems with the price list given in CSV then converted to a RDBMS of some sort (eg: sqlite). My intention is to build this program using the ncurses library and develop a set of interfaces that are easy to use. Q: Is there anything out there that'll make it easier to design the windows/screen ?

Designtime tools: no.

Libraries: Turbo Vision. (see the textmode IDE). It only uses the terminfo part of ncurses though, which improves look and feel, but decreases terminal independance.

James Mills
to Marco van de Voort
Marco van de Voort wrote
Libraries: Turbo Vision. (see the textmode IDE). It only uses the terminfo part of ncurses though, which improves look and feel, but decreases terminal independance.

Am I better off writing my own classes using the ncurses library ? vs. Learning Turbo Vision which I've never used...

Is Turbo Vision more complicated than ncurses ?

cheers
James

-ShortCircuit Services -WIKI: http://wiki.shortcircuit.net.au -IRC: http://wiki.shortcircuit.net.au/IRC/ -IRC: (/server shortcircuit.net.au) - -"Problems are Solved by Method" - -Team123 - We deliver -URL: http://team123.shortcircuit.net.au
Marco van de Voort
to James Mills: Am I better off writing my own classes using the ncurses library ? vs. Learning Turbo…
Show quoted text 6 lines
On Mon, Jul 12, 2004 at 09:11:57AM +0200, Marco van de Voort wrote: > Libraries: Turbo Vision. (see the textmode IDE). It only uses the terminfo > part of ncurses though, which improves look and feel, but decreases terminal > independance. Am I better off writing my own classes using the ncurses library ?

IMHO only if you make something small. TV allows the most rich textmode apps I know. Problem is that it might require some debugging here and there, but that will pay itself back on a larger project. Specially if you have no gigantic requirements on terminal independance.

Look at the IDE (+source) to get an idea of the potential of TV/FV.

vs. Learning Turbo Vision which I've never used... Is Turbo Vision more complicated than ncurses ?

Definitely. But also has way more possibilities, and is more productive.

James Mills
to Marco van de Voort
Marco van de Voort wrote 6 lines
> Am I better off writing my own classes using the ncurses library ? IMHO only if you make something small. TV allows the most rich textmode apps I know. Problem is that it might require some debugging here and there, but that will pay itself back on a larger project. Specially if you have no gigantic requirements on terminal independance.

I might do this then since this is only a small Terminal app, and I might learn a few things along the way :)

cheers
James

-ShortCircuit Services -WIKI: http://wiki.shortcircuit.net.au -IRC: http://wiki.shortcircuit.net.au/IRC/ -IRC: (/server shortcircuit.net.au) - -"Problems are Solved by Method" - -Team123 - We deliver -URL: http://team123.shortcircuit.net.au
Ron Weidner
to Jilani Khaldi: 1. how to control a session using cgiapp? 2. how to upload a file using cgiapp? Thanks!…
--- Jilani Khaldi wrote 7 lines
Hi All, 1. how to control a session using cgiapp? 2. how to upload a file using cgiapp? Thanks! // jk

There is project called PSP (Pascal Server Pages)
under active development that allows you do to these things. I'm currently writing an API to make it's use a little more .NET like (but simplified) and the
project author has teamed with the LibSql author to work on some Database functions. Maybe this helps.

http://www.psp.furtopia.org/cgi-bin/psp/index.psp

Ron_W

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail

Jilani Khaldi
to Ron Weidner
Show quoted text 10 lines
There is project called PSP (Pascal Server Pages) under active development that allows you do to these things. I'm currently writing an API to make it's use a little more .NET like (but simplified) and the project author has teamed with the LibSql author to work on some Database functions. Maybe this helps. http://www.psp.furtopia.org/cgi-bin/psp/index.psp Ron_W

It seems very nice. Thank You!

// jilani