Question: Menu.ini changes to CygWin after Cygwin is not executed. Menu.ini generates sysconf.img2, if the Menu.ini is modified, the primary order ~ After, the program will generate a sysconf.img2.tmp file. In the Linux environment, you can also directly MV A b; and Windows will not work, so CygWin is under ~ cannot be updated.
Reason: Because Windows's file system and Unix are different. Windows is not allowed to delete or rename files that are open.
Solved method: It is necessary to delete sysconf.img2 when you need BBS to shut down, and then rename sysconf.img2.tmp to sysconf.img2. After clearing the shared memory, re-enter the BBS, and menu.ini will be updated. Not only the bottom line, this place is always problematic because Windows file systems are different from UNIX. You know that Windows is not allowed to delete or change the files that are open. If there is a problem with the bottom line, if there is no bottom line, sometimes it is not possible, you need to delete when the BBS is closed.
If menu.ini is correct, then you delete sysconf.img2, then log in to Telnet first users, you will create a new sysconf.img2 according to menu.ini content, just like ~ the role, and this The method is no problem in Cygwin. Now that the user will go to the exit interface, it is sysconf.img2 error, then menu.ini is not correct, because each time you can generate sysconf.img2. Also note that there should be sysconf.ini in the home / bbs / etc / directory, this file is generated when installing BBS, cannot be deleted. If you don't update menu.ini, you will be wrong.
When the program is wrong, you can view / home / bbs / deverrlog, which is an error record.
The folder of the dynamic bottom line is / home / bbs / etc / endline, first remove ETC / Endline, then move back.
GDB tracking process:
First Telnet, BBS, stop in entering the username. Then attach in GDB, then C, then enter the username login in BBS. This will stop there when you have just been.
Shell> GDB SRC / BBS -P ***
GDB> TB main.c: 304 <-------- From this line, it is the interface of user login
GDB> C
The Telnet is entered into the username and password, and the breakpoint stops.
GDB> N tracking!!!