Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
4

w3m images over ssh

4
Archived

w3m images over ssh

Does anyone know of a way to view images in w3m when running over ssh? Simply running it in xterm doesnt seem to work

2 comments
83% Upvoted
This thread is archived
New comments cannot be posted and votes cannot be cast
Sort by
level 1
3 points · 4 years ago · edited 4 years ago

You'd probably have to forward the xterm itself. But at that point you might as well use a graphical browser. The -X option to ssh enables X11 forwarding, while -Y enables trusted X11 forwarding (apparently bypasses some sort of security checks -- what exactly, I'm not sure).

level 1
3 points · 4 years ago

You mean via w3m-img? I think for that the WINDOWID environment variable has to be set to something...

More posts from the commandline community
79
79
3 comments
67
67
3 comments
62
62
30 comments
57
57
15 comments
47
47
7 comments
44
44
5 comments
38

I'm working on a personal project that uses exclusively the CLI, and I would like to make it look pretty. Do you know any guide about building User Interfaces in Ascii or Unicode?

38
14 comments
39
39
5 comments
31

Hey all, it's my first post here :)

Some time ago I created a command-line utility that displays lyrics of the song you're currently listening to (on Spotify) and I thought I'll share it here so maybe somebody will find it useful.

If you:

  • use zsh with oh-my-zsh

  • have a mac

  • use Spotify app

Then lyrics-buddy might interest you. 10 second gif which shows how it works here

31
11 comments
19

Are there any shells that don't conform or have compatibility with the Bourne shell (that you could use as a daily driver)? I had an idea for a shell like this and wanted to see some examples of existing ones

19
27 comments
6
6
7 comments
5
5
6 comments
2

I've been using curl + jq to test my apis, and I really like doing things that way. It's nice running things real quick from the command line. However, when I go back to a service, I have to remember how my curl looked. Does anyone have any suggestions for organizing and running these commands at a later date?

Edit: should have clarified. I’m looking for a command line alternative. Not a different app.

2
10 comments
2

Anyone knows how to report spam when using mutt mailclient?

2
3 comments
1

I went through 3 failed attempts in Pass, the password storage manager CLI, and now there seems to be no secret key available for decryption.

To note, I know the master passphrase for my gpg-id ... I just happened to enter it wrong 3 times.

Anytime I try to use pass, it results in

gpg: decryption failed: secret key not available

I am knowledgeable with Linux in a beginner capacity and I'm not quite sure what to do. The only thing I can think of it rerunning pass init with a new key. But I am pretty sure that will just add another key needed on top of my already established key.

Any help would be appreciated.

Thanks!

1
8 comments
1

This works. The "" are because there are spaces in the path. I want the very last line because, upon inspection of the output, the file I need to examine is the final one (but it might not always be)

vi "`find . -iname "*Map*java" | tail -1`"
1
8 comments
0

Hey, I don't know much about computers, let alone this zsh thing, but I want to create an Automator script to toggle wifi on/off, but it's not doing anything. I don't even understand how the syntax works…

if [networksetup -getairportpower en0 = On]; then
	networksetup -setairportpower en0 off
else [networksetup -getairportpower en0 = Off]; then
	networksetup -setairportpower en0 on
fi

Is that correct? Is "; then" like a comment or do I actually have to write that?

0
7 comments
0

https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/vi-mode Tried using this plugin for zsh. vi-mode apparently works but the indicator does not. I am not using oh-my-zsh I just downloaded it and sourced it manually in my .zshrc. Instead of the '<<<' symbol indicating normal mode I just get this: $(vi_mode_prompt_info) on the right side of the terminal. I usually read the manual and fix shit myself but in this case I just gave up. No matter what I do it just wont work. My .zshrc> https://pastebin.com/gBfiBcCh (I have commented vi-mode atm). Thanks for reading, any help would be appreciated.

0
3 comments
0

Hello guys, hopefully one of you will give me some help:

I'm looking to delete windows.old in C.

I'd need a command which allows me to set the ownership to an admin account so i can run cmd with that account (otherwise i get access denied)

This is what it has to looks like (i want no interactions as i will run the batch through altiris and deploy it to my organization's computer"

rd /s /q "C:\Windows.old"

Im missing the part and eventually if it can work where i setup the account (for example Admin) gets ownership of windows.old folder.

I want not only the files and subfolder to be deleted, but the entire windows.old

Thanks in advance to any wizard who can help me solve this!

0
4 comments
Continue browsing in r/commandline
This is for anything regarding the command line, in any operating system. All questions (including dumb ones), tips, and interesting programs/console applications you've found or made yourself are welcome. Linux / BSD / OSX / Windows CLI apps or questions or comments, we're happy to take them all!
49.8k

Members

70

Online


Created Sep 30, 2010