Path: utzoo!utgpu!attcan!uunet!husc6!bbn!gateway!cadillac.cad.mcc.COM!grout From: grout@cadillac.cad.mcc.COM (Steve Grout) Newsgroups: comp.emacs Subject: 132 characters/line in emacs? Message-ID: <8810211439.AA29897@cadillac.cad.mcc.com> Date: 21 Oct 88 14:39:20 GMT References: <973@osupyr.mast.ohio-state.edu> Sender: news@bbn.COM Organization: BBN news/mail gateway Lines: 53 Wall writes - > I need to edit some files that contain more than eighty characters > per line, but even if I switch the terminal to 132 char/line mode, > emacs still gives me only 80 char/line, with the right-hand side > of the screen left blank. I have examined the manual pages for > emacs and they say nothing about screen width. Does anyone know of > a way to force emacs to display 132 characters/line? While there are large terminal settings in TERMCAP, one can also use the command, % tset -s -I $TERM > {filename} and capture an environment setup in a file. Then merely edit the file so that the number of lines, "li:", and number of columns, "co:", are as desired. To force them to into place, do: % source {filename} For a permanent solution, place the above 'source' command into your $HOME/.login. GNU-emacs will readily use your custom values. A typical terminal setup file would look like: ------------------- begin 80 by 50 vt100 setup file listing: -------- # Use this to set up for using vt100 emulation with symbolics etc. # # To use, give the following command: source {this file name} # # Stallman's TERMS note says gnu-emacs will not USE ^M, ^J, or ^H unless # the following are specified: cr, do, and le. # (E.g., it will not move down with ^J which # the Symbolics Telnet vt100 emulator treats as a down-and-clear-line!) # -------------------------------------- # The following originally was the vt100 termcap entry. # -------------------------------------- unset term unsetenv TERM unsetenv TERMCAP set term=vt100 set noglob; setenv TERM vt100 ; setenv TERMCAP 'd0|vt100|vt100-am:bl=^G:co#80:li#50:cl=50\E[;H\E[2J:am:bs:km:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:sr=2*\EM:sf=2*\ED:vt#3:xn:sc=\E7:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[2 4;1H:rf=/usr/lib/tabset/vt100:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:ta=^I:pt:rc=\E8:cs=\E[%i%d;%dr:'; unset noglob; ------------------- end included listing ---------------------- --Steve Grout Steve Grout, MCC CAD Program | Box 200195, Austin, TX 78720 ARPA: grout@mcc.com | Phone: [512] 338-3516 UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!grout