menuconfig: Add Save/Load buttons
authorWang YanQing <udknight@gmail.com>
Wed, 19 Dec 2012 01:50:58 +0000 (09:50 +0800)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 15 Jan 2013 23:00:34 +0000 (00:00 +0100)
commit6364fd0cb1e4c7f72b974613e0cf5744ae4d2cb2
tree82ddce27af13bb046b75b89470bb505908affb2b
parent87727d453b4677a21312712c8a4bb5dcd81a1ebe
menuconfig: Add Save/Load buttons

If menuconfig have Save/Load button like alternative
.config editors, xconfig, nconfig, etc.We will have
a obvious benefit when use menuconfig just like
when we use others, we can Save/Load our .config quickly
and conveniently.

This patch add the Save/Load button for menuconfig.

[remove trailing space while at it for below line:
"*)  Formerly when I used Page Down and Page Up, the cursor would be set"
]

Changes:
V1-V2:
1:use PATH_MAX instead of hard code suggested by Yann E. MORIN
2:drop the spurious empty-line removal suggested by Yann E. MORIN
V2-V3:
1:ajust buttons position well centered reported by Yann E. MORIN

Signed-off-by: Wang YanQing <udknight@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/kconfig/lxdialog/menubox.c
scripts/kconfig/mconf.c