home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk1.iso
/
altsrc
/
articles
/
11171
< prev
next >
Wrap
Text File
|
1994-08-24
|
2KB
|
40 lines
Newsgroups: comp.editors,alt.sources,comp.misc,comp.unix.misc,comp.mail.misc,comp.unix.admin
Path: wupost!uhog.mit.edu!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!world!jhallen
From: jhallen@world.std.com (Joseph H Allen)
Subject: Re: JOE 1.0.12 - Blurb
Message-ID: <Cv1yGv.2s2@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <Cur3x5.A95@world.std.com> <Cv0B4q.EDu@world.std.com> <33f26u$fu5@kantti.Helsinki.FI>
Distribution: inet
Date: Wed, 24 Aug 1994 18:38:54 GMT
Lines: 27
Xref: wupost comp.editors:12774 alt.sources:11171 comp.misc:21560 comp.unix.misc:16404 comp.mail.misc:17565 comp.unix.admin:26765
In article <33f26u$fu5@kantti.Helsinki.FI>,
Kari Likovuori <likovuor@cc.Helsinki.FI> wrote:
>Joseph H Allen (jhallen@world.std.com) wrote:
>> \377 Octal
>> \xFF Hex
>
>> Can be used to match a character with specific ASCII code given in
>> octal or hex.
>
> It would be nice if you could insert a character by it's
> ASCII code. I think it would be even more useful than
> functions "Next char is a control char" and "Next char has 7
> bit set".
That's a good idea- I just put it into version 1.0.13, which the sysop here
has still not coppied to the ftp directory (ftp.std.com, file:
src/editors/joe1.0.13.tar.Z).
You can type: `255 or `xFF or `o377
to enter decimanl, hex or octal ASCII values directly.
--
/* jhallen@world.std.com (192.74.137.5) */ /* Joseph H. Allen */
int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0)
+r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2
]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}