Usage: e [var[=value]] Evaluable vars
| e?asm.bytes show description
| e?? list config vars with description
| e a get value of var 'a'
| e a=b set var 'a' the 'b' value
| e var=? print all valid values of var
| e var=?? print all valid values of var with description
| e.a=b same as 'e a=b' but without using a space
| e,k=v,k=v,k=v comma separated k[=v]
| e- reset config vars
| e* dump config vars in r commands
| e!a invert the boolean value of 'a' var
| ec [k] [color] set color for given key (prompt, offset, ...)
| eevar open editor to change the value of var
| ed open editor to change the ~/.radare2rc
| ej list config vars in JSON
| env [k[=v]] get/set environment variable
| er [key] set config key as readonly. no way back
| es [space] list all eval spaces [or keys]
| et [key] show type of given config variable
| ev [key] list config vars in verbose format
| evj [key] list config vars in verbose format in JSON
[EvalSpace]
> anal
asm
scr
asm
bin
cfg
diff
dir
dbg
cmd
fs
hex
http
graph
hud
scr
search
io
对于一些值存在选择范围的配置变量来说,可以用=?列出可选的值:
[0x00000000]> e scr.nkey = ?
scr.nkey = fun, hit, flag
如果不确定配置变量对应的效果,可以用e?[conf_var]显示该变量对应的描述: If you are not sure about the effect of configuration, you can use e?[conf_var] to display the corresponding description.
显示所有配置变量的描述然后从中抓取所想要的特性/配置也很方便,下面的这个命令获取scr.下所有命令的描述,然后仅展示其中包含utf的行。 It's also very convenient to list all the configuration variables and grep the features/configuration you want. The following command fetches the description to variables under scr. and display only those lines contain utf.
[0x00005b20]> e?scr ~utf
scr.utf8: Show UTF-8 characters instead of ANSI
scr.utf8.curvy: Show curved UTF-8 corners (requires scr.utf8)