9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] about acme!
@ 2007-04-20  8:54 sameer
  2007-04-20  9:03 ` Christian Kellermann
  2007-04-23  8:46 ` [9fans] " Douglas A. Gwyn
  0 siblings, 2 replies; 8+ messages in thread
From: sameer @ 2007-04-20  8:54 UTC (permalink / raw)
  To: 9fans

hello,

how can i make acme or sam to tell me which line of text my cursor is
at
or maybe how could i jump to a particular line number of text in
either of the editors

thanks


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

* Re: [9fans] about acme!
  2007-04-20  8:54 [9fans] about acme! sameer
@ 2007-04-20  9:03 ` Christian Kellermann
  2007-04-20  9:57   ` matt
  2007-04-20 11:57   ` sameer gupta
  2007-04-23  8:46 ` [9fans] " Douglas A. Gwyn
  1 sibling, 2 replies; 8+ messages in thread
From: Christian Kellermann @ 2007-04-20  9:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

* sameer <sameersmail@gmail.com> [070420 11:01]:
> hello,
> 
> how can i make acme or sam to tell me which line of text my cursor is
> at
> or maybe how could i jump to a particular line number of text in
> either of the editors

For acme execute 'Edit ='. See also the Tip 'o the day page on the
wiki

Cheers,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

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

* Re: [9fans] about acme!
  2007-04-20  9:03 ` Christian Kellermann
@ 2007-04-20  9:57   ` matt
  2007-04-20 11:57   ` sameer gupta
  1 sibling, 0 replies; 8+ messages in thread
From: matt @ 2007-04-20  9:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

also try one of these little known secrets

man acme

page /sys/doc/acme/acme.ps  

or you could plumb

acme(4)

/sys/doc/acme/acme.ps 




>* sameer <sameersmail@gmail.com> [070420 11:01]:
>  
>
>>hello,
>>
>>how can i make acme or sam to tell me which line of text my cursor is
>>at
>>or maybe how could i jump to a particular line number of text in
>>either of the editors
>>    
>>
>
>For acme execute 'Edit ='. See also the Tip 'o the day page on the
>wiki
>
>Cheers,
>
>Christian
>
>  
>



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

* Re: [9fans] about acme!
  2007-04-20  9:03 ` Christian Kellermann
  2007-04-20  9:57   ` matt
@ 2007-04-20 11:57   ` sameer gupta
  2007-04-21  6:55     ` Markus Maria Miedaner
  1 sibling, 1 reply; 8+ messages in thread
From: sameer gupta @ 2007-04-20 11:57 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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

thnx i'll try

On 4/20/07, Christian Kellermann <Christian.Kellermann@nefkom.net> wrote:
>
> * sameer <sameersmail@gmail.com> [070420 11:01]:
> > hello,
> >
> > how can i make acme or sam to tell me which line of text my cursor is
> > at
> > or maybe how could i jump to a particular line number of text in
> > either of the editors
>
> For acme execute 'Edit ='. See also the Tip 'o the day page on the
> wiki
>
> Cheers,
>
> Christian
>
> --
> You may use my gpg key for replies:
> pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
>
>

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

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

* Re: [9fans] about acme!
  2007-04-20 11:57   ` sameer gupta
@ 2007-04-21  6:55     ` Markus Maria Miedaner
  2007-04-22  7:12       ` sameer gupta
  0 siblings, 1 reply; 8+ messages in thread
From: Markus Maria Miedaner @ 2007-04-21  6:55 UTC (permalink / raw)
  To: 9fans

On Fri, Apr 20, 2007 at 07:57:04PM +0800, you (sameer gupta) wrote:
> thnx i'll try
> 
> On 4/20/07, Christian Kellermann <Christian.Kellermann@nefkom.net> wrote:
> 
>     * sameer <sameersmail@gmail.com> [070420 11:01]:
>     > hello,
>     >
>     > how can i make acme or sam to tell me which line of text my cursor is
>     > at
>     > or maybe how could i jump to a particular line number of text in
>     > either of the editors
> 
>     For acme execute 'Edit ='. See also the Tip 'o the day page on the
>     wiki
> 
>     Cheers,
> 
>     Christian
> 
>     --
>     You may use my gpg key for replies:
>     pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
> 


