\begindata{text822, 0} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Tue, 11 Jan 1994 11:50:18 -0500 (EST) Received: from atk.itc.cmu.edu via qmail ID ; Tue, 11 Jan 1994 11:47:48 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix3; Tue, 11 Jan 1994 11:47:47 -0500 (EST) ReSent-Message-ID: ReSent-Date: Tue, 11 Jan 1994 11:47:47 -0500 (EST) ReSent-From: Robert Andrew Ryan ReSent-To: Info-Andrew X-Andrew-WideReply: netnews.comp.os.linux.help Path: andrew.cmu.edu!bb3.andrew.cmu.edu!news.sei.cmu.edu!cis.ohio-state.edu!math.ohio-state.edu!cs.utexas.edu!uunet!ftpbox!mothost!delphinium.cig.mot.com!zeus!chineham.euro.csg.mot.com!jasonh From: jasonh@chineham.euro.csg.mot.com (Jason Haar) Newsgroups: comp.os.linux.help Subject: Andrew Toolkit mailer problem Date: 11 Jan 1994 09:12:09 GMT Organization: Motorola Cellular Subscriber, Motorola Lines: 26 Message-ID: <2gtqh9$2am@zeus.swindon.rtsg.mot.com> NNTP-Posting-Host: 140.101.110.222 X-Newsreader: TIN [version 1.2 PL2] Hi, I'm running ATK 5.1 under SLS 1.03 (with 0.99p12) and have a spot of bother with the mailer, messages. It works fine for all functions except sending mail :-) If I send a message, it comes up saying that I haven't supplied a "To:" line - I have, but it removes it :-( I'm using sendmail-8.6.5, and have no problem with other mailers like pine/mailx. Upgrading isn't an option at the moment, so if anyone knows the secret... -- Cheers, Jason +------------------------------+------------------------------------------+ | Jason Haar, European SysAdmin Phone: + 44 (256) 790111 | | Motorola Cellular Subscriber Fax: + 44 (256) 817481 | | Basingstoke, Hampshire | | RG24 0GY, ENGLAND Internet: jasonh@chineham.euro.csg.mot.com | +------------------------------+------------------------------------------+ \enddata{text822, 0} \begindata{text822, 2478} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 13 Jan 1994 10:36:19 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Thu, 13 Jan 1994 10:35:41 -0500 (EST) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 13 Jan 1994 10:32:18 -0500 (EST) Received: from relay2.UU.NET (relay2.UU.NET [192.48.96.7]) by po5.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id KAA06918 for ; Thu, 13 Jan 1994 10:32:08 -0500 Received: from spool.uu.net (via LOCALHOST) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA26007; Thu, 13 Jan 94 10:31:54 -0500 Received: from xrxedds.UUCP by uucp1.uu.net with UUCP/RMAIL (queueing-rmail) id 102843.20251; Thu, 13 Jan 1994 10:28:43 EST Received: by xrxedds.com (/\==/\ Smail3.1.25.1 #25.11) id ; Thu, 13 Jan 94 09:27 EST Received: by xyzzy.xrxedds.com (Smail3.1.28.1 #21) id m0pKT1X-0001PWC; Thu, 13 Jan 94 09:27 EST Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.xyzzy.xrxedds.com.sun4.41 via MS.5.6.xyzzy.xrxedds.com.sun4_41; Thu, 13 Jan 1994 09:27:46 -0500 (EST) Message-Id: Date: Thu, 13 Jan 1994 09:27:46 -0500 (EST) From: Chris Liebman Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: info-andrew@andrew.cmu.edu Subject: The contrib alink inset using NetAudio? Hi, Before I junp into this myself, does anyone have a version of the alink (audio inset) that uses NetAudio instead of opening up /dev/audio on a sparc? -- Chris Chris Liebman Work Home Internet: liebman@xrxedds.com liebman@zod.clark.net UUCP: uunet!xrxedds!liebman uunet!clarknet!zod!liebman Phone: 1-703-787-2032 \enddata{text822, 2478} \begindata{text822, 4728} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 15 Jan 1994 17:44:20 -0500 (EST) Received: from atk.itc.cmu.edu via qmail ID ; Sat, 15 Jan 1994 17:42:15 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix3; Sat, 15 Jan 1994 17:42:14 -0500 (EST) Message-ID: Date: Sat, 15 Jan 1994 17:42:14 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 2468+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: C++ ATK filename conventions \begindata{text,539604680} \textdsversion{12} \template{messages} I am considering the issue of how C++ source and header files should be named. Our current convention is .C for C++ source, .H for C++ headers, with no limit on length. In the C++ sources we have eliminated the use of "name keys", these were short names used for the source and header files and dynamic objects. It was deemed not worthwhile to try to do this with C++, so the header files and main source files are named after the class they implement. Some of these classes have rather long names, the break down for classes with names >8 characters: \typewriter{#chars #of classes 9 50 10 39 11 18 12 9 13 2 14 2 15 1 }Proposed Conventions 1. Keep filenames compatible with 8.3, with .cc or .cxx representing C++ source files. C++ header files not distinguished from C header files. Limit class names to 8 characters. This requires changing 121 classes. 2. Limit filenames to 14 characters 2.1. Limit class names to 12 characters, use only single character extensions. (.C and .H, or special Imakefile rules to indicate the default language, and set the language for a specific source/object file.) This would require only 5 classes to be changed. (for 2.2 and 2.3 the .C and .H or Imakefile rules could be used, but other options are available as well.) 2.2. Limit class names to 11 characters, use .cc for C++ source files. C++ header files not distinguished from C headers. 14 classes would have to be changed. 2.3. Limit class names to 10 characters, use .cxx for C++ source files. C++ header files not distinguished from C headers. 32 classes would have to be changed. 3. Do not limit filename lengths. Status quo. :-) 4. Drop or relax the convention of the class name being used verbatim in the source and header filenames. (This would require support for the programmer to specify to the run-time system where to find dynamic objects, effectively reinstating name keys.) This would mean only renaming the files, and installing the mapping from class name to filename somehow. This option has the same length options discussed above, but for filenames only. \ If you have any information or opinions on the issue I'd be happy to hear them :-) Thanks, -Rob Ryan Andrew Consortium p.s. to evaluate how these conventions would impact your sources (should you choose to follow our conventions): cd /your/sources/etc.... find . -name '*.ch' -print|awk 'length($1)-3>8 \{ count[length($1)-3]++\}\\ END \{ for(i in count) \{ print i"\\t"count[i] \} \} \enddata{text,539604680} \enddata{text822, 4728} \begindata{text822, 8445} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 17 Jan 1994 10:37:15 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 17 Jan 1994 10:34:49 -0500 (EST) Received: from vnet.IBM.COM ([192.239.48.4]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id KAA05849 for ; Mon, 17 Jan 1994 10:34:41 -0500 Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 4272; Mon, 17 Jan 94 10:33:29 EST Reply-To: "Todd Inglett" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew@andrew.cmu.edu; Mon, 17 Jan 1994 09:33:16 -0600 Received: via switchmail; Mon, 17 Jan 1994 09:33:16 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Mon, 17 Jan 1994 09:32:57 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Mon, 17 Jan 1994 09:32:51 -0600 (CST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.q.rchland.ibm.com.rs.aix32 via MS.5.6.q.rchland.ibm.com.rs_aix32; Mon, 17 Jan 1994 09:32:49 -0600 (CST) Message-Id: Date: Mon, 17 Jan 1994 09:32:49 -0600 (CST) From: Todd Inglett To: info-andrew@andrew.cmu.edu Subject: Commit button for messages.... Someone mentioned ages ago that the commit button disappeared in messages (you could drag down an lpair from the top of the punt button to reveal the invisible commit button). A couple days ago I bothered to look into this and see that it was the result of altering the code to use an sbutton for 3d effect. Apparently, someone felt (including the original coder) the commit button is only useful when automatic checkpointing is turned off. Personally, I like to "commit" messages anytime I am going to iconify it for an extended period. This is especially true if I am reading messages across a SLIP line. Yeah, it should automatically checkpoint, but what if I have lost my tokens? Anyway, here is a trivial patch to add a "messages.CommitButton" boolean preference. Enjoy. -todd diff -c -r1.7 folders.c *** /tmp/T0hN8Crx Mon Jan 17 09:31:25 1994 --- folders.c Sat Jan 15 19:49:37 1994 *************** *** 1125,1131 **** self->VeryNarrow = vn; if (self->buttons) { boolean WantsPunt = amsutil_GetOptBit(EXP_PUNTBUTT); ! boolean WantsCommit = environ_GetProfileSwitch("messages.TurnOffCheckpointingAndIUnderstandTheD angersForMessages", 0); int buttpct; int ind=0; struct sbutton *bs=sbuttonv_ButtonData(self->buttons); --- 1125,1131 ---- self->VeryNarrow = vn; if (self->buttons) { boolean WantsPunt = amsutil_GetOptBit(EXP_PUNTBUTT); ! boolean WantsCommit = environ_GetProfileSwitch("messages.TurnOffCheckpointingAndIUnderstandTheD angersForMessages", 0) || environ_GetProfileSwitch("messages.CommitButton", 0); int buttpct; int ind=0; struct sbutton *bs=sbuttonv_ButtonData(self->buttons); \enddata{text822, 8445} \begindata{text822, 11938} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 17 Jan 1994 21:02:52 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 17 Jan 1994 21:00:37 -0500 (EST) Received: from vnet.IBM.COM (vnet.ibm.com [192.239.48.4]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id VAA00134 for ; Mon, 17 Jan 1994 21:00:31 -0500 Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 9504; Mon, 17 Jan 94 20:59:55 EST Reply-To: "Todd Inglett" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew@andrew.cmu.edu; Mon, 17 Jan 1994 19:59:32 -0600 Received: via switchmail; Mon, 17 Jan 1994 19:59:32 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Mon, 17 Jan 1994 19:59:02 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Mon, 17 Jan 1994 19:59:01 -0600 (CST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.q.rchland.ibm.com.rs.aix32 via MS.5.6.q.rchland.ibm.com.rs_aix32; Mon, 17 Jan 1994 19:59:00 -0600 (CST) Message-Id: Date: Mon, 17 Jan 1994 19:59:00 -0600 (CST) From: Todd Inglett To: info-andrew@andrew.cmu.edu Subject: Bug in Adew generated inset? I was just playing with insets generated by createcon in ADEW and discovered a subtle little bug. The InitCell() method generated by createcon should call super_InitCell(). Why? Well, this isn't needed to get the view pointers initialized because the code in the generated InitCell does that correctly. However, attempts to call arbiterview_GetNamedView() will fail because super_InitCell() has not chained them to the arbiterview's cell list. Anyone understand what I am talking about? :-) The addition of super_InitCell seems to fix the problem. Could there be nasty side effects? -todd inglett \enddata{text822, 11938} \begindata{text822, 14396} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 20 Jan 1994 10:37:24 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Thu, 20 Jan 1994 10:36:28 -0500 (EST) Received: from gimli.bio.purdue.edu (gimli.bio.purdue.edu [128.210.18.10]) by po5.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id KAA07398 for ; Thu, 20 Jan 1994 10:36:16 -0500 Received: by gimli.bio.purdue.edu id AA10542 (5.65b/IDA-1.4.3 for info-andrew@andrew.cmu.edu); Thu, 20 Jan 94 10:36:15 -0500 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.gimli.bio.purdue.edu.pmax.ul4 via MS.5.6.gimli.bio.purdue.edu.pmax_ul4; Thu, 20 Jan 1994 10:36:10 -0500 (EST) Message-Id: <4hDeHeS0oV8_IbXl4=@gimli.bio.purdue.edu> Date: Thu, 20 Jan 1994 10:36:10 -0500 (EST) From: Dwight McKay X-Andrew-Message-Size: 525+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: Andrew, Mwm and host verification... \begindata{text,19340584} \textdsversion{12} \template{messages} Two questions: 1) How can I fix or turn off the hostname check in messages? For any host ot in the local hosttable it get the "Does this host exist?" dialog even though I can and do resolve a hostname with DNS and send mail through to the host. 2) How do I get the collection of messages windows (messages -w) to open and close together under the mwm window manager? Thanks! \blue{--\bold{Dwight D. McKay}, \italic{Purdue University, Department of Biological Sciences} --\smaller{Office: LILY B-145, Phone: (317) 494-4481} --\typewriter{mckay@gimli.bio.purdue.edu} }\enddata{text,19340584} \enddata{text822, 14396} \begindata{text822, 16484} X-Andrew-Authenticated-As: 469;andrew.cmu.edu;Craig F. Everhart Return-path: X-Andrew-Authenticated-as: 1312;transarc.com;Craig Everhart Received: from craig.transarc.com via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl@andrew.cmu.edu) ID ; Thu, 20 Jan 1994 13:00:00 -0500 (EST) If-Type-Unsupported: send Received: from craig.transarc.com via qmail ID ; Thu, 20 Jan 1994 12:57:11 -0500 (EST) Received: from Messages.7.14.N.CUILIB.3.45.SNAP.NOT.LINKED.craig.transarc.com.pmax.3 via MS.5.6.craig.transarc.com.pmax_3; Thu, 20 Jan 1994 12:57:04 -0500 (EST) Message-ID: Date: Thu, 20 Jan 1994 12:57:04 -0500 (EST) From: Craig_Everhart@transarc.com X-Andrew-Message-Size: 908+0 Content-Type: X-BE2; 12 To: Info-Andrew , Dwight McKay Subject: Re: Andrew, Mwm and host verification... In-Reply-To: <4hDeHeS0oV8_IbXl4=@gimli.bio.purdue.edu> References: <4hDeHeS0oV8_IbXl4=@gimli.bio.purdue.edu> \begindata{text,18366836} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 20-Jan-94 Andrew, Mwm and host verifi.. Dwight McKay@gimli.bio.p (525+0)} \quotation{1) How can I fix or turn off the hostname check in messages? For any host ot in the local hosttable it get the "Does this host exist?" dialog even though I can and do resolve a hostname with DNS and send mail through to the host. } There are a whole mess of options to control this; you put them in your AndrewSetup file. There should be a file you get when you type ``help andrewsetup'' that will deal with this; I think it's installed as $ANDREWDIR\}/help/setup.help . This host name validation should simply work, if other applications on your machine can resolve the host. Or else your copy of Andrew was built without a resolver, or its resolver linkage doesn't work, or something. I'd revisit the build procedure and see if the resolver option was pulled out at build time. Craig \enddata{text,18366836} \enddata{text822, 16484} \begindata{text822, 18912} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 24 Jan 1994 10:25:59 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 24 Jan 1994 10:24:19 -0500 (EST) Received: from vnet.IBM.COM (vnet.ibm.com [192.239.48.4]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id KAA07930 for ; Mon, 24 Jan 1994 10:23:42 -0500 Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 8783; Mon, 24 Jan 94 10:22:46 EST Reply-To: "Robert Kemmetmueller" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew+@andrew.cmu.edu; Mon, 24 Jan 1994 09:21:35 -0600 Received: via switchmail; Mon, 24 Jan 1994 09:21:34 -0600 (CST) Received: from coredump.rchland.ibm.com via qmail ID ; Mon, 24 Jan 1994 09:21:08 -0600 (CST) Received: from coredump.rchland.ibm.com via qmail ID ; Mon, 24 Jan 1994 09:21:06 -0600 (CST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.coredump.rchland.ibm.com.rs.aix32 via MS.5.6.coredump.rchland.ibm.com.rs_aix32; Mon, 24 Jan 1994 09:21:05 -0600 (CST) Message-Id: Date: Mon, 24 Jan 1994 09:21:05 -0600 (CST) From: Robert Kemmetmueller X-Andrew-Message-Size: 355+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: ezdiff-change in readonly buffer?? \begindata{text,538909440} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{global } \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} In \italic{atk/extensions/ezdiff.c}, \typewriter{ezdiff_Change()} function, it calls \typewriter{text_\bold{Always}ReplaceCharacters() ^^^^^^ } Is there a legit reason why a \bold{READONLY} buffer should be modified by \bold{ezdiff}??? I can't think of any... just thought I'd check before I patched it, just because it looks like it was done on purpose. (?) \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,538909440} \enddata{text822, 18912} \begindata{text822, 22136} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 24 Jan 1994 10:46:44 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Mon, 24 Jan 1994 10:45:09 -0500 (EST) Received: from vnet.IBM.COM (vnet.ibm.com [192.239.48.4]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id KAA09074 for ; Mon, 24 Jan 1994 10:44:58 -0500 Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 9068; Mon, 24 Jan 94 10:43:59 EST Reply-To: "Robert Kemmetmueller" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew+@andrew.cmu.edu; Mon, 24 Jan 1994 09:43:27 -0600 Received: via switchmail; Mon, 24 Jan 1994 09:43:27 -0600 (CST) Received: from coredump.rchland.ibm.com via qmail ID ; Mon, 24 Jan 1994 09:43:18 -0600 (CST) Received: from coredump.rchland.ibm.com via qmail ID ; Mon, 24 Jan 1994 09:43:16 -0600 (CST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.coredump.rchland.ibm.com.rs.aix32 via MS.5.6.coredump.rchland.ibm.com.rs_aix32; Mon, 24 Jan 1994 09:43:16 -0600 (CST) Message-Id: <4hEymIo91JbQJUZXh8@rchland.ibm.com> Date: Mon, 24 Jan 1994 09:43:16 -0600 (CST) From: Robert Kemmetmueller X-Andrew-Message-Size: 233+1 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: ezprint command-line options \begindata{text,538909440} \textdsversion{12} \template{messages} \define{center attr:[Justification Centered Point 0]} \define{global } \define{h attr:[FontFamily rom Int 0] attr:[FontSize ConstantFontSize Point 6]} \define{a attr:[Script PreviousScriptMovement Point -1] attr:['color' '#F0A000']} \define{b attr:[Script PreviousScriptMovement Point -1] attr:['color' '#E08000']} \define{c attr:[Script PreviousScriptMovement Point -1] attr:['color' '#D06000']} \define{d attr:[Script PreviousScriptMovement Point -1] attr:['color' '#C05000']} \define{e attr:[Script PreviousScriptMovement Point -2] attr:['color' '#B03000']} \define{f attr:[Script PreviousScriptMovement Point 6] attr:['color' '#A02000']} \define{g attr:['color' '#CD8500']} \define{footnote attr:[Flags OverBar Int Set] attr:[FontSize PreviousFontSize Point -2]} \heading{Question:} Why doesn't \typewriter{ezprintapp__ParseArgs()} call \typewriter{super_ParseArgs()}? (Was it an oversight, or by design? I don't see any potential conflicts in doing so, except possibly the -p option: \footnote{\ \begindata{fnote,540185088} \textdsversion{12} \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \define{red menu:[Color,Red] attr:['color' 'Red']} \define{footnote attr:[Flags OverBar Int Set] attr:[FontSize PreviousFontSize Point -2]} \bold{APP} -appname (app name) -bg (background color) -d (no fork) -display (display) -fg (foreground color) -fl (force load) -geometry (geometry) -host (host) -iconic (iconified) -ni (no initfile) \red{-p (profile?) }-pref (preference) -xrm (HP thing?) \bold{EZPRINT} -q (quiet) -i (index only) -I (index only) -e???=??? (set envrmt var) -E (auto enumerate) -F (footnote loc) -c (contents) -C (contents list) -L (landscape) -D (draft) -2 (multiup) -4 (multiup) -8 (multiup) -N (chap num) -T (troff args) -n (troff something) \red{-p (preview) }-t (troff) -h (hardcopy) -o (doc name) -O (doc name) -s (stdin) -a (printargs) -m (left margin) -l (line length) -n (no fill) -v (scribe vers) -V (scribe vers) -z (lock & del) -S (printer) -P (printer) \footnote{ }\bold{EZ} - (stdin) -o (objectname, pointless) -r (readonly) -w (in a window) +# (line num) filename \enddata{fnote,540185088} \view{fnotev,540185088,54,0,0}}) \center{ \h{\f{R\e{o\d{b\c{er\b{t K\a{emme}tmu}el}l}e}r }\g{rskm@rchland 3-4968 }}}\enddata{text,538909440} \enddata{text822, 22136} \begindata{text822, 26582} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 24 Jan 1994 15:17:18 -0500 (EST) Received: from atk.itc.cmu.edu via qmail ID ; Mon, 24 Jan 1994 15:14:45 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix3; Mon, 24 Jan 1994 15:14:44 -0500 (EST) ReSent-Message-ID: ReSent-Date: Mon, 24 Jan 1994 15:14:44 -0500 (EST) ReSent-From: Robert Andrew Ryan ReSent-To: Info-Andrew X-Andrew-WideReply: netnews.comp.soft-sys.andrew Newsgroups: comp.soft-sys.andrew Path: andrew.cmu.edu!bb3.andrew.cmu.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!adobe!usenet From: zstern@adobe.com (Zalman Stern) Subject: Re: C++ ATK filename conventions Message-ID: <1994Jan18.001722.26681@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated References: Date: Tue, 18 Jan 1994 00:17:22 GMT Lines: 38 8.3 filenames were a mistake when they were done originally. Blow off any thoughts renaming everything to fit 8.3 conventions. These issues aren't really all that hard to deal with. For include files, a good solution is to do something like this: #include PACKAGE_DEFS #include PKG_TEXTVIEW_H And on the compile line, say '-DPACKAGE_DEFS='. In PackageDefinitions.h have lines like so: #define PKG_TEXTVIEW_H Then write a semi-system-dependent program to generate the package definition file. There is no problem in computer science that cannot be solved by adding another level of indirection. As for the C and C++ files, those names can be translated when the distribution medium is unpacked onto a braindamaged filesystem. In particular, many network filesystem implementations for DOS and Windows already have code builtin to generate unique 8.3 names from longer names. (Notably, NetWare and PC-NFS will do this. I'm pretty sure LANManager or whatever Microsoft's product is called does this now that NT supports 256 character filenames.) For the dynamic runtime support, just come up with a simple name hasher of some sort, possibly with a cached mapping file. There is no need to change the class names to do this. (Especially since you don't even really care if the hashed .do filenames are the same from build to build.) The first two problems are pretty moot for 8.3 anyway because you can cross build for Windows on an NT machine. -- Zalman Stern zalman@adobe.com (415) 962 3824 Adobe Systems, 1585 Charleston Rd., POB 7900, Mountain View, CA 94039-7900 "Hello, Birdie!" -- Edgar Allan Poe on Prozac. (Huguette Martel) \enddata{text822, 26582} \begindata{text822, 29859} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 24 Jan 1994 16:01:09 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 24 Jan 1994 16:00:26 -0500 (EST) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 24 Jan 1994 15:54:44 -0500 (EST) Received: from atk.itc.cmu.edu via qmail ID ; Mon, 24 Jan 1994 15:54:03 -0500 (EST) Received: from atk.itc.cmu.edu via qmail ID ; Mon, 24 Jan 1994 15:43:50 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix3; Mon, 24 Jan 1994 15:43:49 -0500 (EST) Message-ID: Date: Mon, 24 Jan 1994 15:43:49 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 1840+0 Content-Type: X-BE2; 12 To: Outbound News , Info-Andrew Subject: Re: C++ ATK filename conventions In-Reply-To: <1994Jan18.001722.26681@adobe.com> References: <1994Jan18.001722.26681@adobe.com> \begindata{text,538915864} \textdsversion{12} \template{messages} So far I've received 4 replies total. One opposed to any limit on class name lengths. One suggested a level of indirection, and one opposed to another level of indirection. (assuming it was at least half serious :-) And one wondering if there were reasons to adopt either filename limit (8.3 or 14). The proposal to go to an 8.3 limit on filenames was indeed motivated by the lack of long filename support for CDs on many systems. HPUX, I know sometimes uses short filenames, though longer filenames are supported now. I believe maybe SCO and Coherent also have a 14 char limit. The C++ version of ATK is currently only known to compile and run on RS/6000s, Decstations, and HP 700/800s. However, there is no reason to think it won't work on any other particular flavor of UNIX, modulo the variability in C++ implementations and environments. The dynamic loading is optional, as is the new support for shared libraries. I seriously don't want to risk anyone being put off from using ATK because it uses a few long filenames. \ The indirection proposal has the drawback of hiding the real filenames from the programmer and requiring at least semi-automated support for translating filenames from long to short. (Or short to long, since the long to short conversion may be problematical for us to implement on a system with only short filenames.) believe we should limit filenames to 14 characters. Mapping support is already integrated into the run-time system for class aliases. (To support the use of old-style name keys as arguments to the class_ functions.) This same code will support translation from the long names to the short names for any classes whose names exceed 12 characters. (leaving only one character for extension.) The short names will be used only to load dynamic objects. -Rob Ryan Andrew Consortium \enddata{text,538915864} \enddata{text822, 29859} \begindata{text822, 33626} Return-path: X-Andrew-Authenticated-as: 91;andrew.cmu.edu;Tom Neuendorffer Received: from highland.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Wed, 26 Jan 1994 17:38:33 -0500 (EST) Received: from highland.itc.cmu.edu via qmail ID ; Wed, 26 Jan 1994 17:34:20 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.highland.itc.cmu.edu.rs.aix31 via MS.5.6.highland.itc.cmu.edu.rs_aix31; Wed, 26 Jan 1994 17:34:20 -0500 (EST) Message-ID: Date: Wed, 26 Jan 1994 17:34:20 -0500 (EST) From: Tom Neuendorffer X-Andrew-Message-Size: 1571+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: "Robert Kemmetmueller" Subject: Re: ezdiff and ezprint CC: Info-Andrew In-Reply-To: References: \begindata{text,539315976} \textdsversion{12} \template{messages} \define{italic menu:[Font~1,Italic~11] attr:[FontFace Italic Int Set]} \define{bold menu:[Font~1,Bold~10] attr:[FontFace Bold Int Set]} \define{typewriter menu:[Font~1,Typewriter~40] attr:[FontFace FixedFace Int Set] attr:[FontFamily AndyType Int 0]} \define{heading menu:[Title~3,Heading~11] attr:[LeftMargin LeftMargin Inch -13107] attr:[Justification LeftJustified Point 0] attr:[FontFace Bold Int Set]} \excerptedcaption{Excerpts from internet.other.info-andrew: 24-Jan-94 ezdiff-change in readonly b.. Robert Kemmetmueller@vne (355+0)} \quotation{In \italic{atk/extensions/ezdiff.c}, \typewriter{ezdiff_Change()} function, it calls } \quotation{ \typewriter{text_\bold{Always}ReplaceCharacters() }}\typewriter{\quotation{ ^^^^^^ }} \quotation{Is there a legit reason why a \bold{READONLY} buffer should be modified by \bold{ezdiff}??? I can't think of any... just thought I'd check before I patched it, just because it looks like it was done on purpose. (?) } I thought about this at the time. It just had to do with the way I liked working. I would rather modify a readonly buffer and then be told to write it somewhere else, then have what I am doing be interrupted while I was doing it (if I didn't really want it to change, I wouldn't have told it to change in the first place) . But given the way the rest of the software works, I agree that getting rid of the 'always' would be more consistent. \excerptedcaption{Excerpts from internet.other.info-andrew: 24-Jan-94 ezprint command-line options Robert Kemmetmueller@vne (233+1)} \quotation{\heading{Question:} Why doesn't \typewriter{ezprintapp__ParseArgs()} call \typewriter{super_ParseArgs()}? } \quotation{(Was it an oversight, or by design? I don't see any potential conflicts in doing so, except possibly the -p option) } Ezprint is a strange app in that it never brings up a window. Given that, none of the generic App arguments (that existed at that time) had much significance. I thought that calling super_ParseArgs would, at best, be redundant and , at worst, have the potential of calling code that would either assume the presence of a window or gobble up some argument ezprint was interested in. Tom \enddata{text,539315976} \enddata{text822, 33626} \begindata{text822, 37177} Return-path: X-Andrew-Authenticated-as: 32766 Received: from po2.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Thu, 27 Jan 1994 20:39:57 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 27 Jan 1994 11:02:47 -0500 (EST) Received: from gimli.bio.purdue.edu (gimli.bio.purdue.edu [128.210.18.10]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id LAA09249 for ; Thu, 27 Jan 1994 11:02:41 -0500 Received: by gimli.bio.purdue.edu id AA03656 (5.65b/IDA-1.4.3 for info-andrew+@andrew.cmu.edu); Thu, 27 Jan 94 11:02:39 -0500 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.gimli.bio.purdue.edu.pmax.ul4 via MS.5.6.gimli.bio.purdue.edu.pmax_ul4; Thu, 27 Jan 1994 11:02:35 -0500 (EST) Message-Id: Date: Thu, 27 Jan 1994 11:02:35 -0500 (EST) From: Dwight McKay X-Andrew-Message-Size: 930+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew+@andrew.cmu.edu Subject: flames questions... \begindata{text,19115384} \textdsversion{12} \template{messages} Question #1) I'm using flames to sort my incoming e-mail. I receive some messages from our VMS systems which are tabular and are had to read in proportional spacing. Can I have my flames file set these messages to be displayed in a fixed width font? Question #2) Can I have flames put messages which match multiple times in my flames file into just the first matching folder? For example, I have the following in my flames file: (("subject") ("Rdist report") ("System-Stuff.rdist-logs")) (("from") ("root*") ("System-Stuff.unix-logs")) Some messages match both due to being an rdist log and coming from root. I'd like the message to be placed in the rdist log folder and not the unix logs folder. \blue{--\bold{Dwight D. McKay}, \smaller{Purdue University, Department of Biological Sciences} --\italic{Office:} LILY B-145, \italic{Phone:} (317) 494-4481 --\typewriter{mckay@gimli.bio.purdue.edu} }\enddata{text,19115384} \enddata{text822, 37177} \begindata{text822, 39650} Return-path: X-Andrew-Authenticated-as: 32766 Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 28 Jan 1994 00:49:44 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Thu, 27 Jan 1994 15:57:54 -0500 (EST) Received: from vnet.IBM.COM (vnet.ibm.com [192.239.48.4]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id PAA26653 for ; Thu, 27 Jan 1994 15:57:23 -0500 Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 9518; Thu, 27 Jan 94 15:56:24 EST Reply-To: "Todd Inglett" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew@andrew.cmu.edu; Thu, 27 Jan 1994 14:56:38 -0600 Received: via switchmail; Thu, 27 Jan 1994 14:56:38 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Thu, 27 Jan 1994 14:56:25 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Thu, 27 Jan 1994 14:56:24 -0600 (CST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.q.rchland.ibm.com.rs.aix32 via MS.5.6.q.rchland.ibm.com.rs_aix32; Thu, 27 Jan 1994 14:56:24 -0600 (CST) Message-Id: Date: Thu, 27 Jan 1994 14:56:24 -0600 (CST) From: Todd Inglett X-Andrew-Message-Size: 650+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew@andrew.cmu.edu Subject: textview-prev-screen-move \begindata{text,538885632} \textdsversion{12} \template{messages} One of our users noticed a little oddity in this proc. He claims that ez is the first editor he has seen where paging up with this proc (this is not the default for page up) actually moves the text cursor to the \italic{bottom} of the page. I suppose the author of the proc felt that the cursor should stay as close to its last position as possible. Our user thinks it is inconsistent. If page down puts the text cursor on the first line, page up should do the same. After playing with it, I tend to agree. Watching the cursor bounce back and forth when I switch from page up to page down looks a little silly. Anyone have any opinions? -todd inglett \enddata{text,538885632} \enddata{text822, 39650} \begindata{text822, 42304} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po4.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Fri, 28 Jan 1994 10:16:07 -0500 (EST) Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 28 Jan 1994 10:15:40 -0500 (EST) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Fri, 28 Jan 1994 10:12:56 -0500 (EST) Received: from thumper.bellcore.com (thumper.bellcore.com [128.96.41.1]) by po5.andrew.cmu.edu (8.6.4/8.6.4) with ESMTP id KAA06863 for ; Fri, 28 Jan 1994 10:12:52 -0500 Received: from guppylake.bellcore.com (guppylake.bellcore.com [128.96.40.15]) by thumper.bellcore.com (8.6.4/8.6.4) with SMTP id KAA29088; Fri, 28 Jan 1994 10:12:40 -0500 Received: by guppylake.bellcore.com (4.1/4.7) id for mckay@gimli.bio.purdue.edu; Fri, 28 Jan 94 10:14:06 EST Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.guppylake.bellcore.com.sun4.41 via MS.5.6.guppylake.bellcore.com.sun4_41; Fri, 28 Jan 1994 10:14:05 -0500 (EST) Message-Id: Date: Fri, 28 Jan 1994 10:14:05 -0500 (EST) From: Nathaniel Borenstein X-Andrew-Message-Size: 1920+0 Mime-Version: 1.0 Content-Type: text/richtext; charset=US-ASCII Content-Transfer-Encoding: quoted-printable To: info-andrew+@andrew.cmu.edu, Dwight McKay Subject: Re: flames questions... In-Reply-To: Message from "Dwight McKay " dated "Thu, 27 Jan 1994 11:02:35 -0500 (EST)" Excerpts from mail: 27-Jan-94 flames questions... Dwight McKay@gimli.bio.p (930+0) Question #1) I'm using flames to sort my incoming e-mail. I receive some messages from our VMS systems which are tabular and are had to read in proportional spacing. Can I have my flames file set these messages to be displayed in a fixed width font? The only way I can think of to do this would be to add a "Content-type" header and then massage the data accordingly. With enough work, you could pull it off, but it wouldn't be trivial. Question #2) Can I have flames put messages which match multiple times in my flames file into just the first matching folder? For example, I have the following in my flames file: Yes, this is easy in principle. From your example, though, I assume that you're using one of the "canned" FLAMES procedures, like post-to-list. If you're trying to get different semantics than post-to-list, you will have to roll your own procedure. Basically, you'll need to learn how the listp primitive "cond" works. Here's a fragment from one of our bigger FLAMES files: (cond ((and (> (strlen subjectheader) 10) (equal "showaudio: " (substring subjectheader 0 11))) (appendmsgtodir msg (findfolder "bb.daemons.showaudio" "w"))) ((strcontains "mailserver@" destheaders) (handle-autosend msg (mailserver-keyword msg subjectheader))) ((strcontains "mailserver%" destheaders) (handle-autosend msg (mailserver-keyword msg subjectheader))) ((and (> (strlen subjectheader) 9) (equal (substring (lcstring subjectheader) 0 9) "autosend:")) (handle-autosend msg (substring (lcstring subjectheader) 9 (- (strlen subjectheader) 9)))) ((lessp (bodylength msg) 2) (appendmsgtodir msg (findfolder "lost.garbage" "w"))) The point is, this is a full-fledged programming language, you can do nearly anything if you work hard enough at it.... -- Nathaniel \enddata{text822, 42304} \begindata{text822, 46441} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Sat, 29 Jan 1994 08:24:30 -0500 (EST) Received: from po3.andrew.cmu.edu via qmail ID ; Sat, 29 Jan 1994 08:23:45 -0500 (EST) Received: from vnet.IBM.COM (vnet.ibm.com [192.239.48.4]) by po3.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id IAA01590 for ; Sat, 29 Jan 1994 08:23:36 -0500 Received: from RCHLAND by vnet.IBM.COM (IBM VM SMTP V2R2) with BSMTP id 9302; Sat, 29 Jan 94 08:22:36 EST Reply-To: "Todd Inglett" Received: by po1 (AIX 3.2/UCB 5.64/4.7) id for info-andrew+@andrew.cmu.edu; Fri, 28 Jan 1994 15:39:38 -0600 Received: via switchmail; Fri, 28 Jan 1994 15:39:38 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Fri, 28 Jan 1994 15:39:14 -0600 (CST) Received: from q.rchland.ibm.com via qmail ID ; Fri, 28 Jan 1994 15:39:13 -0600 (CST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.q.rchland.ibm.com.rs.aix32 via MS.5.6.q.rchland.ibm.com.rs_aix32; Fri, 28 Jan 1994 15:39:12 -0600 (CST) Message-Id: <8hGMM0w91IowFfPCMv@rchland.ibm.com> Date: Fri, 28 Jan 1994 15:39:12 -0600 (CST) From: Todd Inglett X-Andrew-Message-Size: 4574+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: info-andrew+@andrew.cmu.edu Subject: Re: flames questions... In-Reply-To: References: \begindata{text,538885632} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from ext.misc.info-andrew: 27-Jan-94 flames questions... Dwight McKay@gimli.bio.p (930+0)} \quotation{Question #1) I'm using flames to sort my incoming e-mail. I receive some messages from our VMS systems which are tabular and are had to read in proportional spacing. Can I have my flames file set these messages to be displayed in a fixed width font? } I added this by hacking atkams/messages/lib/text822.c to determine if the message is 1) sent by messages, 2) MIME, or 3) something else. If it is #3 it will wrap the message with a typewriter style. Our users seem to like it a lot--and of course it is a preference. It seems to work ok, although there might be a couple cases I missed. Included is a patch if you want to try it. My source is ATK 6.0.1 which you don't have if you aren't a consortium member. The code has changed quite a bit since ATK 5.1.x so you might have a little difficulting fitting it in. -todd inglett RCS file: RCS/text822.c,v retrieving revision 1.7 diff -c -r1.7 text822.c *** /tmp/T0fH0DM2 Fri Jan 28 15:36:46 1994 --- text822.c Wed Jan 5 13:28:27 1994 *************** *** 86,91 **** --- 86,92 ---- style_SetFontSize(self->BigBoldStyle, style_PreviousFontSize, 2); style_AddNewFontFace(self->BigBoldStyle, (long) fontdesc_Bold); text822_SetCopyAsText(self, TRUE); + self->autofix = FALSE; return(TRUE); \} *************** *** 260,266 **** --- 261,272 ---- boolean showheads, usefn, printminors; boolean showallbutkeys = amsutil_GetOptBit(EXP_SHOWALLBUTKEYS); struct fnote *fn; + boolean fmtmail = InsideRecursion; /* recursion implies MIME mail which is formatted. */ + static boolean auto_fix_mail = -1; + if (auto_fix_mail == -1) + auto_fix_mail = environ_GetProfileSwitch("AutoFixedWidthMail", TRUE); + currentcharset = (char *) getenv("MM_CHARSET"); if (!currentcharset) \{ #ifdef ISO80_FONTS_ENV *************** *** 349,354 **** --- 355,361 ---- strncpy(ContentType, StrippedHeader, sizeof(ContentType)); free(headerContent); \} + fmtmail = TRUE; \} else if (!amsutil_lc2strncmp("content-transfer-encoding", LineBuf, sizeof(LineBuf))) \{ strncpy(ContentEncoding, ColonLocation ? ColonLocation+1 : "", sizeof(ContentEncoding)); *************** *** 361,366 **** --- 368,374 ---- \} else if (!amsutil_lc2strncmp("x-andrew-scribeformat", LineBuf, sizeof(LineBuf))) \{ strncpy(ScribeFormatVersion, ColonLocation ? ColonLocation+1 : "", sizeof(ScribeFormatVersion)); + fmtmail = TRUE; \} else if ((Mode == MODE822_NORMAL) && !amsutil_lc2strncmp("x-andrew-text822mode", LineBuf, sizeof(LineBuf))) \{ int newmode; newmode = ColonLocation ? (atoi(ColonLocation+1)) : MODE822_NORMAL; *************** *** 367,372 **** --- 375,390 ---- Mode = 0; if (newmode & AMS_PRINT_FIXED) Mode |= MODE822_FIXEDWIDTH; if (newmode & AMS_PRINT_ROT13) Mode |= MODE822_ROT13; + fmtmail = TRUE; + \} else if (!fmtmail && !amsutil_lc2strncmp("x-andrew-message-size", LineBuf, sizeof(LineBuf))) \{ + fmtmail = TRUE; \} if (showheads && MyHeadsArray) \{ int i; *************** *** 451,460 **** \} \} ShowPos = *BodyStart = text822_GetLength(d) - JunkAtEnd; ! if (Mode & MODE822_FIXEDWIDTH) \{ ! et = environment_InsertStyle(((struct text *)d)->rootEnvironment, *BodyStart, FixedStyle, 1); environment_SetLength(et, text822_GetLength(d) - *BodyStart); environment_SetStyle(et, TRUE, TRUE); \} if (!ContentTypeOverride) \{ ContentTypeOverride = ContentType; --- 469,489 ---- \} \} ShowPos = *BodyStart = text822_GetLength(d) - JunkAtEnd; ! /* Wrap the text with a typewriter style if the mode is fixed, or if the mail is ! * not formatted but authenticated. If the mail is not authenticated, we assume ! * it is a reply-to and shouldn't be munged. ! */ ! if (Mode & MODE822_FIXEDWIDTH || (auto_fix_mail && !(Mode & MODE822_NOAUTOFIX) && !fmtmail)) \{ ! struct stylesheet *ss = text822_GetStyleSheet(d); ! struct style *fixed = NULL; ! ! if (ss != NULL) ! fixed = stylesheet_Find(ss, "typewriter"); /* Use style from messages.tpl if available. */ ! et = environment_InsertStyle(((struct text *)d)->rootEnvironment, *BodyStart, fixed ? fixed : FixedStyle, 1); environment_SetLength(et, text822_GetLength(d) - *BodyStart); environment_SetStyle(et, TRUE, TRUE); + if (!(Mode & MODE822_FIXEDWIDTH)) + d->autofix = TRUE; \} if (!ContentTypeOverride) \{ ContentTypeOverride = ContentType; \enddata{text,538885632} \enddata{text822, 46441} \begindata{text822, 53287} Return-path: X-Andrew-Authenticated-as: 0;andrew.cmu.edu;Network-Mail Received: from po5.andrew.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 31 Jan 1994 08:51:59 -0500 (EST) Received: from po2.andrew.cmu.edu via qmail ID ; Mon, 31 Jan 1994 08:51:49 -0500 (EST) If-Type-Unsupported: send Received: from po5.andrew.cmu.edu via qmail ID ; Mon, 31 Jan 1994 08:48:53 -0500 (EST) Received: from sulu.cldc.howard.edu (sulu.cldc.howard.edu [138.238.135.158]) by po5.andrew.cmu.edu (8.6.4/8.6.4) with SMTP id IAA03868 for ; Mon, 31 Jan 1994 08:48:40 -0500 Received: by sulu.cldc.howard.edu (5.65/DEC-Ultrix/4.3) id AA02314; Mon, 31 Jan 1994 08:49:45 -0500 Received: by picard.cldc.howard.edu (5.65/DEC-Ultrix/4.3) id AA09143; Mon, 31 Jan 1994 08:53:47 -0500 Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.picard.pmax.ul4 via MS.5.6.picard.pmax_ul4; Mon, 31 Jan 1994 08:53:43 -0500 (EST) Message-Id: Date: Mon, 31 Jan 1994 08:53:43 -0500 (EST) From: "Calvin G. Smith" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: info-andrew@andrew.cmu.edu Subject: Console's CPU load. Hi all, I've compiled andrew onto our machines not too long ago, and so far I love it! I've got a question/problem, though. 1. Currently, I'm using both the console and the xload program and it seems to me that the console's CPU load meter and the xload meter don't quite correspond. Could you explain /fix this ? Thanks in advance, -Calvin --------------------------------------------------------------------- "Information - the currency of the future" cgs@cldc.howard.edu --------------------------------------------------------------------- \enddata{text822, 53287} \begindata{text822, 55464} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 31 Jan 1994 11:59:29 -0500 (EST) Received: from atk.itc.cmu.edu via qmail ID ; Mon, 31 Jan 1994 11:58:01 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix3; Mon, 31 Jan 1994 11:58:00 -0500 (EST) Message-ID: Date: Mon, 31 Jan 1994 11:58:00 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 572+0 Content-Type: X-BE2; 12 If-Type-Unsupported: send To: Info-Andrew Subject: Re: Console's CPU load. In-Reply-To: References: \begindata{text,539352428} \textdsversion{12} \template{messages} \excerptedcaption{Excerpts from internet.other.info-andrew: 31-Jan-94 Console's CPU load. "Calvin G. Smith"@cldc.h (556*)} \quotation{1. Currently, I'm using both the console and the xload program and it seems to me that the console's CPU load meter and the xload meter don't quite correspond. Could you explain /fix this ? } As I understand it they measure different things, the CPU load meter in console measures the amount of "idle time" vs user, kernel, and wait time. The xload program measures the average # of processes waiting to be run during some time period. -Rob Ryan Andrew Consortium \enddata{text,539352428} \enddata{text822, 55464} \begindata{text822, 57348} Return-path: X-Andrew-Authenticated-as: 5904;andrew.cmu.edu;Robert Andrew Ryan Received: from atk.itc.cmu.edu via trymail for info-andrew+@andrew.cmu.edu (->+dist+/afs/andrew.cmu.edu/usr0/ak99/dists/info-andrew-nostrip.dl) ID ; Mon, 31 Jan 1994 12:01:35 -0500 (EST) If-Type-Unsupported: send Received: from atk.itc.cmu.edu via qmail ID ; Mon, 31 Jan 1994 11:59:53 -0500 (EST) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.atk.itc.cmu.edu.rs.aix31 via MS.5.6.atk.itc.cmu.edu.rs_aix3; Mon, 31 Jan 1994 11:59:50 -0500 (EST) Message-ID: Date: Mon, 31 Jan 1994 11:59:50 -0500 (EST) From: Robert Andrew Ryan X-Andrew-Message-Size: 177+0 Content-Type: X-BE2; 12 To: Info-Andrew Subject: PS -- Re: Console's CPU load. In-Reply-To: References: \begindata{text,539352428} \textdsversion{12} \template{messages} Btw, see help lacc for information on making console do different things. Note though that I don't think it has any exact equivalent of the xload idea of CPU monitoring. -Rob \enddata{text,539352428} \enddata{text822, 57348}