Linux-Misc Digest #980, Volume #26 Wed, 31 Jan 01 10:13:03 EST
Contents:
Re: Convert Word-DOC to PostScript (Eric)
Re: Adding Win98SE to W2K and Linux system. (Eric)
Re: Inetd (Jean-David Beyer)
Re: Tar to Tape Above Capacity (Bill Buchan)
Re: X logon question (Eric)
Multibooting 5 OSs => Win98, NT4, Linux, Solaris 8 and Unixware 7 - HOW TO???
([EMAIL PROTECTED])
Re: Backup remotely ? (LFessen106)
Re: MS to Enforce Registration - or Else (Johan Kullstam)
Re: Errors In Partition Table (Svend Olaf Mikkelsen)
Re: kernel 2.4.1 compilation ("Tomek Jablonski")
Re: kernel 2.4.1 compilation (Loo)
MD5 Password Hashing ("Tom Edelbrok")
Berkeley "r" commands ("Tom Edelbrok")
Re: Tar to Tape Above Capacity (-ljl-)
Re: Convert Word-DOC to PostScript (-ljl-)
Re: Slow Disk Check for Large Drives (aflinsch)
X from Windows ("JJ")
Error when logging in ("Jeremy Babcock")
Re: implementation of colored man pages (Floyd Davidson)
Re: MD5 Password Hashing (Christopher Albert)
Re: MD5 Password Hashing ("Tom Edelbrok")
----------------------------------------------------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Convert Word-DOC to PostScript
Date: Wed, 31 Jan 2001 12:15:13 +0100
Reply-To: [EMAIL PROTECTED]
[BRDLocutus wrote:
>
> Hi,
> can anyone here tell me where to find a Linux-Tool to convert Word Documents
> to PS (PDF would be ok, too) ?
I think Wine with MS-word is your best bet.
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Adding Win98SE to W2K and Linux system.
Date: Wed, 31 Jan 2001 12:23:07 +0100
Reply-To: [EMAIL PROTECTED]
Hugh Kennedy wrote:
>
> Eric,
>
> Give the guy a break. There are many of us who have to run around with three
> OS's sitting on a system for support reasons. Linux is not exclusive, it is
> inclusive and it needs some messing around to make it possible.
>
Never said that you can't use windows. I use it too.
This question just has absolutely nothing to do with linux.
It was about adding win98 to the NTloader.
Adding win98 to an existing system has lots of problems.
The best help is probably in a win group.
Eric
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Inetd
Date: Wed, 31 Jan 2001 06:45:40 -0500
Diether De Praetere wrote:
>
> Hi there,
>
> Somebody installed a RH6.2 on a system here, but apparently didn't
> configure the inetd-stuff. ==> a telnet session from another host
> doesn't work: "Unable to connect to remote host: Connection refused"
>
> I checked the inetd.conf file and that's OK.
>
> But can somebody tell me what the default RH configuration file is.
> Maybe the inetd-parameter is switched of over there. (I know it is the
> /etc/rc.config in the Suse distr.)
>
I do not remember what true Red Hat 6.2 inetd is, but my VA Linux Red
Hat 6.2.3 had this in it for telnet:
# These are standard services.
#
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
(I commented them out since I do not wish to expose my machine to the
slings and arrows of the Internet or even my LAN to attacks through
these.)
My /etc/hosts.deny is:
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
ALL : ALL
and my /etc/hosts.allow is:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL : localhost
If you want telnet to work from another.host, you need to add a line
there to the effect:
telnet : another.host
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:40am up 2 days, 15:09, 3 users, load average: 2.18, 2.22, 2.08
------------------------------
From: Bill Buchan <[EMAIL PROTECTED]>
Subject: Re: Tar to Tape Above Capacity
Date: Wed, 31 Jan 2001 11:42:04 GMT
In article <956m84$513$[EMAIL PROTECTED]>,
Mike E. <[EMAIL PROTECTED]> wrote:
>
> >
> The t option in tar is just reading a table of contents not the actual
> files. If you switch to the GNU tar, there is an option (W) that
> attempts to verify the files as it writes them, which may be of a
little
> more help. There is more to your problem though if nothing returns
any
> kind of errors that you have run out of space. What commands are you
> using to copy the tarred files onto tape?
>
> Mike
Hi,
I'm just doing tar -cvf /dev/rmt0 /u01 /u02 /u03 /u04 > $logfile
(There is nothing unusual in the logfile; all the files are listed)
- Bill.
> --
> Support provided by Linuxgruven, Inc.
> http://www.linuxgruven.com
> 314-727-0918
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: X logon question
Date: Wed, 31 Jan 2001 13:22:32 +0100
Reply-To: [EMAIL PROTECTED]
> > Try the following command from your linux box:
> >
> > X -query UNIX_HOSTNAME :0 &
> >
> > Eric
> >
> WHOA!!! That is Crazy Awesome!!!
>
> Now how can I get my machine to serve graphical logins like that???
>
If you use gdm (I don't know about [xk]dm)
in /etc/X11/gdm/gdm.conf
change
[xdmcp]
Enable=0
to
[xdmcp]
Enable=1
That's all there's to it
Eric
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.install,comp.unix.solaris,alt.solaris.x86
Subject: Multibooting 5 OSs => Win98, NT4, Linux, Solaris 8 and Unixware 7 - HOW TO???
Date: Wed, 31 Jan 2001 12:23:45 GMT
My intended setup:
=================
HD1 (30GB-IDE)==> Win98 on FAT32 (or divided into 2 Fat16/Fat32
partitions if necessary)
HD2 (8GB-IDE): Solaris 8, linux Mandrake 7.2, NT4 and Unixware 7.1
My (quick) questions:
====================
(NOTE: I have access to System Commander 2000 in case I need it)
1. Is this even possible?
2. Can I have Win98 on one disk and all the other OSs on the other?
3. If not, what OSs would I *have* to put on HD1?
4. What is the proper installation order?
5. At what point do I install System commander 2000 to assist me?
Well, I'm sure I'll have more questions when I try this out, but
clearing these preliminary doubts will sure help...
Thanks a lot,
Alex Olazabal
PD. Please copy your reply to [EMAIL PROTECTED]
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (LFessen106)
Date: 31 Jan 2001 12:44:29 GMT
Subject: Re: Backup remotely ?
>Currently, the way I'm doing whole HD backup is to tar the whole HD
>excluding the mounted directory into a DDS tape. If anything goes
>wrong, I can always boot from a floppy, make filesystem on the
>corrupted or replacement HD, tar from DDS, config the lilo if necessary.
>
>With this approach, I don't need to install from zero and frustrate with
>configuring individual parts and keep track of the latest config
>parameters.
>
>The trouble is I have 10 machines networked but only 2 DDS tape drive.
>That means, for each machine backup/restore, I need to shutdown,
>install tape drive, perform backup/restore. Switch to other machine,
>and repeat, ... Plus I need to install 10 SCSI card unnecessary.
>
>Then, is there a more elegant way ? I thought of rsh (remote shell)
>but from the combination of rsh + tar, it doesn't work.
Actually, it does, and I do it every day. This is, in fact, my prefered method
of doing backups for some of the same reasons you listed above...
Anyhow, simply make sure that you can rsh from the sending machine to the
machine with the DDS without having to enter a password (set up in the
.rhosts). After you can do that, you're set.
Log into the machine that needs a backup (I would log in as root), and do a:
tar czvf - / --exclude /proc --exclude /dev --exclude /mnt | rsh theDDSmachine
'dd of=/dev/st0'
Then go get a cup of coffee - it may take a few minutes.
Hope this helps. I remember it took me a month to figure out how to do this
since the documentation is rather lacking.
------------------------------
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Wed, 31 Jan 2001 12:57:34 GMT
"Aaron R. Kulkis" <[EMAIL PROTECTED]> writes:
> Johan Kullstam wrote:
> >
> > "Aaron R. Kulkis" <[EMAIL PROTECTED]> writes:
> >
> > > Nick Condon wrote:
> > > >
> > > > [EMAIL PROTECTED] (Harlan Grove) wrote in <94si7f$7nq$[EMAIL PROTECTED]>:
> > > >
> > > > >Absolutely true. It's how we define 'freedom'. For those in the US of
> > > > >Libertarian bent, Microsoft can do what it wants to within certain
> > > > >legal bounds (which it's overstepped, IMO).
> > > >
> > > > Microsoft has a centrally planned, state granted, exclusive monopoly.
> > > > That's not very libertarian.
> > >
> > > No, it's not "state granted" If it was, they wouldn't have been
> > > CONVICTED of criminal conduct in Federal Court.
> >
> > sure it is. what do you think copyright is? copyright is a state
> > enforced monopoly. no state enforcement, no copyright -- look at
> > middle/far east.
>
> By that definition EVERYBODY is a monopolist, as you retain the copyright
> for whatever you create.
(exceptions being those who live in a place whos government doesn't
have copyright law, those who release to public domain and those who
don't create.)
sure. but what's your point? it's still a monopoly on something.
everyone can have their little monopolies on some particular items
they've created.
if you write a book, i assume that people can choose not to read it.
but if somehow they *had* to read it for whatever reason, then suddenly
you have real monopoly power given to you through threats of
governmental force in protecting copyright.
thus we see that microsoft, by making their software nearly essential
to people, can wield enormous power. they have no competition -- no
one else makes *windows* (os/2, wine &c are close) and no one else
makes ms-word (but many word processors can import/export the
format to some degree).
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Crossposted-To: comp.os.linux.setup,microsoft.public.win98.gen_discussion
Subject: Re: Errors In Partition Table
Date: Wed, 31 Jan 2001 12:59:46 GMT
"Werner Fangmeier" <[EMAIL PROTECTED]> wrote:
>Appreciate your help, Svend Olaf. I think, I understand a little bit more
>now :-).
Disk: 1 Cylinders: 3722 Heads: 255 Sectors: 63 MB: 29196
-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS CHS
0 1*0C 63 20980827 10244 0 1 1 1305*254 63 OK OK
0 2 0F 20980890 34925310 17053 1306* 0 1 3479*254 63 OK
1306 1 0B 63 20980827 10244 1306* 1 1 2611*254 63 OK OK
1306 2 05 20980890 12546765 6126 2612* 0 1 3392*254 63 OK
2612 1 83 63 4658787 2274 2612# 1 1 2901*254 63 OK OK
2612 2 05 25639740 7887915 3851 2902* 0 1 3392*254 63 OK
2902 1 83 1 6249284 3051 2902# 0 2 3290*254 63 NB OK
2902 2 05 31889025 1638630 800 3291* 0 1 3392*254 63 OK
3291 1 82 1 610469 298 3291# 0 2 3328*254 63 OK
>If I get you right, the "end cylinder" for line 4 (PCyl=1306, N=2) should
>read "2901*" instead of "3392*"? And accordingly, in line 6 (PCyl=2612,
>N=2), it should be "3290*" instead of "3392*" (this I meant with "russian
>doll" structure as opposed to "chaining", what is what you seem to prefer),
>and finally, line 8 (PCyl=2902/N=2) should have an "end cylinder" value of
>"3328*" instead of "3392*"?
Yes.
>The "Num" values should be changed "accordingly" - does this mean:
> - change (3392-2612+1)*255*63=12,546,765 to (2901-2612+1)*255*63 =
>4,658,850, and
> - change (3392-2902+1)*255*63=7,887,915 to (3290-2902+1)*255*63 =
>6,249,285, and finally
> - change (3392-3291+1)*255*63=1,638,630 to (3328-3291+1)*255*63 =
>610,470 ?
I did not check the calculations, but it seems as you got the idea.
>Moreover, I now see how the "Rel" values of "1" in line 7 and 9 can be
>explained (as opposed to "63" in lines 1,3 and 5). There are simply zero
>unused sectors following the extended partition table, while others waste 62
>sectors on this occasion. OK! This perfectly fits with the changes I
>outlined above, since 6,249,285-1=6,249,284 and 610,470-1=610,469.
>
>Am I right up to here ?
Guess so.
>But, what I do not yet quite understand, is this:
>> The "NB" may be the result of the actual partition space being a little
>smaller than according to the partition tables.
>> This is as it should be, since "end sector" should be 63.
>All "end sectors" ARE 63 (it's the third-to-last column, isn't it?) ?
>And how can one compute the amount of "actual partition space" ?
You see the "NB" in the BS (Boot Sector) field. This field indicates
if the partition table information matches the boot sector
information. For an ext2 partition this is the information in the
superblock. According to the superblock the partition probably is a
little smaller. You can see this if you do a Findpart search.
>So, what more changes could I apply, especially with respect to the "#" and
>"*" notation.?
>
>With what kind of tool could one try to commit the changes to the partition
>tables (of course, after backing up all vital data)? PTEDIT from a Win9x
>Boot Disk/bootable CD-ROM, or editpart under Linux booted from a floppy or
>bootable CD-ROM?
>
>TIA. Werner.
On possibility would be to write the partition table to a file using
Linux sfdisk, and then write the file back. If you do this, you must
make sure the ID (type) of the extended partition is 0F afterwards,
and if it is not, you must change it. The Linux fdisk t command can be
used.
Powerquest ptedit and my Editpart can be used in a Windows DOS box. If
you have only one PC this has the advantage compared to pure DOS that
you can access the internet until reboot, even if you damage the
partition tables. In such a situation programs that are known to crash
Windows of cause should not be used.
Editpart really is an experts tool. One thing you have to know is that
the relative entry in links to next extended partition table is
calculated relative to the beginning of the entire extended partition.
Other relative entries are calculated relative to current partition
table.
If you want you can make a batch file without running it, and let me
evaluate it.
Newer versions of Partition Magic is said to be able to correct
partition tables, but I do not know if it is something that can be
recommended.
Remember that unless you want to use a program that complains, there
is no reason to do anything.
--
Svend Olaf
------------------------------
Date: Wed, 31 Jan 2001 13:54:40 +0100
From: "Tomek Jablonski" <[EMAIL PROTECTED]>
Subject: Re: kernel 2.4.1 compilation
"Loo" <[EMAIL PROTECTED]> wrote in message news:958kcm$[EMAIL PROTECTED]...
> I made a sucessfully compilation with multiple cpu support enable.
So......
>
> Loo wrote:
but I made a succesful compilation without multiple cpu support enabled.
So...
what distribution do you use?
I have redhat 7.0, and I had to downgrade some packages, e.g. egcs
the readme list numbers of versions of required packages
see ya, tom [EMAIL PROTECTED]
------------------------------
From: Loo <[EMAIL PROTECTED]>
Subject: Re: kernel 2.4.1 compilation
Date: Wed, 31 Jan 2001 21:19:59 +0800
My Linux is upgraded from an old slackware distribution. Maybe some of my
tools are too old. But I can compile 2.4.0 without problem.
Tomek Jablonski wrote:
>
> "Loo" <[EMAIL PROTECTED]> wrote in message news:958kcm$[EMAIL PROTECTED]...
> > I made a sucessfully compilation with multiple cpu support enable.
> So......
> >
> > Loo wrote:
>
> but I made a succesful compilation without multiple cpu support enabled.
> So...
>
> what distribution do you use?
>
> I have redhat 7.0, and I had to downgrade some packages, e.g. egcs
> the readme list numbers of versions of required packages
>
>
> see ya, tom [EMAIL PROTECTED]
>
>
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: MD5 Password Hashing
Date: Wed, 31 Jan 2001 05:41:44 -0800
In the book "Linux Firewalls" by Robert Ziegler it says that MD5 Password
hashing can be chosen as a checkbox option in linuxconf or control-panel,
but I cannot find it in either. Is this always built in and activated in
Redhat 6.0 or have I overlooked it in linuxconf?
Thanks,
Tom
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Berkeley "r" commands
Date: Wed, 31 Jan 2001 05:45:38 -0800
How do you disable access to Berkeley "r" commands. I presume these are
things like rlogin, rsh, etc. I see that they are located in /usr/bin, so I
could wipe them out or lock them up. But is there a global setting that says
"Trash all Berkeley 'r' commands until indicated otherwise"?
Thanks,
Tom
------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: Tar to Tape Above Capacity
Date: Wed, 31 Jan 2001 13:42:08 GMT
In article <958tmb$3jv$[EMAIL PROTECTED]>,
Bill Buchan <[EMAIL PROTECTED]> wrote:
> In article <956m84$513$[EMAIL PROTECTED]>,
> Mike E. <[EMAIL PROTECTED]> wrote:
...
> I'm just doing tar -cvf /dev/rmt0 /u01 /u02 /u03 /u04 > $logfile
>
> (There is nothing unusual in the logfile; all the files are listed)
This would capture stdout to "$logfile" but might errors messages
be sent to stderr?
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com
http://www.deja.com/
------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: Convert Word-DOC to PostScript
Date: Wed, 31 Jan 2001 13:46:43 GMT
In article <958n7n$g9dan$[EMAIL PROTECTED]>,
"[BRDLocutus" <[EMAIL PROTECTED]> wrote:
> Hi,
> can anyone here tell me where to find a Linux-Tool to convert
> Word Documents to PS (PDF would be ok, too) ?
While not exactly a tool, StarOffice might do that. Also, can't
Word produce PS output.
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com
http://www.deja.com/
------------------------------
From: aflinsch <[EMAIL PROTECTED]>
Subject: Re: Slow Disk Check for Large Drives
Date: Wed, 31 Jan 2001 08:53:35 -0600
Jean-David Beyer wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > I'm leading up the development of a Linux-based product that requires
> > alot of storage space. The main problem that we are experiencing comes
> > when the system loses power unexpectedly and reboots. The following
> > disk check takes forever if the system has 3 or 4 60 Gb disks. We
> > really need to speed up this reboot process or we may be forced into
> > using Windows 2000 (which I loathe). Even with a UPS connected, we
> > have to take into account the fact that some people will just power the
> > thing on and off.
> >
> If you cannot afford the time it takes to do the fsck's (some of these
> can be done in parallel to speed it up if you have different drives),
> perhaps your system(s) deserve to be run from a UPS that can coast over
> the short-term power interruptions, and cause a controlled shut-down for
> the longer ones. That way, the fsck's can be bypassed.
>
That would help for power failures, but won't stop someone from
pressing the big red reset switch...
I think that a better solution would be along the lines of a journaled
file system like reiserfs/jfs/xfs.
I don't know much about jfs or xfs other than that they exist, but
reuiser works great on my systems, and is part of the main kernel (as
of the 2.4.1 release)
------------------------------
From: "JJ" <[EMAIL PROTECTED]>
Subject: X from Windows
Date: Wed, 31 Jan 2001 15:16:13 +0100
Hi,
I want to run X-windows (Solaris or Linux) from a Windows 2000 machine. I
have seen Exceed but wonder if there is someone as freeware or shareware?
// Jocke
------------------------------
From: "Jeremy Babcock" <[EMAIL PROTECTED]>
Subject: Error when logging in
Date: Wed, 31 Jan 2001 14:20:52 GMT
Hello, when I create a new user and login to my linux box with the new id it
says "I have no name!@myservername"
Any ideas on how to fix this?
Thanks.
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: implementation of colored man pages
Date: 31 Jan 2001 04:47:21 -0900
[EMAIL PROTECTED] (Martin Gregorie) wrote:
>[EMAIL PROTECTED] (Steve Ackman) wrote:
>
>> I don't know for sure, but I believe all recent versions of man
>>output color... just that in some terminal types you don't see the
>>color. For instance, in RH 4.x and 5.x, slipknot, mc and man were
>>b&w in xterms. At RH 5.1, I upgraded ncurses, and then they were
>>in color in xterms.
>> Even now, in RH 6.2, though my man pages are in color in X, they're
>> still in b&w on a console.
I'm not exactly positive what you all are referring to as
"color" from man in this particular case. Do you mean some of
the text, which would otherwise be bold, underlined, or italics
is showing up with different colors????
If so, that is a function of "xterm" (and "less" to some
degree). The pager, "less", outputs bold, italic, or underscore
terminal attributes if those are determined to exist per the
terminfo database. If the result is fed to an xterm for
viewing, they might be displayed as some form of bold, italic,
or underlined font, but xterm can also be configured to
translate those attributes to specific colors.
In the file */X11R6/lib/app-defaults/XTerm there might (or might
not!) be definitions for those colors. Likewise each user can
set X resources for xterm in files like ~/.Xdefaults or
~/.Xresources depending on how a given system is configured.
Here is what I have in my */app-defaults/XTerm file (I use a
black background with a goldenrod2 foreground, so these may or
may not look reasonable with any other given color scheme.)
*VT100*colorMode: on
*VT100*dynamicColors: on
! Uncomment this use color for underline attribute
*VT100*colorULMode: on
*VT100*underLine: off
! Uncomment this to use color for the bold attribute
*VT100*colorBDMode: on
*VT100*color0: black
*VT100*color1: red3
*VT100*color2: green3
*VT100*color3: yellow3
*VT100*color4: blue3
*VT100*color5: magenta3
*VT100*color6: cyan3
*VT100*color7: gray90
*VT100*color8: gray30
*VT100*color9: red
*VT100*color10: green
*VT100*color11: yellow
*VT100*color12: blue
*VT100*color13: magenta
*VT100*color14: cyan
*VT100*color15: white
*VT100*colorUL: yellow
*VT100*colorBD: white
>> Do this: In a console, 'TERM=VT100' Now even the bold in man
>>pages is gone. Other terminal types give reverse text for bold.
>> In an xterm, do 'TERM=linux-m' and then 'mc'
>>Now do 'TERM=vt220' and 'mc'
All of that has to do with the definitions supplied as part of
terminfo for each different terminal type. If you set the TERM
variable to a definition which says there is no color, bold, or
whatever then many programs (using ncurses for example) will not
attempt to use those terminal attributes.
Likewise, if you set TERM to a definition which does define some
given attribute that is not recognized by your terminal or
terminal emulator, strange looking garbage (escape codes) will
be printed on the screen when programs attempt to use those
attributes.
>> I believe man and mc have routines that tell them how to behave
>>given certain terminal types and environment variables. You'd
>>have to look at source to be sure though... I'm just guessing
>>based on what I see.
>
>This tells us that the colours are set by termcap or terminfo
>capabilities. Termcap capabilities can be found by reading
>/etc/termcap.
More likely though, on a Linux box, terminfo will be used and
while the /etc/termcap definitions are interesting, they are not
definitive. You can look in the terminfo database (do a "man
terminfo" to see where it is located) to see which terminal
definitions exists. Any given definition can be viewed using
the "infocmp" program. See the man page for terminfo for what
it all means. If your particular terminal or emulator is not
defined correctly in the database, it can easily be changed.
infocmp vt100 > myvt100
will dump the definitions for "vt100" into file "myvt100".
That file can then be edited, and can be put into the database
using "tic".
For example, lets say I use a vt100 emulator, except it is
configured for 100 columns and 30 rows. I want a terminfo
definition for it. So I fetch the existing vt100 definition
as shown above. I then edit file "myvt100" to change a few
things. Here are the first few lines:
# Reconstructed via infocmp from file: /usr/share/terminfo/v/vt100
vt100|vt100-am|dec vt100 (w/advanced video),
am, msgr, xenl, xon,
cols#80, it#8, lines#24, vt#3,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
...
I don't want to overwrite the current vt100 definition, so I set
a new name, "myvt100". And I changes the columans and lines values.
It then looks like this:
# Reconstructed via infocmp from file: /usr/share/terminfo/v/vt100
myvt100|vt100-my (my local vt100 definition),
am, msgr, xenl, xon,
cols#100, it#8, lines#30, vt#3,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
...
Then I can use "tic" to put that into the terminfo database:
tic myvt100
Now, set TERM to myvt100 and invoke an xterm to test the
results. Obviously changing the indicated size of the screen is
trivial (and perhaps useless) while other terminal attributes
may not be.
>However, to save us all from reinventing a wheel:
>
>- does anybody know which capabilities control colours?
>- how are the colours encoded in the capabilities?
>- is this information documented anywhere?
See the man pages for terminfo and ncurses to answer all of
the above.
>I've had a pretty good ferret around tme manpages, info system and
>HOWTOs that came with my RH 6.2 distro but I can't find anything
>relevant.
>
>I'd like to know how to control colour via termcap/terminfo withion my
>own programs as well as in microEmacs.
I wouldn't say that learning how is simple, or likely to happen
in the next week or two... but the information is certainly
available to study and learn.
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: MD5 Password Hashing
Date: Wed, 31 Jan 2001 15:26:21 +0100
Tom Edelbrok wrote:
> In the book "Linux Firewalls" by Robert Ziegler it says that MD5 Password
> hashing can be chosen as a checkbox option in linuxconf or control-panel,
> but I cannot find it in either. Is this always built in and activated in
> Redhat 6.0 or have I overlooked it in linuxconf?
>
> Thanks,
> Tom
Tom,
Try "setup" at the command line.
And then choose Authentication configuration.
This works on 6.2 and 7.0 .
Chris
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: Re: MD5 Password Hashing
Date: Wed, 31 Jan 2001 06:34:34 -0800
Works great! Thanks.
> Try "setup" at the command line.
> And then choose Authentication configuration.
> This works on 6.2 and 7.0 .
>
> Chris
>
------------------------------
** 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
******************************