I've created a number of bash scripts which make it easier for me to run
particular security applications, among them rkhunter. I run the scripts
in gnome-terminal. It's crucial to say at the outset that I've had no
tuition in bash script writing, so I'm sure my scripts won't win any
In any event, I was happy with my script for running rkhunter, except
for one thing. I had great difficulty reading part of the output of the
script, because that output (from rkhunter itself) was in yellow on a
I then figured out how to write a script that opened a second window in
gnome-terminal. That second window had a black background, in which my
original script for running rkhunter then ran. Legibility of the yellow
and all other output in the second window is fine.
However, there's a problem. When my script for running rkhunter in the
second window finishes, it automatically exits, leaving me back at the
first window, so that I haven't got a chance to examine the rkhunter
output except as it scrolls by rapidly in the second window.
I therefore want to amend my script for running rkhunter so that it
doesn't end until the user says so.
In a number of places on the Web appears the following script, which I
thought I could borrow:
# Shows how to read a line from stdin
echo "Would you like to exit this script now?"
if [ "$answer" = y ]
I tried that script. There's a tiny problem with it. It exits no matter
what answer the user gives! The only difference between giving a "y"
answer and any other answer is that the word "Exiting" doesn't appear if
one doesn't give a "y" answer.
How should I amend my script to keep the output on the screen until the
user enters some appropriate input?
I've switched to Ubuntu Breezy from FC4 on my laptop. Everything is
going swimmingly. However one thing is odd. Fonts. The fonts in
Ubuntu on webpages and apps don't appear quite the same as on FC4. I've
installed the MS TT Core fonts package so I have Arial, Tahoma et al
installed. But things still look different. Things look clearer in
some apps (I think this is the freetype2 hinting setting at work) which
is nice but other apps are ugly. Particularly GTK+ v1 apps are all
jaggy. Also some websites don't look the same as I'm used to. Like as
if the Arial fonts arn't being used....
Anyway, sage advice on fonts in Ubuntu would be apreciated.
PS: Happy New Year
I've installed MythTV (0.18.1-5) under Ubuntu 5.10. Under the Video
Source setup option in mythtv-set, the XMLTV listings grabber has no
option for New Zealand. There doesn't seem to be any way of changing
what's in the list, other than recompiling from source. Is there any way
of configuring MythTV without using the gui or other option for specifying
where to get the NZ TV listings? I don't seem to be able to procede