Steven M. Bellovin | 1 Jul 02:23 2005

screen resolution for fast user switching with kde

I have one of my machines running kde3, via pkgsrc.  I configured it
for fast user switching by editing /usr/pkg/share/kde/config/kdm/Xservers
to this:

	# Xservers - local X-server list
	#
	# This file should contain an entry to start the server on the
	# local display; if you have more than one display (not screen),
	# you can add entries to the list (one per line).
	# If you also have some X terminals connected which do not support XDMCP,
	# you can add them here as well; you will want to leave those terminals
	# on and connected to the network, else kdm will have a tougher time
	# managing them. Each X terminal line should look like:
	#       XTerminalName:0 foreign
	#

	:0 local /usr/X11R6/bin/X -nolisten tcp vt05
	:1 local /usr/X11R6/bin/X -nolisten tcp :1 vt06
	:2 local /usr/X11R6/bin/X -nolisten tcp :2 vt07
	:3 local /usr/X11R6/bin/X -nolisten tcp :3 vt08

	### Don't change these two lines; they are hints for genkdmconf. ###
	### Version 1.99 ###

The :1, :2, and :3 lines are my additions.

(Aside: the documentation implies that this file is generated correctly
at boot time, and will have those extra lines if the system supports it.
NetBSD clearly does support it, but those lines were not installed.
PR?)
(Continue reading)

tlaronde | 1 Jul 15:10 2005

nawk strange behavior with regex in FS

Hello,

I'm on NetBSD 2.0.2 (i386).

Whether nawk(1) is behaving strangely or there is something that I
definitively don't understand with awk when giving a regex for FS.

Using gawk(1), I have the behavior I expect.
nawk(1) doesn't handle correctly (on my installation at least) FS:

Script started on Thu Jun 30 21:50:35 2005
jordan% awk 'BEGIN { FS = " *: *"; } { print $1 "|" $2; }'
1:2
1|2
1:21
1|2
1 :add
1|a
1a:bdd
1a|
1a :bdd
1a|
1a :2dd
1a|
jordan% gawk 'BEGIN { FS = " *: *"; } { print $1 "|" $2; }'
1:2
1|2
1:21
1|21
1 :add
(Continue reading)

matthew sporleder | 1 Jul 17:38 2005
Picon

Re: nawk strange behavior with regex in FS

I thought this was a bug in your regex for a while, but after
obsessing about it a little and trying it out on solaris, I think
there's a bug in our nawk.  :)

On 7/1/05, tlaronde <at> polynum.com <tlaronde <at> polynum.com> wrote:
> Hello,
> 
> I'm on NetBSD 2.0.2 (i386).
> 
> Whether nawk(1) is behaving strangely or there is something that I
> definitively don't understand with awk when giving a regex for FS.
> 
> Using gawk(1), I have the behavior I expect.
> nawk(1) doesn't handle correctly (on my installation at least) FS:
> 
> Script started on Thu Jun 30 21:50:35 2005
> jordan% awk 'BEGIN { FS = " *: *"; } { print $1 "|" $2; }'
> 1:2
> 1|2
> 1:21
> 1|2
> 1 :add
> 1|a
> 1a:bdd
> 1a|
> 1a :bdd
> 1a|
> 1a :2dd
> 1a|
> jordan% gawk 'BEGIN { FS = " *: *"; } { print $1 "|" $2; }'
(Continue reading)

Rhialto | 1 Jul 17:51 2005
Picon

Re: building from pkgsrc on NetBSD/AMD64

On Thu 30 Jun 2005 at 21:15:06 +0200, Robert Cates wrote:
> either an nVidia or ATI graphics card.  How about TV card compatability?

