<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/scripts/kconfig/lxdialog/util.c, branch v3.6.1</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>kconfig: variable argument lists needs `stdarg.h'</title>
<updated>2009-07-17T21:05:05+00:00</updated>
<author>
<name>Arnaud Lacombe</name>
<email>lacombar@gmail.com</email>
</author>
<published>2009-07-06T04:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=668cdedfdb2eb00d8efe127618bead4d46d9e942'/>
<id>668cdedfdb2eb00d8efe127618bead4d46d9e942</id>
<content type='text'>
Fix build on non GNU based platforms.

Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix build on non GNU based platforms.

Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig: make kconfig MinGW friendly</title>
<updated>2008-01-28T22:14:37+00:00</updated>
<author>
<name>Ladislav Michl</name>
<email>ladis@linux-mips.org</email>
</author>
<published>2007-12-17T18:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=09af091f50409a60a72086c737b9a6224dde5ab8'/>
<id>09af091f50409a60a72086c737b9a6224dde5ab8</id>
<content type='text'>
Kconfig is powerfull tool. So powerfull that more and more software
projects are using it for configuration. So instead of fixing some of
them one by one, lets fix it in kernel and wait for sync.

This work was originaly done for PTXdist - GPL licensed build system for
userlands and cross-compilers, but it will not hurt kernel kconfig
either. PTXdist menuconfig now works on Windows linked with PDCurses and
compiled using MinGW - there is no termios and signals.

* Do not include &lt;sys/wait.h&gt; and &lt;signal.h&gt; (comes from times when
  lxdialog was separate process)
* Do not mess with termios directly and let curses tell screen size.
  Comment to commit c8dc68ad0fbd934e78e913b8a8d7b45945db4930 says
  check for screen size could be removed later, but because it didn't
  happen for more than year I left it here as well.
* Save cursor position added by Sam

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kconfig is powerfull tool. So powerfull that more and more software
projects are using it for configuration. So instead of fixing some of
them one by one, lets fix it in kernel and wait for sync.

This work was originaly done for PTXdist - GPL licensed build system for
userlands and cross-compilers, but it will not hurt kernel kconfig
either. PTXdist menuconfig now works on Windows linked with PDCurses and
compiled using MinGW - there is no termios and signals.

* Do not include &lt;sys/wait.h&gt; and &lt;signal.h&gt; (comes from times when
  lxdialog was separate process)
* Do not mess with termios directly and let curses tell screen size.
  Comment to commit c8dc68ad0fbd934e78e913b8a8d7b45945db4930 says
  check for screen size could be removed later, but because it didn't
  happen for more than year I left it here as well.
* Save cursor position added by Sam

Signed-off-by: Ladislav Michl &lt;ladis@linux-mips.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>menuconfig: remember alternate config filename</title>
<updated>2007-05-02T18:58:09+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2007-03-18T09:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=95e30f9593ebf39e26227a20ae8d9f160c50fb67'/>
<id>95e30f9593ebf39e26227a20ae8d9f160c50fb67</id>
<content type='text'>
When loading an alternate configuration use that file as
current configuration filename.
Make the filename visible in the dialog.
Default continue to be .config.

Inspired by patch from: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc:  Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When loading an alternate configuration use that file as
current configuration filename.
Make the filename visible in the dialog.
Default continue to be .config.

Inspired by patch from: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc:  Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>menuconfig: dont use obsolete index() function in lxdialog</title>
<updated>2007-05-02T18:58:08+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2007-03-17T06:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f88d205501e35195444bdd41983e26546af3f56a'/>
<id>f88d205501e35195444bdd41983e26546af3f56a</id>
<content type='text'>
The index() function is obsolete, use strchr() instead.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The index() function is obsolete, use strchr() instead.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] fix menuconfig colours with TERM=vt100</title>
<updated>2006-11-25T21:28:34+00:00</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-11-25T19:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c154348f00834911c49aa63dfb48bd50d1a07d93'/>
<id>c154348f00834911c49aa63dfb48bd50d1a07d93</id>
<content type='text'>
On Mon, 13 Nov 2006, Phil Oester wrote:
&gt; In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
&gt; color scheme was changed to bluetitle.  This breaks the highlighting
&gt; of the selected item for me with TERM=vt100.  The only way I can see
&gt; which item is selected is via:
&gt;
&gt;     make MENUCONFIG_COLOR=mono menuconfig
&gt;
&gt; Which restores the pre-2.6.19 white on black highlighting.

Fix.

Cc: Phil Oester &lt;kernel@linuxace.com&gt;
Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Mon, 13 Nov 2006, Phil Oester wrote:
&gt; In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
&gt; color scheme was changed to bluetitle.  This breaks the highlighting
&gt; of the selected item for me with TERM=vt100.  The only way I can see
&gt; which item is selected is via:
&gt;
&gt;     make MENUCONFIG_COLOR=mono menuconfig
&gt;
&gt; Which restores the pre-2.6.19 white on black highlighting.

Fix.

Cc: Phil Oester &lt;kernel@linuxace.com&gt;
Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: support resize</title>
<updated>2006-09-30T09:19:20+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-29T20:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c8dc68ad0fbd934e78e913b8a8d7b45945db4930'/>
<id>c8dc68ad0fbd934e78e913b8a8d7b45945db4930</id>
<content type='text'>
In all dialogs now properly catch KEY_RESIZE and take proper action.
In mconf try to behave sensibly when a dialog routine returns
-ERRDISPLAYTOOSMALL.

The original check for a screnn size of 80x19 is kept for now.
It may make sense to remove it later, but thats anyway what
much text is adjusted for.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In all dialogs now properly catch KEY_RESIZE and take proper action.
In mconf try to behave sensibly when a dialog routine returns
-ERRDISPLAYTOOSMALL.

The original check for a screnn size of 80x19 is kept for now.
It may make sense to remove it later, but thats anyway what
much text is adjusted for.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: let &lt;ESC&gt;&lt;ESC&gt; behave as expected</title>
<updated>2006-09-30T09:19:20+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-28T21:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f3cbcdc955d0d2c8b4c52d6b73fc536b01b68c64'/>
<id>f3cbcdc955d0d2c8b4c52d6b73fc536b01b68c64</id>
<content type='text'>
&lt;ESC&gt;&lt;ESC&gt; is used to step one back in the dialogs.
When lxdialog became built-in pressing &lt;ESC&gt; once would cause one step back
and pressing &lt;ESC&gt;&lt;ESC&gt; would cause two steps back.
This patch - based on concept from Roman Zippel &lt;zippel@linux-m68k.org&gt; -
makes one &lt;ESC&gt; a noop and pressing &lt;ESC&gt;&lt;ESC&gt; will cause one step backward.

In addition the final yes/no dialog now has the option to go back to the
the kernel configuration. So if you get too far out you can now go back
to configuring the kernel without saving and starting all over again.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;ESC&gt;&lt;ESC&gt; is used to step one back in the dialogs.
When lxdialog became built-in pressing &lt;ESC&gt; once would cause one step back
and pressing &lt;ESC&gt;&lt;ESC&gt; would cause two steps back.
This patch - based on concept from Roman Zippel &lt;zippel@linux-m68k.org&gt; -
makes one &lt;ESC&gt; a noop and pressing &lt;ESC&gt;&lt;ESC&gt; will cause one step backward.

In addition the final yes/no dialog now has the option to go back to the
the kernel configuration. So if you get too far out you can now go back
to configuring the kernel without saving and starting all over again.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/menuconfig: lxdialog is now built-in</title>
<updated>2006-09-30T09:19:19+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-27T20:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2982de6993e6d9944f2215d7cb9b558b465a0c99'/>
<id>2982de6993e6d9944f2215d7cb9b558b465a0c99</id>
<content type='text'>
lxdialog was previously called as an external program causing screen
to flicker when used. With this patch lxdialog is now built-in.
It is loosly based om previous work by:  Petr Baudis &lt;pasky@ucw.cz&gt;

Following is a list of changes:
o Moved build of dialog routings to kconfig Makefile
o menubox + checklist uses a new item list to hold all menu items
o in util.c implmented helper function to deal with item list
o menubox now uses parameters to save scroll state (avoids temp file)
o textbox now get text to be displayed as parameter and not a file
o make sure to properly delete subwin's before main windows
o killed unused files: lxdialog.c msgbox.c
o modified return value for ESC to match direct calling
o in a few places the code has been adjusted to 80 char wide
o in textbox a small refactoring was made to make code remotely readable
o in mconf removed all unused stuff (functions/variables)

Following is a list of know short comings:
a) pressing ESC twice will be interpreted as two ESC presses
b) resize does not work. menuconfig needs to be restarted to be adjusted

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lxdialog was previously called as an external program causing screen
to flicker when used. With this patch lxdialog is now built-in.
It is loosly based om previous work by:  Petr Baudis &lt;pasky@ucw.cz&gt;

Following is a list of changes:
o Moved build of dialog routings to kconfig Makefile
o menubox + checklist uses a new item list to hold all menu items
o in util.c implmented helper function to deal with item list
o menubox now uses parameters to save scroll state (avoids temp file)
o textbox now get text to be displayed as parameter and not a file
o make sure to properly delete subwin's before main windows
o killed unused files: lxdialog.c msgbox.c
o modified return value for ESC to match direct calling
o in a few places the code has been adjusted to 80 char wide
o in textbox a small refactoring was made to make code remotely readable
o in mconf removed all unused stuff (functions/variables)

Following is a list of know short comings:
a) pressing ESC twice will be interpreted as two ESC presses
b) resize does not work. menuconfig needs to be restarted to be adjusted

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: add a new theme bluetitle which is now default</title>
<updated>2006-09-30T09:19:19+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-24T20:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=350b5b76384e77bcc58217f00455fdbec5cac594'/>
<id>350b5b76384e77bcc58217f00455fdbec5cac594</id>
<content type='text'>
The bluetitle theme is a slightly modified version of the colorscheme
that -mm users has been used to. The bluetitle is more readable especially
on some LCD screens so it is now default.
Anyone that really wants the old color selection can get it by selecting
the classic color theme:
make MENUCONFIG_COLOR=classic menuconfig

The bluetitle theme was modified by Roman Zippel &lt;zippel@linux-m68k.org&gt;
to further improve readability on LCD screens.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bluetitle theme is a slightly modified version of the colorscheme
that -mm users has been used to. The bluetitle is more readable especially
on some LCD screens so it is now default.
Anyone that really wants the old color selection can get it by selecting
the classic color theme:
make MENUCONFIG_COLOR=classic menuconfig

The bluetitle theme was modified by Roman Zippel &lt;zippel@linux-m68k.org&gt;
to further improve readability on LCD screens.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: add support for color themes and add blackbg theme</title>
<updated>2006-09-30T09:19:19+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-24T20:04:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=458972132a705c4a869002354f7f10f395d08c18'/>
<id>458972132a705c4a869002354f7f10f395d08c18</id>
<content type='text'>
The blackbg theme was originally made by: Han Boetes
It was copied from a patch by "Randy.Dunlap" &lt;rdunlap@xenotime.net&gt;
which was also the inspiration source for the color theme support.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The blackbg theme was originally made by: Han Boetes
It was copied from a patch by "Randy.Dunlap" &lt;rdunlap@xenotime.net&gt;
which was also the inspiration source for the color theme support.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
