Bugfixes and features for angband-2.9.6-alpha4. init_vcs.dif Bugfix: Fix typo init_cvs -> init_vcs in main.c. flowctrl.dif Partial bugfix: Turn off flow control for main-.c main-vcs.dif Bugfix/Feature: main-vcs.c fixes. keymap.dif Feature: Define cursor keys for main-.c. store-prompt.dif Feature: Improve prompts in the stores. As usual, feel free to delete this file when done. -- Hallvard B. Furuseth Comments copied from the top of each file: ====== init_vcs.dif ====== Bugfix: Fix typo init_cvs -> init_vcs in main.c. ====== flowctrl.dif ====== Partial bugfix: Turn off flow control for main-.c ^S halted the terminal instead of saving the game. This may be needed in main-lsl.c and for USE_TCHARS in main-.c too; I could not test these. It is not needed for main-sla.c. (But the non-X11 Unix modules can't be much used anyway, when such a bug could remain undiscovered for so long time.) BTW, maybe the way to turn off flow control for USE_TCHARS is to set t_startc and t_stopc to (char)-1 instead of the values used in main-*.c? ====== main-vcs.dif ====== Bugfix/Feature: main-vcs.c fixes. The victory over main-sla.c went to my head, so I decided to do the same to main-vcs.c. The necessary changes are small (the 3 first patches below), then comes various optional patches that I like. 1. Bugfix: Don't crash after Options page. 2. Possible bugfix: Place the cursor correctly. 3. Feature: Put the cursor at the bottom line when ^Z. Optional: 4. Cleanup: Make main-vcs.c more readable. 5. Feature: Do not print the umber bottom edge. 6. Detail: Set cursor in one operation. 7. Comment: Remove 'VCS is not tested' comment from Makefile.std. Patches #5 and #6 need patch #4 which needs patch #3. The other patches are independent. ====== keymap.dif ====== Feature: Define cursor keys for main-.c. pref-gcu.prf contains common key definitions for the cursor keys, numeric keypad & a few other keys. Use these for CAP, VCS and SLA as well as today's GCU and LSL. This is admittedly the Wrong Way to do it; the Right Way would be to get the cursor keys from the terminal's termcap entry. But since main-gcu is doing this anyway, I don't see any reason not to do it for other Unix modules as well. ====== store-prompt.dif ====== Feature: Improve prompts in the stores. The x) command was too close to the g) text, and SPACE) missed a '.'. Change from: ESC) Exit from Building. g) Get/Purchase an item. x) eXamine an item. SPACE) Next page of stock d) Drop/Sell an item. to: ESC) Exit from Building. g) Get/Purchase an item. x) eXamine an item. SPACE) Next page of stock. d) Drop/Sell an item.