1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

adopt arrow semantics from fippo.. << means outgoing, >> means incoming.

that's the inversion of shell io semantics
This commit is contained in:
psyc://psyced.org/~lynX 2009-02-25 15:12:44 +01:00
parent 673eacd099
commit 921d1c17a5
6 changed files with 11 additions and 11 deletions

View file

@ -189,7 +189,7 @@ _status_circuit\n\
Available protocols: [_available_protocols].\n" S_GLYPH_PACKET_DELIMITER "\n");
#endif // !FORK
#ifdef _flag_log_sockets_PSYC
log_file("RAW_PSYC", "» %O greeted.\n", ME);
log_file("RAW_PSYC", "« %O greeted.\n", ME);
#endif
return 1;
}
@ -477,7 +477,7 @@ varargs int msg(string source, string mc, string data,
# endif
#endif
# ifdef _flag_log_sockets_PSYC
log_file("RAW_PSYC", "» %O\n%s\n", ME, buf);
log_file("RAW_PSYC", "« %O\n%s\n", ME, buf);
# endif
//PT(("» %O\t%s\n", ME, buf))
return emit(buf);
@ -504,14 +504,14 @@ varargs int msg(string source, string mc, string data,
else buf = make_psyc(mc, data, vars);
#ifdef _flag_log_sockets_PSYC
log_file("RAW_PSYC", "» %O\n%s\n", ME, buf);
log_file("RAW_PSYC", "« %O\n%s\n", ME, buf);
#endif
return emit(make_mmp(buf, vars, ME));
}
int send(string data, mapping vars) {
#ifdef _flag_log_sockets_PSYC
log_file("RAW_PSYC", "» %O send(%O)\n", ME, data);
log_file("RAW_PSYC", "« %O send(%O)\n", ME, data);
#endif
return emit(make_mmp(data, vars, ME));
}

View file

@ -279,7 +279,7 @@ vamixed parse(string a) {
mixed vvalue;
#ifdef _flag_log_sockets_PSYC
log_file("RAW_PSYC", "%O «\t%s\n", ME, a);
log_file("RAW_PSYC", "» %O\t%s\n", ME, a);
#endif
// P3(("CVARS (%O):\n %O, %O\n", a, query_ip_number(ME), ME))
D3( if (a && strlen(a) > 2) D(S("pp:parse %O\n", a)); )
@ -572,7 +572,7 @@ private repatch(string t) {
vamixed getdata(string a) {
#ifdef _flag_log_sockets_PSYC
log_file("RAW_PSYC", "%O «\t%s\n", ME, a);
log_file("RAW_PSYC", "» %O\t%s\n", ME, a);
#endif
if (a != ".") {
#ifdef SYSTEM_SECRET