After responding to walks' question in the forums, and
recently being frustrated with my current telnet clients
inability to detect and launch URLs, an idea percolated
in my head: could Console be able to do that?
If it could scan the text on the screen and pick out
strings, it could then identify URLs, format them as
URLs (underlined,e.g.) and provide the ability to launch
the browser on them when clicked.
That would be a great way to provide some advanced
features to console-mode programs that currently don't
and/or can't support it.
It would also open up another host of other possibilities
if made more general - have a list of regular expressions
(REs) defined (user modifiable), and corresponding
formatting options and actions to taken when clicked on.
You could have REs defined for:
http\:.* - underline - launch browser
ftp\:.* - launch ftp client
http\:.*\.microsoft\.com - underline blue - launch IE
http\:.*\.netscape\.com - underline gray - launch NS
Filename REs (*.jpg,e.g.) - launch program
etc. - though just identifying URLs and letting the shell
handle them is more standard (and there are probably
routines around to ID URLs).
If selection were added (i.e. mark/copy), you could
provide functions to perform on selected text:
copy (obviously), or launch a user-defined command
(such as a link that passes the selected text to a
dictionary site for spell checking or translation).