Lab 3, Part 1: Using Oz/Mozart IDE

Size: px
Start display at page:

Download "Lab 3, Part 1: Using Oz/Mozart IDE"

Transcription

1 Lab 3, Part 1: Using Oz/Mozart IDE February 22, 2012 Using Oz/Mozart can be done in 2 ways: 1. interactive programming with OPI (Oz Programming Interface) (oz) 2. compiling Oz programs with Oz compiler (ozc) and running with Mozart VM (ozengine) The first method is very handful when learning Oz and the second is used for creating executable programs on disk. We first learn how to use OPI and later how to compile and run Oz programs. 1 Using the OPI The OPI uses the Emacs editor as the programming front-end. In order to succesfully use OPI you have to study the basics of Emacs editor, e.g. how to copy/paste text or open/save files. Type oz on the command line which opens Emacs editor (see Figure 1) with a buffer 1 in Oz mode 2. The other buffer is the output of Oz interactive compiler. 1.1 Emacs basics In this section we will learn how to use basic Emacs functionality. You can type text in Emacs buffer just like in any contemporary text editor. However, the way to do other actions in Emacs is quite different. It is not better or worse, just different, get used to it :) Exit Open File Exit Emacs from the main menu. As you can see it has keyboard shortcut hint (C-x C-c) 3 that you can use instead. If you do not have unsaved (file related) buffers or active processes the Emacs quits immediately. In our case there are some Oz tools running, so you will be asked for confirmation in minibuffer 4. Type yes and press Enter to exit. Try it with C-x C-c but wait for a second after you press C-x. As you will see, C-x will appear in the minibuffer which shows things you typed up to this moment. Now press C-c to complete the key sequence and exit Emacs. As you will see key sequences are very common in Emacs. 1 buffer in Emacs is a document instance which may(or may not) be related to a file on disk 2 mode in Emacs defines buffer look (e.g. syntax highlighting) and behavior (e.g. keyboard shortcuts) 3 hold Control key and press x and c keys in sequence 4 minibuffer is one-line buffer at the bottom 1

2 Figure 1: OPI just after opening Copy/paste In other text editors Shift key is usually used to select text for copying. In Emacs you define region 5 1. by setting the mark by pressing C-SPC to define start of the region and then 2. moving the point 6 to define end of the region. The selected text will be highlighted as on the Figure 2. Now press M-w 7 for copying or C-w for cutting. Move to another location and press C-y 8 for pasting. You can also use left mouse button to select region and Edit menu to copy/paste text. Cancelling It is often required to cancel some actions you started. For example, you wanted to copy text, so you pressed C-SPC and moved the point but suddenly decided not to copy it. In such (and many other) cases C-g is helpful. In some cases C-g does not help then try ESC-ESC-ESC (escape button three times). Undo/redo The undo in Emacs is done with C-_ (Control underscore) 9. Unlike other editors redo in Emacs is the undo of undo, so to redo after undo 5 selected text in Emacs is called region 6 the position of text cursor in Emacs is called point 7 hold the Alt key and press w, M stands for Meta which is Alt key for PC 8 y stands for yank, which is how pasting is called in Emacs 9 on estonian keyboard press Control Shift - 2

3 Figure 2: Region, highlighted with yellowish background 1. press some other key other than C-_ (e.g. C-g or right arrow) to cancel undoing 2. press C-_ again to redo The behavior is different than with typical undo/redo functionality but you only notice it if doing undo/redo of the same text several times. Searching text C-s starts incremental search, type phrase to search, C-s for next match, any other key to stop search at current position, C-g to cancel search. C-r does the reverse search. Saving/loading files Saving buffer in Emacs is done with C-x C-s and giving file name in minibuffer (see Figure 3). Press TAB to auto-complete file name, press TAB again to get the list of possible completions, press TAB again if the list is too long. Finish typing file name and press Enter to save the buffer or C-g to cancel saving. Visiting 10 (loading) file in Emacs is done with C-x C-f. As with saving you can use TAB for completion. Working with buffers There are usually many buffers opened in Emacs at the same time. Type C-x b to switch buffer in current window, insert buffer s name, use TAB for completion as with files. To close a buffer type C-x k, insert buffer name (current buffer is default), and press Enter. If the buffer is connected with file but not saved then you ll be asked for confirmation. Look under Buffers main menu for some more commands. Working with windows There are 2 windows in the Emacs frame 11 upon start of oz. One window can only contain (part of) one buffer. 10 visit is like load except that it creates new file if one does not exist 11 Emacs frame is OS window and Emacs window splits Emacs frame into parts 3

4 Figure 3: Saving buffer in Emacs Type C-x 2 to split current window horizontaly into 2 windows. Use C-x o to move between windows. Use C-x 3 to split current window vertically. Type C-x 1 to leave only one (current) window in frame. Use mouse to move between windows or resize windows. Executing commands Emacs is written almost completely in Emacs lisp (elisp). It has many commands that you can run interactively type M-x and insert command into minibuffer, e.g. goto-line, then enter line number and press Enter. Getting help C-h is a standard prefix for help commands in Emacs. For example, C-h m describes current mode (including keyboard shortcuts). (Type C-x o to jump to the window with help buffer, C-x k to close the help buffer) Type C-h? to see possible help options. C-h t opens fine Emacs tutorial. 1.2 OPI basics Work through the online tutorial about OPI tutorial/node2.html Notice that you can indent line with TAB anywhere on the line 4

5 indent region by selecting the region and pressing C-M-\ 12 2 Running Oz compiler and VM It is possible to compile and run usual statements with ozc -e and compile and pickle expressions with ozc -c. The problem is that none of them have access to the sytem modules. 2.1 Compile a functor You need to define and compile functors (module definitions in Oz) which are compiled by ozc and later read and linked by ozengine to system libraries. 1. Visit Oz file hello.oz (C-x C-f ) and type in the program functor import System Application define {System.show Hello } {Application.exit 0} end 2. Save the file (C-x C-s) 3. run ozc -c hello.oz to get hello.ozf with Oz functor 4. run ozengine hello.ozf to execute the program 2.2 What is functor Functors are just syntactic sugar for special expression in Oz. If you wonder what functor is then you can use ozc --expression -o - -E hello.oz to output functor expression in Oz kernel language to standard output. Do not be scared, the definition will be more clear after the next lab is completed. 3 Using Mozart documentation On the Mozart/Oz documentation page there are several interesting tutorials 1. Oz tutorial for starting learning Oz 2. Distributed Programming in Mozart for the second half of this course 12 on estonian keyboard press 4 keys: Control Alt AltGrp + 5

6 3. Application Programming some example applications, mainly distributed, which show how to program with Mozart functors 4. High-level Window Programming with QTk Mozart GUI built on top of Tk 5. Window Programming with Tk lower level GUI interface 6. Open Programming in Mozart files, sockets, etc several reference manuals 1. The Oz Base Environment procedures for built-in types, e.g. String.toInt, List.append, List.forAll, List.foldL, etc. 2. System Modules command line arguments, operating system functions like time, files and sockets, GUI programming and many more 3. The Mozart Standard Library some additional helpful libraries but not too much 4. Some documentation on Programming Environment and Tools, eg debugger and profiler 5. Loop support syntactic sugar for looping constructs that work with recursion Several things to notice in the documentation Base environment modules, e.g. Float or List, do not need to be imported Some procedures are bound to global variables by default, e.g. List.forAll is bound to ForAll, which is shorter alternative this can be seen from the documentation: if its name starts from upper case then it is bound to the global variable with the same name Some procedures are bound to global variables from non-base modules, but in OPI only! System.show is bound to Show Browser.browse is bound to Browse Documentation marks parameter types with symbols and required/output parameters with + and? read Type Structure and Description Format 6

Lab 1: Using Oz/Mozart IDE

Lab 1: Using Oz/Mozart IDE Lab 1: Using Oz/Mozart IDE February 5, 2009 Using Oz/Mozart can be done in 2 ways: 1. interactive programming with OPI (Oz Programming Interface) (oz) 2. compiling Oz programs with Oz compiler (ozc) and

More information

Emacs manual:

Emacs manual: Emacs manual: http://www.gnu.org/manual/emacs-20.3/html_mono/emacs.html GNU Emacs Reference Card (for version 19) Starting Emacs To enter GNU Emacs 19, just type its name: emacs or emacs filename Leaving

More information

entity tomove over backward forward character C-b C-f word M-b M-f line C-p C-n go to line beginning (or end) C-a C-e sentence M-a M-e paragraph M- M-

entity tomove over backward forward character C-b C-f word M-b M-f line C-p C-n go to line beginning (or end) C-a C-e sentence M-a M-e paragraph M- M- Starting Emacs To enter GNU Emacs 21, just type its name: emacs To read in a file to edit, see Files, below. Leaving Emacs suspend Emacs (or iconify it under X) exit Emacs permanently Files read afileinto

More information

Introduction to EMACS. Harriet Borton Academic and Research Computing

Introduction to EMACS. Harriet Borton Academic and Research Computing Introduction to EMACS Harriet Borton Academic and Research Computing Contents Starting Emacs 2 Parts of the Emacs Screen 3 Basic Editing 4 Entering text 4 Moving around in a file 4 Deleting text 4 Undoing

More information

A beginner s guide to (GNU) Emacs 24

A beginner s guide to (GNU) Emacs 24 A beginner s guide to (GNU) Emacs 24 Matthew Chan, themattchan.com, last updated November 2014 Part 0: Getting started Why Emacs? Emacs is the One True Editor. Emacs can do anything you can possibly think

More information

The Xemacs Editor. Overview

The Xemacs Editor. Overview The Xemacs Editor Editors are used to create and modify simple text files. The public domain editor emacs has achieved great popularity because of its many features and its wide availability. Emacs was

More information

BEG 6. 50p. Getting Started with the Emacs Screen Editor. An introduction to the Emacs screen editor, which is available on Unix systems.

BEG 6. 50p. Getting Started with the Emacs Screen Editor. An introduction to the Emacs screen editor, which is available on Unix systems. Getting Started with the Emacs Screen Editor An introduction to the Emacs screen editor, which is available on Unix systems. AUTHOR Information Systems Services University of Leeds DATE March 2000 EDITION

More information

