How can I change hotkeys for doors? The numerical sequence is fine but there are a few instances where I want to assign a letter instead of a number.
Hi,
How can I change hotkeys for doors? The numerical sequence is fine but there are a few instances where I want to assign a letter instead of a number.
Thanks in advance,
Gary
-=- Gary aka HSM -=-
-=TheFreeSpeak.com=-
--- Mystic BBS v1.12 A46 2020/05/28 (Windows/64)
* Origin: -=- TheFreeSpeak.com -=- Pittsburgh, PA -=-
The Millionaire wrote to HSM <=-there
How can I change hotkeys for doors? The numerical sequence is fine but
are a few instances where I want to assign a letter instead of a number.
It's better to stick with numbers instead. What if you have 2
doors that start with the same first letter?
He said he wanted to *assign* letters to a door command. Doesn't
matter what letter the name of the door starts with.
there
Huh?
I have eleven doors that start with the numeral "1". They all
work fine.
He said he wanted to *assign* letters to a door command. Doesn't
matter what letter the name of the door starts with.
... Reality failure. Press Enter to continuum.
--- MultiMail/Linux v0.52
■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
Re: Re: Hotkeys for Xtrn/Doors
By: Gamgee to The Millionaire on Mon Jun 29 2020 21:51:00
Yeah but what if I the door in text.dat with the %.0s and it corrupts the sbbs what about then eh smart guy?
---
echicken
electronic chicken bbs - bbs.electronicchicken.com
■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
echicken wrote to Gamgee <=-
Re: Re: Hotkeys for Xtrn/Doors
By: Gamgee to The Millionaire on Mon Jun 29 2020 21:51:00
He said he wanted to *assign* letters to a door command. Doesn't
matter what letter the name of the door starts with.
Yeah but what if I the door in text.dat with the %.0s and it
corrupts the sbbs what about then eh smart guy?
The external programs section is performed by xtrn_sec.js. You could potentially modify the code in there, but that's a generic script and doesn't have door-specific code. One thing you could do is add a menu to your command shell with letters to run a specific set of doors.
there
Huh?
I have eleven doors that start with the numeral "1". They all
work fine.
He said he wanted to *assign* letters to a door command. Doesn't matter what letter the name of the door starts with.
Well I thought he was talking about the name of the doors.
On 30 Jun 2020, The Millionaire said the following...
there
Huh?
I have eleven doors that start with the numeral "1". They all
work fine.
He said he wanted to *assign* letters to a door command. Doesn't matter what letter the name of the door starts with.
Well I thought he was talking about the name of the doors.
I'm fine with numbers but there are instances where I want to assign a letter and it seems not doable.
Re: Re: Hotkeys for Xtrn/Doors
By: HSM to The Millionaire on Tue Jun 30 2020 09:04 pm
If you wanted to just use consecutive command key letters (e.g. A, B, C, ...) that would be a trivial change to xtrn_sec.js to support. Of course then, 'Q' may not be available for "Quit" so you'd have to account for that.
digital man
Synchronet/BBS Terminology Definition #58:
POP3 = Post Office Protocol version 3
Norco, CA WX: 65.0°F, 82.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs
Heh. Well then you would come back here and ask a vague and
detail-lacking question about why your sbbs was corrupted. Then
you would probably edit your text.dat with an iPad version of
WordStar to fix it.
... Don't cry for me I have vi.
--- MultiMail/Linux v0.52
■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
The Millionaire wrote to Gamgee <=-
Heh. Well then you would come back here and ask a vague and
detail-lacking question about why your sbbs was corrupted. Then
you would probably edit your text.dat with an iPad version of
WordStar to fix it.
I don't use Wordstar. I use Pages and Find, Replace, Etc. and
both work quite well for me.
Uh-huh.
Well, except for when the editor corrupts the text.dat and crashes
the sbbs, right?
... Pros are those who do their jobs well, even when they don't feel like it. --- MultiMail/Linux v0.52
■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
Uh-huh.
Well, except for when the editor corrupts the text.dat and crashes
the sbbs, right?
I had the same problem with Nano too as well.
I'm fine with numbers but there are instances where I want to assign a letter and it seems not doable.
Why do you love VIM?
Why do you love VIM?
I appreciate ("love" is probably too strong a word) vi/vim, because it's always available regardless of what *nix flavor/version/distro, works with all terminals/configurations, and you can do all your editing tasks without moving your hands away from the "home" position on the keyboard. Can't really say that for any other editor.
digital man
I've watched youtube videos with guys showing how to do MUCH MORE than just edit text files in VIM; although even tho they were explaining it to me, I didn't understand after the first few minutes!
Why do you love VIM?
Why do you love VIM?
I got really used to using Vim at a previous job. I explored its features and ended up with a .vim configuration directory in my home directory that had custom color schemes for a few different programming languages, and I had macros for things like removing extraneous whitespace, adding Doxygen-style comments above functions in code, etc..
I knew as much; I suppose I'd ought to learn a little more about it so that I can utilize whats underneath that boring .Why do you love VIM?
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 595 |
Nodes: | 8 (0 / 8) |
Uptime: | 07:56:10 |
Calls: | 10,784 |
Files: | 5 |
Messages: | 468,803 |