Increase size character of Shell

Post Reply
Snake Eater

Increase size character of Shell

Post by Snake Eater »

Ho can I do this?

Image

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

thanks
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post 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.
hines
Site Admin
Posts: 1691
Joined: Wed May 18, 2005 3:32 pm

Post 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.
Snake Eater

Post 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 $*
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Post by ted »

Try changing the last line to this

Code: Select all

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

Post by Snake Eater »

I'm sorry, but don't work

Image
Raj
Posts: 220
Joined: Thu Jun 09, 2005 1:09 pm
Location: Groningen, The Netherlands
Contact:

Post 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.
Snake Eater

Post by Snake Eater »

Thanks Raj, Ted and Hines!!!
Now works well ;)

My eyes say thank you !!
Post Reply