Subj : Default.src
To   : Digital Man
From : Uatu13
Date : Wed Sep 27 2017 10:12 pm

 Re: Default.src
 By: Digital Man to Uatu13 on Wed Sep 27 2017 10:57:06

>> Re: Default.src
>> By: Digital Man to Uatu13 on Tue Sep 26 2017 11:33:23

> >>> Also, is there any reason why adding a folder path to MENU xferinfo
> >>> in the File Info Section, for example: MENU darkside\xferinfo

> DM>> No, I see no reason why that would be. The "menu" function is just
> DM>> for displaying the menu (e.g. ANSI) file to the user and has
> DM>> nothing to do with the command key parsing/processing. If an
> DM>> option/command doesn't work, I suspect something else is the
matter.
> DM>> digital man

>> Thanks. I suspected this, but just had to check because nothing else
>> makes sense. I copied the Default.src to Darkside.src then added the
>> path darkside\menufile to all the MENU functions. The Darkside folder
>> resides in the text\menu folder and all the custom menu files display,
>> but none of the info_ functions are working when that command shell is
>> used; I discovered last night that it's not just the File Info, it's
>> also the Main Info not working as well.

DM> But the other menu files work okay?

As far as I can tell the only menus affected are the ones with info_ functions
related to them (xferinfo, maininfo). All other custom menus load and all
cmdkeys work as expected.

>> I guess I'll have to start over and test after I add each path to the
>> .src file to hunt this down.

DM> You might want to use a forward-slash instead of a backslash.
DM> Forward-slashes are cross-platform (work in both Windows and *nix) and
DM> they don't need escaping (e.g. "\\") in any context.

DM> digital man

Interestingly enough, I had already used forward-slashes on the other menu
calls. I've changed the File Info Menu call to "menu darkside/xferinfo" without
the quotes obviously. I still  had the same issue.

I believe I've isolated the cause although I don't understand it.

I have not yet created custom .ans files for xferinfo or maininfo, but was
about to. As a quick and dirty test I had originally copied xferino.asc to
menu/darkside then I used asc2ans to convert.

I have since opened xferinfo.ans into an editor, made a minor text change and
saved. Now the info_ functions work correctly when that menu is displayed.

Please let me know if you have any questions and I hope you can shed some light
on this for me. :)

Thanks,

-=U13=-

---
� Synchronet � The DarkSide of the Moon - telnet://darkside.synchro.net