Re: [expert] mail from CGI scripts

2000-10-30 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 What is the proper syntax to call sendmail (or mail) with to set the From: address?

- From man sendmail:

   -f sender
  Set  the  envelope  sender  address.  This  is  the
  address where delivery problems are sent to, unless
  the message contains an Errors-To: message  header.   

   -F full_name
  Set the sender full name. This is  used  only  with
  messages that have no From: message header.

If you want to do it all on the command line, try it like this:   
sendmail -f"[EMAIL PROTECTED]" -F"[EMAIL PROTECTED]"  messagefile

Note that this assumes your message doesn't have a from header already added to
it (seems likely based on the situation you describe.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOf3IOX3IcJJ+eC/CEQL+4wCgs2R3wzk4M4Q+lNzJP693pGbk3fcAoOFV
cOkVedK4GKfmoy3vkjMI3Vs3
=ykfB
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Perl scripts won't work???

2000-10-24 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 24 Oct 2000, junkmail wrote:
 
 Hey, so I'm having a weird problem maybe someone can help me with.
 I have a simple perl script named test.cgi that generates html (ie a cgi
 script) which looks like
 
 #!/usr/bin/perl
 # hello.pl -- my first perl script!
 print "Content-type: text/html\n\n";
 print "EOF";
 HTML
 HEAD
 TITLEHello, world!/TITLE
 /HEAD
 BODY
 H1Hello, world!/H1
 /BODY
 /HTML
 EOF
 
 If I type "perl test.cgi" (minus the quotes) the perl script runs.  If I
 type "./test.cgi" I got the error "bash: ./test.cgi: No such file or
 directory"
 If I remove the #!/usr/bin/perl line from the beginning of the perl script
 and "./test.cgi" again it runs but gives a lot of file not found errors.

Have you tried invoking the script with an explicit path like
/home/person/test.cgi? What happens?

Type "which perl". It should return /usr/bin/perl. If it doesn't, you need to
point your perl script to the correct path for perl. 
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOfX1BX3IcJJ+eC/CEQKbBgCg3AMmNvtWpvNka2Q/bUOgpfZ849AAn0W4
AU01mGeprSThLOpUFYUQtuD0
=B3eS
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] ssh problems

2000-10-24 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 24 Oct 2000, Praedor Tempus wrote:
 I am having a problem.  I connected from work and
 wanted to ftp from my home box to site to download
 files to my home box.  I can get into my home
 system but I cannot get out.  If I run "ping IP"
 I get nothing.  If I try to ftp to some site, 
 nothing happens.  Looking at my /var/log/messages
 I see (altered to protect the innocent):
 
 Oct 24 10:09:26 localhost sshd[2144]: Could not reverse map address
 155.*.*.*. 
 
 This is from my ping attempt.  

This is from connecting to your box with ssh -- not from the ping attempt! I
think it indicates that your server at home could not resolve the hostname you
are connecting from.

 Is this inability to get
 out from my home box via ANY method an sshd configuration
 problem or is it an ISP problem?  I cannot even ping
 the address from which I am connected to my home box.

The problem is not an SSH problem, that's for sure. have you tried ping
www.yahoo.com? It should work, depending on your setup.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOfX0GH3IcJJ+eC/CEQIWOgCfYOfU6VvRzfpKrPrYENbspXN0eNsAnjZw
zuEDsaOAZ4WJMJ9eM9tOITYp
=8zMj
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] logrotate

2000-10-19 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 19 Oct 2000, Turgut Kalfaoglu wrote:
 
 Let's assume that you have successfully ignored the patches,
 and announcements, and ended up with a system (Mandrake 7.1)
 that has over 5 MILLION files on its /var/log/mail and /news directories.
 
 Let's also assume that when you type:
   [root@db2 mail]# rm *
 you get:
   bash: /bin/rm: Argument list too long
 
 any ideas what you can do to save your servers? :)

