Windows Labs

Frequently Asked Questions

These are some of the questions frequently asked by users. Some of these questions (and answers) have been borrowed from the past discussions in the cciitk.* newsgroups. In that case the contributor's email is given in brackets.

Can I use software installed on Windows NT servers remotely (outside Windows NT lab)?

How do I change my password?

How to take out the print outs of gnu plot from the plotter.

How do I use OpenGL with GLUT?


Can I use software installed on Windows NT servers remotely (outside Windows NT lab)?

We Currently do not  provide terminal services, hence you can not use the software remotely. However, a few software are available, which you can install and use from your own PC. Please see on the tree menu on the left to find out.

Back to TOC


How do I change my password?

When you are logged in on any Windows NT workstation in CC, press CTRL+ALT+DELETE simulataneously. Choose change password button from the resulting window.

Note that your password change may come into effect immediately or it may take some amount of time. Preferably you should change your password after you have finished your day's work.

Back to TOC


How to take out the print outs of gnu plot from the plotter.

type following commands on your xterm:
 

gnuplot


It will bring the following command prompt

gnuplot>

gnuplot> plot 'filaname.plt'


It will display your resulting plot.  To plot more than one file in the same plot separate the filenames by comma.

To take the printout,
 

gnuplot>set term hpgl
gnuplot>set out 'filename.plot'
gnuplot>replot
gnuplot>set term x11
gnuplot>replot

it will creat a file named filename.plot in your current directory
open a telnet session to vayu
 

lp -dplotter filename.plot

it will print your plot
 

(contributed by alokgupt@iitk.ac.in )
Back to TOC


How do I use OpenGL with GLUT

1. Get the following files:

glut.h put this file in homedir\bin\include\gl (make the necessary directories)

glut32.dll Put this file in your homedir\bin

glut32.lib Put this file in homedir\bin\lib

2. Modify PATH variable

Open start_menu -> settings -> control_panel -> system ->environment tab. Look for a variable called PATH (or Path or path) in the LOWER TEXT BOX (MARKED AS: User Variables for ...). If there is such a varable defined click on it. Add the path to the 'Bin' directory in the value field. 'Path'
in Windows are separated by ";" (in unix they are separated by ":"). e.g. your path field after change may look like
.;z:\cse\bt\dbera\bin click on 'Set'. Verify that it has been changed. Ok. Done this step.

If instead you see no variable called Path, click on the last blank line in the LOWER TEXT BOX. Then write 'Path' in the 'Variable' field and add the
path to your Bin directory  in the 'Value' field. Click on 'Set'. Verify that it has been added. Ok. Done this step.
 

3. Make necessary changes to Visual Studio options

Open Microsoft Visual Studio. Goto Tools_menu->Options->Directories tab
(somewhere to the right). Click on the drop down menu for 'Show directories
for'->'Include files'. (See figure below). Add the path to your 'Include' directory in the space below.

Similarly add the path to the 'Lib' directory .

(Add full path while adding paths.)

7. In the OpenGL source files, include

#include <Gl/glut.h>

in some downloaded example files, they may be <glut.h>, please change
them.

(contributed by dbera@iitk.ac.in )

Back to TOC

 

 


© 2008, Computer Centre, IIT Kanpur All rights reserved.
This site maintained by Windows Labs Administrator
Suggestions and comments about this web site: gopesh@iitk.ac.in
This page was last modified: 03 September 2008 12:40 PM