I would stay away from proprietary nVidia stuff. I have an ATI Radeon
graphics card (whatever cheapest was available, "ATI Technologies Inc
Radeon RV100 QY [Radeon 7000/VE] rev 0"). I also have a Hauppauge tv
card ("bktr0: Hauppauge Model 56304 D" "bktr0: Hauppauge WinCast/TV,
Temic PAL tuner"), and unfortunately I haven't got xawtv to work, even
after fixing its 64-bit-uncleanness. Everything appears to work ok (as
far as I can tell without having seen it work before) but I just get a
black window instead of tv (or even instead of snow). fxtv dumps core;
probably also sloppy coding.

> Robert
-Olaf.
--

-- 
___ Olaf 'Rhialto' Seibert                            --  rhialto/at/falu.nl
\X/ Hi! I'm a signature virus! Copy me to your .signature to help me spread!
> 

tlaronde@polynum.com | 1 Jul 18:10 2005

Re: nawk strange behavior with regex in FS

Hello,

On Fri, Jul 01, 2005 at 11:38:41AM -0400, matthew sporleder wrote:
> I thought this was a bug in your regex for a while, but after
> obsessing about it a little and trying it out on solaris, I think
> there's a bug in our nawk.  :)

Have you tried it also on a whatever NetBSD? I have tried to unset LANG
and LC_ALL etc. but this remains, and reading the sources it appears
that the i18n stuff has reappeared when, AFAIR, a previous version
without it was working correctly (I think on NetBSD 1.6.2, but I may be
wrong).

Cheers,
--

-- 
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.org/  |  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C

David Rio Deiros | 1 Jul 19:08 2005
Picon

Re: vi and xterm

On Thu, Jun 30, 2005 at 01:15:21PM -0500, Mike Parson wrote:
> Probably not the solution you're looking for, but I ran into this
> (inconsistant interpretation of cursor key input over varying TERMs,
> login methods, etc) years ago and just got into the habbit of using vi's
> movement keys (hjkl) rather than the cursor keys.  They will *always*
> work. =)

That is a terrific advice. I totally second it!!
And by the way, perhaps it is not related but check this out:

http://www.ibiblio.org/web-gentoo/images/vicheat-final.png

Steven M. Bellovin | 2 Jul 04:01 2005

problems with USB keyboard

I'm having trouble on a 2.0 machine with a USB keyboard.  The message
'usbd_setup_pipe: failed to start endpoint, TIMEOUT' shows up when it 
fails.  Is this likely to be a probelm with the device, or is there 
some kernel deficiency in the USB support?  If the latter, is there a 
fix in 2.0.2 or should I go all the way to -current?

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb

Zafer Aydogan | 2 Jul 18:05 2005
Picon

new Packaging System

Hello List,

I just stumbled on the www.pcbsd.org Website and read about their
new packaging system, which does not rely on pkg_add.

"The PC-BSD package manager doesn't use pkg_add, or the ports system, or
even RPM. Instead we've developed more of a straight-up installer approach.
Software packages are installed into their own separate directories,
complete with libraries and all. The goal is to have installed programs be
entirely self contained, so that if the lib's on the system change, the
package will be unaffected. Each package is installed into its own
subdirectory under "/usr/local/MyPrograms/". The PC-BSD installer takes care
of making links, setting up binaries to find their required libraries,
creating icons, etc. Removing the app is also managed by PC-BSD. The
directory is simply removed, along with any relevant icons / links created."

Which sounds interesting to me.
Just check out their Website for more information:
http://www.pcbsd.org/?p=packages

Zafer.

Denis Lagno | 2 Jul 16:56 2005
Picon

how to change MAC-address

Hi,

Is it possible to set some fake MAC-address??  I cannot find it in ifconfig manpage.

Jeremy C. Reed | 2 Jul 23:25 2005
Picon

Re: new Packaging System

On Sat, 2 Jul 2005, Zafer Aydogan wrote:

> Software packages are installed into their own separate directories,
> complete with libraries and all. The goal is to have installed programs be
> entirely self contained, so that if the lib's on the system change, the
> package will be unaffected. Each package is installed into its own
> subdirectory under "/usr/local/MyPrograms/". The PC-BSD installer takes care
> of making links, setting up binaries to find their required libraries,
> creating icons, etc. Removing the app is also managed by PC-BSD. The
> directory is simply removed, along with any relevant icons / links created."

pkgsrc already does same, but as far as I know it (pkgsrc pkgviews) is not 
well used yet.

As for icons, that is on a package-by-package basis and not handled 
specifically.

pkgsrc pkgviews needs some improvement, but is usable now.

There are several other similar packaging systems: SEPP, reflect, Stow, 
Encap, Relink, epkg, depot, graft, opt_depot ...

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/


Gmane