Date: Tue, 10 Dec 2002 15:04:40 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: dick hoogendijk <dick@nagual.st> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: ssh+slrn screengarbage Message-ID: <20021210210439.GA4475@dan.emsphone.com> In-Reply-To: <20021210201704.GA24828@nagual.st> References: <20021209170914.GA1059@pooh.nagual.st> <20021210155544.GD1454@gothmog.gr> <20021210201704.GA24828@nagual.st>
next in thread | previous in thread | raw e-mail | index | archive | help
--XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In the last episode (Dec 10), dick hoogendijk said: > On Dec 10 you wrote: > > This is a result of using cons25 as the terminal type, on machines > > that don't have a proper termcap/terminfo entry for FreeBSD consoles > > (all linux machines, for instance). > > Is there no way to get this linux-termcap/terminfo compatible? You can copy over the termcap/info entries from your FreeBSD box and add them to your Linux system. I've attached termcap and terminfo versions of the cons25 terminal description for easy pasting. Append the .tcap file to the end of /etc/termcap, and run "tic cons25.tinfo" to update the terminfo database. Ideally, telnet and ssh would send the local system's TERMCAP variable to the remote system, and no-one would have to worry about mismatched terminal description files ever again. But they don't. -- Dan Nelson dnelson@allantgroup.com --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="cons25.tcap" # for syscons # common entry without semigraphics cons25w|ansiw|ansi 80x25-raw:\ :al=\E[L:am:bs:NP:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:co#80:\ :dc=\E[P:dl=\E[M:do=\E[B:bt=\E[Z:ho=\E[H:ic=\E[@:li#25:cb=\E[1K:\ :ms:nd=\E[C:pt:rs=\E[x\E[m\Ec:so=\E[7m:se=\E[m:up=\E[A:\ :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[x:sc=\E7:rc=\E8:\ :k1=\E[M:k2=\E[N:k3=\E[O:k4=\E[P:k5=\E[Q:k6=\E[R:k7=\E[S:k8=\E[T:\ :k9=\E[U:k;=\E[V:F1=\E[W:F2=\E[X:K2=\E[E:nw=\E[E:ec=\E[%dX:\ :kb=^H:kh=\E[H:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:le=^H:eo:sf=\E[S:sr=\E[T:\ :kN=\E[G:kP=\E[I:@7=\E[F:kI=\E[L:kD=\177:kB=\E[Z:\ :IC=\E[%d@:DC=\E[%dP:SF=\E[%dS:SR=\E[%dT:AL=\E[%dL:DL=\E[%dM:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:cv=\E[%i%dd:ch=\E[%i%d`:bw:\ :mb=\E[5m:md=\E[1m:mh=\E[30;1m:mr=\E[7m:me=\E[m:bl=^G:ut:it#8:km: cons25|ansis|ansi 80x25:\ :ac=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`^Da\260f\370g\361~\371.^Y-^Xh\261i^U0\333y\363z\362:\ :tc=cons25w: # CRT term doesn't know cv or ch, does have "Set scrolling region", # doesn't have "erase characters", has underline, # uses ^E[m to reset colors, has printing mode, # eats a newline if at right margin, can't do ACS chars < 32 cons25-crt|Entry for CRT terminal:\ :cv@:ch@:\ :cs=\E[%i%d;%dr:\ :ec@:\ :us=\E[4m:ue=\E[24m:\ :op=\E[m:\ :po=\E[5i:pf=\E[4i:\ :xn:\ :ac=-\^.v0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371:\ :tc=cons25w: --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="cons25.tinfo" # for syscons # common entry without semigraphics cons25w|ansiw|ansi 80x25-raw, am, bce, bw, eo, km, msgr, npc, colors#8, cols#80, it#8, lines#25, pairs#64, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setab=\E[4%dm, setaf=\E[3%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, cons25|ansis|ansi 80x25, acsc=l\332m\300k\277j\331u\264t\303v\301w\302q\304x\263n\305`\004a\260f\370g\361~\371.\031-\030h\261i^U0\333y\363z\362, kbs=^H, use=cons25w, # CRT term doesn't know cv or ch, does have "Set scrolling region", # doesn't have "erase characters", has underline, # uses ^E[m to reset colors, has printing mode, # eats a newline if at right margin, can't do ACS chars < 32 cons25-crt|Entry for CRT terminal, xenl, acsc=-\^.v0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, csr=\E[%i%p1%d;%p2%dr, ech@, hpa@, kbs=^H, mc4=\E[4i, mc5=\E[5i, op=\E[m, rmul=\E[24m, smul=\E[4m, vpa@, use=cons25w, --XsQoSWH+UP9D9v3l-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021210210439.GA4475>