China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-23 19:06
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Config Chinese menu-driven Confect.sys (updated to version 4.3) View 29,586 Replies 117
Floor 76 Posted 2009-01-12 11:37 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Confect V4.3 adds:
1. Include block command rem include=blockname
2. If the radio menu sub-item is selected, it automatically returns set option=blockname
3. The color value range is expanded to 0 ~ 31

[ Last edited by sanchuan on 2009-1-12 at 12:02 ]
Attachments
Confect43.rar (6.11 KiB, Downloads: 774)
三川一笑
Floor 77 Posted 2009-01-12 11:46 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline


[ Last edited by sanchuan on 2009-1-12 at 12:03 ]
三川一笑
Floor 78 Posted 2009-01-12 11:50 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Function:
a. 4-line title
b. 16 main menu items (prompt information can be set)
c. Each main menu item can set 12 single-choice or check-box sub-items (that is, sub-menus)
d. 4-line endnote
e. When there are too many menu items, it automatically pages, and each page can display 96 non-repeating Chinese characters in the menu
 (including title and endnote, etc., up to 150 non-repeating Chinese characters on the same screen)
f. A new function including configuration blocks is added: rem include=blockname
g. A new function to automatically generate single-choice item variables is added: set option=neme
h. The color value range is expanded to 0 ~ 31 (maximum value is 63)
i. The Chinese small character library can be automatically generated as needed

Definition:
device=Confect.sys /m a:\dos\hzk16 Load Confect driver, create small character library, load specified Chinese character library
SET PATH=a:\;a:\dos;C:\;..;

rem (Start mark of Confect)
set alHead=6 Title indentation (in characters)
set align=10,1 Menu indentation, line spacing 0 or 1
set alNote=6 Prompt or endnote indentation
set shortcut=a,1 Shortcut keys for menu main items and sub-items (if this item is empty, shortcut keys will not be displayed)
set color=7,1,9,9 Character color, menu background color, sub-item background color, prompt information background color (color number 0~31)
set default=1,30,8 Default menu item, default waiting time (seconds), 9-point or 8-point character (default is 9)
set heading=text Menu header title
set endnote=text Endnote description
set confect=name_a,text;note Block name corresponding to main item, menu title, menu description
set option=neme_a1,text;@ Sub-item corresponding block name, sub-item title; single-choice mark @ or check-box mark &

rem Block
...... Configuration

rem Block
rem include=name_xxx Include configuration of block name_xxx!!! New function !!!
...... Configuration

rem Block
...... Configuration

rem (End mark of Confect)
...... Public configuration


Annotation:
a. If all sub-items corresponding to the main item do not set the default mark, it is defaulted that the sub-items under the main item are check-boxes. If you need the sub-items under the main item to be single-choice without default items, use a instead of @ as the mark after any sub-item under the main item.
b. The created small character library is confect.dot, saved in the root directory.
c. The default display character of Confect is 9-point, which can be set as 8-point character clock.