Phil Sung. Special thanks to Piaw Na and Arthur Gleckler

Phil Sung. Special thanks to Piaw Na and Arthur Gleckler Being Productive With Emacs Part 1 Phil Sung sipb iap emacs@mit.edu http://stuff.mit.edu/iap/emacs Special thanks to Piaw Na and Arthur Gleckler Emacs is the extensible, customizable, self documenting

More information

Introduction to the Emacs Editor

Introduction to the Emacs Editor Introduction to the Emacs Editor Scott D. Anderson Wellesley College Scott.Anderson@acm.org c Fall 2004 1 What is Emacs? Emacs is an editor: a program that allows you to modify files. Many of you have

More information

Editors in Unix come in two general flavours:

Editors in Unix come in two general flavours: Review notes #2 1. Unix account 2.Login: with a terminal or using telnet or ssh 3. Change password 4. Must logout! 5. Emails: (a) mutt (b) pine (c).forward file 6.Basic commands: who, ls, cat, more, man

More information

Text Editors for Programmers. Dr. Prasad Kulkarni Michael Jantz Jamie Robinson

Text Editors for Programmers. Dr. Prasad Kulkarni Michael Jantz Jamie Robinson Text Editors for Programmers Dr. Prasad Kulkarni Michael Jantz Jamie Robinson 1 Real Programmers 2 vim Based on vi vi written in 1976 and has become standard on Unix machines Basic design principles: Retains

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

Mastering Linux by Paul S. Wang Appendix: The emacs Editor

Mastering Linux by Paul S. Wang Appendix: The emacs Editor Mastering Linux by Paul S. Wang Appendix: The emacs Editor The emacs editor originally was developed at the MIT Laboratory for Computer Science. As emacs gained popularity, it was ported to UNIX and Linux

More information

Complete List of Windows 8 Keyboard Shortcuts Keyboard Shortcuts for Desktops

Complete List of Windows 8 Keyboard Shortcuts Keyboard Shortcuts for Desktops Complete List of Windows 8 Keyboard Shortcuts s for Desktops 11/1/2012 http://theapptimes.com Introduction One of the smartest ways to work with Windows is by using keyboard shortcuts. All of us Windows

More information

! Emacs Howto Tutorial!

! Emacs Howto Tutorial! Emacs Howto Tutorial According to a description at GNU.org, Emacs is the extensible, customizable, selfdocumenting real-time display editor. It offers true LISP -- smoothly integrated into the editor --

More information

Introduction to GNU Emacs

Introduction to GNU Emacs Information Technology Rice University Document UNIX 5 July 11, 2002 Introduction to GNU Emacs Abstract This document explains how to use GNU Emacs to create and edit text files, use RMAIL to read mail,

More information

Getting Started (1.8.7) 9/2/2009

Getting Started (1.8.7) 9/2/2009 2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have

More information

Princeton University COS 217: Introduction to Programming Systems Emacs Reference and Tutorial

Princeton University COS 217: Introduction to Programming Systems Emacs Reference and Tutorial Princeton University COS 217: Introduction to Programming Systems Emacs Reference and Tutorial Part 1: Reference This reference assumes that Emacs is configured using the.emacs file provided to COS 217

More information

1 Ctrl + X Cut the selected item. 2 Ctrl + C (or Ctrl + Insert) Copy the selected item. 3 Ctrl + V (or Shift + Insert) Paste the selected item

1 Ctrl + X Cut the selected item. 2 Ctrl + C (or Ctrl + Insert) Copy the selected item. 3 Ctrl + V (or Shift + Insert) Paste the selected item Tips and Tricks Recorder Actions Library XPath Syntax Hotkeys Windows Hotkeys General Keyboard Shortcuts Windows Explorer Shortcuts Command Prompt Shortcuts Dialog Box Keyboard Shortcuts Excel Hotkeys

More information

Computer Networks Vim and Emacs. Seongjin Lee

Computer Networks Vim and Emacs. Seongjin Lee 2019-01 Computer Networks 407-202 Vim and Emacs Seongjin Lee Vim 2 Contents What is vi Modes of Vi Moving Around and Dele7ng in vi Replacing, Searching, and Subs7tu7ng in vi Undo and Redo in vi Simple

More information

Computer Shortcut Keys

