From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3D0DB2C1.AE581D51@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: [9fans] Re: Sam & Acme & 8c questions Date: Mon, 17 Jun 2002 10:52:26 +0000 Topicbox-Message-UUID: b0bda29e-eaca-11e9-9e20-41e7f4b1d025 Blake McBride wrote: > Comment: If you start sam with a single file argument it > would be VERY convinient to have sam automatically > open and display that file taking up its entire data area. Agreed. You have the source; when you figure out how to do it let us all know. > Question 1. In sam (or acme) how can I select more lines > than can fit on the screen? In sam, put the text cursor at the start of the region, enter the command .= (or maybe just =) to display the value of dot, put the text cursor at the end of the region, enter the command {start_dot_value},. to select the region. > Question 3: Most C compilers (or actually their pre-processors) > have some standard defines so that your program can tell what > it's being compiled for at compile time (like _unix_ or __WIN32). > Does the Plan 9 compiler have some standard defines? Not that I know of, but you can add to CFLAGS in your Makefiles -D__plan9_version__=4 or some such.