|
maxfull
中级用户
  
积分 360
发帖 120
注册 2005-7-14
状态 离线
|
『第 46 楼』:
使用 LLM 解释/回答一下
请教 yaya ,关于CONFIG中显示中文
使用了 http://www.cn-dos.net/forum/viewthread.php?tid=18763&fpage=1 您在此贴中发布程序,感觉真的很不错,现在遇见了一个问题,不知如何实现..
首先我有一层菜单,已经是中文的了,各选项中功能不同,但是由于菜单选项过多,有些东西需要设置二级菜单,就是这问题了,请问如何实现:当我们用回车选择B项时,不是去执行,而是再调用下一层菜单呢,而菜单的选项跟第一层则完全不同,还需要多个选项,只要单选即可,我看了你发布的另一个菜单CONFIGP的那个,不太好用,因为用光标左右键来选择下一层菜单,感觉不实用,也不太好用,所以我还是选择上面的那个,只是不懂的设置二级菜单,麻烦指教,如果可以请给个例 子,感谢
Asking yaya about displaying Chinese in CONFIG.
I used the http://www.cn-dos.net/forum/viewthread.php?tid=18763&fpage=1 You posted the program in this thread, and it really feels very good. Now I have encountered a problem and don't know how to implement it..
First of all, I have a first-level menu, which is already in Chinese, and the functions in each option are different. However, because there are too many menu options, some things need to set a second-level menu, which is this problem. May I ask how to implement: when we use the Enter key to select item B, instead of executing, we call the next-level menu again, and the options of the menu are completely different from the first level, and there need to be multiple options, just single selection. I saw the other menu CONFIGP you posted, which is not easy to use, because using the cursor left and right keys to select the next-level menu feels impractical and not easy to use, so I still choose the above one, but I don't know how to set the second-level menu. Please give me advice. If possible, please give an example. Thank you.
|
|
2006-9-20 02:24 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 47 楼』:
使用 LLM 解释/回答一下
请看随机文件的例子3。第一层菜单用cmo=,第二层菜单用cm1=,....
CONFIGP应该比较先进,用光标左右键来选择下一层菜单只是个习惯问题。
Please look at example 3 of the random file. The first - level menu uses cmo=, the second - level menu uses cm1=,... CONFIGP should be relatively advanced, and using the cursor left and right keys to select the next - level menu is just a matter of habit.
|
|
2006-9-20 04:06 |
|
|
r7115
初级用户
 
积分 35
发帖 18
注册 2006-9-8
状态 离线
|
|
2006-9-21 20:18 |
|
|
a8384
新手上路

积分 11
发帖 8
注册 2005-8-12
状态 离线
|
|
2006-10-16 21:05 |
|
|
caiyunxing
新手上路

积分 2
发帖 1
注册 2005-9-6
状态 离线
|
『第 50 楼』:
感谢提供
使用 LLM 解释/回答一下
感谢提供感谢提供感谢提供
Thanks for providingThanks for providingThanks for providing
|
|
2006-11-17 01:45 |
|
|
xiehui7711
初级用户
 
积分 115
发帖 6
注册 2003-12-30
状态 离线
|
|
2006-12-5 08:17 |
|
|
wildfox
新手上路

积分 2
发帖 1
注册 2006-12-19
状态 离线
|
『第 52 楼』:
使用 LLM 解释/回答一下
真是高手啊,下了收藏备用
Really a master, downloaded and saved for later use
|
|
2006-12-21 04:11 |
|
|
ajiange
初级用户
 
积分 44
发帖 21
注册 2006-12-17
状态 离线
|
『第 53 楼』:
使用 LLM 解释/回答一下
謝謝大大的分享..........花了幾天研究,,終於試成功了......
沒想到這裡真是高手如雲.....尤其是yaya ....還有 本是....
在此特別感謝你們的分享,,,你們真的是高手高手高高手........
Thanks for the great share..........Spent a few days researching, finally succeeded in testing......
Didn't expect there are really many experts here..... Especially yaya....And Ben Shi....
Here I especially thank your shares,,, you are really experts experts super experts........
|
|
2006-12-26 00:08 |
|
|
zihan
初级用户
 