Use find to delete the files one at a time. This will take a while, but it'll
get the job done. Here is a sample find command that might do the trick for
/var/log/mail:

find /var/log/mail -ctime +3 -exec rm {} \;
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOe8Pun3IcJJ+eC/CEQJZBACg4OBND3URjBUZEv26Wy1Q3kCLO/oAnAjm
zCERmPkgX23ixqfe3cFeWRKM
=rm6t
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] 7.1 on 486

2000-10-19 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 19 Oct 2000, George McConnell wrote:
 
 will 7.1 not install on a 486?

I think 7.1 will only work on Pentium or better. Try Redhat, Debian, or SuSE if
you want a current linux distro that runs on a 486.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOe8j633IcJJ+eC/CEQLP6QCgrRFRHlJOSZUv7SQYxZD6jjC28y8AoP4m
VkrN3k/Orm2QHxUwyTnySkcY
=fO7+
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] syslog restarts and other wierdness

2000-10-19 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 19 Oct 2000, Mike Rambo wrote:
 the box refused to start the dhcp server daemon
 with the error that it couldn't bind to the IP address because it was
 already in use.  There is and was nothing else on the same IP address as
 the server but the only way I found to resolve that problem was to put
 the server on a different IP address.  That's a wierd one I've never
 seen before.

There was probably another computer on the subnet with the same IP address. 

 Now this morning I'm starting to get more complaints that the access
 problem has returned to some degree.  Only a few computers in the school
 can access one of the important programs.

Start by looking at what's changed since the system last worked. Did you
accidentally break something while trying to fix things yesterday? Do all
of the clients know the new address of the server? After that, start working on
network troubleshooting. Make sure your underlying communications between the
server and clients works. Once you are confident of this, look at software
specific problems like record locking. 
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOe8u9n3IcJJ+eC/CEQI4OQCgyfdSZ5PZVStjA0MWc4zkUYrsGMsAnAoe
eUaqhVeCzzFj/022U/mHeeCR
=Zwu6
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] ssh

2000-10-18 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 17 Oct 2000, you wrote:
 I have openssh-2.2.0p1-6mdk installed and the daemon running.
 If I try to ssh to my own box, "ssh -l praedor 10.0.0.5", it
 connects and asks for my password.  I enter my entirely correct
 and valid password but then get the message:
 
 "Permission denied, please try again."
 
 Connecting from school results in the same thing.  I can
 connect, no problem, with ftp.  What am I missing here?

right now, you're missing your logs. Try to connect to your server using
ssh again, and then show us the results from this command: 
grep ssh /var/log/messages
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOe294X3IcJJ+eC/CEQJoGwCfVWW1lIMkt99DSgmdbcXPBxmwVccAoIUT
Hwm4DWN+fnKGVNvVHqByjlQx
=i5DU
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] ssh

2000-10-18 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 18 Oct 2000, you wrote:
 Next question:  How does one go about doing file transfers/ftp over
 ssh?

man scp
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOe52p33IcJJ+eC/CEQKfagCg1ULnZJD09SIKtGAt0mWEKNhBfCQAoLoi
UCQZ+STPxiusIx2wHc3D1l7e
=wDEG
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] ssh

2000-10-12 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 12 Oct 2000, Richard Humphrey wrote:
 I have installed the openssh rpm from Mandrakes site. What I would like to
 know is what do i need to do to get it working properly. Is there a guide
 somewhere that can walk me through the configuration process? What do I run
 first? etc...  I have posted this to the ssh list but it doesnt generate
 much traffic?

ssh is a secured communications protocol that functions largely as a drop-in
replacement for telnet. You need the client program (ssh) to communicate to the
server program (sshd). 

The client program should work pretty much out of the box without any
additional configuration. Just connect to the server you want to work on with a
command like this:

   ssh -l username server.name

see man ssh for more details and more tricky things you can do. If ssh works,
scp will probably work, too. See man scp for more information.

The server program will require some configuration to make sure it's doing what
you want. On Mandrake Linux the configuration file is in /etc/ssh/sshd_config.
Please see man sshd for details on this configuration information because it
can get complex.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOeYCsH3IcJJ+eC/CEQIpXwCcDAGcQyHSGrjaeE92wb9tnOSqieYAoK5f
Fa6/UtfiPI4+ylII5YyPJWfX
=T9SM
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Sending linux box off to camp

2000-10-12 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 12 Oct 2000, Eric Mings wrote:
 As far as administration, I have installed ssh, webmin, proftp, and 
 vnc server. Mostly I will use ssh and webmin. I will not have the ftp 
 server or vnc server running except when I want to use them. 

What do you need webmin for? It's another thing running suid that can be
attacked. If you *must* run it, I hope you're running it with SSL so that your
conversation and password cannot be sniffed. 

I would also never use ftp. Since it passes passwords in cleartext. If your ssh
is working properly, use scp or sftp. 
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOeaIOH3IcJJ+eC/CEQJFrQCeLUOBcvLGcv8I4/krEhH1q6pqMVIAoP1M
pSkfw8jOEVtmRdBAEFsUM6FM
=Ljtu
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Special Permissions for FTP Server.

2000-10-10 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 10 Oct 2000, Daniel Baker wrote:
 I have an FTP server to configure for use by a range of clients for the
 company I work for. The foremost concern that has been expressed is that
 each customer not be able to go down to the parent directory and see the
 names of the other users. I have played with permissions and owners Etc Etc.
 Looked through the docs and not fouind anything to this effect, yet I know
 it is possible because I had it done to me long ago.

 It's running RedHat 5.1.
 
 Any Ideas or Help any body?

First:  this is a list for discussion of Mandrake Linux. 

If I had your problem running a current version of mandrake Linux, I'd look
into an ftpaccess file. man 5 ftpaccess
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOeNGY33IcJJ+eC/CEQKOHQCeIGAU0ig8PrFyoH8VbFkEcsUUZHYAoP1O
k0QNOftlEwIwEvusZr2812Tv
=DPJ9
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] No space left on device

2000-10-09 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 09 Oct 2000, Mike Bergen wrote:
 On a mandrake 7.1 system my apache error_log filled the root file system 
 up. Normally all I do is delete the error log and go on about my day. It is 
 a development server so i don't worry about errors in the apache 
 logs.(maybe now i will) When i did this this morning it went crazy.
 
 Today i get a
 
 [root@marvin /]# touch /anyfile
 touch: /anyfile: No space left on device
 [root@marvin /]#
 
 in my boot messages. but when i do a
 
 df
 /dev/sda1  2885780   1215220   1523972  44% /
 /dev/sdb3  1533776242668   1213196  17% /downloads
 /dev/sda6  1170048316916793696  29% /home
 /dev/sdb5  2656388   2257472263976  90% /usr
 

You could be running out of inodes. Try df -i. Also, I would strongly urge you
to put your logs in another filesystem than /.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOeIOcX3IcJJ+eC/CEQKWMQCgjnKBTA84c5mRBe7tYtae3bQZnzsAoKva
qg5wIb4PxlWarA8gjh74JswV
=8Jws
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



RE: [expert] No space left on device

2000-10-09 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 09 Oct 2000, Mike Bergen wrote:
 You hit the nail on the head. How do i cure this?

Each file you create, regardless of its size, uses an inode up. When a
filesystem is created by mkfs a default ratio is used to determine how many
inodes should be created. Since you are running out of inodes, you need to get
a large number of files off of the full filesystem. The size of the files is
hardly important -- just the number. You can delete the files, or move them.
Another option is to archive a lot of little files that aren't used into a tar
archive and then delete the individual small files. The archive itself will be
one bigger file.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOeIeRH3IcJJ+eC/CEQJaEACeLZp1j/FInSbAwEYqnzgZnCwFOO4AoMcM
PmJT4VaVCGpuXJlrm1tUJ2lY
=6k4w
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Cannot Telnet - Message 2

2000-10-02 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 01 Oct 2000, you wrote:
 
 Dear Support,
 
 I cannot telnet to my system. I have a rtl100a Compex card which seems to work fine
 (because I can telnet to another system on the network). If I try to telnet to this
 system from anywhere on the lan (including this system itself) I get:
 
 Trying 192.168.1.2
 Connected to sunil.javasolutions.org
 Escape character is '^]'
 Connection closed by foreign host

Check /etc/hosts.allow. For information on its format and contents, try 
man hosts_access.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdgtvX3IcJJ+eC/CEQIA4QCfa69NbyAfyajISuRVCUFmx8eeoRsAn1wt
hWuIfedXPXRZ+o/v+MBcs7Le
=fPa5
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



RE: [expert] bind8 program

2000-09-29 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 29 Sep 2000, Andrew George wrote:
 
 BIND = Berkerly Internet Naming Demon
 
 Its the first and best DNS :)

Not sure I agree with the best comment. Check out djbdns.
http://cr.yp.to/djbdns.html It divides the different components of a typical
"complete" DNS installation into various components. This makes the code
simpler and more secure. 

In a way, you could compare this like sendmail vs. postfix. Mandrake ships
postfix installed, why not djbdns?
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdSrcX3IcJJ+eC/CEQLd/gCeLJQ8RMhPJIAl3Fp6o5+aqYKwws8AoND4
gxFYDaobNOP70fBL/NRtW579
=d3+a
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Terminal for dos windows

2000-09-29 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The best free terminal program for Windows I've found is Terra Term.
http://hp.vector.co.jp/authors/VA002416/teraterm.html 

It performs a nice, solid emulation of terminals, has a history function, and
macros. It also has an SSH module -- essential in today's world where vanilla
telnet is an invitation to be cracked. 
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdS/7n3IcJJ+eC/CEQIl6QCg47RLO7pn9bcPaEdLZy+H+sPPCcUAnjHM
VTkQEfoHueboyuE9arFqEih0
=EiXJ
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Time and Date synchronization..

2000-09-29 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 29 Sep 2000, Sarang Lakare wrote:
 We have lots of 7.0 and 7.1 workstations and a Solaris RAID.. We need to
 synchronize date and time on all the machines to the RAID.. or all the
 machines including the RAID to some standard time over the internet.
 
 Whats the best way to go about it? 

ntp. I use the Mandrake rpm (xntp3-5.93-4mdk) and it works great. This is *the*
way to synchronize mulitple servers to an authoritative timesource.
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdTzyH3IcJJ+eC/CEQJEDwCfbQVpQoGydEUR9CIODlfwMaVgAiMAn0+s
7eHttY+OVgvSQ15MmTAhwwAx
=6FrS
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



[expert] Webmin and SSL

2000-09-29 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I just downloaded and installed the webmin rpm (webmin-0.80-16mdk.noarch.rpm)
and it seems to work fine on a testing basis. How do I switch it to use SSL
for communications? I have the perl SSL rpm (perl-Net_SSLeay-1.05-4mdk.i586.rpm)
installed, too. 
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdUVk33IcJJ+eC/CEQL5MwCgmLWErVK3rLydU5hbTYpplxhHqxsAnRRS
jjrqAd8/Bli5EFRSB2uDcL8q
=moRS
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Is LESS busted?

2000-09-29 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 29 Sep 2000, [EMAIL PROTECTED] wrote:
 
 I've noticed on every Linux box I have here (different versions of
 Mandrake) that using the command LESS to view the contents of a file always
 drops one line per page.  This happens via telnet, or even if I'm at the
 console.  It appears the status line at the bottom covers up text, and
 when you hit SPACE for the next screen, that line never gets displayed.  I can
 sort of see it if I use B to go back, but it's definitely weird.If you
 view a file with only one line, you see nothing!My solution has been to
 use MORE intead of LESS, but I would think someone would have caught this
 major problem before.  Might I have some config set wrong? 

