LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-17-2006, 04:39 PM   #1
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
Automating MySQL - Linux terminal program?


I have a bit of experience with MySQL and *nix, but have never attempted something like this before.

I have a MySQL database of information filled in from paper forms. It includes three fields: checked, needsSignature, needsChanges.

One of two administrators goes over the forms, sets checked=1 once the form is checked, and if it needs a signature or changes, sets the appropriate field to 1.

What I want is a simple command-line program that iterates through the rows in a table where checked=0, and one at a time shows some of the information and options to change the other two fields mentioned.

So, what I need, is a suggestion for a programming language to do this in. Specs are as follows:

1) Nothing too heavy-weight, this is a one-time thing, but I'm always willing to learn a new language.

2) Only needs to run on SuSE Linux, but needs to be non-graphical (will be running through an SSH session via PuTTY on a Win machine.)

3) I'd like something menu-based (like SuSE's YAST, a blue screen with menus scrolled through with Tab key, text input boxes, etc.).

4) I'd also like to be able to make use of the F keys in certain places to expediate some tasks.

Thanks.
 
Old 07-17-2006, 04:46 PM   #2
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Original Poster
Rep: Reputation: 31
Ok, so I've figured out that what I want to use is ncurses. Any suggestions for a good, simple language to implement this in?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating Linux Desktop Installations nkanthikiran Red Hat 5 05-24-2006 08:34 PM
Hyper terminal type program for linux Hiper1 Linux - Software 3 03-09-2005 12:26 AM
terminal program metallica1973 Linux - General 4 02-23-2003 11:04 PM
terminal program metallica1973 Linux - Networking 1 02-23-2003 10:09 PM
Automating Linux/Win file sharing on startup deesto Linux - Networking 11 09-11-2002 12:59 PM


All times are GMT -5. The time now is 02:56 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration