[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 found (a message from xpert@xfree86.org) if i type 'tty' in
the first xterm, it will tell you the name of the controlling
terminal (something like /dev/pts/0), then you can:
  echo -n "teletransmitter works" >/dev/pts/1
and see it in the second 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



Reply to: