Re: [9fans] Help with a sam cleanup script

2021-07-21 Thread Alexander Kapshuk
On Wed, Jul 21, 2021 at 12:18 PM wrote: > > In ed I have a cleanup script which I can apply to several files at once. The > script removes things like blank lines and spaces between words. To run it on > a file or multiple files, I type this command: > ed [name of file(s)] < cleanup-script > I

Re: [9fans] problem with installing plan9 from USB disk image

2021-03-26 Thread Alexander Kapshuk
Have you tried downloading the archive that contains the CD iso image, https://9p.io/plan9/download/plan9.iso.bz2, and burning that onto a CD or USB drive? If your hardware is supported, https://9p.io/wiki/plan9/Supported_PC_hardware/index.html, you would be able to boot the system off the CD/USB

Re: [9fans] `test -x` returns wrong results for directories

2020-06-06 Thread Alexander Kapshuk
On Sat, Jun 6, 2020 at 9:38 AM Ethan Gardener wrote: > > On Fri, Jun 5, 2020, at 8:22 PM, Richard Miller wrote: > > Looks to me like access(2) is not doing the right thing for directory > > execute (=search) permission. > > thanks for the tip. access is a very simple function. it doesn't do the

Re: [9fans] Stdout and stderr of remote cmd not returned in acme window

2019-12-13 Thread Alexander Kapshuk
ls. :) > > чт, 12 дек. 2019 г. в 11:27, Alexander Kapshuk : >> >> When running a command remotely via ssh2 in acme/win, I get both >> stdout and stderr: >> % ssh2 host date >> Thu Dec 12 10:21:27 EET 2019 >> % ssh2 host nodate >> ksh: nodate: not foun

[9fans] Stdout and stderr of remote cmd not returned in acme window

2019-12-12 Thread Alexander Kapshuk
in an acme window works fine though. What could be causing this? Any pointers would be much appreciated. Alexander Kapshuk. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T8c9b5df754a4a88a-M1d6884165fcda39814941962 Delivery options: https

Re: [9fans] Plan 9 won't boot on Xen 8.0

2019-07-17 Thread Alexander Kapshuk
'' > --- > > ./xenelf.$cputype $target.elf $target.elf2 __xen_guest ''$XENELF'' > > ./xenelf.$cputype $target.elf2 $target __xen_guest ''$XENELF'' > diff -r xen/xenelf.c xen2/xenelf.c > 131c131,132 > < ns = 0; //GETS(); > --- > > ns = GETS();

[9fans] Plan 9 won't boot on Xen 8.0

2019-07-05 Thread Alexander Kapshuk
I had Plan 9 running on Xen 7.5. After upgrading to Xen 8.0 Plan 9 won't boot any more. I get a 'No bootable device' message displayed. The system was previously setup by someone else. If I can, I would like to try and make it run on Xen 8.0. Any tips would be much appreciated.

Re: [9fans] any git client?

2019-02-06 Thread Alexander Kapshuk
On Wed, Feb 6, 2019 at 11:44 AM Richard Miller <9f...@hamnavoe.com> wrote: > > > How does one apply these patches? > > By mounting http://9legacy.org/9legacy/patch on /n/sources/patch and > > then using patch/apply? Or is there some other way? > > I download them with hget and apply them with

Re: [9fans] any git client?

2019-02-06 Thread Alexander Kapshuk
On Mon, Feb 4, 2019 at 12:52 PM Richard Miller <9f...@hamnavoe.com> wrote: > > > to add to the last comment from skip, also note the availability of a > > working ssh and sshfs on 9front :) > > Ssh also works fine on traditional plan9 if you apply these patches > from http://9legacy.org/patch.html

Re: [9fans] Ssh configuration from within drawterm

2018-11-14 Thread Alexander Kapshuk
On Tue, Nov 13, 2018 at 1:20 AM hiro <23h...@gmail.com> wrote: > > did you try with proto=rsa instead of proto=pass ?! > you don't need both rsa and dsa. why not use just rsa? > Thanks for your prompt response. I got rid of the dsa key in my factotum. Here's my current rsa key record in

[9fans] Ssh configuration from within drawterm

2018-11-12 Thread Alexander Kapshuk
I would like to set up ssh on plan9 so I can dial out to the Linux systems on my LAN. What I've done so far is: (1). I've generated rsa and dsa keys and put them in my secstore. auth/rsagen auth/dsagen (2). I've converted both rsa and dsa keys to ssh format and put those in my

Re: [9fans] plan 9 : any pager?

2018-10-02 Thread Alexander Kapshuk
On Wed, Oct 3, 2018 at 6:16 AM Mayuresh Kathe wrote: > > did plan 9 have any pager? or did every text file to be read had to be > opened in acme or a similar tool? > > btw, is there any pager under plan9port? didn't know what to search for, > hence couldn't find any. > > thanks, > > ~mayuresh > >

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-26 Thread Alexander Kapshuk
838, length 44 On to the standalone CPU + auth server setup instructions now. Thanks very much for all your help. On Sun, Aug 26, 2018 at 7:56 AM Alexander Kapshuk wrote: > > Understood. > I'll give it a try and let you know how I go. > Thanks. > > > On Sun, Aug 26, 2018, 0

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Alexander Kapshuk
Understood. I'll give it a try and let you know how I go. Thanks. On Sun, Aug 26, 2018, 00:20 hiro <23h...@gmail.com> wrote: > nothing in the fqa mentions the tap device's mac address (which linux > generated randomly in order not to conflict with whatever you might be > using on the other

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Alexander Kapshuk
se mac=C6:1C:63:D9:91:1D > in the qemu command? i see no mention in the fqa that it should be the > same as the hypervisor's interface! > > On 8/25/18, Alexander Kapshuk wrote: > > Thanks Hiro and Bakul for your prompt responses. > > > > Here's what I've got to report

Re: [9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-08-25 Thread Alexander Kapshuk
2018 at 9:29 PM Bakul Shah wrote: > > On Sat, 25 Aug 2018 14:20:44 +0300 Alexander Kapshuk > wrote: > > I am trying to follow the instructions given here: > > > > http://fqa.9front.org/fqa3.html#3.3.1.4.4 > > 3.3.1.4.4 - Linux TAP > > > > Here's what I'v

[9fans] Static ip configuration for a standalone cpu server in qemu on Linux

2018-07-06 Thread Alexander Kapshuk
understand, and am asking for assistance with, is where those three ip addresses in the example above have to come from. Do I add them to the ethernet interface on the host system, or is there a way to do this from within the Plan 9 system? Thanks. Alexander Kapshuk.

Re: [9fans] simple rc problem in p9p (on OpenBSD)

2018-04-26 Thread Alexander Kapshuk
On Thu, Apr 26, 2018 at 6:08 PM, Rudolf Sykora wrote: > On 26 April 2018 at 16:54, Lucio De Re wrote: >> w=(A B C) >> >> ? > > 1) this is not an answer > 2) the use of it all was that I wanted to send to print > certain files, the list of which I

Re: [9fans] simple rc problem in p9p (on OpenBSD)

2018-04-26 Thread Alexander Kapshuk
On Thu, Apr 26, 2018 at 5:45 PM, Rudolf Sykora wrote: > Hello > > I, using OpenBSD's p9p, see this > > % w='A > B > C' > % echo $w > A > B > C > % for(i in $w) {echo $i; echo XXX} > A > B > C > XXX > > ie, w in for is taken as just one argument instead of > 3.

Re: [9fans] Inferno on Plan9

2017-12-28 Thread Alexander Kapshuk
On Thu, Dec 28, 2017 at 9:54 PM, Brian L. Stuart wrote: > On Sat, Dec 23, 2017 at 7:13 PM, G B wrote: >> I've installed Inferno on FreeBSD but how do you build it for Plan 9? The >> makemk.sh file and without looking, I think the mkconfig file too,

Re: [9fans] Inferno on Plan9

2017-12-23 Thread Alexander Kapshuk
On Sat, Dec 23, 2017 at 7:13 PM, G B wrote: > I've installed Inferno on FreeBSD but how do you build it for Plan 9? The > makemk.sh file and without looking, I think the mkconfig file too, reference > gcc. And the makemk.sh has /bin/sh. Do I have to install a Bourne or

Re: [9fans] How can I clone the plan9 source code to my local

2016-11-05 Thread Alexander Kapshuk
No worries. On Sat, Nov 5, 2016 at 10:47 AM, Kaviraj Launchyard <kavi...@launchyard.com> wrote: > Thanks Alex > > > > On Saturday 05 November 2016 01:39 PM, Alexander Kapshuk wrote: >> >> On Sat, Nov 5, 2016 at 7:43 AM, Kaviraj Launchyard >> <kavi...@

Re: [9fans] How can I clone the plan9 source code to my local

