Unix Shell - Using mouse in Shell Scripts?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > March 2006 > Using mouse in Shell Scripts?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using mouse in Shell Scripts?
Swamy

2006-03-15, 8:48 pm

I am wondering if anyone help me capture the mouse events
in shell scripts (csh or tcsh) so that I can use the mouse clicks
to make a section for a script prompt, than using the keyboard?

Swamy

Chris F.A. Johnson

2006-03-15, 8:48 pm

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
Swamy

2006-03-16, 5:53 pm


Thank you, Chris!

Swamy

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com