Mono-Readline 0.0.1
Sponsored Links
Mono-Readline 0.0.1 Ranking & Summary
File size:
0.29 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1305
Date added:
2006-03-31
Publisher:
Patrick Wagstrom
Mono-Readline 0.0.1 description
Mono-Readline is a simple little assembly for .Net (specifically Mono) that provides support for GNU Readline support within Mono applications.
Mono-Readline project is based on the code of Martin Baulig in the Mono debugger. I just took it and made it all nice and autoconf/automake enabled.
Its pretty straight forward, but here is a short sample program:
using Mono.ReadLine;
using System;
using System.Reflection;
public class Test {
public static void Main(string[] args) {
GnuReadLine readline = new GnuReadLine();
Console.WriteLine("Monkeys!");
string the_prompt = "This is a test: ";
string result;
while (true) {
result = readline.ReadLine(the_prompt);
if (result != null) {
readline.AddHistory(result);
} else {
break;
}
}
}
}
You should be able to compile this with mcs -r:mono.readline test.cs and get a little executable program that keeps going until you hit CTRL-D. There is lots of other fun you could do such as setting up continuation prompts and what not. Basically, most of this is ripped from Martins code in the mono debugger.
But wait, odds are youre going to get some funky error saying it cant find the package or something like that. If thats the case, make sure you have MONO_PATH="/usr/local/lib" set before running the program and compiling. For example to compile run:
MONO_PATH="/usr/local/lib" mcs -r:mono.readline test.cs
And then to run type:
MONO_PATH="/usr/local/lib" mono test.exe
Im not a real Mono pro, but my hope is that this could possibly help someone else out. Im thinking that in the future I may also include a patch for IronPython.
As always, if you have comments or patches, please let me know.
Mono-Readline project is based on the code of Martin Baulig in the Mono debugger. I just took it and made it all nice and autoconf/automake enabled.
Its pretty straight forward, but here is a short sample program:
using Mono.ReadLine;
using System;
using System.Reflection;
public class Test {
public static void Main(string[] args) {
GnuReadLine readline = new GnuReadLine();
Console.WriteLine("Monkeys!");
string the_prompt = "This is a test: ";
string result;
while (true) {
result = readline.ReadLine(the_prompt);
if (result != null) {
readline.AddHistory(result);
} else {
break;
}
}
}
}
You should be able to compile this with mcs -r:mono.readline test.cs and get a little executable program that keeps going until you hit CTRL-D. There is lots of other fun you could do such as setting up continuation prompts and what not. Basically, most of this is ripped from Martins code in the mono debugger.
But wait, odds are youre going to get some funky error saying it cant find the package or something like that. If thats the case, make sure you have MONO_PATH="/usr/local/lib" set before running the program and compiling. For example to compile run:
MONO_PATH="/usr/local/lib" mcs -r:mono.readline test.cs
And then to run type:
MONO_PATH="/usr/local/lib" mono test.exe
Im not a real Mono pro, but my hope is that this could possibly help someone else out. Im thinking that in the future I may also include a patch for IronPython.
As always, if you have comments or patches, please let me know.
Mono-Readline 0.0.1 Screenshot
Mono-Readline 0.0.1 Keywords
GNU Readline
Readline 0.0.1
GNU
PATH
Readline
MONO
For Net
support
little
simple
specifically
result
provides
Mono-Readline
MonoReadline
Mono-Readline 0.0.1
Bookmark Mono-Readline 0.0.1
Mono-Readline 0.0.1 Copyright
WareSeeker periodically updates pricing and software information of Mono-Readline 0.0.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Mono-Readline 0.0.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
gnu readline library
gnu readline tutorial
gnu readline java
gnu readline 4.2
gnu readline wrapper
gnu readline for windows
support kids
little green footballs
gnu readline rpm
gnu readline debian
child support
littlewoods
gnu readline win32
support dell
little einsteins
little caesars
gnu readline examples
support symantec
Related Software
recvnet is the inverse of telnet. Free Download
JLine is a Java library for handling console input. Free Download
Nic is a web-based network monitoring tool. Free Download
Pvolley is an arcade volleyball game Free Download
EasySQL is a meta-SQL-language for MySQL. Free Download
Term::ReadLine::Gnu is a Perl extension for the GNU Readline/History Library. Free Download
NarkozaTEAM provides a simple project management system using the Model-View-Controller design pattern. Free Download
pythondr project is a simple python library for parsing the TV-channel info at http://dr.dk. Free Download
Latest Software
Popular Software
Favourite Software