📄 browsers.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link rel="stylesheet" media="print" type="text/css" href="./print.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><div class="toc"><div class="tocheader toctoggle" id="toc__header">Table of Contents</div><div id="toc__inside"><ul class="toc"><li class="level1"><div class="li"><span class="li"><a href="#browsers" class="toc">Browsers</a></span></div></li><li class="level1"><div class="li"><span class="li"><a href="#text_browsers" class="toc">Text Browsers</a></span></div><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#lynx" class="toc">Lynx</a></span></div></li></ul></li><li class="level1"><div class="li"><span class="li"><a href="#graphic_browsers" class="toc">Graphic Browsers</a></span></div><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#konqueror3_embedded" class="toc">Konqueror3 Embedded</a></span></div></li></ul></li></ul></div></div><h1><a name="browsers" id="browsers">Browsers</a></h1><div class="level1"><p>Both Text and graphic browsers are available on blackfin/uClinux. They are Lynx, Links and Konqueror3.</p></div><!-- SECTION [1-127] --><h1><a name="text_browsers" id="text_browsers">Text Browsers</a></h1><div class="level1"><p> There are two open source http text broswers which are known to work with Blackfin/uClinux. They both have their upsides and downsides, and if one is needed - you should try both, and see which ones is most applicable for your application.</p></div><!-- SECTION [128-397] --><h2><a name="lynx" id="lynx">Lynx</a></h2><div class="level2"><p> <a href="http://lynx.browser.org/" class="urlextern" title="http://lynx.browser.org/" rel="nofollow">Lynx</a> is a text browser for the World Wide Web. It runs on Un*x, VMS, Windows 95/98/NT, DOS386+, <acronym title="Operating System">OS</acronym>/2, and Mac. Many user questions are answered in the <a href="http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/lynx_help_main.html" class="urlextern" title="http://lynx.isc.org/lynx2.8.5/lynx2-8-5/lynx_help/lynx_help_main.html" rel="nofollow">On-line help</a> provided with Lynx. Press the ‘?’ key to find this help.</p><p>To build lynx for Blackfin/uClinux:</p><ol><li class="level1"><div class="li"> Build a kernel image with ncurses enabled - for more info, check out how to <a href="install_and_use_ncurses_lib.html" class="wikilink1" title="install_and_use_ncurses_lib.html">install and use ncurses lib</a></div></li><li class="level1"><div class="li"> download the latest development version of lynx from <a href="http://lynx.isc.org/current/" class="urlextern" title="http://lynx.isc.org/current/" rel="nofollow">here</a>. At the time of this writing, it was done by:<pre class="code">wget http://lynx.isc.org/current/lynx2.8.6dev.15.tar.gz</pre></div></li><li class="level1"><div class="li"> gunzip, and untar the archive:<pre class="code">gunzip lynx2.8.6dev.15.tar.gztar -xf lynx2.8.6dev.15.tar</pre></div></li><li class="level1"><div class="li"> cd into the directory, and configure the application for the Blackfin (your path for ncurses may vary):<pre class="code">cd lynx-2.8.6-15CC="bfin-uclinux-gcc -Wl,-elf2flt" ./configure --with-build-cc=gcc --host=bfin-uclinux --build=i686-linux --with-curses-dir=/home/rgetz/todayscvs/kernel/uClinux-dist/lib/ncurses --with-screen=ncurses</pre></div></li><li class="level1"><div class="li"> make:<pre class="code">make</pre></div></li><li class="level1"><div class="li"> copy over ./lynx and ./lynx.cfg (either into the romfs, and mkimage, or just scp or ftp the files.</div></li></ol></div><!-- SECTION [398-1674] --><h1><a name="graphic_browsers" id="graphic_browsers">Graphic Browsers</a></h1><div class="level1"></div><!-- SECTION [1675-1708] --><h2><a name="konqueror3_embedded" id="konqueror3_embedded">Konqueror3 Embedded</a></h2><div class="level2"><p>The Konqueror/Embedded project attempts to build up a special version of the web browsing component of the KDE browser Konqueror. Konqueror/Embedded runs on the Qt/Embedded platform for embedded devices, in an environment without a KDE installation or a X windowing system, as one static binary, being as small as possible while still providing all essential features of a web browser.</p><p>Konqueror3 embedded is ported to blackfin/uClinux. To build Konqueror3 for Blackfin/uClinux:</p><ol><li class="level1"><div class="li"> Download blackfin/uCLinux toolchain and uClinux-dist source tarball.</div></li><li class="level1"><div class="li"> Build kernel with any kind of frame buffer driver support. </div></li><li class="level1"><div class="li"> Build libz, libpng and libjpeg.</div></li><li class="level1"><div class="li"> Download and build QT embedded free 3.3.5 library. Refer to <a href="qt_library.html" class="wikilink1" title="qt_library.html">qt_library</a> for details.</div></li><li class="level1"><div class="li"> Download Konqueror3 embedded 0.2(20060121) source tarball from <a href="http://www.cirulla.net/kdenox-snapshots/" class="urlextern" title="http://www.cirulla.net/kdenox-snapshots/" rel="nofollow">http://www.cirulla.net/kdenox-snapshots/</a></div></li><li class="level1"><div class="li"> Extract source code.<pre class="code">~> tar xvfj konqueror3-embedded-0.2-20060121.tar.bz2</pre></div></li><li class="level1"><div class="li"> Apply the patch for blackfin/uClinux. <pre class="code">~> cd /your-konqueror3-embedded/~> patch -p1 < /your-uClinux-dist/bfin_patch/konqueror3_embedded_patch/konqueror3-embedded-bfin-0.2.patch</pre></div></li><li class="level1"><div class="li"> Configure and build.<pre class="code">~> ./configure --host bfin-uclinux --disable-debug --disable-shared --enable-static --enable-qt-embedded --enable-embedded --disable-dlopen --with-qt-dir=/your-qt-embedded-free/qt-embedded-free-3.3.5 -without-ssl --disable-rpath --disable-printing --disable-pcre LDFLAGS="-static -Wl,-elf2flt" CFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" CXXFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" CPPFLAGS="-D__linux__ -DNOMMU -DQT_THREAD_SUPPORT" --with-extra-libs=/your-uClinux-dist/lib/zlib/:/your-uClinux-dist/lib/libpng/:/your-uClinux-dist/lib/libjpeg/ --with-extra-includes=/your-uClinux-dist/lib/zlib/:/your-uClinux-dist/lib/libpng/:/your-uClinux-dist/lib/libjpeg/~> make</pre></div></li><li class="level1"><div class="li"> Copy kongqueror to the filesystem on blackfin.<pre class="code">~> cp /your-konqueror3-embedded/konq-embed/konqueror /your-uClinux-dist/romfs/</pre></div></li><li class="level1"><div class="li"> Copy css file to kde directory in rootfs image.<pre class="code">~> cd /your-uClinux-dist/~> mkdir romfs/kde/share/apps/khtml/css/~> cp /your-konqueror3-embedded/konq-embed/kdesrc/khtml/css/html4.css romfs/kde/share/apps/khtml/css/</pre></div></li><li class="level1"><div class="li"> Connect serial mouse to the UART1 of bf537. Look at <a href="setup_serial_mouse.html" class="wikilink1" title="setup_serial_mouse.html">setup_serial_mouse</a>.</div></li><li class="level1"><div class="li"> Boot uClinux kernel.</div></li><li class="level1"><div class="li"> Start dhcp daemon.<pre class="code">~> dhcpcd &</pre></div></li><li class="level1"><div class="li"> Setup environment<pre class="code"> ~> stty -F /dev/ttyS1 ispeed 1200 cs7 -icanon~> export QTDIR=/usr/local/qt-embedded~> export KDEDIR=/kde~> export QWS_MOUSE_PROTO=Microsoft:/dev/ttyS1</pre></div></li><li class="level1"><div class="li"> Start konqeror3 <pre class="code"> ~> ./konqueror -qws &</pre></div></li><li class="level1"><div class="li"> Maximize the main window and click button “Home”. The browser will connect to <a href="http://www.kde.org" class="urlextern" title="http://www.kde.org" rel="nofollow">www.kde.org</a> and show the main page of that web site.</div></li></ol><p><a href="media/konqueror3_kde_page.jpg" class="media" target="_blank" title="konqueror3_kde_page.jpg"><img src="media/konqueror3_kde_page.jpg" class="media" title=":konqueror3_kde_page.jpg" alt=":konqueror3_kde_page.jpg" /></a> </p></div><!-- SECTION [1709-] --></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -