From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Gonzalez To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, "Ethan A. Gardener" Date: Sat, 21 Jul 2018 10:20:50 -0500 Message-ID: <164bd6dd850.27a3.db5b03704c129196a4e9415e55413ce6@gmail.com> In-Reply-To: <1532179143.3742505.1448197440.4A02E3CA@webmail.messagingengine.com> References: <1532179143.3742505.1448197440.4A02E3CA@webmail.messagingengine.com> User-Agent: AquaMail/1.16.0-1193 (build: 101600006) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] I prefer cropping images in Plan 9 Topicbox-Message-UUID: d95399b6-ead9-11e9-9d60-3106f5b1d025 On July 21, 2018 8:21:10 AM "Ethan A. Gardener" wro= te: > I just had to crop a bunch of images in the Gimp, and recalled how much= I=20 > prefer doing it in Plan 9; it's so much less frustrating. In the Gimp, = it's=20 > either a matter of estimating numbers (for a quick, casual job on visua= l=20 > media), or select, copy, paste into new window. In the latter case, whe= n=20 > you save it, you have to find the directory and the file8749832710473na= me;=20 > not fun. Also, I'm not practised at this; I'm no good at cropping with = my=20 > brain, so I had to zoom, resize the window, and select very carefully s= o=20 > selecting didn't move the image in the window. > > In Plan 9, which isn't even made for the job, it's not without its=20 > frustrations, but it's got fewer of them than the Gimp. Open the image = in=20 > page; use the plumber or otherwise enter the full path so you can=20 > copy/paste it later. Zoom and adjust the window as you like. In another= =20 > window, grep for the filename (or the directory, or whatever,) in=20 > /dev/wsys/*/label, and type cd and send the directory part. (Of course,= =20 > copy/paste or send the file name.) Then: > crop -i 4 window | topng > path/filename.png > This is the part where you'll likely want to copy the full original pat= h.=20 > That's one done. On to the next image, which presumably is open in the = same=20 > instance of page so you don't have to cd or anything. `cat label` to ge= t=20 > its full name and path. (It's possible only 9front's page puts the path= in=20 > the label, I don't know.) To be fair, if you're using a command line, you might as well be using=20 ImageMagick (not criticizing your points or anything, just playing devil'= s=20 advocate). > > It's an operating system with few pretensions and only clunky image edi= ting=20 > tools, versus a powerful two-decade-mature image editing suite. Loading= and=20 > saving the files is no worse in Plan 9 than it is in the Gimp with its=20 > oh-so-modern file selector, and the actual cropping part is easier in P= lan 9! > > > If anyone's waiting for news of my OS where everything is done from an=20 > interpreter prompt, I got distracted for a while but I'm on it again no= w.=20 > I'm staying with Forth but looking at alternatives to swap drop and rol= l --=20 > I mean stack manipulation primitives. Not to start a discussion here, b= ut=20 > I've decided it will have a single tree of names for all permanent stor= age=20 > despite supporting architectures without a filesystem. Disk blocks coul= d be=20 > a directory of numbers under /b0, /b1 etc. OFW's non-volatile environme= nt=20 > variables could be a single-level directory under /nv. Actual local=20 > filesystems, including the host's, could go under /f. Perhaps other=20 > resources could go in the same tree as virtual files, but I'm not build= ing=20 > that bridge until I see the river. It's off topic for this list, so per= haps=20 > mail replies to me privately? While I'm replying here, might as well point out that, if you're going to= =20 do this, I think one thing that could maybe be interesting would be for t= he=20 files to potentially contain rich data, not just plain text? Kind of like= =20 TempleOS or systemd's journal does. > > Any suggestions for a mailing list provider? My primary requirement is = low=20 > maintenance. I see many projects use Google Groups, but would like=20 > suggestions for others if you have them. > Google Groups and Freelist are the best. Google Groups has a terrible UI=20 but also has better spam filters IME. > -- > The lyf so short, the craft so long to lerne. -- Chaucer >