Hi
I have a question regarding the Users current location on board as reflected in Terminal.
By that I mean when it shows that User is in Main Menu or Transfer Menu, etc. Now, I have added a custom menu called Utilities inside default src. and it works fine but terminal still shows that User is in main menu instead of utilities menu.
I've found that this passes the updated location -
# Update node status
node_action node_xfer
async
So, for utilities menu I can just put something like..
node_action node_util
..in my part of utilities section in default source. The reference to node_util then seems to be in 'nodedefs.inc' if I'm following this correctly. There are default 24 entries for main, xfer, mail, all sorts of default places. If I add 25th and call it
!define NODE_UTIL 25 # something something here
where do I actually pass the message that user is in that particular menu? I tried the above method to see what gives and it will say something like 'User is in 25', hehe so that's obviously missing something and # looks like a comment only..so not so sure where the actual 'message' is passed.
Any ideas?
Sorry, that won't work. Those constants are hard-coded in the C/C++ code (of Sychronet and other programs, like the node utility), so you can't
What you want to do is use the NODE_EXT attribute flag and reuse/redefine one of the other (existing) node "action" values, for your user. Then
Re: Node Update question
By: Digital Man to Lobo on Sat Dec 10 2016 01:47 pm
Sorry, that won't work. Those constants are hard-coded in the C/C++ code (of Sychronet and other programs, like the node utility), so you can't
<tears flowing> Ah well, I did suspect it was hard coded somewhere as I could
not find reference to it. :)
What you want to do is use the NODE_EXT attribute flag and reuse/redefine one of the other (existing) node "action" values, for your user. Then
Gonna try this then. The only trouble is that I don't know which one to reuse,
maybe the 'sending mail' one or such. :)
SendingMail is pretty common. Maybe reuse NodeActionBiXfer (NODE_BXFR) instead. I don't think you're going to see that node action used again.
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495934:28:59 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,923 |