Send debian-knoppix mailing list submissions to
debian-knoppix@linuxtag.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
or, via email, send a message with subject or body 'help' to
debian-knoppix-request@linuxtag.org
You can reach the person managing the list at
debian-knoppix-admin@linuxtag.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of debian-knoppix digest..."
Today's Topics:
1. Advanced Shell-Programming + Dialog (Fabian Franz)
2. Knoppix 3.3 not recognising my wi-fi card (Terry Maiden)
3. KNOPPIX with Japanimation (Kuniyasu Suzaki)
--__--__--
Message: 1
From: Fabian Franz <FabianFranz@gmx.de>
To: debian-knoppix@linuxtag.org
Date: Sat, 3 Jul 2004 17:29:04 +0200
Subject: [debian-knoppix] Advanced Shell-Programming + Dialog
Hi,
just want to share an experience I just made ;-), which can be very useful for
all programmers that use (X)dialog ...
You all know the redirection, so we do:
dialog --inputbox "Your name?" 0 0 2>$SOMETMPFILE
NAME=$(cat $SOMETMPFILE)
Klaus always said, that there must be some shell magic possible ;-) to avoid
that temp-file, which can btw also be quite insecure and he was right:
The following works:
exec 3>&1 # make 3 point to stdout
NAME=$(dialog --inputbox "Your name?" 0 0 2>&1 1>&3) # basically redicrect
stdout to #fd3, then redirect stderr to stdout
The trick is that the $()-construct just redirects #1 stdout descriptor, but
not the #3, even if it also points to stdout ... :-)
And what the best is, that can be even more simplified. Make for example the
following procedure:
dia()
{
dialog "$@" 2>&1 1>&3
}
And you can just use dia, after you have setup the #3 fd, just as a normal
command:
NAME=$(dia --inputbox "Your name?" 0 0)
All the magic necessary for redirection is done by the procedure.
I found that out, while I needed a way to somehow close the FDs for another
application (upcoming nxserver). You can read everything about it in the
Advanced Bash Scripting Guide:
http://www.tldp.org/LDP/abs/html/io-redirection.html
cu
Fabian
--__--__--
Message: 2
From: "Terry Maiden" <t.maiden@worldnet.att.net>
To: <debian-knoppix@linuxtag.org>
Date: Sat, 3 Jul 2004 16:29:00 -0500
Subject: [debian-knoppix] Knoppix 3.3 not recognising my wi-fi card
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C4611A.D89CB890
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Knoppix 3.3 doesn't recognise my new wi-fi card. Its a D-Link DWL-650. =
802.11b Wireless PC card adapter. I got the "b" card in the hopes it =
has been around for a few years (unlike the "g" and "super-g" cards) and =
Knoppix would be able to recognise it. I never got KPPP or WVdial to =
connect to my ISP either. I'm not having much luck getting Knoppix to =
be much use at all...
=20
I haven't tried the 3.4 version and this wi-fi card yet.
------=_NextPart_000_001E_01C4611A.D89CB890
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Knoppix 3.3 doesn't recognise my new =
wi-fi=20
card. Its a D-Link DWL-650. 802.11b Wireless PC card =
adapter. =20
I got the "b" card in the hopes it has been around for a few years =
(unlike the=20
"g" and "super-g" cards) and Knoppix would be able to recognise =
it. I=20
never got KPPP or WVdial to connect to my ISP either. I'm not =
having much=20
luck getting Knoppix to be much use at all...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I haven't tried the 3.4 version and =
this wi-fi card=20
yet.</FONT></DIV></BODY></HTML>
------=_NextPart_000_001E_01C4611A.D89CB890--
--__--__--
Message: 3
Date: Sun, 04 Jul 2004 14:34:40 +0900 (JST)
To: debian-knoppix@linuxtag.org
From: Kuniyasu Suzaki <k.suzaki@aist.go.jp>
Subject: [debian-knoppix] KNOPPIX with Japanimation
Dear,
A Japanese KNOPPIX book is published with appendix CD. The CD is
customized with Japanimation. Please check the screenshot home page.
http://www.poe-lina.com/screenshot.html
You can download the background Japanimatiton.
http://www.poe-lina.com/download.html
The ISBN is 4-7980-0793-5. :-)
------
suzaki
--__--__--
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
End of debian-knoppix Digest