Re: cursor keys not working on console
On Thu, 08 Aug 2013 21:18:15 -0400 Thomas Dickey dic...@his.com wrote: On Thu, Aug 08, 2013 at 07:53:04PM +0200, O. Hartmann wrote: The cursor keys on the consoles in freebsd CURRENT (no X11 virtual consoles, the FreeBSD consoles!) do not work for me. I use tcsh as the main shell. As set by default in /etc/ttys, the console's terminal type is xterm. Switching to setenv TERM cons25 solves the problem, but the menus in ports via make config look ugly and more ugly, but they are unusable with the setting TERM=xterm. What is wrong here? Why are the cursor keys not working in the console/ports menu as expected when using tcsh/csh as default shell? from infocmp (cons25 vs xterm): kcub1: '\E[D', '\EOD'. kcud1: '\E[B', '\EOB'. kcuf1: '\E[C', '\EOC'. kcuu1: '\E[A', '\EOA'. It's probably http://invisible-island.net/ncurses/ncurses.faq.html#cursor_appmode You would probably find TERM=xterm-noapp and improvement. Hello. Thanks, this works for me. I was wondering if others did not have the same problem, since I use only standard settings for the console (except that I use csh/tcsh instead of sh). Regards, Oliver signature.asc Description: PGP signature
New to Free-BSD with questions.
New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. Questions are: A.) Is Xwindows, (X11) included on the DVD copy? B.) If included, what command is used to start it? C.) What shell is installed as the standard shell in command line mode? D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? Thank you for your assistance. Ms. R. Olivarez (E-mail: r_oliva...@juno.com One Weird Trick Could add $1,000s to Your Social Security Checks! See if you Qualify#8230 http://thirdpartyoffers.juno.com/TGL3131/52060f091e983f0837bbst04vuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New to Free-BSD with questions.
On Sat, 10 Aug 2013 09:58:07 GMT, r_oliva...@juno.com wrote: New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. It should boot into a text mode installer. After installation, FreeBSD usually boots into a text mode (depending on what has been installed and configured already). Questions are: A.) Is Xwindows, (X11) included on the DVD copy? If I remember correctly, the required packages are part of the DVD #1. If you are already connected to the Internet, you can use that medium as installation source. Just a side note: PC-BSD, a system derived from FreeBSD, offers a graphical installer and a more tight integration with GUI-centric concepts (installs X automatically and even brings a desktop environment preinstalled). B.) If included, what command is used to start it? It depends. If you want to start X from a regular login shell, startx is used. But a display manager which maintains a GUI login (like xdm) can also be used. See the handbook for more details: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html And don't miss the excellent FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ C.) What shell is installed as the standard shell in command line mode? FreeBSD's default dialog shell is the C Shell (more precisely, the tcsh). The command shell in single user mode (maintenance mode) is a plain Bourne-alike shell (sh), which is also the systems default scripting shell. You can install shells like ksh, zsh and bash if you like. D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? Not that I know of, because the documentation on the web is primarily for use with a web browser, that's why it's hierarchically designed and separated. However, the documentation is part of the FreeBSD installation, and you can generate PS and PDF book, as _one_ (voluminous) file, from them (even though I've never tried that). You can use a tool like wget to download a copy of the web documentation for offline use (keeping the mentioned separation). The web pages contain a Split HTML and Single HTML option, so you could maybe simply save this web page http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html for the FAQ, and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html for The FreeBSD Handbook, but it might be unhandy for printing. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New to Free-BSD with questions.
On 10/08/2013 10:58, r_oliva...@juno.com wrote: New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. Questions are: A.) Is Xwindows, (X11) included on the DVD copy? That's X, X11, Xorg or the X-Window System. Yeah, kind-of but you've probably downloaded the base version that expects you to be using it from the command line unless you compile or add X later. B.) If included, what command is used to start it? startx C.) What shell is installed as the standard shell in command line mode? tcsh - basically the standard Bourne shell unless you specified a different one when you created the user. You can switch to csh easily enough (type csh) or you can can add any other shell you like from the ports collection. D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? You probably want to read this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Or if you want the whole thing at once try this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html However, you'll get a lot of specific information for the man pages that come with it. There's an install option (new at 9.0?) to include documentation but I've never made use of it myself. However, if you're wanting a quick-start version of a FreeBSD with a graphical shell and looking more like a Windoze desktop try this one: http://www.pcbsd.org/ Regards, Frank. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Commercial Licensing
On Fri, 9 Aug 2013, kpn...@pobox.com wrote: On Fri, Aug 09, 2013 at 08:41:04PM -0500, Someth San wrote: Hello, I'm interested in installing FreeBSD into a small form factor PC for commercial use and was wondering whether there is a EULA in place for that purpose. I would like to avoid the open source requirement of disclosing my codes to a public community. You haven't said if commercial use includes the distribution of executables. Note that the GPL requirement to disclose source applies only if binaries are distributed outside your establishment. You can make commercial use of the device inside your firm of GPL code without violating the GPL. This is often forgotten in discussion, and leads to unnecessary worry. Daniel Feenberg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New to Free-BSD with questions.
On Sat, 10 Aug 2013 09:58:07 GMT r_oliva...@juno.com r_oliva...@juno.com wrote: New to Free-BSD. Downloaded a current ISO image and burned it to a DVD. System boots from DVD to command line mode. Questions are: A.) Is Xwindows, (X11) included on the DVD copy? Yes, included. B.) If included, what command is used to start it? It's included, but not installed. After boot under command line mode, login as root and type '#pkg_add -r xorg' (without quotes). When install ends, you can use startx or xinit to enter X mode. The default wm is a bit rude, install the one you want, f.ex. '#pkg_add -r kde4', '#pkg_add -r gnome2', '#pkg_add -r xfce4'. After install use '#rehash ' and/or '#hash -r'. Start each wm using proper command, startkde4, startxfluxbox, check docs or sail the web for that. C.) What shell is installed as the standard shell in command line mode? Plain sh. Minimal, standard, works, rocks. D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? The handbook has single html mode. Thank you for your assistance. Ms. R. Olivarez (E-mail: r_oliva...@juno.com HTH --- --- Eduardo Morras emorr...@yahoo.es ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: New to Free-BSD with questions.
On Sat, 10 Aug 2013, r_oliva...@juno.com wrote: D.) Is there a site that I can download a complete copy of the documentation for Free-BSD, as one file and not a series/set of separate files? ftp://ftp.freebsd.org/pub/FreeBSD/doc/en_US.ISO8859-1/books/handbook/ has the Handbook in compressed files for download. Several formats are available, including single and split HTML, PDF, and others. Many people just read the online version at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html Translated versions are also available. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: if_bridge and ng_netflow
Volodymyr Kostyrko wrote: Hi all. I have one machine with bridge configured. Recently I thinked about capturing all traffic on the bridge with ng_netflow. 1. ng_ether doesn't attach to bridge0 interface: # ngctl list | grep ether Name: rl0 Type: ether ID: 0034 Num hooks: 2 Name: ste0Type: ether ID: 0035 Num hooks: 2 Name: wlan0 Type: ether ID: 0036 Num hooks: 2 2. If I attach all physical interfaces to netflow I get no statistics for data originating from server. I.e. I see all inbound traffic but I see no outbound traffic. Maybe I'm just doing everything wrong? I'm adding interfaces to netflow this way: connect wlan0: netflow0: upper iface2 connect wlan0: netflow0: lower iface3 connect netflow0: netflow0: out2 out3 3. Ok, I can do this other way (sorry, I'm bad at netflow scripting): mkpeer eiface ether ether rmhook ngeth0: ether ifconfig ngeth0 up ifconfig bridge0 span ngeth0 And again I see only inbound packets. I see no packets coming from me. Is there any other working way to get stats from bridge interface? if_bridge is relatively new in FreeBSD. Netgraph precedes if_bridge and is un-aware of if_bridge. Change your if_bridge definition to a ng bridge definition and everything your trying to do should fall into place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: texlive and package updating
On Fri, 09 Aug 2013 11:40:10 -0500 Tim Daneliuk articulated: On 08/09/2013 11:36 AM, Jerry wrote: Port: texlive-full-20120701 Path: /usr/ports/print/texlive-full Info: TeX Live, Full Version Maint: h...@freebsd.org With: TEX_DEFAULT=texlive placed in the /etc/make.conf file. My question is how do I update the packages since the package updater has apparently been deliberately disabled? I install/update dozens of packages each week on my Windows machine, so I know that they are available. Also. all of the *-freebsd-doc-* ports are bonked due to the use of texlive. Is there any headway being made on that front? I've given up on all OS distribution-based TexLive drops. I install texlive manually from their installer and then run tlmgr under cron control nightly to keep it up-to-date. I do this on FreeBSD (my primary dev and server platform) as well as all linux instances in my environment. It makes things a lot simpler. I have to admit that I am somewhat confused myself. Why the port was released sans any viable method of updating the packages seems counter productive. I know for a fact that this problem does not exist on an MS Windows machine, nor from what I have been able to ascertain, most other *.nix operating systems. Hopefully these two glaring problems will be rectified soon. I am wondering if I simply make tlmgr operational, if it will work. Did you have to do anything special to accomplish getting tlmgr working and updating correctly? -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: texlive and package updating
On 09/08/13 18:40, Tim Daneliuk wrote: I've given up on all OS distribution-based TexLive drops. I install texlive manually from their installer and then run tlmgr under cron control nightly to keep it up-to-date. I do this on FreeBSD (my primary dev and server platform) as well as all linux instances in my environment. It makes things a lot simpler. How do you manage dependency tracking errors? The last time I've installed it the way you do was on Slackware and since it doesn't do any dependency tracking there were no problems (as long as the binaries were in PATH). I can imagine ports and pkg tools on FreeBSD complaining about missing TeX packages, and AFAIK Debian based Linux distributions will certainly complain (I think there is a workaround, but it involves messing with dpkg). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Commercial Licensing
On 10/08/13 03:41, Someth San wrote: Hello, I'm interested in installing FreeBSD into a small form factor PC for commercial use and was wondering whether there is a EULA in place for that purpose. I would like to avoid the open source requirement of disclosing my codes to a public community. If you can provide some information/direction in this regard, I would greatly appreciate it. As others have said, you can do what you want to do with FreeBSD licenced code. The third party components in the base system that are under different licences are in /usr/src/contrib and /usr/src/gnu, so look there for potential problems. And as Daniel has said, if you're not going to distribute the binaries even the GPL code isn't a problem. In any case, you should consult a lawyer specializing in *software* copyright, not just any copyright lawyer because depending on what you want to do, GPL can be very complicated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
9.2-RC1: Problem with Kernel
This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the source from releng/9.2 and rebuilding kernel and world). The kernel compiles and runs fine using the supplied GENERIC, but when I try to use my custom kenel config file, on reboot I get this: Mounting from ufs:/dev/ada0p2 failed with error 19 What module(s) have I missed? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.2-RC1: Problem with Kernel
On Sat, 10 Aug 2013 19:04:29 + (UTC), Walter Hurry wrote: This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the source from releng/9.2 and rebuilding kernel and world). The kernel compiles and runs fine using the supplied GENERIC, but when I try to use my custom kenel config file, on reboot I get this: Mounting from ufs:/dev/ada0p2 failed with error 19 What module(s) have I missed? Diff against the GENERIC kernel. Maybe device xhci? What bootable media is listed when you type ? at the mountroot prompt? If GENERIC boots and your kernel doesn't, there should be a significant difference regarding the config file's content. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.2-RC1: Problem with Kernel
On Sat, 10 Aug 2013, Walter Hurry wrote: This is 9.2-RC1 on amd64 (upgraded from 9.2-BETA1 by refetching the source from releng/9.2 and rebuilding kernel and world). The kernel compiles and runs fine using the supplied GENERIC, but when I try to use my custom kenel config file, on reboot I get this: Mounting from ufs:/dev/ada0p2 failed with error 19 What module(s) have I missed? options GEOM_PART_GPT But without information on what you removed, it's only a guess. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Terrible disk performance with LSI / FreeBSD 9.2-RC1
To follow up on this issue, at one point the stats were down to this: extended device statistics device r/s w/skr/skw/s qlen svc_t %b da00.0 0.0 0.0 0.00 0.0 0 da10.0 0.0 0.0 0.00 0.0 0 da2 127.9 0.0 202.3 0.01 47.5 100 da3 125.9 0.0 189.3 0.01 43.1 97 da4 127.9 0.0 189.8 0.01 45.8 100 da5 128.9 0.0 206.3 0.00 42.5 99 da6 127.9 0.0 202.3 0.01 46.2 98 da70.0 249.7 0.0 334.2 10 39.5 100 At some point, I figured out that 125 random iops is pretty much the limit for 7200 RPM SATA drives. So mostly what we're looking at here is the resilver of a raidz2 is the pathological worst case. Lesson learned; raidz2 is just really not viable without some kind of sort on the resilver operations. Wish I understood ZFS well enough to do something about that, but research suggests the problem is non-trivial. :( There also seems to be a separate ZFS issue related to having a very large number of snapshots (e.g. hourly for several months on a couple of filesystems). Some combination of the OS updates we've been doing trying to get this machine to 9.2-RC1 and deleting a ton of snapshots. It would be nice to know which it was; I guess we'll find out in a few months. So it seems like the combination of these two issues is mostly what is/was plaguing us. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org