Check your environment variables. See if TERM is set to correctly report what
kind of terminal you are on. The TERM variable is used by less to figure how
many lines are on your screen. If that looks fine, you should check the
environment variable LINES.

- From the less manpage:

   LINES  Sets  the  number  of  lines  on the screen.  Takes
  precedence over the number of  lines  specified  by
  the  TERM  variable.   (But if you have a windowing
  system which supports TIOCGWINSZ or  WIOCGETD,  the
  window  system's  idea  of  the  screen  size takes
  precedence over the LINES and  COLUMNS  environment
  variables.)
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdUTyH3IcJJ+eC/CEQK2+QCfTRfFa4RmIhIyGLEcaaqvfirh3TEAoIH7
JP+hBq2aa5Yw7Nys9wmoOPbK
=+uhv
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Locale problems

2000-09-29 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 28 Sep 2000, Vincent Danen wrote:
 
 Can you do me a favour?  Can you download locales and locales-en from
 cooker and install them and see if you have the same problem?  Others
 have said that upgrading to locales-2.3-9mdk have fixed the problem.
 Please try this and let me know because I cannot (no matter how hard I
 try) recreate this.

Upgrading to locales-2.3-9mdk seems to have fixed the problem! Huh?
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdUVEX3IcJJ+eC/CEQIP/ACgxZlu62B3T/eBds/wqWGrPyVojd0An2tW
pAD9Wn+GU8R5vYk707Rx3ciN
=RCVy
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



[expert] Locale problems

2000-09-26 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm having a problem with my locale setting. 

The problem developed after I installed glibc-2.1.3-16mdk. I then installed
locales-2.3-3mdk and locales-en-2.3-3mdk, but the problem persists. This is on
Mandrake 7.0.

Here is a transcript of the errors I get:

$  perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en",
LC_ALL = "en",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
$  xterm
Warning: locale not supported by C library, locale unchanged

I can't seem to get the problem to happen in anything else (yet). Any thoughts?
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdEZZn3IcJJ+eC/CEQI0LwCg8mr9ZMOTUoebnWLEQk4wcH/YJV0AoMWn
jdK5DfKsErKrXLE5s+0Hna2f
=XkPi
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



Re: [expert] Locale problems

2000-09-26 Thread Jim Holthaus

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 26 Sep 2000, you wrote:
  The problem developed after I installed glibc-2.1.3-16mdk. I then installed
  locales-2.3-3mdk and locales-en-2.3-3mdk, but the problem persists. This is on
  Mandrake 7.0.
  
 So this just happens with perl?  Have you updated to the latest perl
 from updates as well?  Can you tell me what "rpm -qa perl" and "rpm
 -qa perl-base" report?

It happens with perl and xterm!  One box has the Mandrake perl RPMS as follows:

perl-base-5.00503-10mdk 
perl-MIME-tools-4.124-1mdk 
perl-Msgcat-1.03-3mdk 
perl-IO-stringy-1.207-1mdk
perl-MD5-1.7-9mdk 
perl-MailTools-1.13-1mdk 
perl-5.00503-10mdk
perl-MIME-Base64-2.11-3mdk 
mod_perl-1.21-21mdk 

Another box (exhibiting identical problems) has perl built by the CPAN module
to run perl 5.6.0. Both systems have the same problems with perl and xterm.
Here is the transcript again.

$ perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en",
LC_ALL = "en",
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

$ xterm
Warning: locale not supported by C library, locale unchanged
- -- 
Jim Holthaus   (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.1

iQA/AwUBOdGLfX3IcJJ+eC/CEQJSKgCgu/zIrU0Tbr3Ro3xDc4sm88KvlhIAoKGn
TK9nZ90IjUGlXu/+UdKhayHA
=Fh2W
-END PGP SIGNATURE-



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.