emacs on Ångström - no keys

258 views
Skip to first unread message

rlte...@gmail.com

unread,
Dec 11, 2013, 5:42:01 PM12/11/13
to beagl...@googlegroups.com
I installed emacs on my brand new BBB, but although emacs starts up, no key ever makes it to into the program.

The installation was as simple as
1) log in as root using SSH Secure Shell 3.2.9 (see comments below) to 192.168.1.xxx (via the ethernet cable, address assigned via DHCP)
2) execute
    opkg update
    opkg install emacs
3) run emacs by typing
    emacs

No key is recognized, not M-<key>, not C-<key> , not even just a letter <key> (and worst of all, not C-x C-c, which would cause emacs to exit).  Same result occurs if I create a text file test.txt and then execute
    emacs test.txt

And just to cut off one possibility: note that I've been using SSH Secure Shell with emacs for years, and I tested it just now with another system; it works just fine.  Obviously, too, it accesses the BBB, because that's how I entered the commands that installed and executed emacs.  And, of course, I've rebooted the BBB several times.

Any thoughts?

Thanks,
    Richard

P.S. SSH Secure Shell 3.2.9 is a very nice TTY program, which I vastly prefer over PuTTY.
Search for
    ssh secure shell 3.2.9 download free
and you'll find various sources, including universities, that offer the software for free, e.g.William & Mary, Dartmouth, Northwestern, UCLA, etc.  In other words, you won't be downloading some cracked and potentially dangerous piece of software.

RT Mistler

unread,
Dec 18, 2013, 12:45:55 PM12/18/13
to beagl...@googlegroups.com, rlte...@gmail.com
Hi,

Do you use the -X switch when you invoke ssh?  I was searching for how to install emacs on beaglebone black and found your note.  It worked for me, I use:

ssh -X root@<ip-address>

to attach to my BBB and now that I've installed gnuemacs, it works correctly, window pops up and all; no problems with key sequences.

I am ssh'ing over from a Ubuntu distribution.

- RT

rlte...@gmail.com

unread,
Dec 18, 2013, 7:05:00 PM12/18/13
to beagl...@googlegroups.com, rlte...@gmail.com
I'm using SSH Secure Shell on a Windows XP machine, not ssh on a Linux box, and there's no -X option that I'm aware of.  As far as I can tell from the man page, whatever it is that the -X option does is automatically provided by the SSH program.  Also, I've used this software for accessing emacs on many machines for years with no bad experiences that I can recall ... until now.

I suspect that there's some flag or option that has to be adjusted on the BBB side, either for the shell or more likely for emacs,  but I have no idea what it might be.

A little more googling and I see that there may be some bug in emacs that causes this.  So, another question: has anybody gotten emacs 23.4-r2 to work in the BBB running Angstrom?

Artie Mistler

unread,
Dec 19, 2013, 8:09:20 AM12/19/13
to beagl...@googlegroups.com
The one I have is 23.4.1.

Are you running ssh through cygwin?  I'd suggest that but also don't know if that would then also support the -X option.  Also look for an option called "ForwareX11" that's what the -X option activates in ssh.

- RT


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/I0B2Jj1pa78/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Frank Davidson

unread,
Jan 3, 2014, 4:16:46 PM1/3/14
to beagl...@googlegroups.com
I am having the same problem with Emacs and the BBB... I'm running through Cygwin and I have used the -X option which connects just fine, but Emacs still does not recognize any keys...

Frank

Frank Davidson

unread,
Jan 5, 2014, 8:31:58 AM1/5/14
to beagl...@googlegroups.com, rlte...@gmail.com
I installed the Debian beta on my BBB and now Emacs is working fine...


Cheers,

Frank

On Wednesday, December 11, 2013 5:42:01 PM UTC-5, rlte...@gmail.com wrote:

rlte...@gmail.com

unread,
Jan 5, 2014, 10:50:54 AM1/5/14
to beagl...@googlegroups.com, rlte...@gmail.com
Thanks.  I would have installed Debian on my machine by now, but the 16GB Toshiba uSD I bought a couple of weeks ago has failed already.  After the first couple of days, I had to reformat it repeatedly, both on the BBB and on each of two Windows (XP & 7) machines.  Win32DiskImager didn't work at all on the Windows 7 machine: it repeatedly hung as soon as I got to the writing phase in a way that required rebooting the Windows machine.  I loaded and ran a disk imaging program from an outfit named RoadKil.net -- that's a sign of real desperation!.  It got into the writing phase, but its progress stopped at 0.06%.  At least it was possible to end that program without rebooting the machine.

I'll try to load Debian again as soon as I get another uSD, and not a Toshiba this time.

    - R

P.S. Meanwhile, I'm using nano.  Not emacs, but not vi, either.

rlte...@gmail.com

unread,
Jan 6, 2014, 5:57:20 PM1/6/14
to beagl...@googlegroups.com, rlte...@gmail.com
Hi Frank,
    Went out and bought a couple of 16GB SanDisk Ultra micro SD cards [the local Radio Shack was running a sale!], downloaded and installed Debian 7.3.  Figured out how to install emacs (apt-get instead of opkg), and whoo-hoo, it now works. 
    Thanks for the suggestion.
    - Richard

Reply all
Reply to author
Forward
0 new messages