Linux-Misc Digest #730, Volume #19 Sat, 3 Apr 99 22:13:09 EST
Contents:
Script to fix redhat 5.x installation (Rick Richardson)
Re: [Help] PPP worked but now fails [modem q] ("Andy Lyttle")
Re: Proposal: "Linux 2000 Platform" (Christopher B. Browne)
Re: AARGH!!! (Colin Smith)
Linux as a server ("David L. Courtney")
Re: Linux loading problems...help (Gary Momarison)
Re: How do I monitor my modem (Gary Momarison)
Re: RPM Catch-22s? (Gary Momarison)
dlfcn.h (Artemis3)
Re: Best Free X Windows Server for Win95/98 Box on Samba/Linux Network? (yan seiner)
Re: Proposal: "Linux 2000 Platform" (Jeremy Crabtree)
----------------------------------------------------------------------------
From: Rick Richardson <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc
Subject: Script to fix redhat 5.x installation
Date: Sat, 03 Apr 1999 19:35:15 -0600
This is a multi-part message in MIME format.
==============F553CAB47B14B6C7DE30F515
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Here's a shell script that will fix many of the
warts in your typical redhat installation.
--
Rick Richardson [EMAIL PROTECTED] http://RickRichardson.freeservers.com/
==============F553CAB47B14B6C7DE30F515
Content-Type: text/plain; charset=us-ascii; name="fixrh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="fixrh"
#!/bin/ksh
#
# fixrh <what>
#
# Fix sundry things that RedHat, despite prodding (sigh) for
# several releases now, still hasn't made easy to fix or change.
#
# I really don't understand why they can't put a few checkboxes
# up to let people select their preferences.
#
# Other things that need fixing that this script doesn't do:
# 100dpi fonts need to come before 75dpi fonts in /etc/X11/XF86Config.
# The "maximize" button should maximize tall on first click, tall
# and wide on second click, and never extend under the taskbar.
# The Control Panel needs the setuid bit turned on for the system owner.
#
# [EMAIL PROTECTED]
# released to the public domain
#
#
# Set variables concerned with keyboard mapping
SYSKEY=/etc/sysconfig/keyboard
. $SYSKEY
#
# With RH 5.2 and later, this is not the full path name anymore.
# locate the full pathname.
#
if [ ! -f "$KEYTABLE.gz" ]; then
KEYMAPS=/usr/lib/kbd/keymaps
KEYTABLE=`basename "$KEYTABLE"`
KEYTABLE=`find $KEYMAPS -name "$KEYTABLE.gz" | sed 's/\.gz$//'`
#
# An old use of fixrh could have left us dangling
# with KEYTABLE=local-us.map, if thats the case, try again
#
if [ ! -f "$KEYTABLE.gz" ]; then
. $SYSKEY
KEYTABLE=`echo "$KEYTABLE" | sed 's/^local-//'`
fi
KEYTABLE=`basename "$KEYTABLE"`
KEYTABLE=`find $KEYMAPS -name "$KEYTABLE.gz" | sed 's/\.gz$//'`
#
# If we still haven't located the keytable, we are screwed
#
if [ ! -f "$KEYTABLE.gz" ]; then
KEYTABLE=""
fi
fi
KEYDIR=`dirname $KEYTABLE`
case "$KEYTABLE" in
*local-*) NKEYTABLE=`basename $KEYTABLE`;;
*) NKEYTABLE=local-`basename $KEYTABLE`;;
esac
TKEYTABLE=/tmp/$NKEYTABLE
LKEYTABLE=$KEYDIR/$NKEYTABLE
#
# Now some shell functions to fix each little wart...
#
fix-CapsLock() {
#
# IBM keyboards are on drugs. Put Control key back where it belongs.
# But leave the original control key, too, to keep me sane when I
# just got done typing on some Win95 keyboard and now come back to
# my keyboard with fingers temporarily trained the wrong way.
#
cat <<-EOF >> $HOME/.Xmodmap
! Fix to make CapsLock just another control key
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Control_L
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L
! End Fix to make CapsLock just another control key
EOF
if [ "$KEYTABLE" = "" ]; then
echo "Cannot figure out how to fix console keytable"
return
fi
# Fix the mapping for the console, too
gunzip < $KEYTABLE.gz > $TKEYTABLE
ed <<-EOF $TKEYTABLE 2> /dev/null
g/Caps_Lock/s//Control/
w
q
EOF
gzip -f $TKEYTABLE
echo -n "Root "
su -c "cp $TKEYTABLE.gz $KEYDIR; echo KEYTABLE=$LKEYTABLE >> $SYSKEY"
echo "fix-CapsLock: You should probably reboot now"
}
fix-Focus() {
#
# Microsoft or whoever invented click to type is on drugs
#
echo "define(\`FOCUS_FOLLOWS_POINTER')" >> $HOME/.fvwm2rc.options
echo "fix-Focus: You should probably restart fvwm95 now"
}
fix-Raise() {
#
# Autoraise is a bastard, too
#
echo "undefine(\`USE_AUTO_RAISE')" >> $HOME/.fvwm2rc.options
echo "fix-Raise: You should probably restart fvwm95 now"
}
fix-Maximize() {
#
# Redhat 5.0 bug. This fixes maximize tall to 95%
# (which still isn't perfect). Maximize tall and wide is
# still broken.
#
echo "define(\`FVWMTASKBAR')" >> $HOME/.fvwm2rc.options
echo "fix-Maximize: You should probably restart fvwm95 now"
}
fix-ksh() {
#
# Redhats /etc/profile is broken. Override the broken parts
#
cat <<-EOF > /tmp/fixksh.sh
if [ "" != "\$KSH_VERSION" ]; then
#
# The stock RedHat /etc/profile has been broken for
# a long time for pd-ksh users. This fixes it. If
# bash 2.x was able to really run Korn Shell functions
# without core dumping, pd-ksh would be history. Until
# then, bash cannot be considered a replacement shell.
#
PS1='$ '
fi
EOF
chmod 755 /tmp/fixksh.sh
echo -n "Root "
su -c "cp /tmp/fixksh.sh /etc/profile.d/"
}
fix-Hosts() {
#
# This is actually something that isn't broken, just needs a better
# way for mere mortals to set it. Get list of remote hosts from user
# and add the hosts to the menu system.
#
if [ "$1" = "" ]; then
echo
echo "Enter comma separated list of hosts for your menu:"
echo -n "> "
read hosts
else
hosts="$1"
fi
cat <<-EOF >> $HOME/.fvwm2rc.options
define(\`USER_HOST_LIST',\`($hosts)')
EOF
cat <<-EOF >> $HOME/.Xdefaults
# Fix remote xterms to have a scroll bar
remotexterm*scrollBar: true
# End Fix remote xterms to have a scroll bar
EOF
echo "fix-Hosts: You should probably restart your X server now"
}
fix-Backspace() {
#
# Linus is on drugs. Make Backspace key work for 99% of the world
#
cat <<-EOF >> $HOME/.Xdefaults
# Fix backspace key
*ttyModes: erase ^h
# End Fix backspace key
EOF
if [ "$KEYTABLE" = "" ]; then
echo "Cannot figure out how to fix console keytable"
return
fi
# Fix the mapping for the console, too
gunzip < $KEYTABLE.gz > $TKEYTABLE
ed <<-EOF $TKEYTABLE 2> /dev/null
g/^keycode 14/s/Delete/BackSpace/g
w
q
EOF
gzip -f $TKEYTABLE
echo -n "Root "
su -c "cp $TKEYTABLE.gz $KEYDIR; echo KEYTABLE=$LKEYTABLE >> $SYSKEY"
# need an stty erase done in /etc/profile now...
cat <<-EOF > /tmp/stty.sh
test -t 0 && stty erase ^h
EOF
chmod 755 /tmp/stty.sh
echo -n "Root "
su -c "cp /tmp/stty.sh /etc/profile.d/"
echo "fix-Backspace: You should probably reboot now"
}
fix-Font() {
#
# The default xterm font is too small for 1280x1024 display
# Change it to 7x14, which still gets you two xterms side by side.
#
cat <<-EOF >> $HOME/.Xdefaults
# Fix font for 1280x1024 displays
nxterm*Font: 7x14
xterm*Font: 7x14
remotexterm*Font: 7x14
# End Fix font for 1280x1024 displays
EOF
echo "fix-Font: You should probably restart your X server now"
}
fix-Background() {
#
# White letters on a black background went out in the 70s
# when display monitor power supply technology was improved
#
# color choices really ought to be selectable from a palatte
# of light colors.
#
cat <<-EOF >> $HOME/.Xdefaults
# Fix background so my eyes don't burn
xterm*background: antique white
xterm*foreground: black
nxterm*background: antique white
nxterm*foreground: black
remotexterm*background: wheat
remotexterm*foreground: black
*VT100*colorBD: black
*VT100*colorUL: blue
# End Fix background so my eyes don't burn
EOF
echo "fix-Background: You should probably restart your X server now"
}
#
# This really should be a menu.... Its RedHat's purpose in
# being to *make* this stuff easy to config, so I leave it
# up to them.
#
case "$1" in
CapsLock) fix-CapsLock;;
Backspace) fix-Backspace;;
Font) fix-Font;;
Background) fix-Background;;
Focus) fix-Focus;;
Raise) fix-Raise;;
Maximize) fix-Maximize;;
Hosts) fix-Hosts "$2";;
ksh) fix-ksh;;
rick)
# Fix everything the way rick likes it
fix-CapsLock
fix-Backspace
fix-Font
fix-Background
fix-Focus
fix-Raise
fix-Maximize
fix-Hosts "$2"
fix-ksh
;;
*)
cat <<-EOF
$0 CapsLock Changes CapsLock to a control key
$0 Backspace Makes Backspace emit ^h like God intended
$0 Font Sets 7x14 xterm font for 1280x1024 displays
$0 Background Sets xterm to light background, black text
$0 Focus Changes focus policy to follow pointer
$0 Raise Turns off auto riase of windows
$0 Maximize Fixes RedHat maximize bug
$0 Hosts Lets you enter list of remote hosts for menu
$0 ksh Fixes bug in /etc/profile for ksh users.
$0 rick Do all of the above
EOF
;;
esac
==============F553CAB47B14B6C7DE30F515==
------------------------------
From: "Andy Lyttle" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.help,comp.os.linux.hardware
Subject: Re: [Help] PPP worked but now fails [modem q]
Date: Sat, 03 Apr 1999 18:39:20 -0700
In article <[EMAIL PROTECTED]> , Matt <[EMAIL PROTECTED]> wrote:
> Apr 3 08:15:27 compuserve chat[200]: ATDT08450801000^M^M
> Apr 3 08:15:27 compuserve chat[200]: CONNECT -- got it
> Apr 3 08:15:27 compuserve chat[200]: send (^M)
> Apr 3 08:15:27 compuserve chat[200]: expect (Host Name:)
> Apr 3 08:15:27 compuserve chat[200]: CSI -- got it
> Apr 3 08:16:12 compuserve chat[200]: User Id
> Apr 3 08:16:12 compuserve chat[200]: <user id> -- got it
>
> etc etc....
>
> Apr 3 08:15:27 compuserve chat[200]: ATDT08450801000^M^M
> Apr 3 08:15:27 compuserve chat[200]: CONNECT -- got it
> Apr 3 08:15:27 compuserve chat[200]: send (^M)
> Apr 3 08:15:27 compuserve chat[200]: expect (Host Name:)
> Apr 3 08:15:27 compuserve chat[200]: 49333/ARQ^M
> Apr 3 08:16:12 compuserve chat[200]: ^\@`^N^\^\GG^\G^N^\@
> Apr 3 08:16:12 compuserve pppd[197]: Connect script failed
> Apr 3 08:16:12 compuserve pppd[197]: Exit.
> Apr 3 08:16:12 compuserve chat[200]: alarm
> Apr 3 08:16:12 compuserve chat[200]: Failed
> Apr 3 08:17:04 compuserve kernel: PPP: ppp line discipline successfully
> unregistered
Same modem on both boxen? Same port speed? IRQ settings check out? Looks
like line noise or something similar... Try swapping cables?
- Andy Lyttle
[EMAIL PROTECTED]
http://www.bigfoot.com/~phroggy/
------------------------------
From: [EMAIL PROTECTED] (Christopher B. Browne)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.linux.development.system
Subject: Re: Proposal: "Linux 2000 Platform"
Reply-To: [EMAIL PROTECTED]
Date: Sun, 04 Apr 1999 01:39:21 GMT
On 4 Apr 1999 00:40:15 GMT, Jeremy Crabtree <[EMAIL PROTECTED]> posted:
>Christopher B. Browne allegedly wrote:
>>If DISPLAY is set appropriately, it can get at Netscape from
>>anywhere...
>
>Okay...I was really hoping for a way to past from, say,
>tty1 (an actual console, not an XTerm) to someplace in
>X.
Sure thing. If, in the shell on the console, you have DISPLAY set
appropriately, the script will find an existant Netscape instance on
that display, and shove the URL at it.
Set DISPLAY, and it works.
I headed over to a virtual console on godel (e.g. - *NO* X running on
godel), and did the following:
% export DISPLAY=dantzig:0.0
% Netscape http://www.hex.net
The Netscape session presently displaying on dantzig (which happens to
be running remoted from godel, but not connected in any way other than
through environment variables to the virtual console) just jumped to
www.hex.net.
>>>(I use X and multiple text consoles a lot, so being able to send
>>> stuff from a console to X would be incredibly useful)
>>
>>Rumor has it that there's some sort of regex matcher for RXVT that can
>>allow the gentle user to "somehow click" on a URL on screen, have RXVT
>>"macro" determine what portion is URL, and then do something like my
>>script above...
>>
>>I've never beena ble to figure it out.
>
>Again, I was hoping for something that would work on a regular
>console, and paste into X...a pipe dream, I know, but still...
See above. I think I'm doing your "pipe dream," unless I'm misreading
what you're looking for.
>[SNIP, starting chimera and such...]
>
>>>>Not rocket science.
>>>
>>>No...but it still seems to go againt the KISS principle.
>>
>>I disagree. It adds substantial power with a few simple lines of
>>code. It may appear less-than-approachable to the "completely
>>computer naive," but it's certainly not nasty complex stuff.
>
>I'll concede and just agree here.
It adds a *little* complexity, and gains a *lot* of power. For those
whose heads explode with even the slightest bit of complexity, it's
doubtless far too much.
>[SNIP, about ZSH...my Slack install doesn't have ZSH :(...must've missed
> it]
Take a look for it; it's been my favorite shell since, um, consulting
assignment at Cominco in 1994.
Zsh is sort of like the "Gnu Emacs" of shells; it contains pretty much
the wildest features ever implemented in any shell. Not small, but
quite worthwhile.
The way that it interactively does argument expansion is something
that you have to see in order to believe...
It reduces the number of accidental "rm... oops!" instances
considerably; I seldom type in a complete filename, but rather start
typing, and tab- to tab-complete it. No spelling errors there.
Better still, if I want to delete a *bunch* of files based on a regex,
I'll type the expression, press "tab," and watch it expand out to the
complete list of filenames. Supposing the list looks right, it's time
to press enter.
If, instead, 300 unexpected filenames pop up onscreen, this suggests
that Maybe I Did Something Wrong. Since I haven't hit "enter" yet,
the data is still OK...
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/lsf.html>
[EMAIL PROTECTED] - "What have you contributed to free software today?..."
------------------------------
From: [EMAIL PROTECTED] (Colin Smith)
Subject: Re: AARGH!!!
Date: 4 Apr 1999 01:56:54 GMT
On Sun, 14 Mar 1999 23:03:29 GMT,
Karl Bengtsson <[EMAIL PROTECTED]> wrote:
>God damn it!
>I just (by mistake) deleted ALL of my schoolwork for the last FIVE YEARS!!!
>And together with it, A LOT of other important information... I will NEVER
>EVER give Linux access to my windows drives again!
Oh, right, Linux just went and deleted everything, using it's own initiative?
Nothing to do with you at all?
>
>This is the story:
>Linux has somehow been messed up bad. I get the (admittedly stupid) idea
>that "hey, just like windows, format and reinstall!"
Umm.... Nope. Linux isn't just like Windows. I've yet to see a problem
under Linux that would require a re-format and re-install.
>So what do I do? I try to remove as much info as possible from the
>filesystem, and by mistake end up deleting some things from /mnt/ as well!
Would that be "rm -rf *" ?
>So now all my work is lost...
>
>I NEED to get a backup device,
Well, now there's a thought.
>
>Regards,
>
>One Sad Loser
>a.k.a. Karl
--
|Colin Smith: [EMAIL PROTECTED] | Windows 2000: |
|Linux: Delivers on the promises Microsoft make. | The Zeppelin of |
| http://www.linux.org/ | operating systems.|
------------------------------
From: "David L. Courtney" <[EMAIL PROTECTED]>
Subject: Linux as a server
Date: Sun, 04 Apr 1999 02:02:30 GMT
This may be a silly question, but here goes: I just read at linux.org
that Linux can perform as a "netware/NCP" server OR as a "native
windows/SMB" server. Does this mean that my win95 workstations could
be used with Linux installed on the server, just like they are with
Netware 3.x/4.x and "MS client for Netware (or Microsoft) networks?
Comments appreciated.
David C.
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: Linux loading problems...help
Date: 03 Apr 1999 19:08:59 -0700
Edward Jones <[EMAIL PROTECTED]> writes:
> I have been trying to load RedHat 5.2 and it keeps rebooting my system
> in the middle of copying the files to the hard drive. It started out by
> rebooting during formating and installation of ext2 filesystem. The hard
> drive formats and works fine in DOS, I would ask RedHat but they
> misprinted my reg # on the case so I'm waiting for the mess to get
> fixed. The hard drive is a Fujitsu mpc3043at 4.3Gig. If anyone has any
> ideas I would appreciate it.
Sure sounds like a hardware problem. There's some troubleshooting ideas
at http://www.aa.net/~swear/pedia/troubleshooting.html
I suppose there is some very small chance it could be something like a
bad CD giving you bad software. Can you borrow another CD from someone?
--
Look for Linux info at http://www.dejanews.com/home_ps.shtml and in
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: How do I monitor my modem
Date: 03 Apr 1999 19:12:23 -0700
"Stephen Thomas" <[EMAIL PROTECTED]> writes:
> I am using diald to dial up a ppp account with my ISP. I would like to
> monitor the modem connection rate, time connected, bytes sent, bytes
> received, etc. Is there a utility to do this?
See "pload" and other stuff at
http://www.aa.net/~swear/pedia/networking.html#monitoring
and you might find something for that in
http://www.aa.net/~swear/pedia/ppp.html
--
Look for Linux info at http://www.dejanews.com/home_ps.shtml and in
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: RPM Catch-22s?
Date: 03 Apr 1999 19:22:58 -0700
Jon McLin <[EMAIL PROTECTED]> writes:
> My experience with rpm thus far is that it is close to worthless. About
> 25% of rpms I download can be installed. The remainder fail. There are
> circular dependencies, and what appears to be inconsistent naming:
> packages will not install due to dependencies, despite the fact that the
> required library is in fact installed.
It can seem that way if you're trying to upgrade certain kinds of
packages that make up the "guts" of the OS; many libraries and
that sort of thing. You'll probably give up trying to upgrade
from RH 5.0 to 5.2, for instance. I doubt if it is a RH ploy.
Just life until someone develops some very intelligent configuration
management SW.
RPM works pretty well for installing apps and stuff without a
lot of hooks to other packages.
Don't give up on it. Lots of other people manage to use it to
good effect.
--
Look for Linux info at http://www.dejanews.com/home_ps.shtml and in
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: Artemis3 <[EMAIL PROTECTED]>
Subject: dlfcn.h
Date: 4 Apr 1999 02:32:06 GMT
Help! Glib 1.2.x (and 1.1.x) refuses to compile, in the middle of "make" it
says dlfcn.h is not found. What's that file for anyway and where is
supposed to be? My system is libc5 x86 (Caldera 1.2) kernel 2.0.36.
I need to compile glib 1.2.x and gtk+ 1.2.x, too many programs are asking
for those, i have last 1.0.x already compiled and instaled along with Gimp
1.0.2. I know Gimp will broke if i install glib/gtk+ 1.2, so i have the
Gimp 1.0.3 source here waiting to be compiled too.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: yan seiner <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,alt.os.linux,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Best Free X Windows Server for Win95/98 Box on Samba/Linux Network?
Date: Sun, 04 Apr 1999 01:43:36 +0000
VNC, formerly from oracle research (www.orl.co.uk) now something else as
AT&T has bought them. The best server you'll find, fits on a floppy, I
run 2 sessions on my NT WS (one for the linux server, one for the NT
server) and have three desktops for the price of one. Never crashed.
Source is available and they even post some of the mods people have
made.
BTW, to the original poster:
Don't cross post to the universe. It's not polite.
Yan
Eugene VonNiederhausern wrote:
>
> Cyrus Mehta wrote:
>
> > Hi,
> >
> > I am creating a dual Windows/Linux environment using Samba for file serving
> > on a standard Ethernet network. I was wondering what kind of X server software
> > for the Windows side I could use to run some X windows apps off of the LInux Box.
> >
> > Reliability is the most important factor, windows will crash often enough without
> > the help of the X server.
> >
> > Any ideas?
> >
> > CKM
>
> Yesterday, I found the best X server/viewer for windows (and linux) that I have
> seen yet and it is free (GNU Public License). It is called VNC from Olivetti and
> Oracle research laboratory. You can connect from linux->windows, windows->linux,
> linux->linux, windows->windows. It is a lot better than any of the other products
> I have seen ot this kind. I don't have the URL (it is at work) you can email me or
> post a reply and I will get it and reply.
------------------------------
From: [EMAIL PROTECTED] (Jeremy Crabtree)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.linux.development.system
Subject: Re: Proposal: "Linux 2000 Platform"
Date: 4 Apr 1999 02:41:47 GMT
Reply-To: [EMAIL PROTECTED]
Christopher B. Browne allegedly wrote:
>On 4 Apr 1999 00:40:15 GMT, Jeremy Crabtree <[EMAIL PROTECTED]> posted:
>>Christopher B. Browne allegedly wrote:
>>>If DISPLAY is set appropriately, it can get at Netscape from
>>>anywhere...
>>
>>Okay...I was really hoping for a way to past from, say,
>>tty1 (an actual console, not an XTerm) to someplace in
>>X.
>
>Sure thing. If, in the shell on the console, you have DISPLAY set
>appropriately, the script will find an existant Netscape instance on
>that display, and shove the URL at it.
Yeah...but nopt just to Netscape...to ANYTHING.
(YES, I really have needed to do this.)
[SNIP...about setting DISPLAY]
I already knew how to get Netscape to do it...the problem
is being able to take arbitrary bits of text from a
console and send them to an arbitrary App in X. :(
>
>>>>(I use X and multiple text consoles a lot, so being able to send
>>>> stuff from a console to X would be incredibly useful)
>>>
>>>Rumor has it that there's some sort of regex matcher for RXVT that can
>>>allow the gentle user to "somehow click" on a URL on screen, have RXVT
>>>"macro" determine what portion is URL, and then do something like my
>>>script above...
>>>
>>>I've never beena ble to figure it out.
>>
>>Again, I was hoping for something that would work on a regular
>>console, and paste into X...a pipe dream, I know, but still...
>
>See above. I think I'm doing your "pipe dream," unless I'm misreading
>what you're looking for.
You're misreading what I'm looking for.
[SNIP, about complexity]
>>[SNIP, about ZSH...my Slack install doesn't have ZSH :(...must've missed
>> it]
>
>Take a look for it; it's been my favorite shell since, um, consulting
>assignment at Cominco in 1994.
ISTR seeing it in the installable packages, I think I just didn't
install it at the time...I may have a look some time.
>Zsh is sort of like the "Gnu Emacs" of shells;
Okay...so...what would be the TECO of shells? <EVIL GRIN>
>it contains pretty much
>the wildest features ever implemented in any shell. Not small, but
>quite worthwhile.
>
>The way that it interactively does argument expansion is something
>that you have to see in order to believe...
>
>It reduces the number of accidental "rm... oops!" instances
>considerably; I seldom type in a complete filename, but rather start
>typing, and tab- to tab-complete it. No spelling errors there.
I do that with BASH
>Better still, if I want to delete a *bunch* of files based on a regex,
>I'll type the expression, press "tab," and watch it expand out to the
>complete list of filenames. Supposing the list looks right, it's time
>to press enter.
Never tried that with BASH...if I want to kill a bunch of files in BASH
I usually use a for loop.
(I love for loops...great things to have around)
>If, instead, 300 unexpected filenames pop up onscreen, this suggests
>that Maybe I Did Something Wrong. Since I haven't hit "enter" yet,
>the data is still OK...
I use an echo the first time, and then re-run the loop with rm
if, indeed, I got the correct files.
--
"Being myself a remarkably stupid fellow, I have had to unteach myself
the difficulties, and now beg to present to my fellow fools the parts
that are not hard" --Silvanus P. Thompson, from "Calculus Made Easy."
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************