[ Last edited by sanchuan on 2009-1-12 at 15:25 ]
三川一笑
Floor 79 Posted 2009-01-12 14:51 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by softmouse at 2009-1-12 03:19:
Strange phenomenon, has been unable to solve, please advise.
According to the instructions, I used the /m parameter to prepare to generate a small font (I understand that it is only the words included in the menu, so that it can greatly save the space for starting the software ...


Your understanding is correct, and the defined statement is also correct.

If an empty box appears in the confect driver menu, it means that the Chinese character font is not found. If all are empty boxes, it means that the Chinese character library is not found.
Your situation should be on A:\hzk16, that is, there is no hzk16 in the root directory of drive A.

In addition, note: confect defaults to hzk16 in the root directory of the current drive and the small font confect.dot. If config.sys does not specify the font library, it will automatically load hzk16 or the small font confect.dot in the root directory of the current drive.
三川一笑
Floor 80 Posted 2009-01-12 21:45 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
The function of setting option=blockname seems to be of little use, only reducing the environment variable space. The environment variable space of the default command.com is already very small.

[ Last edited by xugaohui on 2009-1-13 at 01:18 ]
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 81 Posted 2009-01-13 00:10 ·  中国 湖北 武汉 电信
初级用户
★★
Credits 113
Posts 51
Joined 2008-11-16 23:24
17-year member
UID 131196
Gender Male
From 武汉
Status Offline
Originally posted by xugaohui at 2009-1-12 21:45:
The function of "set option=blockname" seems to be of little use, only reducing the environment variable space. The environment variable space of command.com is already very small by default.


Setting the single-choice sub-item environment variable "set option=blockname" is to, in Autoexec.bat, besides using "goto %confect%", also use "goto %option%", which omits the settings in the sub-item block and makes Autoexec.bat concise.

If there are too many environment variables, you can use the SHELL command to increase the environment space of COMMAND.COM. Adding the following command in the CONFIG.SYS file can increase the environment size from 160 bytes to 512 bytes:
shell=command.com /e:512 /p
Or change 512 to 1024 or 2048
三川一笑
Floor 82 Posted 2009-01-13 01:34 ·  中国 广东 揭阳 电信
高级用户
★★
Credits 774
Posts 293
Joined 2003-04-16 00:00
23-year member
UID 1579
Gender Male
From 湖北仙桃
Status Offline
The function is a bit more powerful, and the file is smaller. In version 4.3, there is a small vertical line in front of the border of the default menu item of the sub - item, while it was an arc before. It would be more vivid if it could be changed to >.
下载
09年7月7日 更新
感谢网友 囧HQY 提供空间
Floor 83 Posted 2009-01-13 03:31 ·  中国 福建 南平 联通
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
Updated again. ^_^

[ Last edited by yjd on 2009-20 at 17:27 ]
Floor 84 Posted 2009-01-13 16:29 ·  中国 重庆 电信
初级用户
Credits 20
Posts 8
Joined 2006-11-13 03:26
19-year member
UID 70391
Gender Male
Status Offline
After my test, HZK16 must be placed in the root directory of drive A / M to make the small character set successfully. I have tried. Even if the location of HZK16 is specified, it cannot succeed when placed in other locations (subdirectories or drive C, etc.).
Floor 85 Posted 2009-01-13 16:33 ·  中国 重庆 电信
初级用户
Credits 20
Posts 8
Joined 2006-11-13 03:26
19-year member
UID 70391
Gender Male
Status Offline
My personal feeling, Confect is the most convenient, most simple, smallest, and best compatible Chinese boot menu program at present, with great power and infinite prospects! Thanks to the author for providing us with such a good software. I especially like simple and plain DOS tools.

Put forward a suggestion, considering it has no reference value:

1. The mark of single selection and multiple selection is too close to the text in the menu. It would look better if there is a space interval;
2. The selection mark &@ is ugly when displayed. Can it be changed to a more beautiful symbol or support customization?
3. In the same section, there are both single selection items and multiple selection items. Can they be used in combination?

[ Last edited by softmouse on 2009-1-13 at 16:38 ]
Floor 86 Posted 2009-01-18 22:12 ·  中国 广西 贺州 电信
初级用户
Credits 139
Posts 20
Joined 2004-10-20 00:00
21-year member
UID 32742
Gender Male
Status Offline
It seems very useful! Collected it, thank you!
Floor 87 Posted 2009-01-23 00:08 ·  中国 福建 厦门 电信
初级用户
★★
Credits 156
Posts 76
Joined 2007-08-20 11:52
18-year member
UID 95399
Gender Male
Status Offline
I noticed that the color settings in version 4.3 are different from those in version 4.2.
-----------------------------------------
Color settings for 4.2:
set color=2,0,0,0
Color settings for 4.3:
set color=2,0,0,0
-----------------------------------------
In version 4.2, the selected menu and prompt messages are white, with 3 colors: white, black, green.

In version 4.3, the selected menu and prompt messages are still green, with 2 colors: green, black.

As shown in the effect of 4.2


As shown in the effect of 4.3


Version 4.2 is still better - looking. The prompt messages are distinguishable.

[ Last edited by yjd on 2009-2-14 at 12:20 ]
Floor 88 Posted 2009-01-29 00:34 ·  中国 福建 泉州 晋江市 电信
初级用户
Credits 97
Posts 40
Joined 2006-11-01 13:59
19-year member
UID 69168
Gender Male
Status Offline
It looks like the color difference makes it simpler and clearer and more beautiful.
Floor 89 Posted 2009-01-29 13:20 ·  中国 四川 宜宾 联通
初级用户
Credits 56
Posts 40
Joined 2009-01-23 23:49
17-year member
UID 137337
Gender Male
Status Offline
The principle is very profound, but the tool is very convenient.
Floor 90 Posted 2009-02-04 11:35 ·  中国 辽宁 鞍山 中移铁通
新手上路
Credits 2
Posts 1
Joined 2009-02-03 09:40
17-year member
UID 137902
Gender Male
Status Offline
Forum Jump: