Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11


    I just run "./tcap" and it starts a small application then i pass an integer command (1, 2, 3 etc...) depends on type of action i want to perform. For example 1 for "Output mode options", 2 for "Maintenance Options", 3 for "Entitlements" and so on. You can also see in the attach image.
    For sample i am also attaching screen which appears when i pass input integer 1.

  2. #12
    okay, so it looks like it reads standard input from the terminal, i guess? I'm not sure this would work if it is a complicated menu, i.e., nested menus. Does this work?
    echo 1|tcap

  3. #13
    Yes exactly, once you are running the application you can pass standard input from the terminal using keyboard.
    I did try as you suggested. See below:
    [NameofHost ~]$ echo 1|tcap
    -bash: tcap: command not found
    [NameofHost  ~]$ echo 1| ./tcap
    term_init:tcgetattr: Invalid argument

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts