Linux-Misc Digest #768, Volume #27                Wed, 2 May 01 19:13:05 EDT

Contents:
  Re: copy&paste and pine (Eduardo Chappa)
  Backups (Scott)
  Re: telnet delay ("Steve")
  Problem starting ELF files (Robert Mischke)
  Re: run two linuxws (Robert Heller)
  Re: run two linuxws (Dave Uhring)
  Re: hp deskjet 2200 doesn't print in RH 7.0 (Dave Uhring)
  Re: File System going bad ("Peter T. Breuer")
  Re: how to start an Okipage 4W on linux (Dave Uhring)
  Re: Quake3 + XFree86-4.0.3 + Voodoo3 = Death Slow (Charles Fultz)
  Re: how to write a backup script? ("Bubba")
  Re: What Linux DB is close to Access97? ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: Eduardo Chappa <[EMAIL PROTECTED]>
Subject: Re: copy&paste and pine
Date: Wed, 2 May 2001 15:03:38 -0700

*** The Real Bev ([EMAIL PROTECTED]) wrote in comp.os.linux.misc today:

:) On a related note:  When using pico as a standalone in an xterm, when I was
:) running slackware I could move the cursor with the mouse.  When I started
:) running SuSE 6.1 (and now 6.4), this stopped working.

Start Pico with the -m flag. That should solve your problem.

:) Moreover, 'page down' or moving one down one line at the bottom of
:) the page just moves me down half a page, which I hate.

I think this is a misfeature in Pico, which you are absolutely right
about. I think the way that the handling of pages is done in a very
strange way. Once you have a page in the screen, pressing ^V, ^Y wil take
you to the previous page, regardless of where you are in that page. I
guess you would like a feature that would take you a fixed number of lines
from where your position is. Would you like a patch that did that? It
seems easy to do.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/


------------------------------

From: Scott <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Backups
Date: Wed, 02 May 2001 17:18:03 -0500

Since I've started a dialog here, my next question is backing up.

As I stated elsewhere, I've got a duplicate HD (/dev/hdb), partitioned 
like the root FS (/dev/hda).  I can copy everything over.
(only updating based on dates, etc...) 

I could also TAR everything into one big file, onto that drive
as well. I could also gzip things up onto there, etc...
(I figure my zip drive is too small, and I'd have to break
things up into smaller files if I wanted to use it for everything)

My question is this:
What about /dev and /proc?

Those are not real files, and the cp command dies when it tries to 
read them.
Do we just ignore those directories?
Is there a switch which can tell cp (or tar for that matter) to
ignore those file entries?

What is the preferred method for handling these types of things?

-Scott Weber
[EMAIL PROTECTED]


------------------------------

From: "Steve" <[EMAIL PROTECTED]>
Subject: Re: telnet delay
Date: Wed, 2 May 2001 23:17:58 +0100

Add the name and IP address of the Windows box to /etc/hosts and try the
telnet again. Quicker now?
Steve
Lupus Yonderboy <[EMAIL PROTECTED]> wrote in message
news:9cc5us$d5sa8$[EMAIL PROTECTED]...
>
> i have Slack 7.1 installed on a box in my LAN. when i telnet to that
machine
> from a windows box, there's a long delay (about 1 or 2 mins) before the
> prompt appears. after i logged in and back out, sometimes, if i telnet
again
> after a short while, the prompt comes immediately. can somebody tell me
why?
> i've installed slack on many LANs before, but i've never come across this
> problem.
>
> thanks,
> lupus
>
>



------------------------------

From: [EMAIL PROTECTED] (Robert Mischke)
Crossposted-To: linux.redhat,linux.redhat.misc
Subject: Problem starting ELF files
Date: Wed, 02 May 2001 22:28:05 GMT

Hi,

I installed RedHat 7.1 a few days ago, and most of it is running very
well so far. Although I'm new to it, setting everything up, adding
drivers, recompiling the kernel etc. went without major problems.

But I'm stuck on this one: 

[root] /home/rm/c $ ls -ls
insgesamt 24
  16 -rwxrwxr-x    1 rm       rm          13644 Mai  2 11:09 test1
   4 -rw-rw-r--    1 rm       rm             76 Mai  2 11:09 test1.c
   4 -rw-rw-r--    1 rm       rm             18 Mai  2 10:46 test1.c~
[root] /home/rm/c $ file test1
test1: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically
linked (uses shared libs), not stripped
[root] /home/rm/c $ test1
bash: test1: command not found

It also doesn't complete the command when I type te<TAB> or something.
As this was my first "Hello World" program compiled with gcc, I
thought it may be a code problem (as I'm used to other languages), but
this problem appeared with other files as well which were installed by
the distribution. (They were shown in green, as other executables are,
and should have been runable, but weren't.) I don't remember which
they were, but I'll look for them if that's relevant. 

Any ideas? 

I heard there's some argument about gcc 2.96 (which is used in this
distribution). Could this be relevant here?

Thanks,
 Robert


------------------------------

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: run two linuxws
Date: 2 May 2001 22:46:49 GMT

  "alik blochin" <[EMAIL PROTECTED]>,
  In a message on Thu, 3 May 2001 00:40:36 +0200, wrote :

"b> Hi
"b> can i run both Mandrake 8.0 and RH7.1 on the same hdisk ?
"b> i suppose i can but two separate disks would definitly be
"b> better choice for such endevour...
"b> 
"b> the question is how do i do it?

It is all a matter of partitioning.  Here is how *I* would do it:

part name       size    Mandrake mount point    RH7.1 mount point
/dev/hda1       128Meg  /RH71                   /
/dev/hda2       128Meg  /                       /Man80
/dev/hda3       128Meg  <swap>                  <swap>
/dev/hda4       <rest of disk>  -- Extended
  /dev/hda5     1.5Gig  /RH71/usr               /usr
  /dev/hda6     1.5Gig  /usr                    /Man80/usr
  /dev/hda7     128Meg  /RH71/var               /var
  /dev/hda8     128Meg  /var                    /Man80/var
  /dev/hda9     <remainder>
                        /home                   /home

Note: the swap partition (/dev/hda3) is shared as is the /home
partition.

Note doing this with two disk is much the same:

part name       size    Mandrake mount point    RH7.1 mount point
/dev/hda1       128Meg  /RH71                   /
/dev/hda2       128Meg  <swap>                  <swap>   
/dev/hda3       1.5Gig  /RH71/usr               /usr
/dev/hda4       <rest of disk>  -- Extended
  /dev/hda5     128Meg  /RH71/var               /var
  /dev/hda6     <remainder>
                        /home                   /home
/dev/hdb1       128Meg  /                       /Man80
/dev/hdb2       1.5Gig  /usr                    /Man80/usr
/dev/hdb3       128Meg  /var                    /Man80/var
/dev/hdb4       <remainder>
                        /scratch                /scratch

You just create a separate set of partitions / file systems for the
system-specific file systems: /, /usr, and /var.  Everything else can be
shared.  Here is the partitioning on my system, which has MS-DOS 6.2 (no
longer used), Slackware 3.0 (kernel 1.2.13), and RH 5.2 (kernel 2.0.36):

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sdc2              64435   23319    37788     38%   /
/dev/sda1             336696  270144    66552     80%   /dos
/dev/sdc7            1015656  927200    35977     96%   /home
/dev/sdc8            1015656  869728    93449     90%   /home2
/dev/sdc9             805669  655617   108428     86%   /home3
/dev/sdb1              50541   11033    36898     23%   /slack30
/dev/sdb3             100134   23270    71693     25%   /slack30/var
/dev/sdb7            1020647  855280   112632     88%   /slack30/home
/dev/sdb6             553035  330792   193675     63%   /slack30/usr
/dev/sdb5             254751   14266   227327      6%   /slack30/var/spool
/dev/sdc3            1015672  862028   101164     89%   /usr
/dev/sdc5              64419   24052    37040     39%   /var
/dev/sdc6             254736   15654   225925      6%   /var/spool
  
swap is /dev/sdb2 and /dev/sdc1 is a bad partition. /dev/sdb4 and 
/dev/sdc4 are extended partitions.

"b> 
"b> 
"b> 
"b> 
"b> 
"b>                                                                                    
 






   
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: run two linuxws
Date: Wed, 2 May 2001 17:32:35 -0500

alik blochin wrote:

> Hi
> can i run both Mandrake 8.0 and RH7.1 on the same hdisk ?
> i suppose i can but two separate disks would definitly be
> better choice for such endevour...
> 
> the question is how do i do it?

Just put them on separate partitions.  They can share a swap partition.  
Add the extra linux to lilo during the install of the second version.  
Watch out for how many extended partitions you use.  IIRC Mandrake doesn't 
have the mknod command and /dev/hdaX only goes up to /dev/hda16.  Just one 
more reason I dumped Mandrake and installed RedHat.


------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: hp deskjet 2200 doesn't print in RH 7.0
Date: Wed, 2 May 2001 17:36:37 -0500

Yianni Vidalis wrote:

> Hi, I hope someone can help me,
> 
> I recently bought a hp Deskjet 2200 and I am trying to install it under
> red hat linux 7.0 without success. Has anyone got any solutions?
> 
> TIA
> 
> Yianni.
> 
> 
> 

Not in the database:

http://www.linuxprinting.org/printer_list.cgi?make=HP

You might find something at HP's web site.
Good luck with it.


------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help,alt.linux.slakware
Subject: Re: File System going bad
Date: Thu, 3 May 2001 00:28:57 +0200

In comp.os.linux.setup Scott <[EMAIL PROTECTED]> wrote:
> I have re-booted a few weeks after a fix, just to see if it's
> all still ok, and it is (again, forcing an fsck).

> Suddenly, without any warning, a reboot will give me errors,
> and force me to do an fsck and e2fsck.  At that point it ALWAYS
> finds problems.  After they are fixed, the cycle starts over.

bad memory, bad cables, or bad disk. 

> If I knew how to track it, it might help.  For example, if an 

What's the problem? Start with a working computer and swap in parts of
yours until it too starts acting up. When it does, you'll have found
the faulty part. Only problem is: you've forgotten to develop a test
procedure for your fault.

> inode is bad, how can I find out what file owns that inode?

man debugfs.

> That may tell me who was trying to mess with it.

No no no. You donna unnerstan. This is a hardware problem. Software
does not (practically cannot) mess with inodes.

> Anyway, I discovered I had old 72 pin sims for memory, so I replaced

!!! Oh, opened the case have we? Careful, that might invalidate your
warranty!

> them with a newer SDRAM.  I also, added a second HD, and partitoned
> it just like the first. The IDE cable go re-seated in the process 

Good ideas, but you are going about things the wrong way if you want
to _identify_ the fault! Apparently you don't.

> as well. I mounted HD fans on both drives, then I backed-up everything 
> from HDA to HDB (that I could copy, /dev and /proc couldn't copy), 
> and plan to make a script to do that every few days.  I did this 
> because I can't fit everything on my ZIP disk.

And what is your test to identify if the fault is present? It would
have been time better spent working on that! Then it would have been a
matter of minutes afterwards to check to see what part triggers it.

Peter

------------------------------

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: how to start an Okipage 4W on linux
Date: Wed, 2 May 2001 17:46:46 -0500

Sten Ahlberg wrote:

> Has someone out there solved the problem of making Linux recognise an
> OkiPage 4W.
> The printer works perfectly in windows on the same machine, Win98, Pentium
> II etc etc
> In a HOWTO on printing it is noted as questionable possible but not
> explained how to make it work.
> In my Red Hat Linux 6.1 there is even a filter for Oki4w, but again no
> explanation for HOWTO.
> It's obviously not a hardware problem but some rounabout way of printing
> converted files.
> Sten Ahlberg
> 
> 
> 
> 

http://www.linuxprinting.org/printer_list.cgi?make=Okidata

BTW, if you read the Printing - HOWTO you should be aware that whether a 
printer (or any other device for that matter) works in windows or not is 
completely irrelevant except insofar as the printer actually is not dead.  
The printer manufacturer supplies device drivers for Windoze and not for 
Linux or any form of Unix.  And if you choose to purchase a printer from 
such a manufacturer, you are pretty much on your own and have contributed 
further to the lack of support for Unix printing by such manufacturers.


------------------------------

From: Charles Fultz <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware,3dfx.glide.linux,alt.games.quake3
Subject: Re: Quake3 + XFree86-4.0.3 + Voodoo3 = Death Slow
Date: 02 May 2001 17:47:15 -0500

Philip Willoughby <[EMAIL PROTECTED]> writes:

> Today, Charles Fultz wrote:

> >Here is the output of glxinfo:
> >display: :0.0  screen:0
> >direct rendering: No
> 
>                    ^^
> that means it is using software GL... Chack the kernel module is loaded and
> that DRI is enabled in your XF86Config, and that you have read and write
> access in the DRI mode command.

Here is the output from dmesg concering DRM:
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 322M
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20000928 on minor 63

I don't have any AGP cards, so the complaint from agpgart should be
fine.  Is this good enough for the kernel level?

Also, when I start X here is the output concerning DRI/DRM:
(==) TDFX(0): Write-combining range (0xf8000000,0x2000000)
(II) TDFX(0): Textures Memory 7.93 MB
(0): [drm] created "tdfx" driver at busid "PCI:0:17:0"
(0): [drm] added 4096 byte SAREA at 0xc4971000
(0): [drm] mapped SAREA 0xc4971000 to 0x40014000
(0): [drm] framebuffer handle = 0xf8000000
(0): [drm] added 1 reserved context for kernel
(II) TDFX(0): [drm] Registers = 0xfa000000
(II) TDFX(0): visual configs initialized
(II) TDFX(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Indirect CPU to Screen color expansion
        Solid Lines
        Dashed Lines
        Offscreen Pixmaps
        Driver provided NonTEGlyphRenderer replacement
        Setting up tile and stipple cache:
                10 128x128 slots
(==) TDFX(0): Backing store disabled
(==) TDFX(0): Silken mouse enabled
(0): X context handle = 0x00000001
(0): [drm] installed DRM signal handler
(0): [DRI] installation complete
(II) TDFX(0): direct rendering enabled

Here is the DRI section from my XF86Config:
Section "DRI"
    Mode  0666
EndSection

And here is the output of me running quake3 with the command:
/usr/local/games/quake3/quake3.x86 +set r_smp 1

Q3 1.27g linux-i386 Dec 18 2000
===== FS_Startup =====
Current search path:
/home/fultz/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3

======================
3818 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Joystick is not active.
===== Client Initialization =====
===== Initializing Renderer ====
===============================
===== Client Initialization Complete =====
===== R_Init =====
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.0
Xlib:  extension "XFree86-DGA" missing on display ":0.0".
Failed to detect XF86DGA Mouse
XFree86-VidModeExtension Activated at 1280x1024
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...not using GL_ARB_multitexture, < 2 texture units
...using GL_EXT_compiled_vertex_array
Trying SMP acceleration...
...failed.

GL_VENDOR: VA Linux Systems, Inc.
GL_RENDERER: Mesa GLX Indirect
GL_VERSION: 1.2 Mesa 3.4
GL_EXTENSIONS: GL_ARB_multitexture GL_ARB_texture_cube_map GL_ARB_tranpose_matri
x GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_o
p GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compi
led_vertex_array GL_EXT_histogram GL_EXT_packed_pixels GL_EXT_paletted_texture G
L_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_shared
_texture_palette GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_env_add GL_
EXT_texture_env_combine GL_EXT_texture_object GL_EXT_texture_lod_bias GL_EXT_ver
tex_array GL_HP_occlusion_test GL_INGR_blend_func_separate GL_MESA_window_pos GL
_MESA_resize_buffers GL_NV_texgen_reflection GL_PGI_misc_hints GL_SGI_color_matr
ix GL_SGI_color_table GL_SGIS_pixel_texture GL_SGIS_texture_edge_clamp GL_SGIX_p
ixel_texture
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 0

PIXELFORMAT: color(16-bits) Z(16-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: software w/ 0 overbright bits
CPU: 
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: disabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/gfx.shader'
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
===== finished R_Init =====

======= sound initialization =======
====================================
===== Sound Info =====
sound system is muted
    1 stereo
32768 samples
   16 samplebits
    1 submission_chunk
22050 speed
0x44b55000 dma buffer
No background file.
======================
Sound memory manager started
Loading vm file vm/ui.qvm.
VM file ui compiled to 583332 bytes of code
ui loaded in 1945504 bytes on the hunk
30 arenas parsed
32 bots parsed
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: foley.fultzs.net
Alias: foley
IP: 192.168.1.13
RE_Shutdown( 1 )
Hunk_Clear: reset the hunk ok

If you need any more information please let me know.
Thanks SO much for  helping me.

Charles Fultz

------------------------------

From: "Bubba" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.security
Subject: Re: how to write a backup script?
Date: Wed, 02 May 2001 23:39:11 +0000

In article <[EMAIL PROTECTED]>, "David
Christoffersen" <[EMAIL PROTECTED]> wrote:

> In article <9c2p09$[EMAIL PROTECTED]>, "percy"
> <[EMAIL PROTECTED]> wrote:
> 
>> hi,
>>    who can help me to write a script to backup the system?
>>   now , i can use tar and gzip to backup a directory. i need use ftp to
>>   send
>> to another host. but  i don't know how to use script to use ftp command
>> to send to another host. please help me!
>> 
>>  Percy
>> 
>> --
>> [EMAIL PROTECTED]
> 
> I use ncftp for backup.  I run the tar and gziping on one machine, and 
> the ncftp script on the other machine.  not hard to setup at all.
> 
> David


Better than that (well more secure) consider using scp or rsync(with ssh)....

(although to automate scp you will probably need to write an expect
script.

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: What Linux DB is close to Access97?
Date: Wed, 02 May 2001 22:58:51 GMT

"Bill Weissborn" <[EMAIL PROTECTED]> writes:
> This sounds like what I am looking for, for one project.  Being a total
> newbie with this stuff, can you point me to where I can find the MyODBC?
> 
> Also, my goal in asking about an Access replacement is I would love to move
> off of Windows but use Access quite a bit to build DBs for others to USE.
> (For me, it has been the fastest system I have seen to create "one of" type
> programs).
> 
> So, given that, does the Adabas D still fit the bill?

What you would probably rather look for, now, is SAPDB, as Software AG
sold licensing rights for Adabas-D to SAP AG, who have recently
released it as SAPDB under the GPL.  <http://www.sapdb.org/>

A reasonable solution for now might be to have the database reside on
the Linux side of the fence, where you might use MySQL or PostgreSQL
or such, and use Access just as the front end.
-- 
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
http://vip.hyperusa.com/~cbbrowne/resume.html
Rules of the Evil Overlord #91.  "I will not ignore the messenger that
stumbles  in  exhausted  and  obviously  agitated  until  my  personal
grooming or  current entertainment is  finished. It might  actually be
important." <http://www.eviloverlord.com/>

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to