03-16-06 01:48 AM
On 2006-03-16, Swamy wrote:
> I am wondering if anyone help me capture the mouse events
> in shell scripts (csh or tcsh)
csh and tcsh are not recommended for scripting. See:
<http://www.grymoire.com/Unix/CshTop10.txt>
<http://www.grymoire.com/Unix/Csh.html#uh-0>
<http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/>
> so that I can use the mouse clicks
> to make a section for a script prompt, than using the keyboard?
To read the mouse in a POSIX shell, see my article in UnixReview.com
last July, "Shell Corner: Mouse Reporting in a Shell Script":
<http://www.unixreview.com/documents...7a/ur0507a.html>.
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
[ Post a follow-up to this message ]
|