Xref: utzoo comp.emacs:3416 comp.sys.hp:821 Path: utzoo!attcan!uunet!husc6!think!ames!pacbell!cogent!mark From: mark@cogent.UUCP (Captain Neptune) Newsgroups: comp.emacs,comp.sys.hp Subject: Re: GNUemacs and HP2392 Keywords: go to ansi mode! Message-ID: <466@cogent.UUCP> Date: 12 May 88 04:57:48 GMT References: <:> <4698@batcomputer.tn.cornell.edu>Reply-To: mark@cogent.UUCP (PUT YOUR NAME HERE) Organization: Cogent Software Solutions, Stockton, CA Lines: 45 In article dana@faline.bellcore.com (Dana A. Chee) writes: > >If anyone has an answer to this question, please post it, since there >are othes of us out here with 2392's that would also like to do this. After much struggling and hair pulling, we have come to the conclusion that while the HP2392 is a nice terminal, HP mode (which is more or less the escape codes used on most all HP terminals) suck pathetically. Worst of all being the lame implementation of video attributes. Everything we have (including EMACS) works 500% better when we switch the terminals to ANSI mode and use either the "ansi" terminfo driver, or "ansi-d", an enhanced version we made for ourselves. For those who lack a good ansi driver, here is our "ansi-d": ansi-d|generic ansi standard terminal w/ dim, am, xhp, xenl, xon, cols#80, lines#24, bel=^G, cr=\r, clear=\E[H\E[J, el=\E[K, ed=\E[J, cup=\E[%i%p1%d;%p2%dH, cud1=\n, home=\E[H, cub1=\b, cuf1=\E[C, cuu1=\E[A, dch1=\E[P, dl1=\E[M, blink=\E[5m, bold=\E[7m, dim=\E[1m, smir=\E[4h, rev=\E[7m, smso=\E[7m, smul=\E[4m, sgr0=\E[0m, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, is1=\E[?1l\E(B\E)B, ich1=\E[@, il1=\E[L, kbs=\b, kcud1=\E[B, khome=\E[>0s, kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, ich=\E[%p1%d@, rep=%p1%c\E[%p2%{1}%-%db, ind=\n, ht=\t, Compile that with 'tic' then do this: TERM=ansi-d ; export TERM We added "dim", maybe some other stuff, I don't remember, but "dim" for sure. P.S. Flames about my contempt for HP mode are not wanted, especially from HP. You won't change my mind, and I don't care to try and change yours. -- # Mark ###################### Ernie: Gee, Bert! Where'd all your files go ? # # Steven #################### Bert: My files! Er-r-r-r-r-r-rnie-e-e-e-e !! # # Jeghers ############ {ihnp4,cbosgd,lll-lcc}!ptsfa!cogent!{mark,shawn!mark} # # Standard Disclaimer: Don't sue me. Sue my company. They have more money. #