Problems with Alt Gr in Perl scripts


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problems with Alt Gr in Perl scripts
# 1  
Old 02-26-2010
Problems with Alt Gr in Perl scripts

Hey

I am new to programming in general but am trying to work in Perl.
The thing is that almost every time I write a script (I use nedit) I get problems with Alt Gr.

E.g. In stead of } I get <gs> or in stead of \ nothing happens. Sometimes it's really bad and when I want a new line then everytime I press Alt Gr \ n to get a newline a new nedit window is opened instead.

This is really annoying and I'm wondering if it's a shortcut key problem in the program or if it's my keyboard that has a problem since it sometimes seems like I get a Ctrl reaction(like with Alt Gr \ n) in stead of an Alt Gr reaction when using Alt Gr...

I can retype like ten times in a row with the same wrong result and then suddenly get the right one, so I know I'm not just hitting a wrong key by accident.

Didn't know if this was the place to post this but hope someone might have an idea. ..
# 2  
Old 02-27-2010
Hi.

I don't usually use GUI editors, but I installed nedit to see what you were talking about.

I marked a position with Alt+Mr (hold down Alt, press "M", press "r". Then I moved the insertion marker-cursor elsewhere. When I pressed Alt+Gr, the insertion marker moved to the position that I had marked with "r". It looks like if one presses Shift-Alt+Gr, then one creates a selection -- at least there was highlighting of text -- but I did not pursue that.

So my experience with the keystrokes that I found in the menus that seemed to correspond to your post worked as I thought they should.

My system is:
OS, ker|rel, machine: Linux, 2.6.26-2-amd64, x86_64
Distribution : Debian GNU/Linux 5.0
NEdit 5.5

This may not help you specifically -- so perhaps an nedit expert will stop by with some advice.

Best wishes ... cheers, drl
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problems running scripts in the background

Hi Could someone offer some help on this problem I've got with running a background process. As part of a script that does a stop/start/status for a piece of software called SAS, the following extract is from part of the start step. My issue is that when the script is run, the control... (0 Replies)
Discussion started by: GavP
0 Replies

2. Shell Programming and Scripting

Problems with remotely executing scripts

Hi, in the below command, i export a value to a variable which later is used by the script, however i dont see the exported value is actually been exported. ssh user@host "export var=/path/ ; cd /path/ ; ./script" how can i use the above command with proper value of var remotley (7 Replies)
Discussion started by: suraj.sheikh
7 Replies

3. Red Hat

alt print screen problems

Can anyone explain why I am having a alt print screen? I am used to alt print screen taking a picture of the top window in focus. Do I need to make a shortcut or something? (0 Replies)
Discussion started by: cokedude
0 Replies

4. Debian

Problems with Crontab not executing scripts after edit

Hi all I installed Debian and i have a few scripts that outputs what is happening. The wierd part...after fresh install all works ok but after i open or edit Crontab it stops executing the scripts...and scripts runs manually so its not a problem with scripts...what happens is that i usually... (3 Replies)
Discussion started by: ro0t3d
3 Replies

5. Shell Programming and Scripting

[PERL] Running unix commands within Perl Scripts

I understand that in order to run basic unix commands I would normally type at the prompt, I would have to use the following format system(ls -l); or exec(ls -l); But when I actually try to use the command, the script fails to compile and keeps telling me there is an error with this line. ... (1 Reply)
Discussion started by: userix
1 Replies

6. Shell Programming and Scripting

Problems with perl

hi i'm writing multiclient perl server cross plataform it will redirect one connection to any computer inside mine lan so when someone connect on this server it create a socket and connect to the computer create two threads and read the data incoming from the client and send to another... (0 Replies)
Discussion started by: sendai
0 Replies

7. Solaris

Error with perl scripts...

hi on Solaris....m getting following error while running a perl script...any suggestions.... install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: perl: fatal: /home/oracle/lib32/libclntsh.so.9.0:... (1 Reply)
Discussion started by: Amardeep
1 Replies

8. Shell Programming and Scripting

Replace Perl Module name in all Perl scripts

I want to replace a Perl module name in all my Perl Scripts in the cgi-bin directory. How is it possible? I have the following statement in my scripts use myUtil; I want to change it to use myUtil777; Regards, Rahul (2 Replies)
Discussion started by: rahulrathod
2 Replies

9. UNIX for Dummies Questions & Answers

List of all PERL scripts.

Which command should I use to get the list of all the .pl scripts on the unix server... Thanks in advacne, Venky (3 Replies)
Discussion started by: venkyA
3 Replies

10. UNIX for Advanced & Expert Users

executing perl scripts

Does anybody experiencing this same problem? I am using IRIX64 ver 6.5 at work. I wrote some Perl scripts and to execute it. First I try to put the Perl script at: /$HOME/bin/perlscript then I set the correct executable 755 right to the file I make sure the PATH to the executable... (2 Replies)
Discussion started by: vtran4270
2 Replies
Login or Register to Ask a Question