• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

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
0
jmahesh
Asked:
jmahesh
  • 2
1 Solution
 
ahoffmannCommented:
man tput
0
 
jmaheshAuthor Commented:
my objective is to draw box and use inverse video and also accept input variables . Can this be done using tput
0
 
ahoffmannCommented:
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 = $< )
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now