lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Color in an Emacs terminal emulator (eterm)


From: Bryan Henderson
Subject: Re: [Lynx-dev] Color in an Emacs terminal emulator (eterm)
Date: Fri, 14 Oct 2005 22:02:29 +0000

OK, here's the typescript, made printable.

This is an initial invocation of Lynx (you see the echo of my shell
command), followed by one page-down.  I chopped off the end to make
the email smaller.

The first line on the second page is "creates an EXIF image...", so that's
about where Lynx starts drawing the screen in question.

The area that is supposed to be blank is to the left of the line
"This option specifies" and the lines that follow it.

So what are those characters trying to do?  Is there something there
that should blank out the 1st 10 positions of these lines?


\E[K/tmp2/lynx/lynx netpbmdoc/pnmtojpeg.html\r
\n
\E7
\E[?47h
\E[1;42r
\E[m
\E[4l
\E[37m
\E[40m
\E[H
\E[J
\E[41B
\E[33m
\E[44m
\E[1mGetting file://localhost/mp/hdb4d/home/bryanh/netpbmdoc/pnmtojpeg.html     
   
\E[37m
\E[40m
\E[m\b
\E[33m
\E[44m
\E[1m 
\E[37m
\E[40m
\E[m\b
\E[1@
\E[33m
\E[44m
\E[1m 
\E[37m
\E[40m
\E[m
\E[8D
\E[1;48H
\E[35m
\E[40mPnmtojpeg User Manual (p1 of 2)
\E[37m
\E[40m
\E[m
\n
\E[44D
\E[33m
\E[44m
\E[1mPNMTOJPEG
\E[37m
\E[40m
\E[m\r
\n
\n   Updated: 22 April 2005\r
\n   
\E[32m
\E[40mTable Of Contents
\E[37m
\E[40m
\E[m\r
\n
\nNAME
\n
\n\bpnmtojpeg - convert PNM image to a JFIF ("JPEG") image\r
\n
\nSYNOPSIS\r
\n
\n   
\E[31m
\E[40m
\E[1mpnmtojpeg
\E[37m
\E[40m
\E[m [
\E[31m
\E[40m
\E[1m-exif=
\E[36m
\E[40mfilespec
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-quality=
\E[36m
\E[40mn
\E[37m
\E[40m
\E[m] [{
\E[31m
\E[40m
\E[1m-grayscale
\E[37m
\E[40m
\E[m|
\E[31m
\E[40m
\E[1m-greyscale
\E[37m
\E[40m
\E[m}]\r
\n   [
\E[31m
\E[40m
\E[1m-density=
\E[36m
\E[40mn
\E[31m
\E[40mx
\E[36m
\E[40mn
\E[37m
\E[40m
\E[m[
\E[31m
\E[40m
\E[1mdpi
\E[37m
\E[40m
\E[m,
\E[31m
\E[40m
\E[1mdpcm
\E[37m
\E[40m
\E[m]] [
\E[31m
\E[40m
\E[1m-optimize
\E[37m
\E[40m
\E[m|
\E[31m
\E[40m
\E[1m-optimise
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-rgb
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-progressive
\E[37m
\E[40m
\E[m]\r
\n   [
\E[31m
\E[40m
\E[1m-comment=
\E[36m
\E[40mtext
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-dct=
\E[37m
\E[40m
\E[m{
\E[31m
\E[40m
\E[1mint
\E[37m
\E[40m
\E[m|
\E[31m
\E[40m
\E[1mfast
\E[37m
\E[40m
\E[m|
\E[31m
\E[40m
\E[1mfloat
\E[37m
\E[40m
\E[m}] [
\E[31m
\E[40m
\E[1m-arithmetic
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-restart=
\E[36m
\E[40mn
\E[37m
\E[40m
\E[m]\r
\n   [
\E[31m
\E[40m
\E[1m-smooth=
\E[36m
\E[40mn
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-maxmemory=
\E[36m
\E[40mn
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-verbose
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-baseline
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-qtables=
\E[36m
\E[40mfilespec
\E[37m
\E[40m
\E[m]\r
\n   [
\E[31m
\E[40m
\E[1m-qslots=n[,...]
\E[37m
\E[40m
\E[m] [
\E[31m
\E[40m
\E[1m-sample=
\E[36m
\E[40mH
\E[31m
\E[40mx
\E[36m
\E[40mV
\E[37m
\E[40m
\E[m[,...]] [
\E[31m
\E[40m
\E[1m-scans=
\E[36m
\E[40mfilespec
\E[37m
\E[40m
\E[m]\r
\n   [
\E[31m
\E[40m
\E[1m-tracelevel=
\E[36m
\E[40mN
\E[37m
\E[40m
\E[m] 
\E[36m
\E[40m
\E[1mfilename
\E[37m
\E[40m
\E[m\r
\n
\n   Minimum unique abbreviation of option is acceptable. You may use\r
\n   double hyphens instead of single hyphen to denote options. You may\r
\n   use white space in place of the equals sign to separate an option\r
\n   name from its value.\r
\n
\nDESCRIPTION\r
\n
\n   This program is part of 
\E[32m
\E[40mNetpbm
\E[37m
\E[40m
\E[m. 
\E[31m
\E[40m
\E[1mpnmtojpeg
\E[37m
\E[40m
\E[m converts the named PBM,\r
\n   PGM, or PPM image file, or the standard input if no file is named, to\r
\n   a JFIF file on the standard output.\r
\n
\n   
\E[31m
\E[40m
\E[1mpnmtojpeg
\E[37m
\E[40m
\E[m uses the Independent JPEG Group's JPEG library to create\r
\n   the output file. See 
\E[32m
\E[40mhttp://www.ijg.org
\E[31m
\E[40m
\E[1m 
\E[37m
\E[40m
\E[mfor information on the\r
\n   library.\r
\n
\n   "JFIF" is the correct name for the image format commonly known as\r
\n   "JPEG." Strictly speaking, JPEG is a method of compression. The image\r
\n   format using JPEG compression that is by far the most common is JFIF.\r
\n   There is also a subformat of TIFF that uses JPEG compression.\r
\n
\n   EXIF is an image format that is a subformat of JFIF (to wit, a JFIF\r
\n   file that contains an EXIF header as an APP1 marker). 
\E[31m
\E[40m
\E[1mpnmtojpeg
\E[37m
\E[40m
\E[m\r
\n
\E[1;47H
\E[35m
\E[40mPnmtojpeg User Manual (p1 of 11
\E[37m
\E[40m
\E[m\r
\E[41B
\E[33m
\E[44m
\E[1m-more- file://localhost/mp/hdb4d/home/bryanh/netpbmdoc/pnmtojpeg.html#index
\E[37m
\E[40m
\E[m
\E[5;4H
\E[33m
\E[40m
\E[1mTable Of Contents
\E[37m
\E[40m
\E[m\r  
\E[1;71H
\E[35m
\E[40m2
\E[37m
\E[40m
\E[m\r
\n   creates an EXIF image when you specify the 
\E[31m
\E[40m
\E[1m-exif
\E[37m
\E[40m
\E[m option.\r
\n
\nOPTIONS
\E[K\r
\n
\E[K
\n   The basic options are:\r
\n   
\E[31m
\E[40m
\E[1m-exif=
\E[36m
\E[40mfilespec
\E[37m
\E[40m
\E[m
\E[8;11HThis option specifies that the output image is to be EXIF (a
\E[9;10H
\E[1K subformat of JFIF), i.e. it will have an EXIF header as a JFIF
\E[10;11HAPP1 marker. The contents of that marker are the contents of
\E[11;10H
\E[1K the specified file. The special value 
\E[31m
\E[40m
\E[1m-
\E[37m
\E[40m
\E[m means to read the EXIF
\E[12;11Hheader contents from standard input. It is invalid to specify
\E[13;10H
\E[1K standard input for both the EXIF header and the input image.
\E[14;10H
\E[1K The EXIF file starts with a two byte field which is the length
\E[15;10H
\E[1K of the file, including the length field, in pure binary, most
\E[16;10H
\E[1K significant byte first. The special value of zero for the
\E[K
\E[17;10H
\E[1K length field means there is to be no EXIF header, i.e. the
\E[18;10H
\E[1K same as no 
\E[31m
\E[40m
\E[1m-exif
\E[37m
\E[40m
\E[m option. This is useful for when you convert a
\E[19;11Hfile from JFIF to PNM using 
\E[31m
\E[40m
\E[1mjpegtopnm
\E[37m
\E[40m
\E[m, then transform it, then
\E[20;10H
\E[1K convert it back to JFIF with 
\E[31m
\E[40m
\E[1mpnmtojpeg
\E[37m
\E[40m
\E[m, and you don't know
\E[21;10H
\E[1K whether or not it includes an EXIF header. 
\E[31m
\E[40m
\E[1mjpegtopnm
\E[37m
\E[40m
\E[m creates
\E[22;10H
\E[1K an EXIF file containing nothing but two bytes of zero when the
\E[23;10H
\E[1K input JFIF file has no EXIF header. Thus, you can transfer any
\E[24;11HEXIF header from the input JFIF to the output JFIF without
\E[25;10H
\E[1K worrying about whether an EXIF header actually exists.
\E[26;11HThe contents of the EXIF file after the length field are the
\E[27;10H
\E[1K exact byte for byte contents of the APP1 marker, not counting
\E[28;10H
\E[1K the length field, that constitutes the EXIF header.
\E[K\r
\n   
\E[31m
\E[40m




reply via email to

[Prev in Thread] Current Thread [Next in Thread]