Re: Xterm + Bash + Long command lines

From: William Park (opengeometry_at_yahoo.ca)
Date: 11/11/04


Date: 11 Nov 2004 15:24:56 GMT

Shankar B <shankar.sb@gmail.com> wrote:
> Hi all
>
> I wonder if there is an easy way to change the position of keyboard
> cursor on the Bash command line by clicking that location with the
> mouse. I use Bash 2.05b and Xterm 4.2.99. The reason I need is that I
> have long command lines like :
>
> paste -d" " aa bb |grep "N5" | cut -d" " -f8,16 | awk '{print $1-$2}'
> | sort -n | uniq -c | ~/bin/addup
>
> and I would like to change the cut option 16 to say 15 without using
> the left/right arrows to go to that location. I use such command lines
> as part of some quick and dirty work once in a while and I don't want
> to write shell scripts or anything of that sort.

set -o vi
<Esc>f,cw15<Enter>



Relevant Pages

  • Xterm + Bash + Long command lines
    ... I wonder if there is an easy way to change the position of keyboard ... cursor on the Bash command line by clicking that location with the ...
    (comp.unix.shell)
  • Re: Xterm + Bash + Long command lines
    ... On Thu, 11 Nov 2004, Shankar B wrote: ... > I wonder if there is an easy way to change the position of keyboard ... > cursor on the Bash command line by clicking that location with the ...
    (comp.unix.shell)
  • Keyboard wont work in Word!
    ... Last week, the keyboard simply stopped inputing into Word documents, ... I can use mouse command to cut and paste, ... cursor point, but when I type, NOTHING. ... I did re-boots and reinstalls. ...
    (microsoft.public.mac.office)
  • Re: Xterm + Bash + Long command lines
    ... > cursor on the Bash command line by clicking that location with the ... I have heard if you set VISUAL to say emacs you can use the emacs ...
    (comp.unix.shell)
  • Re: vi horizontal split screen
    ... Command line recall and edit, which I had on DOS, was worth the price of admission by itself. ... The script language was designed to look like C for the benefit of C programmers working on *nix, but you still needed to know Bourne syntax, because all the scripts that controlled Unix itself were in the Bourne shell language. ... Emacs is not it. ... The default Emacs keystrokes have the same basic characteristic as the default vi keystrokes and the default WordStar command set: they are keyboard independent. ...
    (comp.editors)

Quantcast