Re: windoz, how do i install it last

2009-10-06 Thread Bertram Scharpf
nstall #...@%& into the first slice and FreeBSD into the second. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

[OT] Show nice columns of numers

2009-10-28 Thread Bertram Scharpf
programm that produces such nice output? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions

Re: Terminal / vim / shortcuts

2009-06-14 Thread Bertram Scharpf
stion for the Vim mailing list. imap :wsleep 1gi The purpose of the sleep is that you see the "written" message. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.o

Re: Problem with bash script

2009-06-16 Thread Bertram Scharpf
sing the base name > cp $i /usr/home/tmp/$BN Please provide the error message next time. I guess the filenames contain spaces. Try cp "$i" "/usr/home/tmp/$BN" Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de __

Re: what character is a physical newline

2009-06-29 Thread Bertram Scharpf
' 10 $ cat nl.c #include "stdio.h" int main(int argc, char **argv) { printf( "%d\n", '\n'); return 0; } $ cc -o nl nl.c $ ./nl 10 $ echo | od -d 00010 001 Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germa

Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread Bertram Scharpf
I made a second partition named "transfer" formatted with FAT so that I can write some data from a Windows to it. I look enviously at the Grml project and I find it a great pity that there is no BSD equivalent. Bertram -- Bertram Scharpf Stuttgart, Deutsch

Moused crashes with Synaptics

2009-08-04 Thread Bertram Scharpf
pport="1" hw.psm.synaptics.vscroll_hor_area=1300 I don't have those ctls here and I cannot find the kernel driver that provides them. Does anybody have some advice for me? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://ww

Re: Moused crashes with Synaptics

2009-08-04 Thread Bertram Scharpf
Hi, Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > Hi, > > an Acer notebook with a Synaptics Touchpad makes some trouble > here. My primary problem is: I restart the mouse daemon and then I > can move the mouse only for a short distance; suddenly the

Re: Moused crashes with Synaptics

2009-08-04 Thread Bertram Scharpf
Hi, Am Dienstag, 04. Aug 2009, 21:28:37 +0200 schrieb Bertram Scharpf: > Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > > Hi, > > > > an Acer notebook with a Synaptics Touchpad makes some trouble > > here. My primary problem is: I restart the mous

Re: Moused crashes with Synaptics

2009-08-05 Thread Bertram Scharpf
Hi Mel, Am Dienstag, 04. Aug 2009, 18:50:24 -0800 schrieb Mel Flynn: > On Tuesday 04 August 2009 03:26:24 Bertram Scharpf wrote: > > Further I seem to have missed something else. I found the page > > http://wiki.freebsd.org/SynapticsTouchpad where are mentioned s

Mouse still crashes with Synaptics

2009-08-06 Thread Bertram Scharpf
Hi, Am Dienstag, 04. Aug 2009, 13:26:24 +0200 schrieb Bertram Scharpf: > an Acer notebook with a Synaptics Touchpad makes some trouble > here. This is a real mess. Nobody gives me any help and I do not know what to try any further. I reduced the problem to the following behaviour: #

Re: Mouse still crashes with Synaptics

2009-08-07 Thread Bertram Scharpf
Hi, Am Donnerstag, 06. Aug 2009, 15:37:34 -0800 schrieb Mel Flynn: > On Thursday 06 August 2009 12:46:21 Bertram Scharpf wrote: > > You might get some help on freebsd-x11 list. As I mentioned twice I manage to reproduce the problem just calling "dd". It is definitely not an X

Re: please help to uninstall FreeBSD!!!

2009-08-12 Thread Bertram Scharpf
ogram. [...] So I want to completly remove that > FreeBSD from my PC and to install the Windows operating system > from CD. This problem is best solved the common way Windows users do with any software: Just reinstall the desired program as often until it works. Bertram -- Bert

Re: remove newlines from a file

2009-09-01 Thread Bertram Scharpf
e lines into a > single line by removing all the newline characters at the end of each line. > > What's the best/most efficient way of doing that in a shell? Probably this: $ echo `cat ip-file` $ ipline=`cat ip-file` $ echo $ipline | wc -l Bertram -- Bertram Scharpf Stuttga

Re: Why /bin/sh doesn't like the line: if test "x$my_var" == "xyes"; then

