- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to set dtterm history in CDE
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
03-25-2003 02:18 AM
03-25-2003 02:18 AM
I currently have an issue with increasing the history of a dtterm.
I know that the command "/usr/dt/bin/dtterm -ls 32000" Gives me terminal with almost the maximum of history.
But how to adapt CDE to set it as default for a new window.
Anybody any idea about which file I need and what param I need to adapt ?
Regs David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:34 AM
03-25-2003 02:34 AM
Re: How to set dtterm history in CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:40 AM
03-25-2003 02:40 AM
Re: How to set dtterm history in CDE
edit you $HOME/.profile and add next lines
HISTFILE=/.sh_history
HISTSIZE=250
export HISTFILE HISTSIZE
Don't forget to uncomment the line in .dtprofile
DTSOURCEPROFILE=true
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:46 AM
03-25-2003 02:46 AM
Re: How to set dtterm history in CDE
If you look at a terminal in CDE (f.e. a dtterm) you have a scroll-bar in the right. This is your terminal history/memory.
You can hence a new term using dtterm -ls 32000, so that your terminal has a history of 32000 lines (you can scroll them up and down). But how to change CDE in a way that it standard has a history/memory size of 32000 when I open a new window.
Best Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:51 AM
03-25-2003 02:51 AM
Re: How to set dtterm history in CDE
(from a window with your DISPLAY variable set)
/usr/bin/X11/xrdb -merge <
EOF
And now when you do dtterm& it spawns off a window which does a shell login also and as long as you have your HISTFILE set in your .profile it will setup you shell history automatically.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:57 AM
03-25-2003 02:57 AM
SolutionHere you will find what you need,
rgds,
Maz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:58 AM
03-25-2003 02:58 AM
Re: How to set dtterm history in CDE
*dtterm*saveLines: 32000
You can set this manually using xrdb or in the system Xresource file in /usr/dt/config/C.iso885915
If you do the system Xresource file you will need to restart X to pick it up (its permanent from then on) whereas xrdb will take effect immediately but will be lost on next reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:59 AM
03-25-2003 02:59 AM
Re: How to set dtterm history in CDE
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 03:50 AM
03-25-2003 03:50 AM
Re: How to set dtterm history in CDE
*saveLines:4000
*scrollBar:True
wq!
exit out of CDE and then back for changes to take effect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:05 AM
03-25-2003 04:05 AM
Re: How to set dtterm history in CDE
I found the solution with your help.
cd /usr/dt/appconfig/types/C/
grep dtterm *
shows : /usr/dt/appconfig/types/C/dt.dt
-----
modify file :
EXEC_STRING /usr/dt/bin/dtterm
into :
EXEC_STRING /usr/dt/bin/dtterm -sl 20000
Then left mouse button and restart WS manager.
Et voila !
Thank you all for your help !!
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:14 AM
03-25-2003 04:14 AM
Re: How to set dtterm history in CDE
You should not be modifying CDE resources in /usr, those are the system defaults - copy them to /etc which is where the local customizations are supposed to be.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:15 AM
03-25-2003 04:15 AM
Re: How to set dtterm history in CDE
A better approach is use my suggestion for a per user basis or cp /usr/dt/app-defaults/C/Dtterm -> /etc/dt/app-defaults/C/Dtterm and add the resources there for system wide changes that effect ALL ways of kicking off dtterms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:18 AM
03-25-2003 04:18 AM
Re: How to set dtterm history in CDE
Are you implying that it's OK to modify in the /usr structure? I thought that was a no-no!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:20 AM
03-25-2003 04:20 AM
Re: How to set dtterm history in CDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 04:45 AM
03-25-2003 04:45 AM
Re: How to set dtterm history in CDE
I must confess indeed well spotted. It was a while back I addapted things like these. Thanks to you it all get clear again.
You are definit proving your state of Pharao.
Regs David