Using mouse in Shell Scripts?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Shell > Using mouse in Shell Scripts?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Using mouse in Shell Scripts?  
Swamy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-06 01:48 AM

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






[ Post a follow-up to this message ]



    Re: Using mouse in Shell Scripts?  
Chris F.A. Johnson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: Using mouse in Shell Scripts?  
Swamy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-16-06 10:53 PM


Thank you, Chris!

Swamy






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register