Subj : Re: Enter key and quit
To : Digital Man
From : Night_Flyer
Date : Mon Mar 19 2007 04:36 pm
> Re: Re: Enter key and quit
By: Night_Flyer to Digital Man on Sun Mar 18 2007 01:05 pm
> > > Enter in response to what? GETSTR or GETKEY or GETCMD?
> >
> > the current code is for a GETCMD
> > -----
> > getcmd YN\r?
> > logkey
>
> > cmdkey N
> goto theend
> > end_cmd
>
> > cmdkey Y
> goto write
> > end_cmd
>
> From baja.html:
> If a RETURN or GOTO function will be
> executed before the END_CMD function, then a CMD_POP function must be
> executed to tell the interpreter to "forget" the previous CMD_HOME
> function.
> So looks like you're missing some CMD_POP calls in there.
all the examples I looked at didnt have that in there (that I noticed any way)
the "cmdkey \r" call worked so ill leave that in... Thanks.
dont know how much more of this I want to play with considering its mosly
doing what I want.
Since this is for a one liner wall, is there a way to get the length of the
_useron.alias?
and with that info cut off the number of characters available in the get line?
X = 50
getline line1 X K_UPPER|K_ALPHA|NOCRLF
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net