Subj : Default.src
To   : Uatu13
From : Digital Man
Date : Mon Sep 25 2017 03:44 pm

 Re: Default.src
 By: Uatu13 to Digital Man on Sun Sep 24 2017 01:43 am

> Hi DM,
>
> I'm trying to use the Default.src file as a reference to build my own
> command  shell and I have a couple of questions:
>
> # Get key (with / extended commands allowed)
> compare_user_misc UM_COLDKEYS
> if_false
>     getkeye
> else
>     getstrupr 60
>     endif    <---
>
> 1. Is that endif a typo? Is it supposed to be end_if or does it matter?

"endif" and "end_if" are both valid and equal to the Baja compiler.

> ------------
>
> # Do nothing for control keys and space
> cmdkey ^@
>     cmd_cmd
> cmdkey ^M
>     end_cmd
> cmdkey ^S
>     end_cmd
>  cmdkey  "    <---
>     end_cmd
>
> 2. Is that last cmdkey supposed to only be one double quote (') ?

No, it's correct. It just means a blank command key (a space character).

                                           digital man

Synchronet "Real Fact" #56:
Synchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006).
Norco, CA WX: 88.2�F, 12.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net