9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] non GUI editor for plan9
@ 2011-05-03  2:23 Jason Dreisbach
  2011-05-03  2:30 ` erik quanstrom
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jason Dreisbach @ 2011-05-03  2:23 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

Hi all,

Set my plan9.ini vesa resolution incorrectly... I get dropped to a shell on
boot, but I don't know of any non GUI editors for plan 9.

Can anyone suggest an editor?

Thanks,
Jason

[-- Attachment #2: Type: text/html, Size: 282 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  2:23 [9fans] non GUI editor for plan9 Jason Dreisbach
@ 2011-05-03  2:30 ` erik quanstrom
  2011-05-03  2:37 ` dexen deVries
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: erik quanstrom @ 2011-05-03  2:30 UTC (permalink / raw)
  To: 9fans

On Mon May  2 22:25:55 EDT 2011, jtdreisb@gmail.com wrote:

> Hi all,
>
> Set my plan9.ini vesa resolution incorrectly... I get dropped to a shell on
> boot, but I don't know of any non GUI editors for plan 9.
>
> Can anyone suggest an editor?

ed(1).

- erik



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  2:23 [9fans] non GUI editor for plan9 Jason Dreisbach
  2011-05-03  2:30 ` erik quanstrom
@ 2011-05-03  2:37 ` dexen deVries
  2011-05-03  2:45   ` erik quanstrom
  2011-05-03  2:47 ` Jason Dreisbach
  2011-05-03  4:51 ` smiley
  3 siblings, 1 reply; 8+ messages in thread
From: dexen deVries @ 2011-05-03  2:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tuesday 03 of May 2011 04:23:59 Jason Dreisbach wrote:
> Set my plan9.ini vesa resolution incorrectly... I get dropped to a shell on
> boot, but I don't know of any non GUI editors for plan 9.
>
> Can anyone suggest an editor?


been there once, used sed, did the job for me. about the only thing it lacks
when compared to usual interactive editors is edit-in-place. work around that
like:
cp php.ini php.ini.broken
sed '(stuff)' < php.ini.broken > php.ini

or use the standard text editor: ed ;-)

a more plan-9-ish way would be to export relevant namespace subtree and work
from a different machine, i guess... but i have no idea how to :D

--
dexen deVries

``One can't proceed from the informal to the formal by formal means.''



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  2:37 ` dexen deVries
@ 2011-05-03  2:45   ` erik quanstrom
  0 siblings, 0 replies; 8+ messages in thread
From: erik quanstrom @ 2011-05-03  2:45 UTC (permalink / raw)
  To: 9fans

> a more plan-9-ish way would be to export relevant namespace subtree and work
> from a different machine, i guess... but i have no idea how to :D

clearly, the easy way to do this is learn ed.  if you know how
sed works, there are only two more commands that need learning: w and q.

however, in this case, there's a trick.  announce thy self as none,
and vga will not be started.

- erik



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  2:23 [9fans] non GUI editor for plan9 Jason Dreisbach
  2011-05-03  2:30 ` erik quanstrom
  2011-05-03  2:37 ` dexen deVries
@ 2011-05-03  2:47 ` Jason Dreisbach
  2011-05-03  3:47   ` ron minnich
  2011-05-03  4:51 ` smiley
  3 siblings, 1 reply; 8+ messages in thread
From: Jason Dreisbach @ 2011-05-03  2:47 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

I used sed and cat. Now up and running fine.

On Mon, May 2, 2011 at 7:23 PM, Jason Dreisbach <jtdreisb@gmail.com> wrote:

> Hi all,
>
> Set my plan9.ini vesa resolution incorrectly... I get dropped to a shell on
> boot, but I don't know of any non GUI editors for plan 9.
>
> Can anyone suggest an editor?
>
> Thanks,
> Jason
>

[-- Attachment #2: Type: text/html, Size: 646 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  2:47 ` Jason Dreisbach
@ 2011-05-03  3:47   ` ron minnich
  2011-05-03  4:45     ` Venkatesh Srinivas
  0 siblings, 1 reply; 8+ messages in thread
From: ron minnich @ 2011-05-03  3:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Mon, May 2, 2011 at 7:47 PM, Jason Dreisbach <jtdreisb@gmail.com> wrote:
> I used sed and cat. Now up and running fine.


it's hard to overstate the value of ed, however.

ron



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  3:47   ` ron minnich
@ 2011-05-03  4:45     ` Venkatesh Srinivas
  0 siblings, 0 replies; 8+ messages in thread
From: Venkatesh Srinivas @ 2011-05-03  4:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

sam -d

-- vs



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] non GUI editor for plan9
  2011-05-03  2:23 [9fans] non GUI editor for plan9 Jason Dreisbach
                   ` (2 preceding siblings ...)
  2011-05-03  2:47 ` Jason Dreisbach
@ 2011-05-03  4:51 ` smiley
  3 siblings, 0 replies; 8+ messages in thread
From: smiley @ 2011-05-03  4:51 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Jason Dreisbach <jtdreisb@gmail.com> writes:

> Hi all,
>
> Set my plan9.ini vesa resolution incorrectly... I get dropped to a shell on
> boot, but I don't know of any non GUI editors for plan 9.

I use a plan9.ini with a menu.  I make sure to have one menu entry with
everything "=ask" so, if I screw something up, I can still get a
sensible boot by specfying each setting manually.

Jason Dreisbach <jtdreisb@gmail.com> writes:

> Can anyone suggest an editor?

Yeah, there's ed.  Booting the install CD is another option.

--
+---------------------------------------------------------------+
|E-Mail: smiley@zenzebra.mv.com             PGP key ID: BC549F8B|
|Fingerprint: 9329 DB4A 30F5 6EDA D2BA  3489 DAB7 555A BC54 9F8B|
+---------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-03  4:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-03  2:23 [9fans] non GUI editor for plan9 Jason Dreisbach
2011-05-03  2:30 ` erik quanstrom
2011-05-03  2:37 ` dexen deVries
2011-05-03  2:45   ` erik quanstrom
2011-05-03  2:47 ` Jason Dreisbach
2011-05-03  3:47   ` ron minnich
2011-05-03  4:45     ` Venkatesh Srinivas
2011-05-03  4:51 ` smiley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).