What ncurses frameworks are available for BASH? [duplicate] - linux

This question already has answers here:
Bash script with graphical menus
(2 answers)
Closed 5 years ago.
Are there some more Text User Interface (TUI) frameworks for bash (other than this)? : http://code.google.com/p/bashsimplecurses/
I want to take user input (data entry)
process the entry

If all you need to do is prompt the user for information, take a look at dialog.
http://invisible-island.net/dialog/dialog.html

bashsimplecurses is pretty capable (from the little I've seen), but you might want to try GTK Server. (Have a look at the docs page for tutorial and manual links). It can work with a large number of scripting languages. Other Stack Exchange users (particularly the UNIX/ BSD/ GNU/Linux lot) recommend using ncurses with Python.

Related

I wrote a nice program in linux and I don't want people to steal my work [duplicate]

This question already has answers here:
How to obfuscate a shell script?
(4 answers)
Closed 6 years ago.
I wrote a nice program in linux and I don't want people to steal my work, is there a way for me to hide the contents of my sh file from other people seeing it when I publish it? And it still has to be functional when I publish it to the public. I won't be posting any of the code because of this.
You could consider adding an open source license to your program to protect it:
https://dzone.com/articles/selecting-an-open-source-license-for-your-project
One possibility is to compile the shell script to C and ship a binary executable. Compilers for the shell language exist, such as CCsh from Comeau Computing, which is a proprietary product, like yours.

How to process arrow keys in CLI-based application, in Haskell? [duplicate]

This question already has answers here:
Haskell read raw keyboard input
(6 answers)
Closed 6 years ago.
I'm writing simple console Pomodoro timer (as my Haskell learning exercise):
Until that time menu was based on the prompt line. But now I want to replace it with arrow-based menu, like in Yeoman:
How can I do it in Haskell?
I read about System.Console.Terminfo.Keys and other System.Console packages, but not found solution for my question.
One way to do that would be to use bindings to ncurses library. Infact ncurses shows you an example of handing the key character "Q" in their sample program.
Another nice Haskell solution is vty-ui which has got a nice documentation to it.

How can I protect my C++ application from being decompiled? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
C#: How to Make it Harder for Hacker/Cracker to Get Around or Bypass the Licensing Check?
Protect C++ program against decompiling
How can I protect my visual C++ windows form application from being decompiled?
Is there a way?
Thanks guys !
If you want to protect it to a certain point from decompilation you can always use some protection software like an obfuscator or encrypter.
There is a vast number of products that can do this varying in price (from free to very expensive), complexity and implementation.
You might want to check http://www.safenet-inc.com/.

writing a programmung language [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Suggestions for writing a programming language?
I have used many programming languages and after several years of experience I have finally decided to make a language with my friends. I know that this is a task not for the faint of heart. We are devoted to the task and are going to make sure that this gets completed.
Now I wanted to start off by asking: what are the steps to writing a programming language? What should we start off with (ex. The parser)?
Any answer is helpful!
If this is your first language, then work on all parts of it at the same time, start with a mini language spec and extend it feature by feature. Unless a its a domain specific language you should use a language that comes close to what you try to implement so that later you might be able to write a conversion tool to get a bootstrapping version of your compiler.

Wish to learn a new programming language [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I wish to learn a new programming language but there are so many out there! So thought I'd ask here if there are any that correspond with what I wrote in this list that you might know of:
Making applications with GUI
That would preferably run on any system, preferably Windows (I run Windows 7)
That would not need a hardcore IDE and hopefully no compiling
That is not incredibly advanced (Hard syntax paired with OOP etc.)
That does not need any 'platform' or 'component' installed to work (can be opened with a click, say an .exe file or any other file type)
I already know:
HTML, JavaScript and PHP
Thanks in advance for your input.
I'd recommend Python to anyone.
You seem to have some mutually exclusive options here.
For example, no compiling and opening an .exe. An exe file is generated via compilation.
IMHO, Qt probably best suits your needs. It runs on just about everything, doesn't need an IDE (though qtcreator is a fantastic one, I suggest trying it before you choose not to use an IDE) and is easy to learn and well documented.
If you want compile-less then you'll need to use the python or other scripting language bindings too it.
I would suggest C-sharp / F-sharp combination with WPF thrown into that to get GUI's going...
It a pretty rough learning curve but the combinations are endless...
A couple things to certainly look into:
PRISM
M-V-VM ( Model , View, Viewmodel)
If you are interested in an other back-end persistancy try going into object databases, such a great new world opened up for me when I discovered all the things you can do with that... ( DB4O is my preferred one at this moment.. it has loads of info and a very active community )
It is only limited by your imagination ;)
This is one of those questions of having 10000 people going to an Ice cream shop and then choosing which flavour they want. So far I have worked with Delphi and C#, I am doing SQL, Asp.net and javascript, well, basically!
The answer should be somewhat simple. Go check out which programming language fits your needs, and is in great demand in the working world. If you want to program websites for companies, then PHP, ASP.NET and the older HTML is for you. As far as I know, flash is also coding.#
Another way to look at this question is not only the availability of the language you seek, but its future, if it will become obsolete or the coding language of the century.All coding is the same, but some are more rigorous in certain tasks (like C# and delphi are good languages to build forms applications to handle tasks for data manipulation, integration and whatnot.)
The answer to this question is to explore! What is Your flavour? Sitting in front of a desk doing CRUD operations and staring into a gui which has countless buttons and textb
oxes, but real in-depth code, or to start into a rich gui with XML based code?
I recommend HTML5+Javascript.
You can use Canvas or SVG for
graphic.
It works depending on the browser. So
any OS or system can use it.
Javascript and HTML can be edited in
any thing for example: notepad.
You can write your JS using OOP.
How to open a HTML file? just
double-click on it.
Have fun :)

Resources