On Wed, December 14, 2005 7:49 am, Philip Ganchev wrote:
> Is it possible to insert quoted characters in Fish, such as a bell?
> ^V is the default readline keybinding, so ^V^G inserts a bell.
>

Fish supports the standard C syntax for escaped characters, i.e. \xXX,
\uXXXX or \UXXXXXXXX can be used to write an 8, 16 or 32 bit character
using hex. \oXXX can be used to write a 8 bit character using octal.

V is the 22:nd character of the alphabet, so ^V is character 22, or 16
hexadecimal. 'echo \x16' should work, I guess.

Looking at the fish code, it seems that \b is also supported. Maybe that
works too? I'm too lazy to test since I have turned the bell of on my
terminal.

-- 
Axel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to