Page 1 of 1

Increase size character of Shell

Posted: Thu May 18, 2006 4:06 am
by Snake Eater
Ho can I do this?

Image

For the others windows I use the file nrn.def, but for the shell?

thanks

Posted: Thu May 18, 2006 11:53 am
by ted
Under UNIX or Linux, this is controlled by the OS's window manager--refer to your OS's
documentation. Under MSWin, the interpreter's window is actually a cygwin xterm, but
NEURON only includes a stripped-down version of cygwin so I'd be surprised if it was
possible to change font size. I have no idea how to change the font size of the xterm in
OS X.

Posted: Thu May 18, 2006 1:10 pm
by hines
For mswin, use a "-fn 20" argument pair when launching the rxvt terminal.
For nrngui you do this in the
c:/nrn58/lib/neuron.sh script.

Posted: Thu May 18, 2006 1:44 pm
by Snake Eater
I am not expert of script programming, this is neuron.sh, how can I change this file?

Thanks in advance :)

Code: Select all

#!/bin/sh
N="`$1/bin/cygpath -u $1`"
export N
shift

PATH=$N/bin:/usr/bin:$PATH
export PATH
SH_PATH=$N/bin/sh
export SH_PATH

#rxvt -sl 1000 -e nrniv $*
#the following indirection is to avoid the terminal from closing
#when neuron exits immediately because of a bad dll so you get a chance
#to see the error message.

rxvt -sl 1000 -e sh $N/lib/neuron2.sh $*

Posted: Thu May 18, 2006 2:05 pm
by ted
Try changing the last line to this

Code: Select all

rxvt -sl 1000 -e sh $N/lib/neuron2.sh -fn 20 $*

Posted: Thu May 18, 2006 2:23 pm
by Snake Eater
I'm sorry, but don't work

Image

Posted: Thu May 18, 2006 5:06 pm
by Raj
Rearranging Ted's arguments a bit I get the desired result:

rxvt -fn 20 -sl 1000 -e sh $N/lib/neuron2.sh $*


If under cygwin (full not the dressed down version included with neuron) you start a xwindow session you can get an overview of candidate fonts by using the xlsfonts command.

Posted: Thu May 18, 2006 6:02 pm
by Snake Eater
Thanks Raj, Ted and Hines!!!
Now works well ;)

My eyes say thank you !!