2016-11-05 Thread Alexander Kapshuk
On Sat, Nov 5, 2016 at 7:43 AM, Kaviraj Launchyard wrote: > Hi everyone, > > I'm new to Plan9 community. Just wondering how can I clone the source code > repo of plan9 to my local. I looked around and found a place to browse the > source code online

Re: [9fans] Why does Plan 9 use “snarf” instead of “copy”?

2016-09-12 Thread Alexander Kapshuk
Both 'Zerox' and 'Snarf' are there: /sys/src/cmd/acme/cols.c:34 textinsert(t, 0, L"New Cut Paste Snarf Sort Zerox Delcol ", 38, TRUE); On Mon, Sep 12, 2016 at 1:38 PM, Robert Raschke wrote: > Hi Mateusz, > > as far as I remember, it was originally called "xerox". But

Re: [9fans] Replacement for find

2015-09-30 Thread Alexander Kapshuk
On Wed, Sep 30, 2015 at 9:26 AM, Wolfgang Helbig wrote: > Hello 9fans, > in Unix I use find() like > $ ed `find . -name blabla.java` > > to edit a file in a deeply nested directory. > > How would you accomplish this with commands from plan9 for user space? > > Greetings, > >

Re: [9fans] acme search backwards

2015-09-02 Thread Alexander Kapshuk
On Wed, Sep 2, 2015 at 5:01 PM, wrote: >> Also there was a discussion on 9fans about it with other >> suggestions/solutions. > > :-/RE > > is what I remember Russ recommending, It's not perfect, but it does help. > > Lucio. > > Page 4 of A Tutorial for Sam Command

Re: [9fans] p9p sed vs linux sed

2015-08-14 Thread Alexander Kapshuk
On Wed, Aug 12, 2015 at 10:39 AM, Rudolf Sykora rudolf.syk...@gmail.com wrote: Hello, is this as expected? perseus=; echo -n aaa | 9 sed 's/^//' aaa perseus=; echo -n aaa | sed 's/^//' aaaperseus=; For me the linux sed does what I expect, but not the p9p one (it adds a newline). Why?

Re: [9fans] Acme 2-1 chord arguments

2015-07-16 Thread Alexander Kapshuk
in differently. On Jul 16, 2015, at 11:54 AM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: On Wed, Jul 15, 2015 at 5:06 PM, Brian Zwahr ech...@icloud.com wrote: According to the man page, using the 2-1 chord sends selected text as a *distinct* argument to the executed command. This is all

Re: [9fans] Acme 2-1 chord arguments

2015-07-16 Thread Alexander Kapshuk
. However, using 2-1 to add “pull --prune” or “checkout .” does not work. At least, not in +Errors. It does work in win, though, apparently. On Jul 16, 2015, at 12:39 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: I just tried typing 'git' into my '/project/root/dir/+Errors' with 'log

Re: [9fans] Acme 2-1 chord arguments

2015-07-16 Thread Alexander Kapshuk
On Wed, Jul 15, 2015 at 5:06 PM, Brian Zwahr ech...@icloud.com wrote: According to the man page, using the 2-1 chord sends selected text as a *distinct* argument to the executed command. This is all well and good for Edit, Look, etc. However, it keeps me from being able to, for instance,

Re: [9fans] writing to /dev/$winid/addr

