- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dtterm command
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-11-2002 06:39 AM
07-11-2002 06:39 AM
I'm using the command dtterm to launch a command.
Anyone gots examples for the arguments : font, size, color, position ?
Where can I get all the possible values ?
Thanks in Advance
Laurent MENEGUZY
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 06:42 AM
07-11-2002 06:42 AM
Re: dtterm command
read "to launch a window" instead of "to launch a command"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 06:48 AM
07-11-2002 06:48 AM
Re: dtterm command
Don't know about dtterm, but i use hpterm for my use. You can look at the options available with hpterm command by doing "man hpterm"
some examples with of hpterm with options are,
/usr/bin/X11/hpterm -ls -sb -fn 9x15 -geometry 80x50 -display @d
/usr/bin/X11/hpterm -ls -sb -sl 1024 -display @a:0
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 06:54 AM
07-11-2002 06:54 AM
Re: dtterm command
If you choose the resource route create a file called $HOME/.Xdefaults :
add resources like :
Dtterm*foreground:Wheat
Dtterm*background:MidnightBlue
*saveLines:4000
*scrollBar:True
*pointerColor:yellow
*pointerColorBackground:red
*geometry:
*userFont:
etc , exit CDE and log back in the resources should then take effect.
As to the command line : see man page but generally they follow similar syntax :
eg dtterm -ls -sl 400 -bg blue etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 08:18 AM
07-11-2002 08:18 AM
SolutionHi Laurent,
The generic dtterm options is the generic xterm options.
the xterm exist with X11 (all unix system).
dtterm is exist with CDE (SUN,HP,IBM).
the useful option is :
-display machine:0 : execute from a remote machine
-geometry 80x24 : 80 columns 24 lines (default), like a alphanumeric terminal
-fg colour : color of the text
-bg colour : color of backgroung window
-tn vt100 : type of terminal. the default is dtterm. Otherwise vt100, vt220, vt320 can be use, for old alphanuric softs or serial configuration for peripherique (a switch). dtterm, vt100,vt220 and vt320 can be use with ... vi. -tn change the TERM variable.
-ls : login shell. your .profile .kshrc .cshrc .login ... is intepreted. Your environnement is'nt automatcally interpreted. (Xterminal, the shell, ...)
-e command : execute a command and then exist. for a command with option, -e is last option, and the command is quoted.
ie -e "find . -exec ls {} \;"
-name truc : the name of the window is truc.
The Pharaon Alex informations is very cool.
Use $HOME/.Xdefaults for default options of your account.
Where find the resources :
- in the man
- /usr/lib/X11/app-defaults
- /usr/dt/app-defaults/$LANG (file Dtterm)
Where find the color : /usr/lib/X11/rgb.txt
Where find books : "Le monde en tique" librairie
Jean-Yves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2002 11:08 AM
07-11-2002 11:08 AM
Re: dtterm command
Just in case if you are looking to open a notification window, hpterm can be used as:
/usr/bin/X11/hpterm -bg red -fg black -display $system -geometry 300x300 -title "title_you_want_to_show" -e /usr/local/bin/scripts/notice "IN DEFAULT IN CASE - NO ONE ELSE WAS NOTIFIED" &
Where the content of /usr/local/bin/scripts/notice is:
echo $1
sleep 4000
(This helps the hpterm window opened for 4000 seconds.)
Better way is to use xdialog:
/usr/bin/xdialog -display $xterm:0 -fg yellow -bg blue -f $file -geometry
3000x3000 -t "Title_you_want_to_show." -
O "Noted, thanks." &
Hope this helps,
Thanks
Anu Mathew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 01:55 AM
07-12-2002 01:55 AM