Sign in Join

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

Mailing lists / fpc-pascal / 2003-07

New to the list/question

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Kevin Monceaux

Pascal enthusiasts,

I'm new to the list and just wanted to introduce myself. I got my first tast of Pascal in college on a VAX 11/750 under the VMS operating system. Nowdays Linux is my preferred platform. I was thrilled to discover Free Pascal. It's like becoming reacquanted with an old friend. I have one question. Are there any modules available to easily create text based user interfaces? I know now days everyone prefers GUI interfaces. For quick data entry one can't beat a good old text based user interface.

Thanks,

Kevin

Alan Mead
to Kevin Monceaux

Kevin,

Welcome! What do you mean by a "text-based interface"?

-Alan

--- Kevin Monceaux wrote 26 lines
Pascal enthusiasts, I'm new to the list and just wanted to introduce myself. I got my first tast of Pascal in college on a VAX 11/750 under the VMS operating system. Nowdays Linux is my preferred platform. I was thrilled to discover Free Pascal. It's like becoming reacquanted with an old friend. I have one question. Are there any modules available to easily create text based user interfaces? I know now days everyone prefers GUI interfaces. For quick data entry one can't beat a good old text based user interface. Thanks, Kevin _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

=====
A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. "

"But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it."

"This is my position, and I will not compromise."

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Kevin Monceaux
to Alan Mead

Alan,

Text based - something that would run on a Linux text console, old dumb terminal, DOS in the days before Windows, etc.

Kevin

Alan Mead wrote 51 lines
Kevin, Welcome! What do you mean by a "text-based interface"? -Alan --- Kevin Monceaux wrote: > Pascal enthusiasts, > > I'm new to the list and just wanted to introduce myself. I got my > first > tast of Pascal in college on a VAX 11/750 under the VMS operating > system. > Nowdays Linux is my preferred platform. I was thrilled to discover > Free > Pascal. It's like becoming reacquanted with an old friend. I have > one > question. Are there any modules available to easily create text > based > user interfaces? I know now days everyone prefers GUI interfaces. > For > quick data entry one can't beat a good old text based user > interface. > > > > Thanks, > > Kevin > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal ===== A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. " "But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it." "This is my position, and I will not compromise." __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Alan Mead
to Kevin Monceaux

Well then let me rephrase the question: What functionality are you looking for?

All your programs will, by default, be console applications that use write/writeln and read/readln. There is also a few flavors of the CRT unit containing more advanced console-based primitives like ReadKey() and Window().

-Alan

--- Kevin Monceaux wrote 78 lines
Alan, Text based - something that would run on a Linux text console, old dumb terminal, DOS in the days before Windows, etc. Kevin On Wed, 9 Jul 2003, Alan Mead wrote: > Kevin, > > Welcome! What do you mean by a "text-based interface"? > > -Alan > > --- Kevin Monceaux wrote: > > Pascal enthusiasts, > > > > I'm new to the list and just wanted to introduce myself. I got my > > first > > tast of Pascal in college on a VAX 11/750 under the VMS operating > > system. > > Nowdays Linux is my preferred platform. I was thrilled to discover > > Free > > Pascal. It's like becoming reacquanted with an old friend. I have > > one > > question. Are there any modules available to easily create text > > based > > user interfaces? I know now days everyone prefers GUI interfaces. > > For > > quick data entry one can't beat a good old text based user > > interface. > > > > > > > > Thanks, > > > > Kevin > > > > _______________________________________________ > > fpc-pascal maillist - > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > ===== > A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. " > > "But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it." > > "This is my position, and I will not compromise." > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

=====
A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. "

"But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it."

"This is my position, and I will not compromise."

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

Unknown author
to Kevin Monceaux: I'm new to the list and just wanted to introduce myself. I got my first tast of Pascal…
Kevin Monceaux wrote 9 lines
Pascal enthusiasts, I'm new to the list and just wanted to introduce myself. I got my first tast of Pascal in college on a VAX 11/750 under the VMS operating system. Nowdays Linux is my preferred platform. I was thrilled to discover Free Pascal. It's like becoming reacquanted with an old friend. I have one question. Are there any modules available to easily create text based user interfaces? I know now days everyone prefers GUI interfaces. For quick data entry one can't beat a good old text based user interface.

