Re: [SLUG] Does Berkeley error still exist?

2007-09-17 Thread Sam Lawrance


On 16/09/2007, at 10:33 PM, Luke Kendall wrote:


Rick Welykochy wrote:

Luke Kendall wrote:


Rick Welykochy wrote:

Any relation to perror() ?

http://www.penguin-soft.com/penguin/man/3/perror.html?manpath=/ 
man/man3/perror.3.inc




No, none whatsoever.  :-)  perror() is a system call for use in
programs.  error is an executable for use from the command line or
scripts.  If you have a program that processes a source file  
(e.g. gcc

and .c files, or groff and the Mss for an article), and the program
reports lots of errors, then error can edit the source file to  
insert
the etxt of each error just before the line that has the error.   
Then
you edit the source file, visiting each error and fixing it up.   
This

saves you from flipping between two files.  It's one of those
traditional Unix small utilities that does one thing well.


An interesting detective challenge. I began searching on google  
for the

following:

error utility  error message source code

which produced 240 results. Chasing up one on the SLUG list ...

http://lists.slug.org.au/archives/slug/2003/05/msg00896.html

* To: Sydney Linux Users Group [EMAIL PROTECTED]
* Subject: [SLUG] Anyone know where to find the error utility?
* From: [EMAIL PROTECTED]
* Date: Sat, 24 May 2003 15:08:44 +1000 (EST)

Further searching turned up this page in the CVS attic for the
BSD utility:

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/error/Attic/

And this:

http://lists.slug.org.au/archives/slug/2003/05/msg00909.html

where you proposed porting the thing to Linux.
And that is where I stopped searching.
Good luck. Perhaps you can find the sources you need in the Attic.


cheers
rickw


Strewth!  You're right!  When I followed teh attic link, and started
preparing the natural place to store the source files, I found the
directory already existed with all the sources in it already!

I guess that means I'd better get off my behind, and have a go!


It is still included as a FreeBSD port, so you if you need a distfile  
try:


ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/dd/ 
error-20010616.tar.gz 
--

SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Free/Open Source Research

2007-09-17 Thread Nordine BENKELTOUM
Hi and thank you Lindsay,

The questionnaire is available here :

http://orthonormed.free.fr

Have a nice day!
Nordine

2007/9/14, Lindsay Holmwood [EMAIL PROTECTED]:

 G'day Nordine,
 You can post a link to your questionnaire to our main mailing list at
 slug@slug.org.au

 Thanks a bunch!

 Lindsay

 On 9/14/07, Nordine BENKELTOUM [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm carrying out a study on Free/open source software.
 
  Given the fact that the LUGs gather specialists of this topic, could you
 ask
  your members to take part in our research project by filling in the
  following questionnaire available on this link :
 
  http://orthonormed.free.fr
 
  Don't hesitate to transmit the questionnaire to your colleagues or
 members
  of the communities in which you're involved.
 
  Thank you for your participation.
 
  Best Regards
 
  Nordine BENKELTOUM
  PhD student
  Center for Organization and Management Sciences
  Ecole des Mines de Paris
  [EMAIL PROTECTED]


 --
 http://slug.org.au/ (the Sydney Linux Users Group)
 http://holmwood.id.au/~lindsay/ (me)

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] How do I customize the login: prompt ?

2007-09-17 Thread Minh Van Le
I'm trying to remember how to change my remote login: prompt in Red Hat
6.2.

Here's the tty# local login screen with the hostname sandbox preceding the
login: prompt:

  Red Hat Linux release 6.2 (Zoot)
  Kernel 2.2.14-5.0 on an i586
  sandbox login:

But when I try to connect remotely (ie. via ssh/telnet) I get a login:
prompt without the hostname:

  Red Hat Linux release 6.2 (Zoot)
  Kernel 2.2.14-5.0 on an i586
  login:

I've tried altering the default mingetty's in /etc/inittab to mgetty -p '@
login: ' tty1 but it gives me some kind of AT modem string and I'm unable
to enter a username/password at all. I also don't think changing tty1 to
pts/0 etc would work.

Does anybody know how to customize the remote login: prompt in Red Hat ?

Do I have to change something in inetd.conf ?

Thanks !

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] How do I customize the login: prompt ?

2007-09-17 Thread Martin Visser
Minh,

The local login prompt is read from /etc/issue, the networked prompt from
/etc/issue.net
You may need to check startup scripts in /etc/rc.d whether they overwrite
any changes you make here.

There are special escape sequence for these files that you can google for
that are used as replacable vars for things like the hostname, username,
date, etc

That is a pretty ancient version of Redhat you are playing with!!

Martin

On 9/17/07, Minh Van Le [EMAIL PROTECTED] wrote:

 I'm trying to remember how to change my remote login: prompt in Red Hat
 6.2.

 Here's the tty# local login screen with the hostname sandbox preceding
 the
 login: prompt:

   Red Hat Linux release 6.2 (Zoot)
   Kernel 2.2.14-5.0 on an i586
   sandbox login:

 But when I try to connect remotely (ie. via ssh/telnet) I get a login:
 prompt without the hostname:

   Red Hat Linux release 6.2 (Zoot)
   Kernel 2.2.14-5.0 on an i586
   login:

 I've tried altering the default mingetty's in /etc/inittab to mgetty -p
 '@
 login: ' tty1 but it gives me some kind of AT modem string and I'm unable
 to enter a username/password at all. I also don't think changing tty1 to
 pts/0 etc would work.

 Does anybody know how to customize the remote login: prompt in Red Hat ?

 Do I have to change something in inetd.conf ?

 Thanks !

 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
Regards, Martin

Martin Visser
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Epson 34 90 Ubuntu

2007-09-17 Thread leei
Hi all,

I am a Linux newbie.

Can anyone tell me how to get the Epson 3490 working properly in Ubuntu 7.04.

The rpm drivers work fine in Fedora but if you use alien it does not work
as well.

I look forward to hearing from you.

Regards,
Lee


---
South Africas premier free email service - www.webmail.co.za 
--
For super low premiums, click here http://www.webmail.co.za/dd.pwm

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Upgrading HP laptop BIOS without Windows, how?

2007-09-17 Thread John Clarke
Hi all,

I have an HP laptop (Pavilion dv5230tx) which has a very old BIOS
installed and I want to upgrade to the latest version.  According to
HP's change log, Core 2 Duo support wasn't added to the BIOS until the
version after the one I have, even though the laptop has a Core 2 Duo
processor.

I've been trying to get suspend and hibernate working, and I suspect the
old BIOS is part of the problem.  Hibernate used to work before I had
the motherboard replaced, and I'm fairly sure that the old one had a
more recent BIOS.  I've had a couple of other weird occasional problems
which I suspect are due to the BIOS (keyboard not working after boot and
mouse behaving very strangely) too.

Unfortunately HP only provide updates as a package with a Windows (not
DOS) program called WinFlash.  I've wiped Windows off the laptop, so my
only choices are to reinstall Windows (which means wiping Linux first
because HP only provide recovery discs and I don't have a spare laptop
SATA drive), or to run WinFlash with wine. I've started the program and
it does appear to run, but I haven't been game to let it flash the BIOS
yet.  Does anyone know whether it's likely to work or if it'll turn my
laptop into a brick, or is there another way to do it?


Thanks,

John
-- 
I can check out all the porn I want to at home, but when I get to work,
that's when I'm supposed to be surfing the web and reading USENET.
-- Eric Schwartz
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Anyone used either OpenCyc or Open Mind Commonsense?

2007-09-17 Thread Richard Hayes

Dear List,

Has anyone used any open source reasoning engine?

regards,

Richard Hayes
0414 618 425

begin:vcard
fn:Richard Hayes
n:Hayes;Richard
org:Nada Marketing
adr:;;PO Box 12 ;Gordon;NSW;2072;Australia
email;internet:[EMAIL PROTECTED]
tel;work:+(61) 2 8669 9835
tel;fax:+(61) 2 9327 4908
tel;home:+(61) 2 9436 0121
tel;cell:0414 618 425
x-mozilla-html:FALSE
url:http://www.nada.com.au
version:2.1
end:vcard

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] aptitude-like program for CentOS

2007-09-17 Thread jam
On Tuesday 18 September 2007 10:00:02 [EMAIL PROTECTED] wrote:
 Is anyone aware of a convenient front-end to yum/rpm which provides similar
 interface to Debian's aptitude and can be used on CentOS 5?

 (for those who are not familiar - aptitude is an interactive full-screen
 curses-based program which provides a unified interface to manage both
 installed and non-installed but available packages).

 So far I could only find rpm -qa | grep pattern to list existing packages
 and yum search or yum provides (and yum install) to install new ones

When in Rome ...
both redhat-package
and the Applications - software management (or some such) do just what you're 
asking for (It's is there, but I've not played with CentOS for a month or 
two, and then only briefly: opinion it's much better than it used to be 
(package management))
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Anyone used either OpenCyc or Open Mind Commonsense?

2007-09-17 Thread Michael Lake

Richard Hayes wrote:

Dear List,

Has anyone used any open source reasoning engine?


Not the ones in the subject but I'm currently writing an application which will be 
using CLIPS expert system and trying to get my head around it.

http://www.ghg.net/clips/CLIPS.html

Mike
--
Michael Lake
Computational Research Support Unit
Science Faculty, UTS
Ph: 9514 2238



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] aptitude-like program for CentOS

2007-09-17 Thread Amos Shapira
On 18/09/2007, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 When in Rome ...


Certainly.

both redhat-package
 and the Applications - software management (or some such) do just what
 you're


X11 interfaced is not relevant (I access the machine through ssh to the US)
and can't find any executable file with redhat and package in its name
(using yum search... and yum provides).

asking for (It's is there, but I've not played with CentOS for a month or
 two, and then only briefly: opinion it's much better than it used to be
 (package management))


Any more pointers?

Thanks,

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Upgrading HP laptop BIOS without Windows, how?

2007-09-17 Thread Visser, Martin
I'll see if I can get answer internally. An alternative might be to see
if you can hold of one of the Windows PE or similar bootable CDs. 


Martin Visser

Technology Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

410 Concord Road
Rhodes NSW  2138
Australia 

Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com

This email (including any attachments) is intended only for the use of
the individual or entity named above and may contain information that is
confidential, proprietary or privileged. If you are not the intended
recipient, please notify HP immediately by return email and then delete
the email, destroy any printed copy and do not disclose or use the
information in it.

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Clarke
Sent: Tuesday, 18 September 2007 11:42 AM
To: slug@slug.org.au
Subject: [SLUG] Upgrading HP laptop BIOS without Windows, how?

Hi all,

I have an HP laptop (Pavilion dv5230tx) which has a very old BIOS
installed and I want to upgrade to the latest version.  According to
HP's change log, Core 2 Duo support wasn't added to the BIOS until the
version after the one I have, even though the laptop has a Core 2 Duo
processor.

I've been trying to get suspend and hibernate working, and I suspect the
old BIOS is part of the problem.  Hibernate used to work before I had
the motherboard replaced, and I'm fairly sure that the old one had a
more recent BIOS.  I've had a couple of other weird occasional problems
which I suspect are due to the BIOS (keyboard not working after boot and
mouse behaving very strangely) too.

Unfortunately HP only provide updates as a package with a Windows (not
DOS) program called WinFlash.  I've wiped Windows off the laptop, so my
only choices are to reinstall Windows (which means wiping Linux first
because HP only provide recovery discs and I don't have a spare laptop
SATA drive), or to run WinFlash with wine. I've started the program and
it does appear to run, but I haven't been game to let it flash the BIOS
yet.  Does anyone know whether it's likely to work or if it'll turn my
laptop into a brick, or is there another way to do it?


Thanks,

John
--
I can check out all the porn I want to at home, but when I get to work,
that's when I'm supposed to be surfing the web and reading USENET.
-- Eric Schwartz
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] aptitude-like program for CentOS

