ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Wider Qshell terminal window when running from file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wider Qshell terminal window when running from file

    Hi Folks

    When you run QSH from the command line you get a very wide display (132 char).

    If you run your command via a file, and it's producing some output for you to see, it displays on an 80-column display.

    Is there a setting or parameter that can increase the display width in this case?

  • #2
    What do you mean by "run your command via a file"?

    Comment


    • #3
      Originally posted by Scott Klement View Post
      What do you mean by "run your command via a file"?
      I mean a stream file, e.g.

      strqsh cmd('/usr/local/bin/myfile')

      Where myfile contains some action that outputs to the screen (a string search or whatever).

      Comment


      • #4
        So you are running a shell script via the STRQSH command.

        I believe that when you run STRQSH for an interactive command-line, it opens up a terminal interface called "QSH Command Entry". When you run a shell script, it's not expecting it to be interactive at all, so it does not open up that terminal interface. Since that interface isn't open, when a program writes data to stdout/stderr, it uses the ILE stdout/stderr display. That's probably why it behaves differently.

        I don't know how make this run in 132 column mode, sorry. Perhaps someone else does?

        Comment


        • #5
          Originally posted by Scott Klement View Post
          So you are running a shell script via the STRQSH command.
          OK, I get the message.

          Comment

          Working...
          X