Menu

#60 Syntax for Command Line Options to control Display As

V2.0.0.70
open
5
2021-06-24
2021-06-10
No

Simon,
Having trouble finding in the documentation how to set the Display As option on the command line.
Specifically, if I wanted both Display As and Ansi checked when the program opens, what command line option(s) are required?
Thanks

Discussion

  • David H. Harris

    David H. Harris - 2021-06-22

    I studied the documentation before I submitted the support request. It does not describe "how to set the Display As option on the command line."
    Perhaps the document could be updated with an example of how,
    "If I wanted both Display As and Ansi checked when the program opens, what command line option(s) are required."

    Thanks

     
    • Simon Bridger

      Simon Bridger - 2021-06-23

      (make sure you are on a current version from https://realterm.i2cchip.com )

      Not really sure what you mean by both "Display As and Ansi"
      Per the entry: https://realterm.sourceforge.io/#cmdDISPLAY
      you would use "Display=1"

      If you set up the UI the way you want, then go to the
      I2CMisc tab->INIFILE
      you will see the commandline options for the current UI state, and you can copy the ones you need.

       
  • David H. Harris

    David H. Harris - 2021-06-24

    The commandline options for the current state is under the Misc tab, not the I2CMisc tab, but that helped a lot!

    With some experimentation I figured out that the command line parameter DISPLAY=n picks the nth item in the Display As list below the All Chars option, which is the selection when DISPLAY=0.
    But for all other values of n besides 0 in the command line, Realterm opens with an immediate read access exception. Also, after clicking on OK the program won't exit normally, you have to kill it in Task Manager.

    So the issue in this ticket is solved, but I did uncover a bug in the process. The program is probably trying to write to a structure that hasn't been allocated yet.

     

    Last edit: David H. Harris 2021-06-24

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.