While you are looking at bugs Martin, please fix so that backspace works again in Hilfe in Pike 7.7 (instead of performing help).
backspace works fine here. will need some help with that...
greetings, martin.
Well, it only acts up when using specific terminals to access the computer running the hilfe. I have no idea what to look for though?
When martin says that "backspace works fine", he probably means that DEL work fine, whereas BS does not. Some terminals generate DEL when you press the key with the backwards arrow on, and some generate BS. BS is identical to Ctrl-H, by the way.
almost, i meant that the key that is labeled with the text Backspace on my keyboard works fine, and i had in my mind that most likely this is a BS vs DEL issue.
i think we should just disable ^H for help, or do you know of a way to distinguish ^H from BS on those systems that map BS to ^H?
greetings, martin.
^H and BS are the same. There is no "mapping BS to ^H" because BS _is_ ^H. man ascii.
I agree that ^H for help should be disabled. Using ^H for help is a misfeature we don't need to copy from Emacs. :-)
but emacs manages to distinguish ^H from backspace. does it use timing? (since there is a delay between ^ and H if typed seperately)
greetings, martin.
Uh, what do you mean with "a delay between ^ and H" by the way? ^H is not two characters, but a notation to denote the unprintable character generated by Ctrl+H. This unprintable character has the ASCII code 8, and is designated the function "backspace" by ASCII.
Pike hold setenv and putenv in master.pike. So FastCGI is a bit hard to worked with. Why not just pass setenv&putenv down to C lib?
greetings, Xuesong Guo
On Fri, Aug 31, 2007 at 03:08:51PM +0800, PeterPan wrote:
Pike hold setenv and putenv in master.pike. So FastCGI is a bit hard to worked with. Why not just pass setenv&putenv down to C lib?
which version of pike are you talking about? and how does it make working with FastCGI hard?
greetings, martin.
Hilfe Bug:
Pike v7.6 release 112 running Hilfe v3.5 (Incremental Pike Frontend)
mixed a=lambda(string s){ string k,b; sscanf(s,"%s=%s",k,b); };
Compiler Error: 1:Missing ')'. Compiler Error: 1:syntax error, unexpected '(', expecting TOK_LEX_EOF or '{' Compiler Error: 1:syntax error, unexpected ')', expecting ';' or ',' Compiler Error: 1:syntax error, unexpected TOK_SSCANF Compiler Error: 1:syntax error, unexpected '}' Compiler Error: 1:Missing ';'. ---------------------------------------------------------------------------- --------------------------------------- put these code in a file, and run, no error, see following: ==================================================================
_typeof Bug:
void main() { mapping m=([]); mixed a=lambda(string s){ string k,b; sscanf(s,"%s=%s",k,b); m[k]=b;}; mixed b=lambda(string s){ string k,b; sscanf(s,"%s=%s",k,b);}; write("%O\n",_typeof(a)); write("%O\n",_typeof(b)); }
$ pike t.pike function function(string : zero) ---------------------------------------------------------------------------- --------------------------------------- ^--------not same!? They should be same I think.
Xuesong Guo
pike-devel@lists.lysator.liu.se