2009-09-03 Thread Bertram Scharpf
the Bash builtin recognizes ==. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.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: how to get rid of a character, 0x80?

2009-09-08 Thread Bertram Scharpf
859-1/-15. (And a Euro sign in Windows-1252). Who uses cp437/cp850 on BSD? > besides.. 0x80!=0200 $ ruby -e 'puts 0x80, 0200' 128 128 Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ free

Nice/priority and disk access

2009-09-11 Thread Bertram Scharpf
Hi, as the man page tells, `nice' alters the scheduling priority. Is there a way to reduce a processes priority for hard disk access? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-schar

Re: Moused crashes with Synaptics

2009-09-16 Thread Bertram Scharpf
ouchpad). The really vicious thing was that every time I opened the psm0 device, it supplied 80-150 bytes before performing the deactivation. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@

Re: Sed question

2008-12-21 Thread Bertram Scharpf
on is not portable. -> man sed /^STANDARDS Consider Perl or $ ruby -i.bak -pe 'next if 8..10 === $.' x Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.org mailing list ht

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Bertram Scharpf
links. > > sed or perl? Ruby. Untested: $ ruby -i.bak -pe 'next if ~/href="([^"]*)"/i and $1 == "http://example.com";' somefile.html Probably you want to do something more sophisticated. Bertram -- Bertr

Re: well, blew it... sed or perl q again.

2008-12-30 Thread Bertram Scharpf
Hi Gary, Am Dienstag, 30. Dez 2008, 17:48:02 -0800 schrieb Gary Kline: > On Tue, Dec 30, 2008 at 10:16:33PM +0100, Bertram Scharpf wrote: > > Hi Gary, > > > > Am Dienstag, 30. Dez 2008, 11:31:14 -0800 schrieb Gary Kline: > > > The problem is that there are many

Re: OT: sed + exit status

2009-02-17 Thread Bertram Scharpf
urce code reveals: An exit code of 1 will be returned when (1) the -? option or an unknown one requested a usage message and (2) the input file cannot be opened. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___

/bin/sh does not read profile

2009-03-04 Thread Bertram Scharpf
.profile" got executed. Finally, I modified "/usr/src/bin/sh/main.c" to trace what files are read, recompiled the "sh" command and: the only file that is executed is "~/.shrc". I just cannot believe that FreeBSD has such a severe bug. What is going wrong here? Th

Re: /bin/sh does not read profile

2009-03-05 Thread Bertram Scharpf
Hi Frank, Am Donnerstag, 05. Mär 2009, 04:15:05 + schrieb Frank Shute: > On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote: > > from "man sh": > > > >Invocation > > [...] the shell inspects > > argument 0, and if it

Permissions and SANE/scanimage

2008-06-21 Thread Bertram Scharpf
ing like chmod 0666 /dev/ugen0.2 the permissions will be 0644 after the run of "scanimage -L". Could somebody please enlighten me what's going on here? What did I miss when installing Sane? "pkg_info -Dx sane-backends" stays empty. Thanks in

Re: Permissions and SANE/scanimage

2008-06-21 Thread Bertram Scharpf
Hi, Am Samstag, 21. Jun 2008, 12:53:37 +0200 schrieb Marc Fonvieille: > On Sat, Jun 21, 2008 at 12:36:24PM +0200, Bertram Scharpf wrote: > > my scanner works perfectly when I log in in as root. As an > > unprivileged user, I just get this error message: > > > > $

Re: A sed question

2008-07-09 Thread Bertram Scharpf
s problem is that a semicolon is missing before the closing brace. sed -e '/\*address:/{n;[EMAIL PROTECTED]@replaceText @;}' I'm almost sure your version won't work with GNU sed either. Bertram -- Bertram Scharpf Stuttgar

Switch to alternate screen buffer

2008-07-24 Thread Bertram Scharpf
able to switch to an alternate screen buffer. They use the escape sequences "\e[?1049h" and "\e[?1049l" to switch back respectively. How can I activate this in FreeBSD? Thanks in advance. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://ww

Re: Switch to alternate screen buffer

2008-07-26 Thread Bertram Scharpf
:ti=\E[?47h:te=\E[?47l:tc=xterm-xfree86: Don't forget to execute "cap_mkdb termcap". No need to get over with a poor workaround. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-