FreeBSD Bugzilla – Attachment 9216 Details for
Bug 18954
[PATCH] Bring the Fonts tutorial up to date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.60 KB, created by
mark
on 2000-06-01 20:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mark
Created:
2000-06-01 20:30:01 UTC
Size:
3.60 KB
patch
obsolete
>*** article.sgml.orig Sat May 27 19:14:00 2000 >--- article.sgml Sat May 27 20:24:25 2000 >*************** >*** 22,27 **** >--- 22,32 ---- > and I would welcome being corrected. > --> > >+ <!-- The section "Setting a virtual console to 80x60 line mode" was >+ updated to reflect changes in FreeBSD system configuration >+ files by Mark Ovens <mark@ukug.uk.freebsd.org> 27/5/00 >+ --> >+ > <article> > <artheader> > <title>Fonts and FreeBSD</title> >*************** >*** 219,231 **** > <sect1> > <title>Setting a virtual console to 80x60 line mode</title> > >! <para>First, a 8x8 font must be loaded. >! <filename>/etc/sysconfig</filename> should contain the >! lines:</para> > > <informalexample> >! <programlisting># Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default) >! font8x8=/usr/share/syscons/fonts/cp437-8x8.fnt > </programlisting> > </informalexample> > >--- 224,236 ---- > <sect1> > <title>Setting a virtual console to 80x60 line mode</title> > >! <para>First, an 8x8 font must be loaded. To do this >! <filename>/etc/rc.conf</filename> should contain the >! line (change the font name to an appropriate one for >! your locale):</para> > > <informalexample> >! <programlisting>font8x8="iso-8x8" # font 8x8 from /usr/share/syscons/fonts/* (or NO). > </programlisting> > </informalexample> > >*************** >*** 238,288 **** > </informalexample> > > <para>Various screen orientated programs, such as &man.vi.1, must >! be able to determine the current screen dimensions. These can >! be set with &man.stty.1;:</para> >! >! <informalexample> >! <screen>bash$ <userinput>stty crt rows 60 columns 80</userinput> >! </screen> >! </informalexample> > > <para>To make this more seamless, one can embed these commands in > the startup scripts so it takes place when the system boots. >! One way to do this is:</para> >! >! <orderedlist> >! <listitem> >! <para>Modify <filename>/etc/sysconfig</filename> as >! above</para> >! </listitem> >! >! <listitem> >! <para>Add to <filename>/etc/rc.local</filename>:</para> >! >! <informalexample> >! <programlisting>for tty in /dev/ttyv? >! do >! vidcontrol VGA_80x60 <$tty >/dev/null 2>&1 >! done >! </programlisting> >! </informalexample> >! </listitem> >! >! <listitem> >! <para>Add to <filename>/etc/profile</filename>:</para> > > <informalexample> >! <programlisting>TTYNAME=`basename \`tty\`` >! if expr "$TTYNAME" : 'ttyv' >/dev/null >! then >! stty crt rows 60 columns 80 >! fi > </programlisting> > </informalexample> >- </listitem> >- </orderedlist> > >! <para>References: &man.stty.1;, &man.vidcontrol.1;.</para> > </sect1> > > <sect1> >--- 243,264 ---- > </informalexample> > > <para>Various screen orientated programs, such as &man.vi.1, must >! be able to determine the current screen dimensions. As this is >! achieved this through <command>ioctl</command> calls to the >! &man.syscons.4 driver they will correctly determine the new >! screen dimensions.</para> > > <para>To make this more seamless, one can embed these commands in > the startup scripts so it takes place when the system boots. >! To do this is add this line to <filename>/etc/rc.conf</filename> >! </para> > > <informalexample> >! <programlisting>allscreens_flags="VGA_80x60" # Set this vidcontrol mode for all virtual screens > </programlisting> > </informalexample> > >! <para>References: &man.rc.conf.5;, &man.vidcontrol.1;.</para> > </sect1> > > <sect1>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18954
: 9216 |
9217