2007-09-17 Thread Glen Turner
Amos Shapira wrote:
 Any more pointers?

Hi Amos,

The executable James refers to is system-config-packages (it used to
be called redhat-config-packages).  The executable is provided by
the pirut package.  It is uses X11, which you can use over ssh
(see the -X and -Y flags to ssh).

I know of no curses-based package manager which uses the yum API.
Having used dselect on Ubuntu I can understand why no one bothers,
a full GUI interface is just so much more understandable.

Yum is the command-line package manager.

Cheers, Glen

-- 
 Glen Turner

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] aptitude-like program for CentOS

2007-09-17 Thread Amos Shapira
On 18/09/2007, Glen Turner [EMAIL PROTECTED] wrote:

 Amos Shapira wrote:
  Any more pointers?

 Hi Amos,

 The executable James refers to is system-config-packages (it used to
 be called redhat-config-packages).  The executable is provided by
 the pirut package.  It is uses X11, which you can use over ssh
 (see the -X and -Y flags to ssh).


Thanks. I installed it. It pulled in tons of stuff with its dependencies (46
packages, mostly related to X11 libraries or notifications daemons I don't
care about). It also requires me to enable X11 forwarding. I then turned
around and used grep/awk to find all the packages and remove them.

At least now I know where I stand in my chances to find such a tool. :(

I know of no curses-based package manager which uses the yum API.
 Having used dselect on Ubuntu I can understand why no one bothers,
 a full GUI interface is just so much more understandable.


I can understand your comment about dselect, I hated it too (and I think
it's the consensus), but aptitude is totally different and being able to
avoid X11 means:
1. faster interface over long distance.
2. avoids installing tons of X11-related stuff on a headless server
3. avoid opening possibly other holes in the system.

Yum is the command-line package manager.


Yes I know, it seems to have most of the smarts of apt-get but without the
convenience of aptitude (can any tool on CentOS remember which package was
installed automatically and mark it for removal when no longer required by
other packages? And of course there is the interactive interface).

Thanks.

--Amos
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] WiMAX 802.16 wireless

2007-09-17 Thread david
I'm being offered Wimax 802.16 as an alternative to an existing SHDSL.

The base station is on top of UTS, and my place is about 1km line of
site. (as the crow flies)

Does anyone have any knowledge of 802.16? Is there anything I should be
aware of? 

I'm slightly worried that the first rain squall will drop our
connection, although the ISP insists that wont happen. The upside is
that I will no longer be reliant on Telstra copper. Hurrah!

Sorry, I just realised this isn't really Linux related, but I know there
are some smart network folks out there, so I hope nobody minds.

David.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] aptitude-like program for CentOS

2007-09-17 Thread Glen Turner
On Tue, 2007-09-18 at 14:12 +1000, Amos Shapira wrote:

 I can understand your comment about dselect, I hated it too (and I think
 it's the consensus), but aptitude is totally different and being able to
 avoid X11 means:
 1. faster interface over long distance.
 2. avoids installing tons of X11-related stuff on a headless server
 3. avoid opening possibly other holes in the system.

I don't think you'll find there's much interest in developing such
a beast.

System administrators usually administer a whole scad of machines. They
are much more inclined to centralise authentication, use their own
repository containing meta-packages of software and configure these
using cfengine or puppet.

The aim of Systems Administration In The Large is to avoid ssh-ing into
machines.  Life's too short to issue the same command 50 times, let
alone fumble through 50 menus.

-- 
 Glen Turner

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] GanttPV?

2007-09-17 Thread Peter Hardy
Just wondering if anybody's got any opinions about GanttPV
( http://www.pureviolet.net/ganttpv/ )? I'm particularly interested in
how well this integrates with MS Project, as well as how easy it is for
Project users to switch. The article I found GanttPV through
( 
http://www.thesimpledollar.com/2006/12/01/30-essential-pieces-of-free-and-open-software-for-windows
 ) seems adamant that it's a Project killer. But I'd like to hear some other 
opinions.

-- 
Pete

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html