Enable scrollbar on all aixterm windows ?

There is this workstations that I sometimes work on and it annoys me because it does not have any vertical scrollbar enabled.

I did a Google on activating scroll bar but they talk about escape sequences that I have no clue on how to do this:

CSI ? P m h DEC Private Mode Set (DECSET)
P s = 3 0 Show scrollbar (rxvt).

I tried rebooting the workstation to maybe boot into somekind of menu but it does not. I tried logging with root but it just stays in textless mode. Using the general logon id simply winds up with an aixterm window + clock on the desktop.

I do not know enough about aix to go any further.

How can I enable all new aix term windows to have the vertical scrollbar ?

Or, how can I do that escape sequence to enable it on any term windows ?

The scrollbar is set/unset by either an option or an xrm-resource-string for the AIXTerm. Per default it is off.

  1. Possibility: Invoke aixterm with the -sb option:
aixterm -sb -sl <nr-of-lines-to-save> &
  1. Possibility: Invoke aixterm using an xrm-resource-string
aixterm -xrm scrollBar:true &
  1. Possibilty: Put these xrm resource strings into the default configuration by adding them to the file "~/.Xdefaults". Add (any of) the following lines to the file ".Xdefaults" in your home directory:
AIXTerm*scrollBar: true
AIXTerm*saveLines: <nr of lines to save in the scroll buffer>
AIXTerm*scrollPosition: [left|right]

The default for saveLines is 64, the default for scrollPosition is "right".

Reference: AIXTerm documentation

I hope this helps.

bakunin

According to the InfoCenter page Help - you can start the aixterm with -sb to cause the scroll bar to display. The scrollBar keyword can be used in the .Xdefaults file.