Computer Shortcut Keys Powered By Computer Shortcut Keys Let s kickstart the list with the most common shortcuts that you ll often use. F1 [Display Help] F2 [Rename the selected item] F3 [Search for a file or folder] F4 [Display

More information

OFFICE OF INFORMATION TECHNOLOGY

OFFICE OF INFORMATION TECHNOLOGY OFFICE OF INFORMATION TECHNOLOGY Getting Started with Emacs Kenny Burns Scott Cole 1996 BOSTON UNIVERSITY Permission is granted to make verbatim copies of this document provided copyright and attribution

More information

Windows Computer A to Z Shortcut Key list with PDF

Windows Computer A to Z Shortcut Key list with PDF Windows Computer A to Z Shortcut Key list with PDF In the Computer world, a keyboard shortcut is a combination of one or more command to execute a particular action. These shortcuts are really helpful

More information

7.1 INTRODUCTION 7.2 STARTING Emacs 7.3 Emacs SCREEN Menu Bar Text Mode Menu Mode Line Echo Line

7.1 INTRODUCTION 7.2 STARTING Emacs 7.3 Emacs SCREEN Menu Bar Text Mode Menu Mode Line Echo Line 7 The Emacs Editor This chapter covers the Emacs editor. Emacs is not distributed with all UNIX systems. However, it is available on most Linux systems. The purpose of this chapter is to introduce you

More information

Basic vi Commands. What is vi? To Get Into and Out Of vi

Basic vi Commands. What is vi? To Get Into and Out Of vi Page 1 of 5 Basic vi Commands What is vi? The default editor that comes with the UNIX operating system is called vi (visual editor). [Alternate editors for UNIX environments include pico and emacs, a product

More information

Emacs Tutorial. Creating or Opening a File. Geog 405/605 Computer Programming for Environmental Research Fall 2018

Emacs Tutorial. Creating or Opening a File. Geog 405/605 Computer Programming for Environmental Research Fall 2018 An Emacs tutorial generated by its authors is available online by typing control-h t from within an editing session. It is not good. This tutorial is written for an audience that is assumed to have used

More information

vi filename edit filename starting at line 1

vi filename edit filename starting at line 1 Basic Vi Command 1. What is vi? The default editor that comes with the Linux operating system is called vi (visual editor). [Alternate editors for Linux environments include pico and emacs, a product of

More information

Switch between open apps Close the active item, or exit the active app

Switch between open apps Close the active item, or exit the active app Ctrl + X Ctrl + C (or Ctrl + Insert) Ctrl + V (or Shift + Insert) Ctrl + Z Alt + Tab Alt + F4 L D F2 F3 F4 F5 F6 F10 Alt + F8 Alt + Esc Alt + underlined letter Alt + Enter Alt + Spacebar Alt + Left arrow

More information

Getting Started With XEmacs

Getting Started With XEmacs Getting Started With XEmacs July 1994 (General Public License upgraded, January 1991) Richard Stallman and Rashmi Goyal Copyright c 1985, 1986, 1988 Richard M. Stallman. Copyright c 1991, 1992, 1993, 1994

More information

VIP Quick Reference Card

VIP Quick Reference Card VIP Quick Reference Card Loading VIP (Based on VIP 3.5 in GNU Emacs 18) Just type M-x vip-mode followed by RET VIP Modes VIP has three modes: emacs mode, vi mode and insert mode. Mode line tells you which

More information

Appendix J: Using Shortcut Keys and Shortcut Menus

Appendix J: Using Shortcut Keys and Shortcut Menus Appendix J: Using Shortcut Keys and Shortcut Menus Introduction This appendix covers shortcuts to many of the menu options, dialog boxes, and commands used in PC-DMIS. Using shortcuts will speed up your

More information

Using CRISP. I. CRISP Basics To create a new file, at the UNIX prompt type: cr newfilename

Using CRISP. I. CRISP Basics To create a new file, at the UNIX prompt type: cr newfilename Using CRISP Outline I. CRISP Basics II. Moving Around in CRISP III. Inserting and Deleting Text IV. Cutting and Pasting Text V. Search and Replace VI. File and Buffer Manipulation VII. Window Manipulation

More information

Microsoft Word: Steps To Success (The Bare Essentials)

Microsoft Word: Steps To Success (The Bare Essentials) Microsoft Word: Steps To Success (The Bare Essentials) Workbook by Joyce Kirst 2005 Microsoft Word: Step to Success (The Bare Essentials) Page Contents 1 Starting Word 2 Save 3 Exit 5 Toolbars, Alignment,

More information

UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division. P. N. Hilfinger

UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division. P. N. Hilfinger UNIVERSITY OF CALIFORNIA Department of Electrical Engineering and Computer Sciences Computer Science Division CS164 Spring 2018 P. N. Hilfinger Highlights of GNU Emacs This document describes the major

More information

Windows 10 Essentials

Windows 10 Essentials Windows 10 Essentials User Interface START MENU Start typing to search for applications or files Once the start menu is open you can change its size by dragging a side Right-click on an application and

More information

Rich Text Editor Quick Reference

Rich Text Editor Quick Reference Rich Text Editor Quick Reference Introduction Using the rich text editor is similar to using a word processing application such as Microsoft Word. After data is typed into the editing area it can be formatted

More information

KEYBOARD SHORTCUTS AND HOT KEYS

KEYBOARD SHORTCUTS AND HOT KEYS KEYBOARD SHORTCUTS AND HOT KEYS Page 1 This document is devoted to using the keyboard instead of the mouse to perform tasks within applications. This list is by no means the "be all and end all". There

More information

Statistics 202A - vi Tutorial

Statistics 202A - vi Tutorial Statistics 202A - vi Tutorial Ryan Rosario October 16, 2007 vi is by far my favorite editor. The material for this handout came from http://www.eng.hawaii.edu/tutor/vi.html and credit is given to them.

More information

BANNER 9 RELEASE GUIDE

BANNER 9 RELEASE GUIDE BANNER 9 RELEASE GUIDE LINK TO THE APPLICATION NAVIGATOR https://xeantex.tamuc.edu/applicationnavigator/seamless LINK TO COMMUNICATION MANAGEMENT https://xeantex.tamuc.edu/communicationmanagement Use Your

More information

Unix Philosophy, Text Editors, IDEs

Unix Philosophy, Text Editors, IDEs Philosophy, Text Editors, IDEs Comp Sci 1585 Data Structures Lab: Tools for Computer Scientists Outline 1 2 3 4 5 Excerpts from the Write programs to handle text streams, because that is a universal interface.

More information

DOCQSCRIBE 7.1 KEYBOARD SHORTCUTS

DOCQSCRIBE 7.1 KEYBOARD SHORTCUTS DEMOGRAPHICS AND ADT WINDOW: DEMOGRAPHICS PANEL Work Type Alt + R Opens Change Work Type screen Dictator Name Alt + N Opens Select Physician search New tab Alt + N Displays fields to enter new contact

More information

Computer Programming Lecture 3 이윤진서울대학교

Computer Programming Lecture 3 이윤진서울대학교 Computer Programming Lecture 3 이윤진서울대학교 2007.12.27. 27 Slide Credits 엄현상교수님 서울대학교컴퓨터공학부 Computer Programming, g, 2007 봄학기 Editors 순서 Editors vi emacs Q&A Editors Vi (VIsual) Text Editor Interactive Computer

More information

INTRODUCTION TO VIM. John Kerl University of Arizona Department of Mathematics Software Interest Group September 7, 2005

INTRODUCTION TO VIM. John Kerl University of Arizona Department of Mathematics Software Interest Group September 7, 2005 INTRODUCTION TO VIM John Kerl University of Arizona Department of Mathematics Software Interest Group September 7, 2005 1 Overview Why What How 2 Why use a power editor such as vim or emacs? Notepad, gedit,

More information

90 + Excel Keyboard Shortcuts. for Mac users. How to master key board shortcuts

90 + Excel Keyboard Shortcuts. for Mac users. How to master key board shortcuts 90 + Excel Keyboard Shortcuts for Mac users How to master key board shortcuts 1. Take down a handful (may be 5 or 10) shortcuts that you think you ll use the most often and pin them to your desk. Make

More information

Using the Zoo Workstations

Using the Zoo Workstations Using the Zoo Workstations Version 1.86: January 16, 2014 If you ve used Linux before, you can probably skip many of these instructions, but skim just in case. Please direct corrections and suggestions

More information

SILVACO. An Intuitive Front-End to Effective and Efficient Schematic Capture Design INSIDE. Introduction. Concepts of Scholar Schematic Capture

SILVACO. An Intuitive Front-End to Effective and Efficient Schematic Capture Design INSIDE. Introduction. Concepts of Scholar Schematic Capture TCAD Driven CAD A Journal for CAD/CAE Engineers Introduction In our previous publication ("Scholar: An Enhanced Multi-Platform Schematic Capture", Simulation Standard, Vol.10, Number 9, September 1999)

More information

NiceForm User Guide. English Edition. Rev Euro Plus d.o.o. & Niceware International LLC All rights reserved.

NiceForm User Guide. English Edition. Rev Euro Plus d.o.o. & Niceware International LLC All rights reserved. www.nicelabel.com, info@nicelabel.com English Edition Rev-0910 2009 Euro Plus d.o.o. & Niceware International LLC All rights reserved. www.nicelabel.com Head Office Euro Plus d.o.o. Ulica Lojzeta Hrovata

More information

239 Excel Keyboard Shortcuts

239 Excel Keyboard Shortcuts 239 Excel Keyboard Shortcuts WORK FASTER AND MORE EFFICIENTLY WITH THESE CLEARLY ILLUSTRATED EXCEL SHORTCUTS. My Online Training Hub https://www.myonlinetraininghub.com/ Below is a huge list of Excel keyboard

More information

12.620J / 6.946J / 8.351J / Classical Mechanics: A Computational Approach

12.620J / 6.946J / 8.351J / Classical Mechanics: A Computational Approach MIT OpenCourseWare http://ocw.mit.edu 12.620J / 6.946J / 8.351J / 12.008 Classical Mechanics: A Computational Approach Fall 2008 For information about citing these materials or our Terms of Use, visit:

More information

Intermediate Programming, Spring Misha Kazhdan

Intermediate Programming, Spring Misha Kazhdan 600.120 Intermediate Programming, Spring 2017 Misha Kazhdan Outline Unix/Linux command line Basics of the Emacs editor Compiling and running a simple C program Cloning a repository Connecting to ugrad

More information

Intel Edison Tutorial: Introduction to Vim 1

Intel Edison Tutorial: Introduction to Vim 1 Intel Edison Tutorial: Introduction to Vim Intel Edison Tutorial: Introduction to Vim 1 Table of Contents Introduction... 3 Things Needed... Error! Bookmark not defined. Introduction... 4 What Is Vim?...

More information

IBM Rational Rhapsody Shortcuts

IBM Rational Rhapsody Shortcuts IBM Rational Rhapsody Shortcuts Project New Project Open Project Print Undo Redo Save Ctrl + N Ctrl + O Ctrl + P Ctrl + Z Ctrl + Y Ctrl + S Typically saves the model, if you are focused on code (for example,

More information

Downloaded from

Downloaded from CLASS IV COMPUTER SCIENCE WORKSHEET Chapter 5 (Nov-Dec 2013-2014) CHAPTER 5: EDITING TEXT IN MS WORD 2007 Q1. Identify the parts of the MS Word 2007 window given below: Q2. Identify and name the following

More information

APPENDIX C: FUNCTIONAL CROSS-REFERENCE Transition to Re:discovery Version 8.0

APPENDIX C: FUNCTIONAL CROSS-REFERENCE Transition to Re:discovery Version 8.0 APPENDIX C: FUNCTIONAL CROSS-REFERENCE Transition to Re:discovery Version Page A. Overview... C:1 What is the Functional Cross-Reference?... C:1 What does the column mean?... C:1 B. Functional Cross-Reference

More information

MICROSOFT EXCEL KEYBOARD SHORCUTS

MICROSOFT EXCEL KEYBOARD SHORCUTS MICROSOFT EXCEL KEYBOARD SHORCUTS F1 Displays the Office Assistant or (Help > Microsoft Excel Help) F2 Edits the active cell, putting the cursor at the end F3 Displays the (Insert > Name > Paste) dialog

More information

The Turing Environment

The Turing Environment 43 Chapter 2 The Turing Environment 2.1 Introduction 2.2 The Editor Window 2.3 Saving Programs on Disk 2.4 Running Programs 2.5 Indenting Programs and Syntax Coloring 2.6 Starting and Stopping the Environment

More information

SolidWorks Intro Part 1b

SolidWorks Intro Part 1b SolidWorks Intro Part 1b Dave Touretzky and Susan Finger 1. Create a new part We ll create a CAD model of the 2 ½ D key fob below to make on the laser cutter. Select File New Templates IPSpart If the SolidWorks

More information

Quick Reference Guide Banner General Navigating Banner Quick Reference Guide. 5) Keyboard Shortcuts

Quick Reference Guide Banner General Navigating Banner Quick Reference Guide. 5) Keyboard Shortcuts Banner General 1) Navigator 1 Navigator is the single utility used to navigate between the Banner pages and the Oracle forms environment. ) Basic Navigation You can view the person that is logged in, Sign

