Re: What is alt-<number key> terminal shell to mean
From:
Dennis Williamson
Subject:
Re: What is alt-<number key> terminal shell to mean
Date:
Sun, 17 Oct 2021 05:01:25 -0500
On Sun, Oct 17, 2021, 1:50 AM Budi <budikusasi@gmail.com> wrote:
> What is alt-<number key> terminal shell to mean when it'ss howing
> (arg: <# number>)
>
> esp. what is alt-8 (usually share symbol */asterisk if using shift) in
> terminal shell as it is showing (arg:8) and all other number keys ?
>
It causes the next operation to be repeated that number of times. For
example, type
123456789
then press alt-8 then backspace. You should be left with only the numeral
"1" remaining on the line because the backspace was applied eight times.
alt-4 .
will add four dots to the line.
Note that some terminals use alt-<number> to switch tabs. In that case
esc-<number> should work to set the argument.
>