The latest update can be found on the Bruker FTP servers:



Similar documents
Tutorial Guide to the IS Unix Service

Introduction to the UNIX Operating System and Open Windows Desktop Environment

Virtual Office Remote Installation Guide

Changing Your Cameleon Server IP

Using SSH Secure Shell Client for FTP

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

Compuprint 4247 Serial Matrix Printers

Getting Started with Mplus Version 7.31 Demo for Mac OS X and Linux

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor

Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab

Avaya Network Configuration Manager User Guide

Fred Hantelmann LINUX. Start-up Guide. A self-contained introduction. With 57 Figures. Springer

Linux Development Environment Description Based on VirtualBox Structure

AT&T Global Network Client v6.8.0 and Passport IP Setup Instructions for Broadband VPN Access

Check current version of Remote Desktop Connection for Mac.. Page 2. Remove Old Version Remote Desktop Connection..Page 8

VERITAS NetBackup 6.0

Fundamentals of UNIX Lab Networking Commands (Estimated time: 45 min.)

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

Windows Server 2008 R2 Initial Configuration Tasks

SA-9600 Surface Area Software Manual

Introduction to Operating Systems

LPR for Windows 95/98/Me/2000/XP TCP/IP Printing User s Guide. Rev. 03 (November, 2001)

Network Printing In Windows 95/98/ME

Web File Management with SSH Secure Shell 3.2.3

Active Directory Integration for Greentree

There s a variety of software that can be used, but the approach described here uses freely available Cygwin software: (1) Cygwin/X (2) Cygwin/openssh

Shellshock Security Patch for X86

AccXES Client Tools 10.0 User Guide 701P41529 May 2004

Installing the SSH Client v3.2.2 For Microsoft Windows

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

DP-313 Wireless Print Server

Installing Exceed. (Exceed Exceed 15 3D + SecureShell 15)

Mondopad v1.6. Quick Start

Virtual CD v10. Network Management Server Manual. H+H Software GmbH

Using Secure4Audit in an IRIX 6.5 Environment

How to use FTP Commander

Belkin. Automatic Power Management Software. User s Manual

How To Use Senior Systems Cloud Services

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Terminal Server Guide

Printer Connection Manager

There are numerous ways to access monitors:

CANON FAX L360 SOFTWARE MANUAL

Xerox 700 Digital Color Press with Integrated Fiery Color Server. Utilities

INSTALL ZENTYAL SERVER

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

User s Manual CAREpoint EMS Workstation D-Scribe Reporting System

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

ICE.TCP Pro Update Installation Notes

How to use SURA in three simple steps:

KI6501 Data Manager. Software User Manual

SQL Server 2008 R2 Express Edition Installation Guide

2 Advanced Session... Properties 3 Session profile... wizard. 5 Application... preferences. 3 ASCII / Binary... Transfer

Configuring MailArchiva with Insight Server

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

4cast Client Specification and Installation

Tera Term Telnet. Introduction

WS_FTP Pro for Windows 95/98/NT


QQConnect Overview Guide

Installing Proview on an Windows XP machine

Adafruit's Raspberry Pi Lesson 7. Remote Control with VNC

SSL VPN Setup for Windows

Quick Scan Features Setup Guide. Scan to Setup. See also: System Administration Guide: Contains details about setup.

Remote Access for Cisco Unity 8.x

NDA ISSUE 1 STOCK # CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, NEC America, Inc.

VoIP Quick Start Guide

Moxa Device Manager 2.0 User s Guide

Setting Up Monthly Reporter

Installing the Microsoft Network Driver Interface

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Installing S500 Power Monitor Software and LabVIEW Run-time Engine

Introduction. This white paper provides technical information on how to approach these steps with Symantec Antivirus Corporate edition.

Rev C. DBDS Backup and Restore Procedures For System Release 2.2 Through 4.3

Human Resources Installation Guide

Installation Notes for Outpost Network Security (ONS) version 3.2

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

How to register and use our Chat System

Using Internet or Windows Explorer to Upload Your Site

Linko Software Express Edition Typical Installation Guide

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

17 April Remote Scan

UM8000 Voic System Administration Guide

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

Bosch ReadykeyPRO Unlimited Installation Guide, product version 6.5. This guide is item number DOC , revision 2.029, May 2012.

Addonics T E C H N O L O G I E S. NAS Adapter. Model: NASU Key Features

