Subject: | |
From: | |
Reply To: | |
Date: | Tue, 8 Oct 2002 16:31:27 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hmmmmm... Would that be <esc> : ? (escape + :)
"Tracy Pierce" <[log in to unmask]> wrote in message
news:3da33d02$1@skycache-news.fidnet.com...
> Nice shot! I think you just answered 3 questions:
>
> 1) (Robert W) Xix echoing is toggled with \[8m and \[28m (are these vt100
> codes or Xix commands?)
> 2) (yours) \[8m doesn't work for you because you forgot to include it in
> your password script.
> 3) (THIS thread) the VT100 codes needed for running vi.
>
> Tracy Pierce
>
> Bonus question for all: What MPE command (still works) begins with Escape?
> Hint: set echo = off was added at the V-to-iX juncture.
>
> > -----Original Message-----
> > From: Keven Miller [mailto:[log in to unmask]]
> > Sent: Tuesday, October 08, 2002 12:32 PM
> > To: [log in to unmask]
> > Subject: Re: OT:Unix/reflection question
> >
> >
> > This really is a terminal emulation problem.
> > The <esc>&dS <esc>&d@ are ecsape codes that work for various
> > HP terminals. So the question now is what terminal is your
> > Reflection for Unix emulating?
> >
> > Jumping ahead, I'll expect that your using a VT10x flavor. So you
> > can try this script (I happend to put this together and test
> > using Putty).
> > Some of these codes may not work, like the 8m, Hidden text.
> > It didn't work for me, yet I find documentation on it (see
> > Google: VT100
> > Escape)
> >
> > The ^[ char below is really an escape character. I cut &
> > pasted this from
> > vi.
> > Sample 1 is inverse <esc>[7m (don't forget to disable
> > attribute when
> > done <esc>[0m )
> > Sample 2 is Invisible <esc>[8m (This didn't work for me)
> > Sample 3 uses colors <esc>[36m<esc>[46m (Here I place both fore and
> > background to same color)
> > Sample 4 uses linedraw <esc>(0 (and re-enable chars
> > <esc>(B (for US) or
> > <esc>(A (for UK))
> >
> > You will just have to test on your selected terminal type!
> > -------------------------------------------------------------
> > echo [Inverse] Password:^[[7m\\c
> > read mypass
> > echo ^[[0mpass=$mypass
> >
> > echo [Invisible] Password:^[[28m\\c
> > read mypass
> > echo ^[[0mpass=$mypass
> >
> > echo [color] Password:^[[36m^[[46m\\c
> > read mypass
> > echo ^[[0mpass=$mypass
> >
> > echo [altchar] Password:^[\(0\\c
> > read mypass
> > echo ^[\(Bpass=$mypass
> >
> > #rst==csi+"0m" !Reset text modes
> > #bd1==csi+"1m" !Bold print on
> > #bd0==csi+"22m" !Bold print off
> > #ul1==csi+"4m" !Underline on
> > #ul0==csi+"24m" !Underline off
> > #bl1==csi+"5m" !Blink on
> > #bl0==csi+"25m" !Blink off
> > #rv1==csi+"7m" !Reverse print on
> > #rv0==csi+"27m" !Reverse print off
> > #hd1==csi+"8m" !Hidden print on
> > #hd0==csi+"28m" !Hidden print off
> >
> > #0 Reset all attributes
> > #1 Bright
> > #2 Dim
> > #4 Underscore
> > #5 Blink
> > #7 Reverse
> > #8 Hidden
> >
> > # Foreground Colours
> > # 30 Black
> > # 31 Red
> > # 32 Green
> > # 33 Yellow
> > # 34 Blue
> > # 35 Magenta
> > # 36 Cyan
> >
> > # Background Colours
> > # 40 Black
> > # 41 Red
> > # 42 Green
> > # 43 Yellow
> > # 44 Blue
> > # 45 Magenta
> > # 46 Cyan
> > # 47 White
> > ----------------------------------------------------------
> >
> > # 37 White
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|