No. 22/622 Index Prev Next
Relay-Version: version B 2.10.2 9/5/84; site titcca.UUCP
Posting-Version: version B 2.10.2 9/5/84; site nttspl.ntt.junet
Path: titcca!kddlab!nttlab!nttspl!futagami
From: futagami@nttspl.ntt.junet (Toshitsugu Futagami)
Newsgroups: fj.general,fj.kanji
Subject: modification of inews.c (In Roma-ji)
Message-ID: < 173@nttspl.ntt.junet>
Date: 21 May 86 10:50:20 GMT
Date-Received: 21 May 86 07:44:19 GMT
Distribution: fj
Organization: NTT Software Production Technology Labs., Japan
Lines: 38
Watashi no tokoro dewa (KANJI UNIX by ASCII) wo tsukatte imasu ga,
news dewa SHIFT-JIS-KANJI ga tsukaemasendeshita. Sokode, achikochi no FILE
wo shirabe, kekkyoku " inews.c" wo ika no you ni kakikaemashita.
Kore de SHIFT-JIS-KANJI deno " news" ga O.K. ni narimashita ga, hoka
ni aku-eikyou wo ataenaika shinpai desu. Nanika gozonji no kata, kore de
kamawanai ka douka ooshie kudasi.
+--------+---------+---------+---------+---------+---------+---------+---------+
| NTT Toshitsugu Futagami NTT |
| NTT ( NTT Software Production Technology Labs., JAPAN ) NTT |
| NTT JUNET: futagami@nttspl.ntt.junet NTT |
| NTT UUCP : ..!kddlab!nttlab!nttspl!futagami NTT |
| NTT PHONE: ( 0422 ) 59 - 3518 NTT |
+--------+---------+---------+---------+---------+---------+---------+---------+
--------------------------------------------------------------------------------
input() IN the file " inews.c"
--------------------------------------------------------------------------------
if (mode != PROC & & tty & & strcmp(bfr, ".\n") == 0)
break;
for (cp = bfr; c = *cp; cp++) {
/* temporary modification for kanji input/output */
/* this should be modified to check the mode */
/* if (isprint(c) || isspace(c) || c=='\b' || c == '\033') */
^^^^ ^^^^
^^^^ comment de kono IF wo keshimashita. ^^^^
putc(c, tmpfp);
/* if (isprint(c)) */
^^^^ ^^^^
^^^^ ^^^^
chcount++;
if (c == '\n')
linecount++;
}
empty = FALSE;
Next
Continue < 925@takuya.uucp>
< 328@vd.UUCP>
< 180@nttspl.ntt.junet>