LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-06-2005, 08:09 PM   #1
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Pressing 'alt 1' key


Hi,

Can someone explain to me what 'alt 1' does when you press it? I press it and it shows this:

(arg: 1)

I have no idea what that means. Thanks!

-twantrd
 
Old 01-06-2005, 09:52 PM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
you can get the details of the same in `info bash` (digit Arguments) or `info readline` (readline arguments)

for ex you type
123456789
and your cursor is at 5
alt0 3 ctrl-d will delete 3 chars from your current cursor position
here you are specifying that you want to do the ctrl-d operation 3 times
if you want to do 10 times
alt1 0 ctrl-d would do the job

a special meaning is when you use - sign, which will invert the meaning.
for ex again you have
12345678 and your cursor is at 5
if you press alt-minus 3 ctrl-d it deletes 3 chars from 5 in reverse direction
you can use other commands too like ^b to move back one char
more details about the commands available can be read from info readline
 
Old 01-07-2005, 12:05 AM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Original Poster
Rep: Reputation: 52
Ahhh..thank you. Very well explanation. I appreciate your help.

-twantrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No TTY when pressing Alt+F1 - 7 tribalmasters Fedora 10 08-15-2005 10:02 AM
windowmaker restarts when pressing Alt-Tab sohmc Linux - Software 0 02-23-2005 07:40 AM
dark screen when pressing Ctrl + Alt + Backspace or Ctrl + Alt F1-F6 in Gnome or KDE trinoo Slackware 5 01-28-2005 08:13 AM
Slack 9, no Run Command upon pressing Alt+F2 VioLaToR Slackware 4 06-12-2003 01:08 PM
X freezes when changing screens (pressing CTRL+ALT+*1-7) Glover Linux - General 1 06-28-2002 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration