Print this page
OS-2051 serial console login should set TERM appropriately

Split Close
Expand all
Collapse all
          --- old/overlay/generic/lib/svc/manifest/system/console-login.xml
          +++ new/overlay/generic/lib/svc/manifest/system/console-login.xml
↓ open down ↓ 128 lines elided ↑ open up ↑
 129  129                          value='solaris.smf.value.vt' />
 130  130                  <propval name='device' type='astring' value='/dev/term/a' />
 131  131                  <propval name='label' type='astring' value='115200' />
 132  132                  <propval name='timeout' type='count' value='0' />
 133  133                  <propval name='nohangup' type='boolean' value='true' />
 134  134                  <propval name='modules' type='astring'
 135  135                          value='ldterm,ttcompat' />
 136  136                  <propval name='prompt' type='astring'
 137  137                          value='`uname -n` ttya login:' />
 138  138                  <propval name='terminal_type' type='astring'
 139      -                        value='' />
      139 +                        value='xterm' />
 140  140          </property_group>
 141  141  </instance>
 142  142  
 143  143  <instance name='ttyb' enabled='true'>
 144  144  
 145  145              <dependency
 146  146                      name='system-console'
 147  147                      grouping='require_all'
 148  148                      restart_on='none'
 149  149                      type='service'>
↓ open down ↓ 6 lines elided ↑ open up ↑
 156  156                          value='solaris.smf.value.vt' />
 157  157                  <propval name='device' type='astring' value='/dev/term/b' />
 158  158                  <propval name='label' type='astring' value='115200' />
 159  159                  <propval name='timeout' type='count' value='0' />
 160  160                  <propval name='nohangup' type='boolean' value='true' />
 161  161                  <propval name='modules' type='astring'
 162  162                          value='ldterm,ttcompat' />
 163  163                  <propval name='prompt' type='astring'
 164  164                          value='`uname -n` ttyb login:' />
 165  165                  <propval name='terminal_type' type='astring'
 166      -                        value='' />
      166 +                        value='xterm' />
 167  167          </property_group>
 168  168  </instance>
 169  169  
 170  170  <instance name='vt2' enabled='false'>
 171  171  
 172  172          <dependency
 173  173                  name='system-console'
 174  174                  grouping='require_all'
 175  175                  restart_on='none'
 176  176                  type='service'>
↓ open down ↓ 317 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX