"macky" <[EMAIL PROTECTED]> writes: > i was playing around with my keys.. and i wondered what ALT+FUNCTION_KEY+ANY_NUMBER >would do.... > (arg ANY_NUMBER_I_GAVE:)
You don't need the function key - the Fn key on your keyboard is so that you can reach the other symbols. My laptop has an Fn key that turns F1 into F11, for example. Hmmm. [apt-get source bash] Apparently it's a readline thing. Hmmm. [info rluserman] (readline user manual) In the Readline Arguments node: Readline Arguments ------------------ You can pass numeric arguments to Readline commands. Sometimes the argument acts as a repeat count, other times it is the sign of the argument that is significant. If you pass a negative argument to a command which normally acts in a forward direction, that command will act in a backward direction. For example, to kill text back to the start of the line, you might type `M-- C-k'. The general way to pass numeric arguments to a command is to type meta digits before the command. If the first `digit' typed is a minus sign (`-'), then the sign of the argument will be negative. Once you have typed one meta digit to get the argument started, you can type the remainder of the digits, and then the command. For example, to give the `C-d' command an argument of 10, you could type `M-1 0 C-d', which will delete the next ten characters on the input line. ------------- Incidentally, M- is meta-, which is alt- on most places. So M-1 is alt-1. Makes sense now? =) -- Sacha Chua <[EMAIL PROTECTED]> - 4 BS CS Ateneo geekette interests: emacs, linux, wearables, teaching compsci _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
