ArchLinux wiki became, along with gentoo's handbook, one of the few places to get good information about many recurring questions about gnu/linux configuration.
Indeed. But after reading your comment i had to open Firefox to see that, it doesn't blink in Chrome. It seems that "The 'blink' value is not supported in IE, Chrome, or Safari." according to w3schools.
There's a couple gems that help with this in ruby.
Coolline[1] colors syntax in the readline as you type. There's a gem[2] that integrates this with Pry[3] (an alternative to irb). For colored output in Pry's REPL, awesome_print[4] can be integrated[5] using pry's .pryrc files.
Bash doesn't actually handle the syntax highlighting in those cases, it's all done by the interpreter itself. You'll need to either modify your interpreter through a plugin or replace it. For Python, check out bpython [1]. If you don't mind using a graphical program for your interactive REPL, check out DreamPie [2] or the newish GUI version of ipython [3], which is a bit of a bear to install, unfortunately. I don't think the command-line version of ipython supports syntax highlighting, but I'd love to be wrong about that. I'm not really qualified to talk about Standard ML as my experience with it have been primarily in Emacs rather than the REPL.
This leads to a wonderful idea: is it possible to make Bash syntax-highlight the Bash code you type at the prompt? I'm guessing the answer is currently "no".
10 comments
[ 4.2 ms ] story [ 37.1 ms ] threadArch is a great distro!
How can I get syntax highlighting on Bash while in interactive mode of interpreted languages like Python. Also applies to Standard-ML prompt.
Coolline[1] colors syntax in the readline as you type. There's a gem[2] that integrates this with Pry[3] (an alternative to irb). For colored output in Pry's REPL, awesome_print[4] can be integrated[5] using pry's .pryrc files.
[1] http://bpython-interpreter.org/
[2] http://dreampie.sourceforge.net/
[3] http://ipython.org/