On Thu, 2002-10-17 at 18:30, Andrew Basterfield wrote:
> > often. It's client, rather than terminal, dependent (I believe)?
(I enclose the above line for re-reading, just in case you missed it)
> Log in to a standard linux VT. Press Ctrl-L or Alt-012. Observe.
Bravo. I'm still not seeing a screen being cleared. (See above).
> Look at 'man ascii'. Note the codes are in octal, not decimal.
> FF = octal 014 = decimal 012
FF = octal 014? Are you sure about that? ITYM '0B'. Presumably you don't
mean 'Form Feed', because that's octal 015 == decimal 013 (just in case
you can't count like me :p )
I suggest you yourself look up 'man ascii' and find out which code
produces 'vertical tab' (VT, or standard '\v' - 'man printf', etc.). You
may then want to look up in your terminal docs the difference between a
'clear screen' and a 'vertical tab'.
> This works for me, thanks - where do I find the other terminal ESC
> sequences?
my $search = new Google ('ansi escape');
$search->feelingLucky();
Cheers,
Alex.
Attachment:
signature.asc
Description: This is a digitally signed message part