Solaris Handbook for Sun Frame Buffers

Using nvedit to Modify NVRAM

  1. To edit the NVRAM, begin the nvedit editor at the ok prompt:


    ok nvedit
    

See "Video Timing Method" for using the nvedit editor. There are several key sequences that you must use to edit the variables in NVRAM:

Table 6-5 NVRAM Editor

Key Sequence  

Description 

Backspace 

Delete the character preceding the cursor 

ctrl-1 

List NVRAM current values 

ctrl-p 

Move to the previous line 

ctrl-n 

Move to the next line 

ctrl-b 

Move to the previous character 

ctrl-l 

Delete to the beginning of the line 

ctrl-k 

Join the current and next line 

ctrl-u 

Delete the current line 

ctrl-c 

Exit nvram editor (return to ok prompt)

The changes will take effect only if they are stored using the nvstore command, entered at the ok prompt. Once the changes are stored, the NVRAM must be enabled before the system will execute it. This is done by setting the environment variable use-nvramrc? to true.