Subj : Re: Evolution of a Progr To : Angus Mcleod From : Grymmjack Date : Sat Jun 11 2005 09:55 am > > > cat < That was supposed to be on three separate lines! this is a perfect example of how badly synchronet needs a good external editor with a good quoting system! the best editor (my preference of course) is iceedit, and that thing screws up the quotes now, so i cannot even use it reliably. for such a hugely great software it blows my mind that there is not a single external editor that is usable or friendly or 100% bug free. :) i reverted to the old line editor, but i hated it. i'm spoiled by mystics editor (and no favoritism here either, just like what i like). anyway, the whitelist is interpreted literally as-is in php, so it's probably the same in perl. i like heredocs in php because you can freely use any quotes you like, while also using variables in pretty much any format so you can really make some elegant output. however for using heredoc in a big project, it's cumbersome because of what i just mentioned and the scope for includes, etc. > Sure. In a shell script or directly at the interactive shell-prompt. (I > find the former more useful than the latter.) ok. what happens in the shell (what is it called) when you have that : prompt or just > or whatever.. sometimes i accidentally hit some key (i am not sure which) and it ignores the command i entered and shows me > .... i think the key i hit is either tab or ` or escape.. (i sometimes use notebook from bed at night and it is cumbersome to type and also error prone in darkness with the little keys) ... anyway here is an example: % nano /etc/fstab (here i hit the key by accident) > (cursor is here) when this happens, even if i hit enter on a blank line (which i would assume would abort whatever mode i had stumbled into) it just repeats the > prompt.. i have looked around, on both ldp and the howtos for bash and scripting and have not seen any mention of it... what is this mode called and what is it doing? > > (again it stripped the linefeeds -- this editor has serious bugs) > Okay, so long as it is YOU and not ME! :-) yeah it's ice edit :( - grymmjack .