Re: [U2] "ED: The very finest of 1970s technology!" was: UniVerse Dictionary question

Charles Stevenson <[email protected]> Sun, 09 Feb 2014 17:02:44 +0300
Newsgroups gmane.comp.db.u2.general
Message-ID <[email protected]>
For "ED" on UV we're each partially right, partially wrong.

IB<space><enter> puts you in input mode  instead of inserting a blank 
line like it should, like I<space><enter> does.

But IB<space><space><enter> , does insert a <space>.  At some earlier 
release it don't think it did.  It did what IB<space><enter> should (but 
doesn't) do.

I suppose you want to quibble of over "the finest of 70's technology", too.
How about "Better than EDLIN".   We can probably agree on that.

Thank-you for the nit-picking.  I feel cleaner already.
Chuck

On 2/7/2014 7:03 PM, Howder, Scott wrote:
> Sorry, meant to add the following on my previous post:
>
> At least this is true in AE on Unidata....
>
>
>
> Scott Howder
> Assistant CIO
> Cedarville University
> [email protected]
> 937-766-7905
>
>
> On Fri, Feb 7, 2014 at 10:56 AM, Howder, Scott <[email protected]>wrote:
>
>> IB<space><space><enter> technically does not insert a blank line.  It will
>> insert a line with a space at the beginning.  You can verify this by doing
>> the following:
>>
>> IB<space><space><enter>
>> A<space>X
>>
>> You will notice that the "X" is indented by one space.
>>
>> As others have noted, to actually insert a blank line with nothing in it
>> you would have to use the ` character as in:
>>
>> IB<space>`
>>
>> or
>>
>> I<space>`
>>
>> Kind of picky perhaps but in some cases the difference matters.
>>
>>
>>
>> Scott Howder
>> Assistant CIO
>> Cedarville University
>> [email protected]
>> 937-766-7905
>>
>>
>> On Thu, Feb 6, 2014 at 4:48 AM, Charles Stevenson <
>> [email protected]> wrote:
>>
>>> & it's been that way for, oh I dunno, going back to PI, 30+ years?
>>> That's in input mode.
>>>
>>> Here are some related ED facts about edit-mode that I've found Pickies
>>> (vs. Primates) don't seem to know:
>>>
>>> R<space> <enter>   replaces current line with a blank line.
>>>
>>> I<space>this is some text<enter>
>>>     will insert a line "this is some text"but leave yoiu in edit-mode, not
>>> insert-mode.
>>>
>>> IB will put you in input mode BEFORE the line you're on.
>>>
>>> IB<space>this is a some text<enter>
>>>     will insert a line "this is some text"  BEFORE the current line
>>>     but leave yoiu in edit-mode, not insert-mode.
>>>
>>> There  is a bit of an inconsistency with IB:
>>> IB<space><space><enter>
>>>      Inserts a blank line BEFORE current line.  I don't know why 2 spaces
>>> are needed. Oh, well.
>>>
>>> R<enter>   repeats the previous full-line Replacement
>>> C<enter>   repeats the previous Change command.
>>> R this is some text<enter>
>>>      replaces thw whole line.
>>> R/ABC/XYZ
>>>    is really  C/ABC/XYZ
>>>
>>> So if you pickies are used to saying
>>>      R/ABC/XYZ/
>>> That is really a Change command,   C/ABC/XYZ.
>>> So subsequent C<enter> will repeat your R/ABC/XYZ/
>>>
>>>
>>> Finally, there is the actually helpful HELP<enter> command. (Check out
>>> HELP SEQ<enter>.)
>>>
>>> AE aficionados may quibble over the ED  motto,  "The very finest of 1970s
>>> technology!"
>>>
>>> cds
>>>
>>>
>>> On 2/6/2014 4:24 AM, Clif Oliver wrote:
>>>
>>>> The UniVerse ED verb in input mode accepts a *single* space as a null
>>>> line indicator.
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Clif
>>>>
>>>>
>>>> On Feb 5, 2014, at 6:15 PM, Daniel McGrath <[email protected]>
>>>> wrote:
>>>>
>>>>   A tip my original mentor taught me on the first day was that in ED/AE,
>>>>> the back tick (`) gets treated as an empty line so you can keep going in
>>>>> insert mode and not need to worry about it.
>>>>>
>>>>> Regards,
>>>>> Dan
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: [email protected] [mailto:u2-users-bounces@
>>>>> listserver.u2ug.org] On Behalf Of Martin Scholl
>>>>> Sent: Wednesday, February 05, 2014 5:07 PM
>>>>> To: 'U2 Users List'
>>>>> Subject: Re: [U2] UniVerse Dictionary question
>>>>>
>>>>> The dots were just there to keep the numbered list going, The same I
>>>>> use dots in the Editor to enter blank lines. Later I go to the top and do
>>>>> R/.//50 to remove the dot.
>>>>>
>>>>> -----Original Message-----
>>>>> From: [email protected]
>>>>> [mailto:[email protected]] On Behalf Of Wjhonson
>>>>> Sent: Tuesday, February 04, 2014 3:04 PM
>>>>> To: [email protected]
>>>>> Subject: Re: [U2] UniVerse Dictionary question
>>>>>
>>>>>
>>>>> What are the periods in 3 and 4 for?
>>>>> Did you try removing those?
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Woodward, Bob <[email protected]>
>>>>> To: U2 Users List <[email protected]>
>>>>> Sent: Tue, Feb 4, 2014 11:49 am
>>>>> Subject: Re: [U2] UniVerse Dictionary question
>>>>>
>>>>>
>>>>> Just to make sure, you're wanting FIELD 178 and the first value of that
>>>>> field.  Correct?  Because you have a length of 1, left justified I want to
>>>>> make sure you're not looking for the first character of the 178th field.
>>>>> Maybe if you showed what you're wanting and what you're getting,
>>>>> instead, then we'd be sure to give you an answer that makes sense.
>>>>>
>>>>> -----Original Message-----
>>>>> From: [email protected]
>>>>> [mailto:[email protected]] On Behalf Of Bill Haskett
>>>>> Sent: Tuesday, February 04, 2014 11:45 AM
>>>>> To: U2 Users List
>>>>> Subject: Re: [U2] UniVerse Dictionary queston
>>>>>
>>>>> Martin:
>>>>>
>>>>> This is the only way to do accomplish the defined task in UniData.
>>>>> Maybe "@RECORD<178,1>" is the preferred method in UV.
>>>>>
>>>>> Bill
>>>>> Untitled Page
>>>>>
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------
>>>>> ----- Original Message -----
>>>>> *From:* [email protected]
>>>>> *To:* U2 Users List <[email protected]>
>>>>> *Date:* 2/4/2014 11:33 AM
>>>>> *Subject:* [U2] UniVerse Dictionary queston
>>>>>
>>>>>> UniVerse.
>>>>>>
>>>>>> I want to create a dictionary item that extract value <178,1>
>>>>>>
>>>>>> I thought
>>>>>>
>>>>>> 1.       I
>>>>>> 2.       EXTRACT(@RECORD,178,1,0)
>>>>>> 3.       .
>>>>>> 4.       .
>>>>>> 5.       1L
>>>>>> 6.       S
>>>>>>
>>>>>>
>>>>>> Would do but it does not give me the desired result. Any suggestions?
>>>>>>
>>>>>>

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users