From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <11a9efd9821b9f9e4f44adfd7126c820@cirno.sfldmibb.det.wayport.net> References: <11a9efd9821b9f9e4f44adfd7126c820@cirno.sfldmibb.det.wayport.net> Date: Fri, 7 Nov 2014 22:13:47 +0000 Message-ID: From: Mats Olsson To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Persistent font in Acme. Topicbox-Message-UUID: 255f4630-ead9-11e9-9d60-3106f5b1d025 Hi sl! Thanks for your input. I tried something similar and got an error message. I tried your suggestion and got the same error message. It says: "rc: /bin/a:3: token EOF:syntax error". So something else must be added. Thanks! Kind Regards, Mats 2014-11-07 20:03 GMT, sl@9front.org : >> I like the idea of making a small script but I couldn't make it work. >> What I want is to get this to execute without to much typing: >> term%acme -f /lib/font/bit/lucidasans/latin1.10.font and that's it. >> Any suggestion for a script and how to execute it would be most >> appreciated. > > Anything you type into the shell that produces the desired result is > a valid shell script. > > So, you could make a script $home/bin/rc/a: > > #!/bin/rc > acme -f /lib/font/bit/lucidasans/latin1.10.font > > Do chmod +xr $home/bin/rc/a and then run it by just typing a. > > sl > >