Link to home
Start Free TrialLog in
Avatar of jmahesh
jmahesh

asked on

Shell programming involving cursors

Can you give me an example of how I can use shell programming using cursors to display input and accept input and also to create interactive cursors
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jmahesh
jmahesh

ASKER

my objective is to draw box and use inverse video and also accept input variables . Can this be done using tput
tput uses the capabilities specified in termcap, respectively terminfo. so, if your terminal is capable to draw boxes the answer is yes. If it cannot, but can use reverse video, you can write a script which draws a bocks using reverse video (blank) characters.
> .. accept input variables
Hmm, what dou you mean by that?
Think you mean the "read input from terminal" capavility of a shell, then see man sh, or man csh, or whatever (read var; set var = $< )