On Thu, Aug 24, 2006 at 01:30:24AM +0200, Axel Liljencrantz wrote: > The current way to do this is to use backslash escape codes
ah, duh, why didn't i think of those? that's certainly good enough to cover 'rare things should be possible' > If you can give me a situation when quoted insert is clearly superior, > I'd be willing to add it, but as it is, I can't really see any > advantage. the main advantage is discoverability in the sense that if you know that there is a way to enter special characters (which you would have to know either way), you can just enter them without having to look up what the escape code for it would be. on the other hand using escapes as now makes copy-paste easier. interresting would be automaticly translate a literal character into its escape code when it is entered. (and using \ as a starting point might also be nice, so if you type \<TAB> then the text \t would be produced, etc...) most often i use them for entering things like ^G to generate a beep, which screen will notify me about if i am in another window, or to play around with ansi escape codes which are mostly specified as literals. \e is there, but no \a for the beep. (i don't know why it is \a, but that's what i found in the ascii(7) manpage, i'll just have to memorize \x07 now...) greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
