xemacs mousewheel problem

2002-10-10 Thread Bryan Simmons
Does anyone know how to define a button? I try to scroll my mousewheel up or down to scroll the page, but it beeps and says: button5 not defined (for down) or button4 not defined (for up). I set button4 and button5 to scroll-up and scroll-down and then the mousewheel works, but it never saves this

Re: Bash Scripts

2002-10-10 Thread Don Petrowski
Here is an example of a simple backup script I use to backup some files and copy them to another machine to be put on tape. echo $HOSTNAME > /var/log/backup.log echo "Backup Started: " >> /var/log/backup.log date >> /var/log/backup.log tar --create --verbose --bzip2 --file /root/tuxtracker.tar.bz

Re: Bash Scripts

2002-10-10 Thread Don Petrowski
1. the first value passed from the command line would be referenced as $1 the second as $2 2. run command as part of an if statement. if the command execute successfully the error result will be 0 and follow the then branch other wise the else. On Thu, 2002-10-10 at 15:34, Paul Kraus wrote: >

Re: Bash Scripts

2002-10-10 Thread Ray Olszewski
At 04:34 PM 10/10/02 -0400, Paul Kraus wrote: >[...] >A couple of easy questions I can't seem to find answers to. Assuming we are talking about standard shell scripts (in practice, ones that run using bash) ... >1. How can I pass in parameters from the command line to use as >variables. >

Bash Scripts

2002-10-10 Thread Paul Kraus
I have a script that mounts an samba shared drive, copies the contents if newer to the Linux box, and then umounts the share. Sample script --- mount -t smbfs -o username=x,password=y //machine/share /mnt/network cp --recursive --preserve --verbose --parents --update /mnt/network/* /backup/machin

RE: Disk Image

2002-10-10 Thread Paul Kraus
Answers below 1. "Drive" is ambiguous. In the Linux world, a "drive" is a physical device (e.g., IDE primary, accessed as /dev/hda). A drive contains partitions that in turn contain filesystems. Windows people seem to use "drive" to refer both to a physical device and to a filesystem i

RE: Disk Image

2002-10-10 Thread Ray Olszewski
At 04:03 PM 10/10/02 -0400, Paul Kraus wrote: >I think you are seeing this backwards. I want to create the image of a >hard drive that is on the network to my linux box. > >Sample > >Micro$oft Machine - Redhat Machine > >Create an image of the Microsoft machines "c" drive and store that image >

RE: Disk Image

2002-10-10 Thread Brian P. Bilbrey
On Thu, 2002-10-10 at 16:03, Paul Kraus wrote: > I think you are seeing this backwards. I want to create the image of a > hard drive that is on the network to my linux box. So, can you envision a way to "reverse" the idea he gave you to solve your problem? * * * It's non-trivial in the

RE: Disk Image

2002-10-10 Thread Paul Kraus
I think you are seeing this backwards. I want to create the image of a hard drive that is on the network to my linux box. Sample Micro$oft Machine - Redhat Machine Create an image of the Microsoft machines "c" drive and store that image on the redhat machine. -Original Message- From

Re: Disk Image

2002-10-10 Thread Don Petrowski
You can use the dd comand: dd if={hard drive} of={filename} dd if=/dev/hda of=disk1.img - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Disk Image

2002-10-10 Thread Paul Kraus
Is there a way to create an image of a hard drive that is on our network and save that image to a directory on my Linux server? For instance in windows I would do this with ghost program. Paul Kraus Network Administrator PEL Supply Company 216.267.5775 Voice 216-267-6176 Fax www.pelsupply.com -

Re: Getting the MAC address of a client

2002-10-10 Thread Ray Olszewski
At 12:56 PM 10/10/02 -0500, Lee Chin wrote: >Hello, >When my server application accepts a client socket connection, what is the >easiest way to obtain the MAC address of the peer? I tried listing the >ARP table but I did not see an entry for the IP address and MAC address of >the client. >I wa

Re: Getting the MAC address of a client

2002-10-10 Thread Glynn Clements
Lee Chin wrote: > When my server application accepts a client socket connection, what is > the easiest way to obtain the MAC address of the peer? I tried listing > the ARP table but I did not see an entry for the IP address and MAC > address of the client. > > I want to avoid having to ping the

Getting the MAC address of a client

2002-10-10 Thread Lee Chin
Hello, When my server application accepts a client socket connection, what is the easiest way to obtain the MAC address of the peer? I tried listing the ARP table but I did not see an entry for the IP address and MAC address of the client. I want to avoid having to ping the client to get the AR

Re: Synching directories at night

2002-10-10 Thread Jim Reimer
man cp check out the -u option -jdr- Paul Kraus wrote: > I want to be able to have my Linux server at night sych some folders > that are on some windows machines. I want it to be able to have exact > copies that are current as of the previous day. Is there a way to do > this so that only change

Synching directories at night

2002-10-10 Thread Paul Kraus
I want to be able to have my Linux server at night sych some folders that are on some windows machines. I want it to be able to have exact copies that are current as of the previous day. Is there a way to do this so that only changed files are updated? I understand samba and cron. I can copy the f

Further Problem with Brand New IDE 180gb Drive

2002-10-10 Thread Paul Kraus
I copied a directory to the new drive and received the same messages in /var/log/messages that I previously posted. I then when and tried to rm -rf * to the directory and received this kernel panic. EXT -fs panic (device ide2(33,1)):load_block_bitmap:block.group >= groups_count_block_group = 1310

Re: Setting up CD-RW

2002-10-10 Thread Andrew Langdon-Davies
On Thursday 10 October 2002 03:41, azie wrote: > Hello, > > I just bought a CD-RW and I can't seems to make it work with Linux. I'm > running RH7.3 dualboot with XP Home Edition. As for the CD-RW, it's a TDK > Cyclone with E-IDE/ATAPI Interface connected to secondary master (hdc). > > Everytime I