Winpower. User Manual. To find user manual in other languages and software updates, please visit for more information

Copyright. Disclaimer. Introduction 1. System Requirements Installing the software 4

ProjectWise Explorer V8i User Manual for Subconsultants & Team Members

REMOTE DESKTOP SETUP INSTRUCTIONS

Advanced Digital Imaging

MyNetFone Virtual Fax. Virtual Fax Installation

DiskPulse DISK CHANGE MONITOR

Installing LearningBay Enterprise Part 2

Setting Up the Device and Domain Administration

CODESOFT Installation Scenarios

NetBackup Backup, Archive, and Restore Getting Started Guide

Transcription:

This manual describes features of the X-windows environment on SGI and Aspect Station I. Functions of the SGI toolchest are described as well as several ways to set up your personal X-environment. For a full description of X- windows we refer to the books and WWW pages written on this subject. This manual is available in: - PDF format -> unix-xwindows.pdf - FRAMEVIEWER format -> unix-xwindows.doc The latest update can be found on the Bruker FTP servers: on ftp.bruker.de in the directories: /pub/nmr/courses+manuals/pdf /pub/nmr/courses+manuals/doc on ftp.bruker.com in the directories: /pub/nmr/mirror.bruker.de/courses+manuals/pdf /pub/nmr/mirror.bruker.de/courses+manuals/doc The README file describes its installation and usage. It is also delivered as XWIN-NMR online help: click Help -> Other topics -> Unix-Xwindows Please send your comments to: nmr-software-support@bruker.de

Index X-windows on SGI 1 Functions of the Toolchest 2 Customize your X-environment - configuration files 5 - function keys in X-windows 8 - how to change the font of a UNIX shell 10 - how to start applications by mouse click 12 X-windows on Aspect Station 14 Appendix A: the command Editres 17

1 X-windows on SGI After successful login on an SGI workstation you have at least one window on your screen, the so called Toolchest. The Toolchest offers you the possibility to start applications by mouse click. One of these applications is a UNIX shell or UNIX window. In a UNIX shell you can enter UNIX commands like pwd, ls, cd etc. or you can start other applications. Operating system: IRIX Default window manager: 4Dwm User specific resources files:.xsession.xresources.sgisession.4dwmrc.auxchestrc UNIX shells: - xterm - winterm Useful X commands: xlsfonts, xdpyinfo, xfontsel, xman, xhost, xterm, winterm, xwininfo, xprop, editres. Manual Pages: - man X - man 4Dwm - man <command> (see commands above)

2 Functions of the Toolchest The Toolchest is a small window on the desktop of an SGI workstation. The Toolchest: - automatically appears when you log in at a terminal which is directly connected to the workstation - offers you a list of system tools and applications - allows you to start tools and applications by mouse click - can be customized in your personal file.auxchestrc - can be started with the command toolchest when you are logged in over the network The Toolchest usually contains the following buttons: * Desktop - open a UNIX shell, log out, customize * Selected - handle files and directories graphically * Find - find tools and applications on the local host - find files, hosts, printers etc. network wide * System - start the system management tools for disks, printers, network, system software, users etc. - restart the window manager, restart the host * Help - the SGI online books and manual pages

3 examples * Open a UNIX window (a UNIX shell) Desktop -> Unix Shell * log out Desktop -> Log Out or type endsession [-f] in a UNIX shell * Switch window auto placement on/off Desktop -> Customize -> Windows * Enable remote display permanently IRIX >= 6.3 Desktop -> Customize -> Desktop -> Enable remote.. or enter xhost + in your.profile or.cshrc * Change the UNIX default editor (SGI default is jot) Desktop -> Customize -> Desktop [-> Utilities] or type desktop in a UNIX shell * Open a window with icons for several applications find -> applications * General system information and setup System -> System Manager * Install a new user System -> User Manager 1 1.For IRIX >= 6.3: System -> System Manager -> Security and Access Control -> User manager

4 * Install a new printer System -> Printer manager We recommend to install a printer with cfpp in XWIN-NMR (see XWIN-NMR manual) 1. * Install system software System -> Software Manager - can be used to install SGI software - cannot be used to install Bruker software * Restart the 4Dwm window manager System [-> Utilities] -> Restart Window Manager * Shutdown the computer System -> System Shutdown or type init 0 in a UNIX shell * Reboot the computer System -> Restart System or type init 6 in a UNIX shell * The online books; help on various SGI topics Help -> Online Books - you can search for keywords in all books - corresponds to the UNIX command insight * A list of all UNIX commands and their manual pages. Help -> Man Pages - each manual pages corresponds to the output of the command man <command> 1.Network printer installation is described in the XWIN-NMR online help; click help -> other topics.

