From 7021f40c13f949b7cb5ded32d0241d648a43bf6c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 22 Jan 2012 00:28:18 -0600 Subject: Part 1 of 2 of kdm rename --- kdm/confproc.pl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kdm/confproc.pl') diff --git a/kdm/confproc.pl b/kdm/confproc.pl index 0ce0c1ae0..c187c88c0 100755 --- a/kdm/confproc.pl +++ b/kdm/confproc.pl @@ -66,7 +66,7 @@ sub dedb($) $t =~ s, , ,g; $t =~ s,<,<,g; $t =~ s,>,>,g; - $t =~ s,&kdm;,KDM,g; + $t =~ s,&tdm;,TDM,g; $t =~ s,&XDMCP;,XDMCP,g; $t =~ s,&X-Server;,X-server,g; return $t; @@ -241,10 +241,10 @@ while () { last if (/^<\/code>\n$/); $raw_out .= $_; } - } elsif (/^$/) { + } elsif (/^$/) { my $comm = ""; while () { - last if (/^<\/kdmrc>\n$/); + last if (/^<\/tdmrc>\n$/); chop; if (/^\[(.*)\]$/) { defined($ex_sects{$1}) && @@ -294,7 +294,7 @@ while () { my @oa = ([ "{ \"".$what."\", (char *)-1, 0, ".$proc." },", "XMO" ]); add_cond($kif, $what, \@oa, \%ov_xm_conds); $ov_xm[$dsp] .= $oa[0][0]." \\\n"; - } elsif ($src =~ /^kdm:(.*)\/(.*)$/) { + } elsif ($src =~ /^tdm:(.*)\/(.*)$/) { my ($sec, $key) = ($1, $2); my @oa = ([ "{ \"".$key."\", (char *)-1, 0, ".$proc." },", "KMO".($mcnt++) ]); add_cond($kif, $key, \@oa, \%ov_km_conds); @@ -528,7 +528,7 @@ while () { ); add_cond($kif, $key, \@oa, \%ov_xm_conds); $ov_xm[$sect =~ /^-/] .= $oa[0][0]." \\\n"; - } elsif ($merge =~ /^kdm:([^\(]+)(\((.+)\))?$/) { + } elsif ($merge =~ /^tdm:([^\(]+)(\((.+)\))?$/) { my ($where, $func) = ($1, $3); my $sec = ""; ($where =~ s/^([^\/]+)\///) && ($sec = $1); @@ -594,8 +594,8 @@ while () { $doc_ref .= "Empty by default.\n"; } else { $ddflt =~ s/\"//g; - $ddflt =~ s,KDMCONF ,\${kde_confdir}/kdm,; - $ddflt =~ s,KDMDATA ,\${kde_datadir}/kdm,; + $ddflt =~ s,TDMCONF ,\${kde_confdir}/tdm,; + $ddflt =~ s,TDMDATA ,\${kde_datadir}/tdm,; $ddflt =~ s,XBINDIR ,\${x_bindir},; $doc_ref .= "The default is ".$ddflt.".\n"; } @@ -654,8 +654,8 @@ while () { $sna = "section"; } $doc_ref .= - "\n\n". - "The [".$stit."] ".$sna." of &kdmrc;\n\n"; + "\n\n". + "The [".$stit."] ".$sna." of &tdmrc;\n\n"; if (/^Description:(( -)?)$/) { if ($1 ne " -") { my $desc = 0; -- cgit v1.2.1