More information

1 Interface Fundamentals

1 Interface Fundamentals 1 Interface Fundamentals Windows The Media Composer interface is focused on three primary windows: the Composer, the Timeline and the Project. The Composer window contains the source and record monitors

More information

TABLE OF CONTENTS TABLE OF CONTENTS... 1 INTRODUCTION... 2 USING WORD S MENUS... 3 USING WORD S TOOLBARS... 5 TASK PANE... 9

TABLE OF CONTENTS TABLE OF CONTENTS... 1 INTRODUCTION... 2 USING WORD S MENUS... 3 USING WORD S TOOLBARS... 5 TASK PANE... 9 TABLE OF CONTENTS TABLE OF CONTENTS... 1 INTRODUCTION... 2 USING WORD S MENUS... 3 DEFINITIONS... 3 WHY WOULD YOU USE THIS?... 3 STEP BY STEP... 3 USING WORD S TOOLBARS... 5 DEFINITIONS... 5 WHY WOULD

More information

Text Editors for Programmers. EECS-678 Staff

Text Editors for Programmers. EECS-678 Staff Text Editors for Programmers EECS-678 Staff 1 Real Programmers 2 vim Based on vi vi was written in 1976 and has become standardon Unix machines Basic design principles: Retains each permutation of typed

More information

Lab 3a Using the vi editor

Lab 3a Using the vi editor Lab 3a Using the vi editor Objectives: Become familiar with the vi Editor Review the three vi Modes Review keystrokes to move between vi modes Create a new file with vi Editor Invoke vi with show mode

More information

K e y b o a r d s h o rt c ut s

K e y b o a r d s h o rt c ut s Keyboard shortcuts Mouse navigation Middle button (wheel) Click + drag = pan Double-click = re-center view Left button Click = tool operation Click + spacebar = pan Shift + click + drag = multi-select

More information

BasicScript 2.25 User s Guide. May 29, 1996

BasicScript 2.25 User s Guide. May 29, 1996 BasicScript 2.25 User s Guide May 29, 1996 Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic

More information

User s guide to using the ForeTees TinyMCE online editor. Getting started with TinyMCE and basic things you need to know!

User s guide to using the ForeTees TinyMCE online editor. Getting started with TinyMCE and basic things you need to know! User s guide to using the ForeTees TinyMCE online editor TinyMCE is a WYSIWYG (what you see is what you get) editor that allows users a familiar word-processing interface to use when editing the announcement

More information

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

Microsoft Excel > Shortcut Keys > Shortcuts

Microsoft Excel > Shortcut Keys > Shortcuts Microsoft Excel > Shortcut Keys > Shortcuts Function Keys F1 Displays the Office Assistant or (Help > Microsoft Excel Help) F2 Edits the active cell, putting the cursor at the end* F3 Displays the (Insert

More information

Introduction to Emacs. Contents. Bob Dowling 15 May 2006

Introduction to Emacs. Contents. Bob Dowling 15 May 2006 Bob Dowling rjd4@cam.ac.uk 15 May 2006 Contents Introduction...3 Course outline...3 Setting up some demo files...3 What those commands did...3 Launching Emacs...4 Quitting Emacs and undoing edits...6 Quitting...6

More information

PC shortcuts & Mac shortcuts

PC shortcuts & Mac shortcuts PC shortcuts & Mac shortcuts Editing shortcuts Edit active cell F2 U Cut X X Copy C C Paste V V Paste Special Alt E S V Paste name into formula F3 Toggle references F4 T Start a new line within the same

More information

Overview. - General Data Types - Categories of Words. - Define Before Use. - The Three S s. - End of Statement - My First Program

Overview. - General Data Types - Categories of Words. - Define Before Use. - The Three S s. - End of Statement - My First Program Overview - General Data Types - Categories of Words - The Three S s - Define Before Use - End of Statement - My First Program a description of data, defining a set of valid values and operations List of

More information

CSE341: Programming Languages Using SML and Emacs Winter 2018

CSE341: Programming Languages Using SML and Emacs Winter 2018 CSE341: Programming Languages Using SML and Emacs Winter 2018 Contents 1 Overview................................................. 1 2 Using the Department Labs...................................... 1

More information

Visual Studio.NET. Rex Jaeschke

Visual Studio.NET. Rex Jaeschke Visual Studio.NET Rex Jaeschke Copyright c 2002, 2005 Rex Jaeschke. All rights reserved. Edition: 2.0 (matches V2) Printing: August 6, 2005 All rights reserved. No part of this publication may be reproduced,

More information

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

Introduction. Key features and lab exercises to familiarize new users to the Visual environment Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info

More information

Section 5: Editing Cells

Section 5: Editing Cells Section 5 Editing Cells By the end of this Section you should be able to: Edit Cells by Overtyping Edit Data in the Formula Bar Edit Data in a Cell Delete Cell Contents Use Undo and Redo CiA Training Ltd

More information

FILE MAINTENANCE COMMANDS

FILE MAINTENANCE COMMANDS Birla Institute of Technology & Science, Pilani Computer Programming (CS F111) Lab-2 ----------------------------------------------------------------------------------------------------------------------

More information

Switches between worksheet and menu / Ribbon. Calculates all worksheets in all open workbooks. Highlights shortcut keys of Menu and Ribbon items.

Switches between worksheet and menu / Ribbon. Calculates all worksheets in all open workbooks. Highlights shortcut keys of Menu and Ribbon items. Check for updates http://www.excelbee.com/all-excel-shortcuts/ Shortcut with Function Key Function Keys Description F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Open "Microsoft Office Excel Help". Edit an Excel

More information

Tabbing Between Fields and Control Elements

Tabbing Between Fields and Control Elements Note: This discussion is based on MacOS, 10.12.6 (Sierra). Some illustrations may differ when using other versions of macos or OS X. The capability and features of the Mac have grown considerably over

More information

OO Fortran Exercises

OO Fortran Exercises OO Fortran Exercises Adrian Jackson February 27, 2018 Contents 1 Introduction 1 2 Getting going on ARCHER 2 2.1 Log into ARCHER frontend nodes and run commands............. 2 3 Introduction to Fortran

More information

GETTING STARTED AND EXITING VW

GETTING STARTED AND EXITING VW NAME vw viewer for smv SYNOPSIS vw [file.[smv,v]] DESCRIPTION This is a graphical user interface for smv(1). Provides source browsing, counterexample browsing, abstraction editing, proof management, and

More information

Microsoft PowerPoint 2007 Beginning

Microsoft PowerPoint 2007 Beginning Microsoft PowerPoint 2007 Beginning Educational Technology Center PowerPoint Presentations on the Web... 2 Starting PowerPoint... 2 Opening a Presentation... 2 Microsoft Office Button... 3 Quick Access

More information

4 VISUAL FOXPRO - AN INTRODUCTION

4 VISUAL FOXPRO - AN INTRODUCTION Visual FoxPro - An Introduction:: 33 4 VISUAL FOXPRO - AN INTRODUCTION 4.1 INTRODUCTION Visual FoxPro is a Relational Database Management System (RDBMS), which allows you to work with several logically

More information

Menu Symbols. Menu Symbol. Key on Keyboard

Menu Symbols. Menu Symbol. Key on Keyboard Menu Symbols Menu Symbol Key on Keyboard Command/Apple Key (like Control on a PC) Also written as Cmd Option (like Alt on a PC) Shift Control (Control-click = Right-click) Tab Return Enter (on Number Pad)

More information

Reference Services Division Presents WORD Introductory Class

Reference Services Division Presents WORD Introductory Class Reference Services Division Presents WORD 2010 Introductory Class CLASS OBJECTIVES: Navigate comfortably on a Word page Learn how to use the Ribbon tabs and issue commands Format a simple document Edit,

More information

Chapter 3. HDL Editor. Introduction. Figure 3-1. HDL Editor Welcome Screen. Introduction 3-1

Chapter 3. HDL Editor. Introduction. Figure 3-1. HDL Editor Welcome Screen. Introduction 3-1 Introduction 3-1 Chapter 3 HDL Editor Introduction The HDL editor is used for entering and editing designs expressed by ABEL and VHDL programs statements. The HDL editor is invoked by clicking on the HDL

More information

Microsoft Excel Keyboard Shortcuts

Microsoft Excel Keyboard Shortcuts Microsoft Excel Keyboard Shortcuts Here is a complete list of keyboard shortcuts for Microsoft Excel. Most of the shortcuts will work on all Excel versions on Windows based computer. Data Processing Shortcuts

More information

Mac OS X Part 3. The University of Utah Student Computing Labs Macintosh Support

Mac OS X Part 3. The University of Utah Student Computing Labs Macintosh Support Mac OS X Mac OS X Part 3 The University of Utah Student Computing Labs Macintosh Support mac@scl.utah.edu Basic overview of Mac OS X s interface Finding files/folders Basic overview of directory structure

More information

Microsoft Word 2007 on Windows

Microsoft Word 2007 on Windows 1 Microsoft Word 2007 on Windows Word is a very popular text formatting and editing program. It is the standard for writing papers and other documents. This tutorial and quick start guide will help you

More information

Lesson 4 - Creating a Text Document Using WordPad

Lesson 4 - Creating a Text Document Using WordPad Lesson 4 - Creating a Text Document Using WordPad OBJECTIVES: To learn the basics of word processing programs and to create a document in WordPad from Microsoft Windows. A word processing program is the

More information

OpenForms360 Validation User Guide Notable Solutions Inc.

OpenForms360 Validation User Guide Notable Solutions Inc. OpenForms360 Validation User Guide 2011 Notable Solutions Inc. 1 T A B L E O F C O N T EN T S Introduction...5 What is OpenForms360 Validation?... 5 Using OpenForms360 Validation... 5 Features at a glance...

More information

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs 2 TUTORIAL This chapter contains the following topics. Overview on page 2-1 Exercise One: Building and Running a C Program on page 2-3 Exercise Two: Calling an Assembly Routine and Creating an LDF on page

More information

Peripheral Devices devices attached to the CPU (computer)

Peripheral Devices devices attached to the CPU (computer) Lesson Notes Author: Pamela Schmidt Peripheral Devices devices attached to the CPU (computer) Input Devices allows information to be sent to the computer Pointing Devices Mouse Most mice have two buttons.

More information

Each time you start PastPerfect you will be presented with the main menu.

Each time you start PastPerfect you will be presented with the main menu. 2 THE BASICS This chapter will teach you how to use the most common functions of PastPerfect. Detailed instructions for specific sections of the program will be given in later chapters. STARTING PASTPERFECT

More information

Microsoft Word Introduction to Word Processors

Microsoft Word Introduction to Word Processors Microsoft Word 2007 Introduction to Word Processors Practical Objectives After completing this practical, you will be able to: Perform basic tasks in a word processor. Edit and format text. Work with tables

More information

Microsoft PowerPoint 2007 Tutorial

Microsoft PowerPoint 2007 Tutorial Microsoft PowerPoint 2007 Tutorial Prepared By:- Mohammad Murtaza Khan I. T. Expert Sindh Judicial Academy Contents Getting Started... 5 Presentations... 5 Microsoft Office Button... 5 Ribbon... 6 Quick

More information

SolidWorks 2½D Parts

SolidWorks 2½D Parts SolidWorks 2½D Parts IDeATe Laser Micro Part 1b Dave Touretzky and Susan Finger 1. Create a new part In this lab, you ll create a CAD model of the 2 ½ D key fob below to make on the laser cutter. Select

More information

CHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows

CHAPTER 1 COPYRIGHTED MATERIAL. Getting to Know AutoCAD. Opening a new drawing. Getting familiar with the AutoCAD and AutoCAD LT Graphics windows CHAPTER 1 Getting to Know AutoCAD Opening a new drawing Getting familiar with the AutoCAD and AutoCAD LT Graphics windows Modifying the display Displaying and arranging toolbars COPYRIGHTED MATERIAL 2

More information

Reference Services Division Presents. Microsoft Word 2

Reference Services Division Presents. Microsoft Word 2 Reference Services Division Presents Microsoft Word 2 This handout covers the latest Microsoft Word 2010. This handout includes instructions for the tasks we will be covering in class. Basic Tasks Review

More information

OU EDUCATE TRAINING MANUAL

OU EDUCATE TRAINING MANUAL OU EDUCATE TRAINING MANUAL OmniUpdate Web Content Management System El Camino College Staff Development 310-660-3868 Course Topics: Section 1: OU Educate Overview and Login Section 2: The OmniUpdate Interface

More information

Microsoft Word 2011: Basic Tutorial

Microsoft Word 2011: Basic Tutorial Microsoft Word 2011: Basic Tutorial 1. Create a new blank document In Word, you create and save content in a document. You can start with a blank document, an existing saved document, or a template. When

More information

Eclipse CDT Tutorial. Eclipse CDT Homepage: Tutorial written by: James D Aniello

Eclipse CDT Tutorial. Eclipse CDT Homepage:  Tutorial written by: James D Aniello Eclipse CDT Tutorial Eclipse CDT Homepage: http://www.eclipse.org/cdt/ Tutorial written by: James D Aniello Hello and welcome to the Eclipse CDT Tutorial. This tutorial will teach you the basics of the

More information