🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9115

Re: Problemas con caracteres.

#9115
From: VasTo
Date: Tue, 03 Sep 2002 16:01
41 lines
2674 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tambi�n se puede mirar el c�digo del kernel y encontrar esto:


static const unsigned char morsetable[] = {
        0122, 0, 0310, 0, 0, 0163,                      /* "#$%&' */
	055, 0155, 0, 0, 0163, 0141, 0152, 0051,        /* ()*+,-./ */
	077, 076, 074, 070, 060, 040, 041, 043, 047, 057, /*0-9 */
        0107, 0125, 0, 0061, 0, 0114, 0,                /* :;<=>?@ */
        006, 021, 025, 011, 002, 024, 013, 020, 004,    /* A-I */
	036, 015, 022, 007, 005, 017, 026, 033, 012,    /*J-R */
        010, 003, 014, 030, 016, 031, 035, 023,         /* S-Z */
        0, 0, 0, 0, 0154                                /* [\]^_ */
};
		
__inline__ unsigned char tomorse(char c) {
        if (c >= 'a' && c <= 'z')
                c = c - 'a' + 'A';
        if (c >= '"' && c <= '_') {
                return morsetable[c - '"'];
        } else
	        return 0;
		

Est� en el panic.c para emitir los oops en morse

- -- 
Usuario de Linux # 134651
$foo=q;\\;.q;W+|\d+;;;$_=q:q*<du+dq24nE n/S;r-<"`Us":;
y>"-}>#-~>;s;$foo;;g;$_=join q; ;,unpack q,a7 x0 a5,,$_;
print q...reverse;
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xD267D6C8

iD8DBQE9dNzvUubBa9Jn1sgRAsoLAKDuJjpdWPjPSfI5zTjXRy1XxX5l6ACePqrq
/TNGiRDyD2oOzI/z2Kofba4=
=Xz/O
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <slrnan9n7g.f5q.vastillo@vasto.dhis.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!isdnet!news.rediris.es!newsfeed.bt.es!newsfeed.telecable.es!vasto.dhis.org!news
References: <3D6FBE6D.6090200@lycos.es> <akq6i0$4sr$1@nsnmpen2-gest.nuria.telefonica-data.net> <3D70BEFF.6DB3C4D8@tengo.no> <akqj9k$hst$1@nsnmpen2-gest.nuria.telefonica-data.net> <3D70DA4E.8CD088D0@tengo.no>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,44ee7efd783c31d1
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-09-03 09:03:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!isdnet!news.rediris.es!newsfeed.bt.es!newsfeed.telecable.es!vasto.dhis.org!news
From: VasTo <vastillo@yahoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Problemas con caracteres.
Date: Tue, 3 Sep 2002 18:01:52 +0200
Organization: Telecable S.A.
Lines: 41
Message-ID: <slrnan9n7g.f5q.vastillo@vasto.dhis.org>
References: <3D6FBE6D.6090200@lycos.es> <akq6i0$4sr$1@nsnmpen2-gest.nuria.telefonica-data.net> <3D70BEFF.6DB3C4D8@tengo.no> <akqj9k$hst$1@nsnmpen2-gest.nuria.telefonica-data.net> <3D70DA4E.8CD088D0@tengo.no>
Reply-To: vasto at yahoo.es
NNTP-Posting-Host: cm08685.telecable.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: filemon1.isp.telecable.es 1031068918 3151 213.141.42.52 (3 Sep 2002 16:01:58 GMT)
X-Complaints-To: abuse@telecable.es
NNTP-Posting-Date: Tue, 3 Sep 2002 16:01:58 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)