Re: man(1) output error
Warren Block wbl...@wonkity.com wrote: % man csh | less +/rehash [...] Error executing formatting or display command. system command exited with status 36096 Error executing formatting or display command. system command exited with status 36096 No manual entry for csh % ... This seems to be a problem with the csh man page. Other pages work fine, like 'man hosts | less +/named' or 'man devfs | less +/ruleset'. Actually, it appears to be a problem with long manual pages, including csh, bash, or perlfunc. Does it by any chance go away if you cause less to read the pipe all the way to EOF, e.g. by entering G, before exiting? If so, there may be a problem in the way man handles SIGPIPE. ___ 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: man(1) output error
On Sat, 30 Oct 2010 22:00:41 -0700, per...@pluto.rain.com wrote: Does it by any chance go away if you cause less to read the pipe all the way to EOF, e.g. by entering G, before exiting? In this case - no error message (either by typing G, End, or manually scrolling through the whole manpage). % man csh | less :q Error executing formatting or display command. system command exited with status 36096 Error executing formatting or display command. system command exited with status 36096 No manual entry for csh % % man csh | less :G (END) :q % If so, there may be a problem in the way man handles SIGPIPE. Would be understandable. -- 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
no spaces ....
Looks like the spacebar on my clicky keyboard is busted. Same thing on FBSD as on the desktop [[ubuntu]]]. I'm typing this on my laptop. Seems like every other key works. Another thing is that the ctl key seems not to work. IF I type A ^c I get c. ^D yields simply d. Is here any chance this can be a software glitch? Can't see how tho since I can KVM button from a konsoleon tao [desktop] to an xterm on ethic No spacebar. Suggestions? This might be time to buy a USB clicky kybd. gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ 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: no spaces ....
On Sat, 30 Oct 2010 23:58:31 -0700, Gary Kline kl...@thought.org wrote: Looks like the spacebar on my clicky keyboard is busted. Same thing on FBSD as on the desktop [[ubuntu]]]. I'm typing this on my laptop. Seems like every other key works. You can remap one of the unused advertising keys (those that are for Windows to be an additional space key. The keycode should be 115 or 116 or similar. I can't check as I do not own ANY keyboard with Windows keys on it. You can easily find it out by (installing and) running % xev and pressing those keys - the number will then be displayed, and by default, a key symbol should be assigned. Here's an example: KeyPress event, serial 27, synthetic NO, window 0x121, root 0x73, subw 0x0, time 18453834, (43,160), root:(203,623), state 0x10, keycode 115 (keysym 0xffe7, Meta_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x121, root 0x73, subw 0x0, time 18453902, (43,160), root:(203,623), state 0x18, keycode 115 (keysym 0xffe7, Meta_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False This is the left Meta key on the Sun USB keyboard I'm currently using: Its keycode is 115, the symbol currently assigned is Meta_L. If you would want to make that an additional space bar, create ~/.xmodmaprc and code keycode 115 = space Your X startup file (~/.xinitrc or ~/.xsession) should load this file if present: [ -f ~/.xmodmaprc ] xmodmap ~/.xmodmaprc This would be a simple workaround for nonworking keys. Another thing is that the ctl key seems not to work. IF I type A ^c I get c. ^D yields simply d. Same here, keycode 115 = Control_L keycode 116 = space could be a temporary solution. Is here any chance this can be a software glitch? Could be possible - I've experienced something similar with a nonworking left shift key, or keys stuck in control mode. A bit hammering on the keyboard and some focus-shifting solved the problem. It does happen once a few months and is not predictable. Maybe some USB issue? Polling? Can't see how tho since I can KVM button from a konsoleon tao [desktop] to an xterm on ethic No spacebar. So switching over from one system to another does keep the problem... maybe a mechanical or electrical problem caused by the keyboard? Suggestions? This might be time to buy a USB clicky kybd. In any case, try to check with xev and see what - IF - really happens when pressing keys. I can recommend the Sun USB keyboard (I have model 6 here, but model 7 should be fine, too). It's not IBM clicky quality, of course. It's not clicky at all. But it's very comfortable and feels still good in use. The 2x5 plus 1 extra keys on the left and the 4 on the right are wonderful add-ons - fully programmable and usable (I use them for window sizing, rolling, focusing, and starting programs, as well as for volume control, lock session, log out and shutdown); Compose is also a nice feature, as well as the real Meta keys. You can get them for cheap via eBay, for example. Pay attention to get a USB model - you won't be able to use the regular serial ones (with the round plug) on a PC. This is the only USB keyboard I have. All other systems use PS/2 IBM keyboards intendedly. Never had a problem with them, even after Cola shower and disassembly. :-) -- 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: man(1) output error
in message alpine.bsf.2.00.1010302151370.7...@wonkity.com, wrote Warren Block thusly... On Sat, 30 Oct 2010, Adam Vande More wrote: On Sat, Oct 30, 2010 at 10:13 PM, p...@pair.com wrote: I tried with man perlfunc | less '+/y' (also repeated the above with csh) which did not result in any error messages in zsh 4 on FreeBSD 8-STABLE (c. Sep 9 2010). Perhaps it's not directly related to the shell since your config is similar to except my stable is from Oct 4 and the error happens here. Sounds right. The initial search command for less (+/whatever) is not always needed; after the error appears with it, just 'man perlfunc | less' will give the errors. The errors appear here when 'man perlfunc | less +/y' is run on csh, bash, or zsh and q is pressed before the EOF has been reached: % man perlfunc | less +/y Error executing formatting or display command. system command exited with status 36096 No manual entry for perlfunc Yes, pressing q in less produces the above too here. The status is always 36096, or 0x8d00. Haven't yet found a short man page which does this. Interestingly, longer man pages may do it twice: % man ifconfig | less +/following Error executing formatting or display command. system command exited with status 36096 Error executing formatting or display command. system command exited with status 36096 No manual entry for ifconfig Now this is also reproducible. Go to the EOF with G first, then press q, and there are no errors. Yep. Thanks Warren for listing various cases. That made me realize that I did went to the end of two manual pages when I had tried to reproduce the error earlier. - parv -- ___ 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
Portable Makefile(s)
Hello, I'm working on many projects, and writing makefile is really painful. I love the BSD Makefile syntax obviously, but I also love that people using Linux could run make to build my projects too. And using BSD makefile syntax disallow this. Reducing the makefile to the minimal makes them portable, but then you canno't use loops, conditionnals, and this is getting my nerves. What could I do to write Makefile compatible on every operating systems ? I'm thinking about Cmake but I hate the syntax, also for dmake... Kind regards, -- Demelier David ___ 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: Portable Makefile(s)
You could (at the risk of war) use autotools? Chris Sorry for top-posting, Android won't let me quote, but K-9 can't yet do threading. On 31 Oct 2010 11:35, David DEMELIER demelier.da...@gmail.com wrote: Hello, I'm working on many projects, and writing makefile is really painful. I love the BSD Makefile syntax obviously, but I also love that people using Linux could run make to build my projects too. And using BSD makefile syntax disallow this. Reducing the makefile to the minimal makes them portable, but then you canno't use loops, conditionnals, and this is getting my nerves. What could I do to write Makefile compatible on every operating systems ? I'm thinking about Cmake but I hate the syntax, also for dmake... Kind regards, -- Demelier David ___ 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 ___ 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: Portable Makefile(s)
David DEMELIER wrote: Hello, I'm working on many projects, and writing makefile is really painful. I love the BSD Makefile syntax obviously, but I also love that people using Linux could run make to build my projects too. And using BSD makefile syntax disallow this. Reducing the makefile to the minimal makes them portable, but then you canno't use loops, conditionnals, and this is getting my nerves. What could I do to write Makefile compatible on every operating systems ? I'm thinking about Cmake but I hate the syntax, also for dmake... We had this same choice at our company and ended up going wiht cmake for everything. In the end you'll save time and get portability across all platforms and build environments. Don't really think of cmake as a makefile replacement, but a replacement for auto* tools and makefiles together. (cmake generates platform native makefiles) If you do go with cmake don't try to support older versions though. Anything 2.8.1+ is really quite solid from my experience.. /* no I don't work for kitware */ good luck ./C ___ 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
Fwd: Postfix SMTP server: errors from mx2.freebsd.org[69.147.83.53]
Hi, It looks like mx2.freebsd.org is blacklisted by Sorbs.net: Original Message Transcript of session follows. In: EHLO mx2.freebsd.org Out: 250-PIPELINING Out: 250-SIZE 2560 Out: 250-ETRN Out: 250-ENHANCEDSTATUSCODES Out: 250-8BITMIME Out: 250 DSN In: MAIL FROM:owner-freebsd-questi...@freebsd.org SIZE=3777 Out: 250 2.1.0 Ok Out: 554 5.7.1 Service unavailable; Client host [69.147.83.53] blocked using dnsbl.sorbs.net; Currently Sending Spam See: http://www.sorbs.net/lookup.shtml?69.147.83.53 In: DATA Out: 554 5.5.1 Error: no valid recipients In: RSET Out: 250 2.0.0 Ok In: QUIT Out: 221 2.0.0 Bye --- regards, Jos Chrispijn ___ 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
mount_smbfs problem after upgrade Samba 3.4 - 3.5
Hi, I'm doing a major overhaul of our Samba servers including an upgrade to the latest port version, 3.5.6. I'm getting most things in place but a remaining problem is that I cannot any longer use mount_smbfs: mount_smbfs -I 192.168.1.8 //p...@mars/inter /home/mnt Password: mount_smbfs: unable to open connection: syserr = Authentication error Samba server log says: mbd/sesssetup.c:1703(reply_sesssetup_and_X) reply_sesssetup_and_X: Attempted encrypted session setup without negprot denied! smbclient works fine and so does connecting to the shares from Windows and Konqerour like smb://192.168.1.8/. Anybody on the list with enough knowledge of Samba that could take a shot at this? Apparently something changed between version 3.4 and 3.5 of Samba. 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: mount_smbfs problem after upgrade Samba 3.4 - 3.5
On 10/31/10 14:06, Per olof Ljungmark wrote: Hi, I'm doing a major overhaul of our Samba servers including an upgrade to the latest port version, 3.5.6. I'm getting most things in place but a remaining problem is that I cannot any longer use mount_smbfs: mount_smbfs -I 192.168.1.8 //p...@mars/inter /home/mnt Password: mount_smbfs: unable to open connection: syserr = Authentication error Samba server log says: mbd/sesssetup.c:1703(reply_sesssetup_and_X) reply_sesssetup_and_X: Attempted encrypted session setup without negprot denied! smbclient works fine and so does connecting to the shares from Windows and Konqerour like smb://192.168.1.8/. Anybody on the list with enough knowledge of Samba that could take a shot at this? Apparently something changed between version 3.4 and 3.5 of Samba. Thanks! Just noted another post from yesterday, same issue: Issue wit Samba 3.5.6 and Mac OS X 10.5 I've filed a bug report to see if the maintainer could have a look. ___ 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: man(1) output error
On Sun, 31 Oct 2010, Adam Vande More wrote: On Sat, Oct 30, 2010 at 11:44 PM, Polytropon free...@edvax.de wrote: True - and just confirmed on 5.4-p14, so it must have been waiting inside the machine for many years now... Looks like the Norwiegans got to the the south pole first: http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/030705.html Yes. A followup explains the problem more: http://lists.freebsd.org/pipermail/freebsd-stable/2006-November/030708.html Why I do this: it's nice to give people a direct link to a spot in a man page. There's an alternate way, which is ugly and visually confusing but does not show errors: % man -P 'less +/following' ifconfig ___ 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: can't add entries to fsab
hey guys, thanks!! Yeah I tried adding the late option, but that didn't change anything. But then I thought that perhaps DNS was not loaded by the time the fstab is parsed making any DNS style mounts render the machine unbootable in normal mode. So I tried referring to the mount by the IP address rather than the DNS name, and that fixed it.. I suppose I could setup the order in which the services load in /etc/rc.d/ by pre-pending each one with numbers (i.e. 00netif 01named 02syslogd...etc etc). Not sure I care enough to do that on my home system, but maybe I will.. On Sat, Oct 30, 2010 at 8:10 PM, Warren Block wbl...@wonkity.com wrote: On Sat, 30 Oct 2010, Tim Dunphy wrote: I am having some trouble adding entries to /etc/fstab.. what happens to work under CentOS does not under FreeBSD!! no surprise there, I suppose.. heh I have nfs_client_enable=YES in my /etc/rc.conf Yet if I add even one line such as nas2.summitnhome.com:/mnt/home /home nfs rw 0 0 the system refuses to boot normally and I have to add the path to /bin//sh manually each time Add the late option ('man mount | less +3/late') to the rw option in that line: nas2.summitnhome.com:/mnt/home /home nfs rw,late 0 0 why on Earth can I not add entries to fstab as I do to CentOS?? Beyond knowing that they're different, dunno. Maybe the async DHCP in FreeBSD is different. -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! ___ 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: can't add entries to fsab
On Sun, 31 Oct 2010, Tim Dunphy wrote: On Sat, Oct 30, 2010 at 8:10 PM, Warren Block wbl...@wonkity.com wrote: On Sat, 30 Oct 2010, Tim Dunphy wrote: I am having some trouble adding entries to /etc/fstab.. what happens to work under CentOS does not under FreeBSD!! no surprise there, I suppose.. heh I have nfs_client_enable=YES in my /etc/rc.conf Yet if I add even one line such as nas2.summitnhome.com:/mnt/home /home nfs rw 0 0 the system refuses to boot normally and I have to add the path to /bin//sh manually each time Add the late option ('man mount | less +3/late') to the rw option in that line: nas2.summitnhome.com:/mnt/home /home nfs rw,late 0 0 why on Earth can I not add entries to fstab as I do to CentOS?? Beyond knowing that they're different, dunno. Maybe the async DHCP in FreeBSD is different. thanks!! Yeah I tried adding the late option, but that didn't change anything. But then I thought that perhaps DNS was not loaded by the time the fstab is parsed making any DNS style mounts render the machine unbootable in normal mode. So I tried referring to the mount by the IP address rather than the DNS name, and that fixed it.. I suppose I could setup the order in which the services load in /etc/rc.d/ by pre-pending each one with numbers (i.e. 00netif 01named 02syslogd...etc etc). Changing that order is not easy, there are internal dependencies. Forcing the startup to wait for DHCP in /etc/rc.conf may be enough: ifconfig_re0=SYNCDHCP re0 used for example, change to whatever interface you have.___ 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: man(1) output error
Quoth Warren Block on Saturday, 30 October 2010: On Sat, 30 Oct 2010, Warren Block wrote: On Fri, 29 Oct 2010, Chip Camden wrote: % man csh | less +/rehash rehash Causes the internal hash table of the contents of the directo- ries in the path variable to be recomputed. This is needed if [...] Error executing formatting or display command. system command exited with status 36096 Error executing formatting or display command. system command exited with status 36096 No manual entry for csh % (meant to reply to list) I can confirm that the very latest 8.1-STABLE (csup and build this morning) reproduces the problem. uname -a: FreeBSD libertas.local.camdensoftware.com 8.1-STABLE FreeBSD 8.1-STABLE #85: Fri Oct 29 10:27:19 PDT 2010 sterl...@libertas.local.camdensoftware.com:/usr/obj/usr/src/sys/LIBERTAS amd64 This seems to be a problem with the csh man page. Other pages work fine, like 'man hosts | less +/named' or 'man devfs | less +/ruleset'. Actually, it appears to be a problem with long manual pages, including csh, bash, or perlfunc. Yes -- it also fails on 'man zshall | less +/alias', for instance. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgp73MeThbSmm.pgp Description: PGP signature
Re: can't add entries to fsab
oh ok, thanks good thing I saw this before I got to long in this process. I backed up the /etc/rc.d directory and started re-ordering things like this: 000netif 001netoptions 002routing 003network_ipv6 004ppp 005ipfw 006defaultroute 007routed 008mrouted 009route6d 0010mroute6d 011named 012resolv 013hostname 014hostapd 015hostid 016hostid_save 017rpcbind 018nfsclient 019nfscbd 020nfsdrpcbind 021mountd 022mountcritlocal 023mountcritremote 024mountlate I realized there may be dependencies but I was gonna give it a try and see if I got it right. If not I would restore from backup. Actually this machine isn't on DHCP, it's statically assigned. My basic goal is to get the box to the point where it can resolve DNS before it mounts the contents of /etc/fstab... do you have any suggestions on how best to achieve this goal? thanks On Sun, Oct 31, 2010 at 11:58 AM, Warren Block wbl...@wonkity.com wrote: On Sun, 31 Oct 2010, Tim Dunphy wrote: On Sat, Oct 30, 2010 at 8:10 PM, Warren Block wbl...@wonkity.com wrote: On Sat, 30 Oct 2010, Tim Dunphy wrote: I am having some trouble adding entries to /etc/fstab.. what happens to work under CentOS does not under FreeBSD!! no surprise there, I suppose.. heh I have nfs_client_enable=YES in my /etc/rc.conf Yet if I add even one line such as nas2.summitnhome.com:/mnt/home /home nfs rw 0 0 the system refuses to boot normally and I have to add the path to /bin//sh manually each time Add the late option ('man mount | less +3/late') to the rw option in that line: nas2.summitnhome.com:/mnt/home /home nfs rw,late 0 0 why on Earth can I not add entries to fstab as I do to CentOS?? Beyond knowing that they're different, dunno. Maybe the async DHCP in FreeBSD is different. thanks!! Yeah I tried adding the late option, but that didn't change anything. But then I thought that perhaps DNS was not loaded by the time the fstab is parsed making any DNS style mounts render the machine unbootable in normal mode. So I tried referring to the mount by the IP address rather than the DNS name, and that fixed it.. I suppose I could setup the order in which the services load in /etc/rc.d/ by pre-pending each one with numbers (i.e. 00netif 01named 02syslogd...etc etc). Changing that order is not easy, there are internal dependencies. Forcing the startup to wait for DHCP in /etc/rc.conf may be enough: ifconfig_re0=SYNCDHCP re0 used for example, change to whatever interface you have. -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! ___ 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: can't add entries to fsab
On Sun, 31 Oct 2010, Tim Dunphy wrote: So I tried referring to the mount by the IP address rather than the DNS name, and that fixed it.. I suppose I could setup the order in which the services load in /etc/rc.d/ by pre-pending each one with numbers (i.e. 00netif 01named 02syslogd...etc etc). Changing that order is not easy, there are internal dependencies. Forcing the startup to wait for DHCP in /etc/rc.conf may be enough: ifconfig_re0=SYNCDHCP re0 used for example, change to whatever interface you have. oh ok, thanks good thing I saw this before I got to long in this process. I backed up the /etc/rc.d directory and started re-ordering things like this: 000netif 001netoptions 002routing 003network_ipv6 ... [Please don't top-post, it makes responding more work.] Look at the PROVIDE and REQUIRE keywords in those files. They aren't executed in filename order. Actually this machine isn't on DHCP, it's statically assigned. My basic goal is to get the box to the point where it can resolve DNS before it mounts the contents of /etc/fstab... I thought mountlate would be late enough. It may depend on your network card, some are slow to wake up or associate. ___ 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: no spaces ....
On Sun, Oct 31, 2010 at 08:16:13AM +0100, Polytropon wrote: On Sat, 30 Oct 2010 23:58:31 -0700, Gary Kline kl...@thought.org wrote: Looks like the spacebar on my clicky keyboard is busted. Same thing on FBSD as on the desktop [[ubuntu]]]. I'm typing this on my laptop. Seems like every other key works. You can remap one of the unused advertising keys (those that are for Windows to be an additional space key. The keycode should be 115 or 116 or similar. I can't check as I do not own ANY keyboard with Windows keys on it. You can easily find it out by (installing and) running % xev and pressing those keys - the number will then be displayed, and by default, a key symbol should be assigned. Here's an example: KeyPress event, serial 27, synthetic NO, window 0x121, root 0x73, subw 0x0, time 18453834, (43,160), root:(203,623), state 0x10, keycode 115 (keysym 0xffe7, Meta_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 27, synthetic NO, window 0x121, root 0x73, subw 0x0, time 18453902, (43,160), root:(203,623), state 0x18, keycode 115 (keysym 0xffe7, Meta_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False This is the left Meta key on the Sun USB keyboard I'm currently using: Its keycode is 115, the symbol currently assigned is Meta_L. If you would want to make that an additional space bar, create ~/.xmodmaprc and code keycode 115 = space Your X startup file (~/.xinitrc or ~/.xsession) should load this file if present: [ -f ~/.xmodmaprc ] xmodmap ~/.xmodmaprc This would be a simple workaround for nonworking keys. Another thing is that the ctl key seems not to work. IF I type A ^c I get c. ^D yields simply d. Same here, keycode 115 = Control_L keycode 116 = space could be a temporary solution. Is here any chance this can be a software glitch? Could be possible - I've experienced something similar with a nonworking left shift key, or keys stuck in control mode. A bit hammering on the keyboard and some focus-shifting solved the problem. It does happen once a few months and is not predictable. Maybe some USB issue? Polling? Can't see how tho since I can KVM button from a konsoleon tao [desktop] to an xterm on ethic No spacebar. So switching over from one system to another does keep the problem... maybe a mechanical or electrical problem caused by the keyboard? Suggestions? This might be time to buy a USB clicky kybd. In any case, try to check with xev and see what - IF - really happens when pressing keys. I can recommend the Sun USB keyboard (I have model 6 here, but model 7 should be fine, too). It's not IBM clicky quality, of course. It's not clicky at all. But it's very comfortable and feels still good in use. The 2x5 plus 1 extra keys on the left and the 4 on the right are wonderful add-ons - fully programmable and usable (I use them for window sizing, rolling, focusing, and starting programs, as well as for volume control, lock session, log out and shutdown); Compose is also a nice feature, as well as the real Meta keys. You can get them for cheap via eBay, for example. Pay attention to get a USB model - you won't be able to use the regular serial ones (with the round plug) on a PC. This is the only USB keyboard I have. All other systems use PS/2 IBM keyboards intendedly. Never had a problem with them, even after Cola shower and disassembly. :-) It _was_ the kybd; fortunately, being a packrat, i still have the 2003 Dell, *and* since it has a PS/2 plug, it fits my temporary adaptor. ___WHEW___ I have the click part of the driver working, but that's all. ``xset x 50'' never has worked under BSD [ ditto linux ] ... soo I'm stuck with buying the click-type keyboards. Why this is such a big deal, I have 0.0 clue. Given that we do have people more familiar with hacking drivers. Oh well. gary PS: xev. Couldn't remember that, tho I've used it pretty often. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ___ 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
can't start firefox
Whenever I try to launch firefox I get a message saying Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. Then I try doing a ps so that I can find the pid and kill it... LBSD1# ps -auxwww | grep firefox LBSD1# But it does not appear to be running. I've tried rebooting and reinstalling the port.. nothing works.. HELP!!! :) -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! ___ 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
sysinstall(8) bsdlabel a new disk
Hello, I installed a 9-CURRENT from an USB key to a hard disk of a laptop and encountered a strange problem: I booted the USB key to normal multiuser mode and wanted to wipe out the Windows on the disk, create one slice ad4s1 and partitions in it for /, /usr, /var, ... I thought the simplest way would be just run sysinstall(8) and use the FDISK and BSDLABEL from the post-install dialog. FDISK went fine and in the BSDLABEL dialog I just used 'A' (auto defaults). On 'W' (write to disk) the sysinstall(8) complained about 'unable to open /dev/ad4s1a and so on for all the created partitions a...f. And also in the dev fs there were no entries created for /dev/ad4s1[a-f]. They apeared after a reboot of the system from the USB key. How this is supposed to work using sysinstall(8) or should one use only bsdlabel(8) directly in such a case? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e g...@unixarea.de - w http://www.unixarea.de/ ___ 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: can't add entries to fsab
On Sun, 31 Oct 2010 12:11:31 -0400, Tim Dunphy bluethu...@gmail.com wrote: Actually this machine isn't on DHCP, it's statically assigned. My basic goal is to get the box to the point where it can resolve DNS before it mounts the contents of /etc/fstab... In case the interface is already up at mount time, you can maybe use the /etc/hosts mechanisms to assign hostnames to the IPs you're refering to in /etc/fstab, so you can use hostnames or aliases there which will then automatically be resolved. do you have any suggestions on how best to achieve this goal? You can write your own NFS mount wrapper and place it into /usr/local/etc/rc.d; use a template from /etc/rc.d and check the keywords for REQUIRE that you'll need (references to interfaces and maybe routing). Then add a _enable=YES for your script in /etc/rc.conf and it will be started by the system when the requirements (indicated by keywords) are met. There is no need to exactly define this as a point in time in a given order. -- 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: can't start firefox
On Sun, 31 Oct 2010 14:11:22 -0400, Tim Dunphy bluethu...@gmail.com wrote: Whenever I try to launch firefox I get a message saying Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. Restart the system... very funny... :-) Then I try doing a ps so that I can find the pid and kill it... LBSD1# ps -auxwww | grep firefox LBSD1# But it does not appear to be running. I've tried rebooting and reinstalling the port.. nothing works.. HELP!!! :) First check what happens: Try to start Firefox from a terminal window (e. g. xterm) to see if any messages appear. In parallel, have another xterm open and the top -s 1 command running. Firefox should appear on top of the list, and look something like this: PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND 1496 poly 10 1040 49004K 37000K ucond0:00 151.17% firefox-bin The Firefox's process name is firefox-bin. If the program doesn't seem to react anymore, look what state it is in. As you should also see the PID, try to kill it and see how the top output changes (in most cases, the process should disappear). -- 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: sysinstall(8) bsdlabel a new disk
On Sunday 31 October 2010 20:02:58 Matthias Apitz wrote: How this is supposed to work using sysinstall(8) or should one use only bsdlabel(8) directly in such a case? sysinstall isn't really intended for post-install use: you should probably learn how to use gpart instead - e.g. gpart create -s mbr /dev/disk gpart add -t freebsd /dev/disk gpart create -s bsd /dev/disk gpart add -t freebsd-ufs /dev/disks1 newfs /dev/disks1a -- Bruce Cran ___ 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