On Jun 21, 2011, at 20:20, vadi...@gmail.com wrote:

> Sorry I really did not want to start any flame. I just thought that
> getting answer from the mailing list would be faster than spending my
> time studying source code of the new system.
>
>> What you should do is relearn the proper way. :-)
>
> Ok, let me turn my question the other way around. Suppose I typed
>
> ls -l /some/very/long/path/to/file
>
> and the file is too big so I want to use -h option. I use a text
> terminal so I can not use mouse to position cursor. How people usually
> handle this on *BSD systems?

I use Bash and OpenBSD's ksh. In both CTRL-a gets me back to the beginning of
the line.


A short google search turns up these two handy references for Bash, the
favored son of shells on Linux.

Vi mode:
http://www.catonmat.net/blog/bash-vi-editing-mode-cheat-sheet

Alternatively, emacs mode:

http://www.catonmat.net/blog/bash-emacs-editing-mode-cheat-sheet/

Reply via email to