On 8/24/06, Martin Bähr <[EMAIL PROTECTED]> wrote: > On Thu, Aug 24, 2006 at 12:07:45AM +0200, Axel Liljencrantz wrote: > > > fish does not seem to support the Ctrl-V keybinding for verbatim > > > inserting of special characters. > > Patches are accepted! ;-) > > unfortunately i am not a c programmer at all, otherwise i'd say, ok, > i'll see what i can do. > > i can help out with ideas, testing, debugging and scripts to demonstrate > things, but unless it is something trivial i won't be able to contribute > c code anytime soon.
That's ok. Lots of things don't require C knowledge. Besides the ones you mentioned, there are lots and lots of commands that don't have command specific completions yet, you can do translations, add or edit shellscript functions, etc. > > (and i have no intention to learn c, it is simply not interresting > enough for me to waste time with memory managment when more powerful > programming lanugages exist that do that for me) Sure. Shells do a lot of low level mucking around with signals, and other such strangeness. (You'd be surprised at how easy it is to get a pipeline sort of working and how much harder it is to fix all the really rare corner cases. It's amazing, really) Otherwise I'd have used another language. I kind of mostly like C myself, but I can see that pretty much any single program that can be written in a higher level language is much easier to write in a higher level language. > > and this one may be a real killer. > the ability to enter a tab or a newline or something similar to fix > broken filenames can be vital. The current way to do this is to use backslash escape codes. Fish supports \n style escapes as well as octals, hexadecimal and unicode ones. For example, if you want to remove the file named <NEWLINE><TAB>hello<ESCAPE><ELIPSIS> just type rm \n\thello\e\u2026 Fish even supports 'broken' bytes. If you are using e.g. UTF-8 as your character set but have a filename containing regular Latin-1, you can use \Xnn to specify the exact byte value. Also, keep in mind that when it comes to files, tab completion is your friend. 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. > > as the saying goes (one variation of it anyways): > common things should be easy, rare things should be possible > > 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/ > -- Axel ------------------------------------------------------------------------- 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