Hi,

sam tells you the position/line you are.... when you type = 
(cf. original paper on sam :-) )

markus


 


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

* Re: [9fans] about acme!
  2007-04-21  6:55     ` Markus Maria Miedaner
@ 2007-04-22  7:12       ` sameer gupta
  0 siblings, 0 replies; 8+ messages in thread
From: sameer gupta @ 2007-04-22  7:12 UTC (permalink / raw)
  To: Markus Maria Miedaner, Fans of the OS Plan 9 from Bell Labs

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

thank you ,
that was great help!


On 4/21/07, Markus Maria Miedaner <Markus-Miedaner@web.de> wrote:
>
> On Fri, Apr 20, 2007 at 07:57:04PM +0800, you (sameer gupta) wrote:
> > thnx i'll try
> >
> > On 4/20/07, Christian Kellermann <Christian.Kellermann@nefkom.net>
> wrote:
> >
> >     * sameer <sameersmail@gmail.com> [070420 11:01]:
> >     > hello,
> >     >
> >     > how can i make acme or sam to tell me which line of text my cursor
> is
> >     > at
> >     > or maybe how could i jump to a particular line number of text in
> >     > either of the editors
> >
> >     For acme execute 'Edit ='. See also the Tip 'o the day page on the
> >     wiki
> >
> >     Cheers,
> >
> >     Christian
> >
> >     --
> >     You may use my gpg key for replies:
> >     pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
> >
>
>
> Hi,
>
> sam tells you the position/line you are.... when you type =
> (cf. original paper on sam :-) )
>
> markus
>
>
>
>

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

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

* [9fans] Re: about acme!
  2007-04-20  8:54 [9fans] about acme! sameer
  2007-04-20  9:03 ` Christian Kellermann
@ 2007-04-23  8:46 ` Douglas A. Gwyn
  2007-04-24  6:16   ` cej
  1 sibling, 1 reply; 8+ messages in thread
From: Douglas A. Gwyn @ 2007-04-23  8:46 UTC (permalink / raw)
  To: 9fans

"sameer" <sameersmail@gmail.com> wrote...
> how can i make acme or sam to tell me which line of text my cursor is
> at
> or maybe how could i jump to a particular line number of text in
> either of the editors

In the sam command window, .= will print the current value of dot
(cursor location or highlighted character sequence). including the
line number.  And typing in a line number (then newline) will move
dot to that line.


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

* RE: [9fans] Re: about acme!
  2007-04-23  8:46 ` [9fans] " Douglas A. Gwyn
@ 2007-04-24  6:16   ` cej
  0 siblings, 0 replies; 8+ messages in thread
From: cej @ 2007-04-24  6:16 UTC (permalink / raw)
  To: 9fans

in acme :30 moves to line 30,
:; moves to the EOF


-----Original Message-----
From: 9fans-bounces+cej=gli.cas.cz@cse.psu.edu [mailto:9fans-bounces+cej=gli.cas.cz@cse.psu.edu] On Behalf Of Douglas A. Gwyn
Sent: Monday, April 23, 2007 10:46 AM
To: 9fans@cse.psu.edu
Subject: [9fans] Re: about acme!

"sameer" <sameersmail@gmail.com> wrote...
> how can i make acme or sam to tell me which line of text my cursor is
> at
> or maybe how could i jump to a particular line number of text in
> either of the editors

In the sam command window, .= will print the current value of dot
(cursor location or highlighted character sequence). including the
line number.  And typing in a line number (then newline) will move
dot to that line.


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

end of thread, other threads:[~2007-04-24  6:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-20  8:54 [9fans] about acme! sameer
2007-04-20  9:03 ` Christian Kellermann
2007-04-20  9:57   ` matt
2007-04-20 11:57   ` sameer gupta
2007-04-21  6:55     ` Markus Maria Miedaner
2007-04-22  7:12       ` sameer gupta
2007-04-23  8:46 ` [9fans] " Douglas A. Gwyn
2007-04-24  6:16   ` cej

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).