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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
https://realterm.sourceforge.io/#commandline_table
https://realterm.sourceforge.io/#cmdDISPLAY
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
(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.
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