[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: xterm raw input



Crispin Wellington wrote:
> 
> On Tue, 2002-10-22 at 21:44, Russell wrote:
> > Hi all,
> >
> > I'm testing out some terminal escape sequences as in:
> >   http://cns.georgetown.edu/~ric/howto/Xterm-Title/ctlseqs.txt
> > Just try typing: echo -ne "\033[2t" into an xterm;)
> >
> > Anyway, how can i type control sequences into an xterm
> > without the cursor moving? When i press ESC, it gets
> > intercepted by the shell. ESC-[ doesn't work either.
> >
> > Is there a way to echo a string from one xterm into
> > another xterm?
> 
> I don't know whether this will help, but ctrl-v puts the terminal into
> raw mode. Thus ctrl-v, return prints ^M, but its not ^ - M. Its ctrl-v,
> return.
> 
> ctrl-v left cursor for me does... ^[[D

Thanks, very useful to know. However, it still moves the cursor
like typing normal characters. I'm trying to do something like ^[[D
to move the cursor left on a line of text, without showing the
^[[D characters.



Reply to: