On 25-Oct-01 Adam Bower wrote:
I was going to reply to the whole mail but after I read the reply it was so boring I decided to only answer one bit!
Thanks for keeping it interesting and thanks for the bash quick referance that I never knew still I would like to map Home and End even though I now know about these new Ctrl+? Keycombinations, Both Adam and MJR thank you, but I still think that these commands are a little hidden from the end user who may find the number of things in a linux box already overwelming so why sould not the home and end keys on a standard PC keyboard be mapped for a begginer (or even someone with experiance) even if there is anouther more standard way.
Regards
Owen
On Thu, 25 Oct 2001 oms101@freeuk.com wrote:
annoying habits are at least manageable, where as recommending Debian to a new user may leave them with the opinion that you can't map the Home and End keys on your bash/terminal environment to take you to the start and end of the line.
Why would you want to map Home and End to take you to the start and end of a line? you would use Ctrl+A and Ctrl+E as it will work on Bash on any system? Anyhow a quick bash reference...
Ctrl+A goto beginning of line Ctrl+E goto the end of the line Ctrl+D EOF, logout if there is nothing on the command line Ctrl+R Reverse search through your command history Ctrl+S stops you terminal output Ctrl+Q recontinue terminal output, this is useful to know when you terminal appears stuck Ctrl+W delete previous word Ctrl+H delete previous character Ctrl+K kill to end of line Ctrl+U kill to beginning of line Ctrl+Z stop a job Ctrl+C kill the running program, or the current command line without executing it Ctrl+T transpose the characters behind the cursor Ctrl+F move forward one character at a time Ctrl+B move back one character at a time Ctrl+P kill current line and enter the last one that was typed Ctrl+L redraw the screen Ctrl+J same as return Ctrl+O same as return Ctrl+M same as return Esc+F move forward one word Esc+B move backward one word
Ermm, that is quite a bit longer than what I meant to type, and also be careful with the Ctrl+M or O or J ones as they do something else that I can't remember at the moment and I cant be bothered to look up.
I just wanted to second this, although your lart stick business seems a little harsh to this bleeding hart liberal.
Its what seperates the sys-admins from the programmers ;-)
Adam
Adam "a funny thing about regret is, that it's better to regret something you have done, than to regret something you haven't done"
Date: 28-Oct-01 Time: 11:44:26