积分 66
发帖 24
注册 2006-12-14
状态 离线
|
『第 54 楼』:
使用 LLM 解释/回答一下
使用CONFIG。SYS的一些问题,请请教YAYA大师
1\是否支持路径调用,如:DEVICE=a:\sys\ConMenu.SYS.还是一定要放在根目录
2\如下的CONFIG.SYS
DEVICE=CONFIG.EXE
DEVICE=CONMENU.SYS
REM COLOR=
REM DEFAULT=A,15
REM CAPTION=
REM CAPTION= 标题
REM ENDNOTE= 尾注
REM CM0=[A. 实模式启动. (UMBPCI模式)
REM CM1=[?A. 加载NTFS分区读写驱动. (识别NTFS分区)
//请教:这里我想加载NTFS驱动,但我在AUTOEXEC中怎么判断用户选择了这个项目?也就是%cm0%,%cm1%是怎么和菜单对应的?
REM CM1=]1A
REM CM1=[?B. 加载SCSI/USB设备. (U盘/USB光驱/SCSI硬盘等)
REM INCLUDE1=2 //请教:子菜单中的INCLUDE该写在哪里
REM CM1=]2A
REM CM1=[?C. 加载IEEE1394设备. (1394光驱/硬盘)
REM INCLUDE1=3
REM CM1=]3A
REM CM1=[D. 确定选项
//请教:这里我是否能象CONFIG中那样能返回上层菜单呢?该如何写?
REM CM1=]4B
REM CM1=[END]
DEVICEHIGH=UMBPCI.SYS
REM INCLUDE0=1
REM CM0=]A
REM CM0=[B. 保护模式启动. (EMM386模式)
REM CM1=[?A. 加载NTFS分区读写驱动. (识别NTFS分区)
REM CM1=]1B
REM CM1=[?B. 加载SCSI/USB设备. (U盘/USB光驱/SCSI硬盘等)
REM INCLUDE1=2
REM CM1=]2B
REM CM1=[?C. 加载IEEE1394设备. (1394光驱/硬盘)
REM INCLUDE1=3
REM CM1=]3B
REM CM1=[D. 确定选项
REM CM1=]4B
REM CM1=[END]
REM INCLUDE0=1
DEVICE=EMM386.EXE NOEMS X=D000
REM CM0=]B
REM CM0=(1
DEVICEHIGH=HIMEM.SYS /testmem:off /q
DEVICEHIGH=QDMA.sys /l
REM CM0=)1
REM CM0=(2
DEVICE=USBASPI.SYS /v
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=DI1000DD.SYS
REM CM0=)2
REM CM0=(3
DEVICE=SBP2ASPI.SYS
DEVICEHIGH=CDSDMINI.SYS /D:FWR-CD
DEVICE=DI1000DD.SYS
REM CM0=)3
Some questions about using CONFIG.SYS, please ask Master YAYA
1\ Does it support path calls, such as: DEVICE=a:\sys\ConMenu.SYS. Or must it be placed in the root directory
2\ The following CONFIG.SYS
DEVICE=CONFIG.EXE
DEVICE=CONMENU.SYS
REM COLOR=
REM DEFAULT=A,15
REM CAPTION=
REM CAPTION= Title
REM ENDNOTE= Endnote
REM CM0=
1A
REM CM1=
2A
REM CM1=
3A
REM CM1=
4B
REM CM1=
DEVICEHIGH=UMBPCI.SYS
REM INCLUDE0=1
REM CM0=]A
REM CM0=
1B
REM CM1=
2B
REM CM1=
3B
REM CM1= 4B
REM CM1=
REM INCLUDE0=1
DEVICE=EMM386.EXE NOEMS X=D000
REM CM0=]B
REM CM0=(1
DEVICEHIGH=HIMEM.SYS /testmem:off /q
DEVICEHIGH=QDMA.sys /l
REM CM0=)1
REM CM0=(2
DEVICE=USBASPI.SYS /v
DEVICEHIGH=USBCD.SYS /D:USB-CD
DEVICE=DI1000DD.SYS
REM CM0=)2
REM CM0=(3
DEVICE=SBP2ASPI.SYS
DEVICEHIGH=CDSDMINI.SYS /D:FWR-CD
DEVICE=DI1000DD.SYS
REM CM0=)3
|
|
2006-12-26 04:07 |
|
|
yaya
银牌会员
    
积分 1009
发帖 353
注册 2003-9-4
状态 离线
|
『第 55 楼』:
使用 LLM 解释/回答一下
我猜想config.sys应该支持路径调用,你可试一试。
%cm0%返回A,%cm1%返回A。
子菜单不能包含父菜单项,必须把隐含项1、2、3放在 REM CM0=]A 前,并重复放在 REM CM0=]B 前。你现在是放在0级菜单。这是逐级执行式菜单的繁琐之处。
不能返回上级菜单。
你可试用一下并列执行式菜单。
I guess config.sys should support path calls, you can give it a try.
%cm0% returns A, %cm1% returns A.
The submenu cannot contain the parent menu item. The implicit items 1, 2, 3 must be placed before REM CM0=]A and repeated before REM CM0=]B. You are now at level 0 menu. This is the tedious part of the step-by-step execution menu.
Cannot return to the previous menu.
You can try the parallel execution menu.
|
|
2006-12-26 04:41 |
|
|
zihan
初级用户
 
积分 66
发帖 24
注册 2006-12-14
状态 离线
|
『第 56 楼』:
使用 LLM 解释/回答一下
我测试了ConMenu.sys支持路径,可以放到别的目录中,这样根目录就干净一些
谢谢你的指教
Last edited by zihan on 2006-12-27 at 11:18 AM ]
I tested the support path of ConMenu.sys and can place it in another directory, so the root directory is cleaner.
Thank you for your guidance.
Last edited by zihan on 2006-12-27 at 11:18 AM ]
|
|
2006-12-26 04:54 |
|
|
zihan
初级用户
 
积分 66
发帖 24
注册 2006-12-14
状态 离线
|
『第 57 楼』:
使用 LLM 解释/回答一下
希望YAYA能给conmenu.sys添加一个功能:
标题和尾注希望能象ECHO.SYS一样能控制显示小写。不然在标题或尾注中如果有英文的话,显示出来的全部是大写的,能不能把ECHO。SYS的功能也融合到一起用参数来控制显示?
再次表示对你的谢意
Hope YAYA can add a function to conmenu.sys:
The title and footer are expected to be able to control the display in lowercase like ECHO.SYS. Otherwise, if there are English words in the title or footer, they will all be displayed in uppercase. Can the function of ECHO.SYS also be integrated and controlled by parameters?
Express my gratitude again
|
|
2006-12-29 23:39 |
|
|
movy
初级用户
 
积分 61
发帖 33
注册 2007-1-13
状态 离线
|
『第 58 楼』:
建议在Config.Mnu中用";"代替"REM"
使用 LLM 解释/回答一下
建议 如 题目。
原因:
1、DOS的config.sys 允许用 分号 表示 注释;
2、可大幅缩减Config.sys的体积,这对制作启动盘要压缩文件体积时帮助很大。可谓“寸土寸金”;
3、简洁。
Suggestion as the title.
Reasons:
1. The config.sys of DOS allows using semicolons to represent comments;
2. Can significantly reduce the size of Config.sys, which is very helpful when making boot disks to compress file sizes. It can be described as "every inch of space is precious";
3. Concise.
|
|
2007-1-14 03:19 |
|
|
bingchong
初级用户
 
积分 152
发帖 21
注册 2003-1-21
状态 离线
|
|
2007-2-15 02:00 |
|
|
ajiange
初级用户
 
积分 44
发帖 21
注册 2006-12-17
状态 离线
|
『第 60 楼』:
使用 LLM 解释/回答一下
给yaya一個小意見:
我個人使用的結果感覺非常的棒,但有一小小使用意見建議:
不知可不可以修改每行的行距?這樣看起來就不會那麼擠了.....
Give yaya a small suggestion:
Personally, the result I used is very good, but there is a small suggestion for use:
I wonder if the line spacing of each line can be modified? Then it won't look so cramped.....
|
|
2007-2-20 05:43 |
|