5 Customize your X-environment configuration files Each time you log in on an SGI, a series of files is executed: 1) the file /usr/lib/x11/xdm/xsession is executed: this file executes the file /$HOME/.xsession 1, if it exists All further steps are performed by the file.xsession, if it exists, or else by its master file /usr/lib/x11/xdm/xsession: 2) load the file /$HOME/.Xresources, if it exists 3) set the search path for X-resources 4) enable the hosts display access (xhost +) 5) start the window manager -> interpret the file: /$HOME/.4Dwmrc, if it exists, or else /usr/lib/x11/system.4dwmrc 6) execute the file /$HOME/.sgisession, if it exists 7) start a toolchest window -> execute the file: /usr/lib/x11/system.chestrc and /$HOME/.auxchestrc, if it exists The files.xsession and.4dwmrc replace their master files, the contents of.auxchestrc is added to system.chestrc. The file.xsession - you can create a.xsession by copying the file Xsession: cp /usr/lib/x11/xdm/xsession /$HOME/.xsession - edit this.xsession (e.g. vi) and make your changes, e.g.: * always remove the line xsession=$home/.xsession 2 * you can change the display access, e.g. xhost -host1 * you can start a different window manager, e.g. twm 1.HOME is a system environment variable which, by default, is set to your home directory 2.you can also remove the entire if-then-fi structure containing the command "exec $xsession"

6 The file.xresources The file.xresources can be used to set resources (names, fonts, positions, sizes, colours) of various applications. Many applications have their own default resource file, which usually resides in a directory app-defaults, e.g.: /u/prog/app-defaults/xwinnmr /usr/lib/x11/app-defaults/xclock /usr/lib/x11/app-defaults/toolchest You can change or extend these default resources in the file.xresources in your home directory, e.g.: XWinNmr*background: green XClock*geometry: 200x200+50+50 Toolchest*fontList: 9x15bold for the applications xwinnmr, xclock and toolchest. Entries in your.xresources usually start with the name of the corresponding file in app-defaults. 1 To activate the change in your.xresources you can: - log out and log in again or - type: xrdb -load.xresources Resources of UNIX applications can also be set with command line arguments, e.g.: xclock -g 200x200+50+50 toolchest -fn 9x15bold A powerful tool to set up your.xresources interactively is editres. An example of this is described in Appendix A. 1.This is usually the name of the application with the first letter capitalized. When the application starts with an "x", the first and second letter are capitalized.

7 The file.4dwmrc This file is a resource file for the 4Dwm window manager. If it exists, it is used instead of /usr/lib/x11/system.4dwmrc. The file.4dwmrc can be used to add or change: - menus - key bindings - mouse button bindings Additional menus allow you to start your own application by mouse click from the background screen. This will be discussed on page 12 of this document. The file.sgisession This file can be used to automatically start applications upon login. You can just enter the names of the applications as they would be entered in a UNIX shell, e.g.: insight & xclock & netscape The & starts the application in background. If you don t do this, applications might wait for each other to finish. 1 The file.auxchestrc This file can be used to add functions to the Toolchest. The application toolchest will interpret the two files: /usr/lib/x11/system.chestrc and /usr/people/<user>/.auxchestrc This will be discussed on page 12 of this in document. 1.This only counts for applications that do not return the UNIX prompt after start up.

8 Function keys in X-windows set function keys for an "xterm" UNIX shell - type cd to change to your home directory - edit (e.g. vi) the file.xresources; enter your personal choice of function keys, e.g.: XTerm*VT100.Translations: #override \ Shift<Key>F1: string("ftp ftp.bruker.de") \n\ Ctrl<Key>F1: string("cd /pub/nmr/xwinnmr/patches") \n\ <Key>F1: string("cd /pub/nmr/courses+manuals") \n\ Shift<Key>F2: string("netscape") \n\ Ctrl<Key>F2: string("http://www.bruker.de") \n\ <Key>F2: string("http://www.bruker.com") \n\ To include a carriage return, add string(0x0a), e.g.: Shift<Key>F1: string("ftp ftp.bruker.de") string(0x0a) \n\ - edit (e.g. vi) the file.auxchestrc; enter the following lines: Menu Desktop { "Xkey" f.exec "xterm" } - log out and log in again - click on Desktop -> Xkey, which will open a new xterm, in which you can use the function keys. Each key can be used for three different commands by using the Shift and Control modifiers. Note that the order of the lines is important: Shift<key>, Ctrl<key>, <key>. Type man xterm for more information on xterm.

9 set function keys for a "winterm" UNIX shell - type cd to change to your home directory - edit (e.g. vi) the file keymap - enter your personal key functions e.g.: F1(shift): send("lpstat -t") F1(control): send("ps -fulp") F1(): send("ps -ef grep xwin") F2(shift): send("cd curd -a ") F2(control): send("/etc/init.d/bruker_lmgr stop") F2(): send("/etc/init.d/bruker_lmgr start") - edit (e.g. vi) the file.auxchestrc; enter the following line: Menu Desktop { "Winkey" f.exec "xwsh -name winterm -key keymap" } - log out and log in again - click on Desktop -> Winkey, which will open a new winterm in which you can use the function keys Each key can be used for three different commands by using the Shift and Control modifiers. Note that the order of the lines is important: key(shift), key(control), key(). Type man winterm for more information on winterm.

10 How to change the font change the font in an existing UNIX shell - move the mouse into a UNIX shell - press the right mouse button - a small popup window will appear; click on Font - a font window showing the available fonts will appear: * click on Include proportional width fonts * Select Family, Style and Size of the font the selected font and the Font Name will be shown * click on Accept to install the font in the current shell create a Toolchest entry for a UNIX shell with a user defined font - type cd to change to your home directory - select a font as described above but do not click Accept, move the mouse into the Font Name bar and click the left button three times to mark the font name - go back to a UNIX shell, edit (e.g vi) the file.auxchestrc and enter a line like: Menu Desktop { "Shell Font" f.exec "winterm -fn -*-helvetica-bold..." } after the option -fn you can enter the font which you marked before by clicking the middle mouse button - log out and log in again - click on Toolchest -> Desktop -> Shell Font

11 The file.auxchestrc can also be used to create Toolchest entries for other applications. automatically open a UNIX shell upon login with a user defined font - type cd to change to your home directory - edit (e.g vi) the file.sgisession and enter lines like: winterm -fn -*-courier-bold-r-normal--24... winterm -fn screen-bold13 -iconic - log out and log in again two UNIX shells will be started on login with the indicated fonts, the second shell will appear as an icon The font selection, as it was described above, allows you to choose three font attributes; Family, Style and Size. You can also use the command xfontsel, which allows you to choose all font attributes separately: - type xfontsel - select the font attributes - click on select - move the mouse into the file where you want to enter the font, e.g..sgisession,.auxchestrc - click the middle mouse button to enter the fontname The command xlsfonts shows the list of available fonts.

12 Start applications with the mouse Frequently used applications, or UNIX commands which are not part of the Toolchest, can be added to the X-windows menu. You can then start them by mouse click. Start your applications from the Toolchest - type cd to change to your home directory - edit (e.g vi) the file.auxchestrc and make an entry like: Menu Desktop { "Netscape" f.exec "netscape" "Viewer" f.exec "/usr/local/frameviewer/bin/iviewer" } - log out and log in again - click on Desktop -> Netscape If you are logged in on a host over the network, you do not have a Toolchest window of this host. Type toolchest& in a UNIX shell to get a Toolchest. Start your applications by clicking anywhere on the background screen - type cd to change to your home directory - type ls.4dwmrc - if the file.4dwmrc does not exist: type cp /usr/lib/x11/system.4dwmrc.4dwmrc - type chmod 644.4Dwmrc - edit (e.g vi) the file.4dwmrc:

13 * search for the entry Menu Selected dynamic * in this menu, add lines like: "Netscape"f.exec "netscape" "Viewer" f.exec "/usr/local/frameviewer/bin/iviewer" - click on System -> Restart Window Manager - click the right mouse button anywhere on the background screen, outside any UNIX or application window - a selection window will pop up; click Netscape The Screen menu can only be used if you are logged in locally, at the console terminal, but not over the network. Both menus, Toolchest and Screen, allow you to create submenus, e.g. a list of remote hosts: - make an entry in.auxchestrc (Menu Desktop) or in.4dwmrc (Menu Selected dynamic) like: "Remote hosts" f.menu RemoteHosts - make a new entry like: Menu RemoteHosts { "host1" f.exec "winterm -t host1 -n host1 -e rlogin host1" "host2" f.exec "winterm -t host2 -n host2 -e rlogin host2" } These entries allow you to log in on the remote hosts host1 and host2 by mouse click. Note that the file /etc/hosts.equiv or.rhosts must be set up correctly on the remote hosts. The options -t and -n in this example set the title of the window and its icon.

14 X-windows on Aspect Station I On Aspect Station workstations all programs (applications and UNIX commands) are started from a UNIX shell. One or more UNIX shells are automatically opened on login. You can customize you personal environment to start programs by mouse click on the background screen. Operating system: RISC/os Default window manager: mwm X-windows resource files: Manual pages: man X.xsession.xresources.mwmrc UNIX shell: xterm Useful X commands: xlsfonts, xdpyinfo, xfontsel, xman, xhost, xterm, xwininfo, xprop. Manual Pages: - man X - man mwm - man <command> (see commands above)

15 start your own applications by clicking anywhere on the background screen - type cd to change to your home directory - type ls.mwmrc - if the file.mwmrc does not exist: type cp /usr/lib/x11/mwm/system.mwmrc.mwmrc - type chmod 644.mwmrc - edit (e.g vi) the file.mwmrc: * search for the entry DefaultRootMenu * in this menu, add lines like: "Xwinnmr"f.exec "xwinnmr" "Shmrm" f.exec "shmrm" - log out and log in again to activate the change - click the right mouse button on the desktop, outside any UNIX or application window - a selection window will pop up; click xwinnmr The Screen menu can be used if you are logged in on a terminal which is directly connected to the workstation. Screen menus allow you to create submenus, e.g. a list of remote hosts: - make an entry in.mwmrc (in DefaultRootMenu) like: "Remote hosts" f.menu RemoteHosts - make a new entry like: Menu RemoteHosts { "host1" f.exec "xterm -ti host1 -na host1 -e rlogin host1" "host2" f.exec "xterm -ti host2 -na host2 -e rlogin host2" }

16 These entries allow you to log in on the remote hosts host1 and host2 by mouse click. Note that the file /etc/hosts.equiv or.rhosts must be set up correctly on the remote hosts. The options -ti and -na in this example set the titles of the window and its icon. set the font of a UNIX shell - type cd to change to your home directory - select a font with xfontsel or xlsfonts - edit (e.g vi) the file.xresources and enter a line like: XTerm*font 9x15bold No tabs or blanks are allowed at the end of this line! set function keys for a "xterm" UNIX shell - type cd to change to your home directory - edit (e.g vi) the file.xresources and enter a line like: XTerm*VT100.Translations: #override \ Shift<Key>F1: string("ftp ftp.bruker.de") \n\ Ctrl<Key>F1: string("cd /pub/nmr/xwinnmr/patches") \n\ <Key>F1: string("cd /pub/nmr/courses+manuals") To include a carriage return, add string(0x0a), e.g.: Shift<Key>F1: string("ftp ftp.bruker.de") string(0x0a) \n\

17 Appendix A set up resources with editres The command editres can be used to: - set resources for a program or parts of an program - immediately view the result of the changes - store the resources in the file.xresources Example: set the colour of the xwinnmr command line - start xwinnmr - type editres in a UNIX window * click Commands -> Get Widget Tree, then click anywhere in the xwinnmr window * click Tree -> Select Widget in Client, then click on the command line in the xwinnmr window * click Commands -> Show Resource Box - click on background - enter a colour in the field "Enter Resource Value" - complete the resource specification: click XmForm 1 - click Apply and view the result - click Set Save File and enter.xresources - click Save to store the resource in the file.xresources - click Popdown Resource Box to exit the Resourcebox Note that for xwinnmr, the initial resource specification in the resourcebox is incomplete like.a..c.d. A complete resource specification looks like.a.b.c.d or.a*c.d. Xwinnmr resources can be set for the command line, the status line, the menu bar, the buttons and the menu. 2 1.The resources line is the upper line in the ResourceBox 2.You can set different resources (e.g. colours) for every menu like File, Acquire, Process etc.