- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Xwindows - vi - 132 column edit
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 05:50 AM
07-21-2000 05:50 AM
Xwindows - vi - 132 column edit
The users want to be able to edit 132 columns with vi and be able to display 132 columns within a window.
I have a file with 132 charaters of data. If I do env from the terminal window of CDE, the COLUMNS variable is set 108. When I do cat 132file it raps at 108 characters.
Can you point me in the correct direction to solve this one?
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 06:05 AM
07-21-2000 06:05 AM
Re: Xwindows - vi - 132 column edit
what about the Options->Window Size->132x24 ?
Did this not work ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 06:08 AM
07-21-2000 06:08 AM
Re: Xwindows - vi - 132 column edit
If use csh, set COLUMNS=132; export COLUMNS.
Is it any better?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 06:20 AM
07-21-2000 06:20 AM
Re: Xwindows - vi - 132 column edit
The shell is ksh.
The .Xdefaults has *geometry: 132x24-1-1
I tried to use a smaller font in .Xdefaults.
*fontList: -adobe-courier-medium-o-normal--10-100-75-75-m-50-hp-roman8
THis seemed to make the charaters smaller in the titles of the TERMINAL window display but not the window itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 06:40 AM
07-21-2000 06:40 AM
Re: Xwindows - vi - 132 column edit
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 07:52 AM
07-21-2000 07:52 AM
Re: Xwindows - vi - 132 column edit
In the terminal window, under Option->Terminal->Screen Control it is a possibility to enable 132 columns. Just enable it. With the mouse enlarge the screen to... for ex. 135.
vi is writting 132, and more command is reading 132.
I used the following setting: env: TERM_EMULATOR=dtterm, TERM=vt200, COLUMNS=135, LINES=24. Under Option menu from the terminal window: Font Size=default, Window 80x24.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 09:55 AM
07-21-2000 09:55 AM
Re: Xwindows - vi - 132 column edit
Set the value of the window editor option to 'size'
vi -w132
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 09:56 AM
07-21-2000 09:56 AM
Re: Xwindows - vi - 132 column edit
I think the CDE environment is getting in the way. I am trying to see if from my PC, which uses EXCEED to interface with the UNIX host, I can disable the CDE from starting.
any more ideas? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 10:10 AM
07-21-2000 10:10 AM
Re: Xwindows - vi - 132 column edit
@(XTerm, method=stdappdb) -display @d&;
Use REXEC (TCP/IP) as the start method and X Window as the program type.
Save the xstart file and then run it by clicking on "Run!" on the top menu.
Your display will be resolved automatically.
If you have an old version of exceed, you'll have to play with the xterm command and the display will not resolve automatically.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 10:52 AM
07-21-2000 10:52 AM
Re: Xwindows - vi - 132 column edit
What I try was under exceed in a 17 inch monitor and it worked.
Anyway, if you are using exceed, you can try Exceed->xstart.
In the command line type something as:
/usr/bin/X11/xterm -ls -display @d -title whatever -sb -sl 256 -bg 'white' -fg 'black' &
For host give even the IP address or name of the Unix box, Program Type Xwindow, Rexec(TCP/IP) as Start Metod.
Still not luck?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 10:52 AM
07-21-2000 10:52 AM
Re: Xwindows - vi - 132 column edit
Did exactly what you stated. Had no problem. Still did not work. The CDE environment was still started. Suspect it may be something on the UNIX server that triggers it???
By the way the version of exceed was 5.1.3.0 for windows 95.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 11:09 AM
07-21-2000 11:09 AM
Re: Xwindows - vi - 132 column edit
Go in Win95, exceed, Xconfig->commnunication-choose XDMCP-broadcast. Start X-start session again. Will get asked about exiting/make active or pasive the session. Go with pasive.
Can you, please tell me what happened when you enlarge the session window with the mouse and under option you enable Terminal->Screen Control to 132 enable?
Thanks,
Antoanetta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 11:09 AM
07-21-2000 11:09 AM
Re: Xwindows - vi - 132 column edit
So far you are the closest.
The Xwindow opened but I was only able to get 128 characters to display. Also, it took a few seconds after I started entering commands in the Xwindow was taken over with CDE startup. After CDE started I was able to work in the Xwindow. Thanks. Any more ideas??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 11:15 AM
07-21-2000 11:15 AM
Re: Xwindows - vi - 132 column edit
Next step: If you could not get more then 128 columns when you try to enlarge the window, Just go Option->font Size->11.0 or ...9.5
???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 11:59 AM
07-21-2000 11:59 AM
Re: Xwindows - vi - 132 column edit
When I did what you said there is a small scroll bar on the left side of my window. Also, I do not have the bar that I can use to select tools options window-size or fonts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 12:17 PM
07-21-2000 12:17 PM
Re: Xwindows - vi - 132 column edit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 01:27 PM
07-21-2000 01:27 PM
Re: Xwindows - vi - 132 column edit
Any of those session windows has a title and just below it a menu bar: Window Edit Options Help.
If you go under Option on this menu bar you have Terminal. Clik in Terminal and you'll get a Terminal-Ternimal-Option where Screen control is.
It is the same in a xterm.
If someone understood that I'm talking about, please help.