There are 3 or 4 ways :
- Use the video/keyboard/mouse units (documented)
- Use FVision. (undocumented, Turbo Vision Clone)
- Use ncurses (Straight C header translation)
- Use ncrt/ocrt crt clone, based on ncurses.
ocrt is an object-oriented windowing unit based on ncrt.

Michael.

Kevin Monceaux
to Alan Mead: Well then let me rephrase the question: What functionality are you looking for? All your…

Alan,

I'm looking for something with some form of form management capabilities. Something that would let one define a form, add some "widgets" to the form, then call a function to handle user input, navigating between "widgets", and the like.

Kevin

Alan Mead wrote 107 lines
Well then let me rephrase the question: What functionality are you looking for? All your programs will, by default, be console applications that use write/writeln and read/readln. There is also a few flavors of the CRT unit containing more advanced console-based primitives like ReadKey() and Window(). -Alan --- Kevin Monceaux wrote: > Alan, > > Text based - something that would run on a Linux text console, old > dumb > terminal, DOS in the days before Windows, etc. > > > Kevin > > On Wed, 9 Jul 2003, Alan Mead wrote: > > > Kevin, > > > > Welcome! What do you mean by a "text-based interface"? > > > > -Alan > > > > --- Kevin Monceaux wrote: > > > Pascal enthusiasts, > > > > > > I'm new to the list and just wanted to introduce myself. I got > my > > > first > > > tast of Pascal in college on a VAX 11/750 under the VMS > operating > > > system. > > > Nowdays Linux is my preferred platform. I was thrilled to > discover > > > Free > > > Pascal. It's like becoming reacquanted with an old friend. I > have > > > one > > > question. Are there any modules available to easily create > text > > > based > > > user interfaces? I know now days everyone prefers GUI > interfaces. > > > For > > > quick data entry one can't beat a good old text based user > > > interface. > > > > > > > > > > > > Thanks, > > > > > > Kevin > > > > > > _______________________________________________ > > > fpc-pascal maillist - > > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > > ===== > > A Congressman was once asked about his attitude toward whiskey. > "If you mean the demon drink that poisons the mind, pollutes the > body, desecrates family life, and inflames sinners, then I'm > against it. " > > > > "But if you mean the elixir of Christmas cheer, the shield > against winter chill, the taxable potion that puts needed funds > into public coffers to comfort little crippled children, then I'm > for it." > > > > "This is my position, and I will not compromise." > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > _______________________________________________ > > fpc-pascal maillist - > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal ===== A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. " "But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it." "This is my position, and I will not compromise." __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
James Mills
to Kevin Monceaux: Text based - something that would run on a Linux text console, old dumb terminal, DOS in…
Kevin Monceaux wrote
Alan, Text based - something that would run on a Linux text console, old dumb terminal, DOS in the days before Windows, etc.

I would suggest using nCurses, there is a pascal unit available for this in the FCL I believe.

cheers
James

Show quoted text 61 lines
Kevin On Wed, 9 Jul 2003, Alan Mead wrote: > Kevin, > > Welcome! What do you mean by a "text-based interface"? > > -Alan > > --- Kevin Monceaux wrote: > > Pascal enthusiasts, > > > > I'm new to the list and just wanted to introduce myself. I got my > > first > > tast of Pascal in college on a VAX 11/750 under the VMS operating > > system. > > Nowdays Linux is my preferred platform. I was thrilled to discover > > Free > > Pascal. It's like becoming reacquanted with an old friend. I have > > one > > question. Are there any modules available to easily create text > > based > > user interfaces? I know now days everyone prefers GUI interfaces. > > For > > quick data entry one can't beat a good old text based user > > interface. > > > > > > > > Thanks, > > > > Kevin > > > > _______________________________________________ > > fpc-pascal maillist - > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > ===== > A Congressman was once asked about his attitude toward whiskey. "If you mean the demon drink that poisons the mind, pollutes the body, desecrates family life, and inflames sinners, then I'm against it. " > > "But if you mean the elixir of Christmas cheer, the shield against winter chill, the taxable potion that puts needed funds into public coffers to comfort little crippled children, then I'm for it." > > "This is my position, and I will not compromise." > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
- - James Mills Zero Defect Software Engineers Group - ZDSEG