1000 columns file browser

1000 columns file browser

Post by Ismed Hartan » Sat, 23 Apr 1994 02:03:51



Hi, I have a lot of TEXT files which has 1000 or more COLUMNS in it.
I need to be able to browse it 80 columns at a time
(just like XEDIT or BROWSE in IBM VM/CMS).

Anybody outthere know of a UNIX editor/browser that able to do this ?

Thanks.
- ismed hartanto

 
 
 

1000 columns file browser

Post by Ami Fischm » Sat, 23 Apr 1994 02:57:12


: Hi, I have a lot of TEXT files which has 1000 or more COLUMNS in it.
: I need to be able to browse it 80 columns at a time
: (just like XEDIT or BROWSE in IBM VM/CMS).

Check out most.  Might need a bit of hacking if you're not using Linux, but
it's a great program.

--
                                        --Ami
                                          Have YOU hugged YOUR smurf today?
Families, when a child is born
Want it to be intelligent.
I, through intelligence,
Having wrecked my whole life,
Only hope the baby will prove
Ignorant and stupid.
Then he will crown a tranquil life
By becoming a Cabinet Minister
                -- Su Tung-p'o

 
 
 

1000 columns file browser

Post by Barbara Vaugh » Sun, 24 Apr 1994 00:00:08


|> Hi, I have a lot of TEXT files which has 1000 or more COLUMNS in it.
|> I need to be able to browse it 80 columns at a time
|> (just like XEDIT or BROWSE in IBM VM/CMS).
|>
|> Anybody outthere know of a UNIX editor/browser that able to do this ?
|>

The browser most will do this; you can move the display right or left
with the cursor-right and cursor-left keys.  Otherwise the commands are
pretty much the same as more or less.  You can also move through two files
in a synchronized fashion, which is pretty useful.

Barbara Vaughan

 
 
 

1000 columns file browser

Post by Barbara Vaugh » Sun, 24 Apr 1994 00:00:20



|> : Hi, I have a lot of TEXT files which has 1000 or more COLUMNS in it.
|> : I need to be able to browse it 80 columns at a time
|> : (just like XEDIT or BROWSE in IBM VM/CMS).
|>
|> Check out most.  Might need a bit of hacking if you're not using Linux, but
|> it's a great program.
|>
|> --
|>                                   --Ami
|>                                     Have YOU hugged YOUR smurf today?

I had no problems compiling it for a Sun 4 OS.

Barbara Vaughan

 
 
 

1000 columns file browser

Post by Dr. Charles E. Campbell J » Sun, 24 Apr 1994 00:22:23


ViM  will handle 1000 column files, with (optionally) no wrapping
(:set nowrap).  Its available on:

        ftp.cdrom.com : pub/aminet/util/edit   -as- vim-2.0-src.lha      

Its really a vi superset; has unlimited undo, for example -- uses ctrl-R to
undo the undos.

It compiles on Unix, AmigaDos, and MiSeryDos!

        Unix    : You need to compile it with C.  
        AmigaDos: You need to compile it with Lattice or Manx C.
        MSDOS   : You need to compile it with Turbo C.
--
        Charles E Campbell, Jr, PhD            _   __   __      
        Guidance and Controls Branch (712)    / /_/\_\_/ /      
        Goddard Space Flight Center          /_/  \/_//_/      

 
 
 

1000 columns file browser

Post by Bill Beat » Mon, 25 Apr 1994 01:25:39



: |> Hi, I have a lot of TEXT files which has 1000 or more COLUMNS in it.
: |> I need to be able to browse it 80 columns at a time
: |> (just like XEDIT or BROWSE in IBM VM/CMS).
: |>
: |> Anybody outthere know of a UNIX editor/browser that able to do this ?
: |>

Why not use "The Hessling Editor / THE" which is a fairly good VM/CMS Xedit
clone.  I get it from rexx.uwaterloo.ca (there are other sites as well).  It
comes with source code, also has a number of precompiled versions for specific
platforms, and if you also get REGINA REXX, has a pretty complete macro
capability.  I don't know its width limit, but its well over 2000 columns.

Compiles like a charm using gcc at least on a SVR[123] platform.

Bill

 
 
 

1000 columns file browser

Post by Bill Beat » Tue, 26 Apr 1994 11:20:57




Quote:: (Bill Beaton) writes:



:    : |> Hi, I have a lot of TEXT files which has 1000 or more COLUMNS in it.
:    : |> I need to be able to browse it 80 columns at a time
:    : |> (just like XEDIT or BROWSE in IBM VM/CMS).
:    : |>
:    : |> Anybody outthere know of a UNIX editor/browser that able to do this ?
:    : |>
:    Why not use "The Hessling Editor / THE" which is a fairly good VM/CMS Xedit
:    clone.  I get it from rexx.uwaterloo.ca (there are other sites as well).  It
:    comes with source code, also has a number of precompiled versions for specific

: The reason is simple:  it is not a browser.  For example, can you pipe text to
: it, e.g., last | THE?  What happens if the file contains text like:

:    B^HBO^HOL^HLD^HD

: Here ^H means Control-H.  How does THE display this?  MOST will display this
: text as BOLD in standout mode on a terminal.

: MOST is a replacement for more/less that allows you to easily scroll
: left/right, supports multiple windows, selective display, and more.

: I am going to begin working on a new version of MOST soon.  I want to add
: user customizable keymaps to it, etc...  Any comments regarding what features
: the next version should include are more than welcome.

As I read the user request, I saw a specific request (perhaps misinterpreted)
for some degree of VM/CMS compatability ... THE has very high level, MOST has
zero compat level.

Assuming that the user request implies familiarity with XEDIT, then pipes
would probably not be a major consideration, but it would be extremely
trivial to do use the following Bourne function ...
browse(){
        the /dev/fd/0

Quote:}

It works fine on my AT&T SV system with THE 1.5.  Yes, you are partially
correct about stuff like nroff bolding & underlining ... OTOH, more handles
those, and less handles them as well, along with allowing a high level of
custom key-mapping ... if one also uses ul in a pipe, then the user can
even select the italic font representation ... and all of these capabilities
are well debugged ... most is still adding them.

Bill

 
 
 

1. sed/awk : need just the first column in a multi-column file


assuming you will have a space as the delimiter for your data ...
here it is in AWK.

AWK script would be ...
{ print $1 }

and then you would execute this on the command-line ...

AWK -f [script file] [data file] > output.file (if you want to save the
output)

note:  there are other elegent ways of doing the above, but this
        example is probably the easiest way to think about it.

-Bob-

Bob Angell                               | Data Integration (multi-platform)
Principal, Management Systems Engineer   | Health Systems Engineering
Applied Information & Management Systems | Database design/development
1238 Fenway Avenue - SLC, UT 84102-3212  | Simulation/Modeling/Neural Nets

     [Standard Disclaimer: Speaking for the University of Utah, NOT!]

2. Linux, socket, IPv6, Traffic Class

3. Enabling 10/1000/1000 NIC Card

4. is ne2100 compatible supported?

5. How to force the speed of a 10/100/1000 ethernet card to 1000

6. SuSE 6 doc.

7. Anyone got a working XF86Config file for Diamond Fire GL 1000 Pro

8. file descriptor

9. csh - how do I manipulate 1000's of files in a script?

10. Compiling 1000 files,Script

11. ? Solaris 7 / SUNW,Sun-Blade-1000 platform files

12. easiest way to add 1000 users from a Caldera .shadow file

13. How to save 1000-3000 (or more) individual files on a TR1 cartridge?