Re: Command line video player

2009-02-24 Thread Daniel Howard
On Sat, Feb 21, 2009 at 12:42 AM, Mehul Ved mehul.n@gmail.com wrote:

 2) I am not able to find mplayer for 5.5 so I tried to get it's
 package from 5-RELEASE, which lists lots of dependancies. How do I get
 mplayer package for 5.5

Hello,

Try the ports collection and see if it can build that way.  mplayer
imho is the very best choice here and yeah, you may have to experiment
with options like --hardframedrop and the like: RTFM. :)

More information on the ports collection here:
http://www.freebsd.org/doc/en/books/handbook/ports-using.html

Ports is a system to download and compile software on your system, so
it tends to be more useful for older versions of FreeBSD for which
package support has been dropped.  If ports can get you running then
yeah upgrading the machine would be a good call.

Sincerely,
-daniel

-- 
http://dannyman.toldme.com
___
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: vipw and bash login shell

2009-01-16 Thread Daniel Howard
On Thu, Jan 15, 2009 at 11:16 PM, Kurt Bigler k...@breathsense.com wrote:

 Hi,

 When I used vipw to change the login shell to /usr/local/bin/bash (which is
 listed in /etc/shells, and was built from ports), subsequent ssh login
 attempts fail (password rejected).  If I change the shell back to /bin/sh
 or
 /bin/csh then login works again.

 If I instead use webmin Users and Groups to set the login shell to bash (or
 any other shell), everything is fine.  There is a delay of quite a few
 seconds for the webmin Save operation to complete, whereas after ZZ the
 vipw
 completes without any perceptible delay.


Kurt,

What happens if you change the shell via chsh?  What happens if you attempt
to set a different shell, like /bin/tcsh?  Do you get the same result when
you log in from within the shell using login or su?  What does the
user's login line look like in /etc/master.passwd after either vipw or
webmin?  Are you certain you aren't doing something silly with your editor
like a line wrap or DOS newlines?

If you want to debug, you can try doing ssh -v and / or sshd -d.

Good luck!

Sincerely,
-daniel

-- 
http://dannyman.toldme.com
___
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

2009-01-08 Thread Daniel Howard
On Thu, Jan 8, 2009 at 2:55 PM, Freminlins freminl...@gmail.com wrote:

 2009/1/8 Jerry McAllister jerr...@msu.edu
 
  Beyond that, it is just the pretty pictures
  that are missing.

 sysinstall also works over serial console. No use for pretty pictures
 there...


Oh My God!

If ever you weren't a fan of sysinstall, try YaST over a serial console.

http://dannyman.toldme.com/2006/09/06/serial-console-woes/

I still have nightmares.

-danny

-- 
http://dannyman.toldme.com
___
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: root /etc/csh

2008-11-17 Thread Daniel Howard
On Sun, Nov 16, 2008 at 2:41 AM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 On Sun, Nov 16, 2008 at 12:22:11AM -0800, [EMAIL PROTECTED] wrote:
[...]
  A statically-linked version of bash would waste significant amounts
  of memory, while a dynamically-linked/shared version would ease that
  pain.  The same applies for any static vs. dynamic program.

 How so?  Wouldn't a single in-memory instance of the bash text
 segment be shared among all bash processes, across all users?

 http://lists.freebsd.org/pipermail/freebsd-stable/2007-August/thread.html#36647

http://lists.freebsd.org/pipermail/freebsd-stable/2007-August/036654.html

 In response to the original post: The kernel's ELF
 linker/loader for executables will share the text and
 read-only segments for static executables.

This is consistent with my understanding.  A statically-linked bash
will consume more space on disk, and more memory the first time it is
loaded, but as with any other executable, the executable portion of
the program will be re-used each time another bash is run.

But I am not a developer or a kernel engineer, so if there is a way in
which a statically-compiled bash ends up consuming more memory on each
invocation for some reason, I'd appreciate an explanation as to why.

Sincerely,
-daniel

-- 
http://dannyman.toldme.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: scripting text replacement

2008-11-10 Thread Daniel Howard
On Sat, Nov 8, 2008 at 10:43 AM, bsd [EMAIL PROTECTED] wrote:

 I have a file containing a list of items like that:

 line1item1 line1item2 line1item3
 line2item1 line2item2 line2item3
 …400 times

 I need to insert this into another text file using printf() items should be
 converted into variable looping… like that:

 printf Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2

awk '{print Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2}'
 file.txt  file-bla-bla-bla.txt

-d

-- 
http://dannyman.toldme.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: root /etc/csh

2008-11-10 Thread Daniel Howard
On Mon, Nov 10, 2008 at 1:46 PM, Pieter Donche [EMAIL PROTECTED] wrote:
 FreeBSD 7.0 comes with the user root with start up shell /bin/csh
 As normal user I use bash (/usr/local/bin/bash installed)
 I would prefer to have bash also when working as root (su).
 Of course I can do
 # bash
 [root ~]# or I could change the startup shell in /etc/passwd, but would that
 be a wise
 thing to do or not?

If your system is having a bad time, falling back to statically-linked
/bin/csh can help you out in a jam, whereas pointing way off to
/usr/local/bin/bash could spell trouble if say, you can not mount
/usr.

As prad pointed out, you can su -m.  I myself prefer sudo -s.  You
could also just type bash.

Sincerely,
-daniel

-- 
http://dannyman.toldme.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: recommendation word processer for xfce

2008-11-07 Thread Daniel Howard
On Fri, Nov 7, 2008 at 3:28 PM, Chad Perrin [EMAIL PROTECTED] wrote:
 On Fri, Nov 07, 2008 at 08:51:06AM +0200, Ross Cameron wrote:
 On Fri, Nov 7, 2008 at 5:34 AM, FBSD1 [EMAIL PROTECTED] wrote:

 Top posting is how Microsoft outlook works. Nothing I can do about
  it.
  sorry

 Ditch Outlook and use Evolution or Thunderbird or KMail or hell anything

 . . . or, as someone else pointed out, one could just learn to scroll to
 the end before typing.  It's not that difficult -- even in Outlook.

Press the END key.

-danny

-- 
http://dannyman.toldme.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]