2014-04-23 Thread Alexander Kapshuk
while(! echo -n '/[A-Z]+\![a-z0-9]+\![0-9a-z]+' /dev/$winid/addr [2]/dev/null) sleep 0.2 sel=`{cat /dev/$winid/xdata} echo name $sel /dev/$winid/ctl On Tue, Apr 22, 2014 at 4:53 PM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: Howdy, I'm working on a script where I want to get hold

Re: [9fans] writing to /dev/$winid/addr

2014-04-23 Thread Alexander Kapshuk
That's OK. It's actually ksh on AIX. Thanks for your feedback anyway. On Wed, Apr 23, 2014 at 10:34 PM, erik quanstrom quans...@quanstro.net wrote: #!/bin/rc { echo 'echo $SYSNAME!`uname -n`!$USER' echo 'PS1='':; '' PS2='' ''' } /dev/$winid/body this is not valid rc. - erik

Re: [9fans] writing to /dev/$winid/addr

2014-04-23 Thread Alexander Kapshuk
. On Apr 24, 2014 12:18 AM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: That's OK. It's actually ksh on AIX. Thanks for your feedback anyway. On Wed, Apr 23, 2014 at 10:34 PM, erik quanstrom quans...@quanstro.net wrote: #!/bin/rc { echo 'echo $SYSNAME!`uname -n`!$USER

Re: [9fans] writing to /dev/$winid/addr

2014-04-22 Thread Alexander Kapshuk
Howdy, I'm working on a script where I want to get hold of a particular string and use it as a new name of a particular window. What I've tried so far, although not successfully, is writing to /dev/$winid/addr with the intention of then being able to read the string found from the

Re: [9fans] Partitioning the disk

2014-04-03 Thread Alexander Kapshuk
On 04/03/2014 09:08 PM, Szymon Olewniczak wrote: On Wed, Apr 02, 2014 at 06:02:23PM -0400, erik quanstrom wrote: On Wed Apr 2 17:49:51 EDT 2014, szymon.olewnic...@rid.pl wrote: if you do a pull as glenda, or alternately mount /srv/boot /n/root 9fs atom disk/mkfs

Re: [9fans] 9Front network (driver?) issue

2013-12-23 Thread Alexander Kapshuk
On 12/23/2013 04:59 PM, Blake McBride wrote: BTW, how do I abort a command such as the cat /dev/kpeint? I tried ^c, ^d. ^\. Nothing worked. I ended up having to delete the entire window. Try the Delete key.

Re: [9fans] 9Front network (driver?) issue

2013-12-23 Thread Alexander Kapshuk
On 12/23/2013 05:11 PM, Blake McBride wrote: Amazing how something so simple could stump someone. Thanks! On Mon, Dec 23, 2013 at 9:04 AM, Alexander Kapshuk alexander.kaps...@gmail.com mailto:alexander.kaps...@gmail.com wrote: On 12/23/2013 04:59 PM, Blake McBride wrote: BTW

Re: [9fans] Logitech T400 mouse with Plan9 and Plan9port Acme

2013-02-25 Thread Alexander Kapshuk
I stumbled upon this one a while back. Never used one though. Been using a two-button mouse with a scroll wheel. Does the job. http://h30094.www3.hp.com/product/sku/2545791 On Mon, Feb 25, 2013 at 3:38 PM, Ruslan Khusnullin ruslan.khusnul...@gmail.com wrote: Considering how difficult it is to

Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Alexander Kapshuk
On 05/09/2012 05:44 PM, Vincent Zhao wrote: I will buy laptop pre-installed with plan9, can my dream come true? Toshiba Portege M300. Everything but wifi works as expected.

Re: [9fans] using memory stick

2012-02-05 Thread Alexander Kapshuk
On 02/05/2012 08:08 PM, bs...@urdirect.net wrote: I am trying to figure out whether a memory stick can be used in a usb port on an IBM T23 laptop to transfer files to and from the memory stick, and if so, how to mount the stick and copy files to and from it. The Plan 9 installation I have is

Re: [9fans] assembly syntax in plan 9

2012-01-16 Thread Alexander Kapshuk
i have a question about putting things on the stack for x86 arch under plan 9... under unix/linux, when defining a function, i would: (1). push the address the base pointer is pointing to prior to this function being called, onto the stack; e.g. pushl %ebp (2). then i would have the base pointer

Re: [9fans] assembly syntax in plan 9

2012-01-16 Thread Alexander Kapshuk
, Alexander Kapshuk alexander.kaps...@gmail.comwrote: i have a question about putting things on the stack for x86 arch under plan 9... under unix/linux, when defining a function, i would: (1). push the address the base pointer is pointing to prior to this function being called, onto the stack

Re: [9fans] Supported_PC_hardware list

2011-11-22 Thread Alexander Kapshuk
i was wondering if the Supported_PC_hardware list found here: http://plan9.bell-labs.com/wiki/plan9/Supported_PC_hardware/index.html, was fairly up-to-date? i am particularly interested in the VGA section thanks.

Re: [9fans] Supported_PC_hardware list

2011-11-22 Thread Alexander Kapshuk
On 11/22/2011 03:56 PM, erik quanstrom wrote: On Tue Nov 22 08:30:20 EST 2011, alexander.kaps...@gmail.com wrote: i was wondering if the Supported_PC_hardware list found here: http://plan9.bell-labs.com/wiki/plan9/Supported_PC_hardware/index.html, was fairly up-to-date? i am particularly

Re: [9fans] 9vx instability

2011-11-21 Thread Alexander Kapshuk
have you considered running plan 9 from within virtualbox? plan 9 seems to be fairly responsive running within the latest version of virtualbox on debian squeeze here. On Mon, Nov 21, 2011 at 10:31 AM, Anton fluffyl...@gmail.com wrote: Hello all, Recently I've discovered Plan 9 and I'm