From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Blake McBride Message-ID: Subject: [9fans] Sam & Acme & 8c questions Date: Mon, 17 Jun 2002 09:14:48 +0000 Topicbox-Message-UUID: aff7e1ee-eaca-11e9-9e20-41e7f4b1d025 Okay, I'm getting into this. I used sam for a while and got used to it but going in and out was a pain - enter acme. Anyway, I have some questions and comments. 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. This would make quick edits a lot easier. You could just type sam file.c and just start editing it. Calling sam, selecting the single file, specifing the window size each time is a real pain. Perhaps if more than one file is specified it should just auto-display the first and allow manual selection of the other files. Perhaps this should be done with a command line optional argument (although I don't think so). Question 1. In sam (or acme) how can I select more lines than can fit on the screen? For example let's say I'm editing a file with 1000 lines and 40 are being displayed (because that is all that will fit). Let's say I want to snarf an 80 line function. How can I do that? Question 2: If I start a new copy of acme it isn't defaulting an rc shell window like it is when the system boots. This is fine, but how do I start one? 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? Thanks a lot. Blake McBride blake@intega-online.com